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>
13 lines
295 B
Makefile
13 lines
295 B
Makefile
AM_CPPFLAGS = \
|
|
-include $(top_builddir)/config.h \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/include
|
|
|
|
AM_CPPFLAGS += -DTEST_PROGRAM
|
|
|
|
noinst_PROGRAMS = test_strutils test_fileutils test_nsutils
|
|
|
|
test_strutils_SOURCES = strutils.c
|
|
test_fileutils_SOURCES = fileutils.c
|
|
test_nsutils_SOURCES = nsutils.c
|