summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.am1
-rw-r--r--tools/Makefile.am2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index d8fbd85..a14cefb 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -51,6 +51,7 @@ arch_syscall_dump_SOURCES = arch-syscall-dump.c ${SOURCES_ARCH}
arch_syscall_check_SOURCES = arch-syscall-check.c ${SOURCES_ARCH}
libseccomp_la_SOURCES = ${SOURCES_GEN} ${SOURCES_ARCH}
+libseccomp_la_CPPFLAGS = ${AM_CPPFLAGS} -I$(top_builddir)/include
libseccomp_la_CFLAGS = ${AM_CFLAGS} ${CFLAGS} -fPIC -DPIC -fvisibility=hidden
libseccomp_la_LDFLAGS = ${AM_LDFLAGS} ${LDFLAGS} \
-version-number ${VERSION_MAJOR}:${VERSION_MINOR}:${VERSION_MICRO}
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 422b35d..b18dc9b 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -16,6 +16,8 @@
# along with this library; if not, see <http://www.gnu.org/licenses>.
#
+AM_CPPFLAGS = -I$(top_builddir)/include
+
noinst_LTLIBRARIES = util.la
util_la_SOURCES = util.c util.h bpf.h
util_la_LDFLAGS = -module