90cc5460aa
This is required for out-of-tree build to work, since many source files include e.g. proc/*.h which is not under the include/ directory. Tested that `make distcheck` starts working after this patch. Signed-off-by: Filipe Brandenburger <filbranden@google.com>
32 lines
462 B
Makefile
32 lines
462 B
Makefile
AM_CPPFLAGS = \
|
|
-include $(top_builddir)/config.h \
|
|
-I$(top_srcdir) \
|
|
-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
|