25201bc9fe
The earlier commit purporting to allow top to be built
in the absence of that dynamic linking library stopped
just a little short of the truth. So this will fix it.
Reference(s):
commit 5686877cd4
Signed-off-by: Jim Warner <james.warner@comcast.net>
31 lines
443 B
Makefile
31 lines
443 B
Makefile
AM_CPPFLAGS = \
|
|
-include $(top_builddir)/config.h \
|
|
-I$(top_srcdir)/include \
|
|
-DLOCALEDIR=\"$(localedir)\"
|
|
|
|
AM_LDFLAGS = ../proc/libprocps.la
|
|
AM_LDFLAGS += $(DL_LIB)
|
|
|
|
if WITH_NCURSES
|
|
usrbin_exec_PROGRAMS = \
|
|
top
|
|
|
|
top_SOURCES = \
|
|
top.h \
|
|
top.c \
|
|
top_nls.h \
|
|
top_nls.c \
|
|
$(top_srcdir)/lib/fileutils.c
|
|
|
|
dist_man_MANS = \
|
|
top.1
|
|
|
|
top_LDADD = @NCURSES_LIBS@
|
|
endif
|
|
|
|
EXTRA_DIST =
|
|
|
|
procpsngdir = $(docdir)
|
|
dist_procpsng_DATA = \
|
|
README.top
|