summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFilipe Brandenburger <filbranden@google.com>2015-05-01 17:09:39 -0700
committerFilipe Brandenburger <filbranden@google.com>2015-05-01 17:09:55 -0700
commit90cc5460aa0e9ca10a0d7c8c44064fd14789f750 (patch)
treec01222a0bff7104a9d570af80f92436532357f6c /lib
parentc7abb6a6ed67fa970051bca2d2f2596b7118b888 (diff)
downloadprocps-ng-90cc5460aa0e9ca10a0d7c8c44064fd14789f750.tar.gz
build-sys: add $(top_srcdir) to include search dir
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 56c36a2..f09cb8c 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,4 +1,7 @@
-AM_CPPFLAGS = -include $(top_builddir)/config.h -I$(top_srcdir)/include
+AM_CPPFLAGS = \
+ -include $(top_builddir)/config.h \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/include
AM_CPPFLAGS += -DTEST_PROGRAM