From: Jan Engelhardt <jengelh@medozas.de>
To: pablo@netfilter.org
Cc: netfilter-devel@vger.kernel.org
Subject: [PATCH 2/3] build: create a Make_global.am file
Date: Fri, 31 Dec 2010 00:42:53 +0100 [thread overview]
Message-ID: <1293752575-13611-3-git-send-email-jengelh@medozas.de> (raw)
In-Reply-To: <1293752575-13611-1-git-send-email-jengelh@medozas.de>
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
---
Make_global.am | 1 +
src/Makefile.am | 2 +-
utils/Makefile.am | 3 +--
3 files changed, 3 insertions(+), 3 deletions(-)
create mode 100644 Make_global.am
diff --git a/Make_global.am b/Make_global.am
new file mode 100644
index 0000000..fb31d42
--- /dev/null
+++ b/Make_global.am
@@ -0,0 +1 @@
+AM_CPPFLAGS = -I${top_srcdir}/include -I${KERNELDIR}
diff --git a/src/Makefile.am b/src/Makefile.am
index a745129..84892eb 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -20,7 +20,7 @@
#
LIBVERSION=2:0:1
-AM_CPPFLAGS = -I$(top_srcdir)/include -I${KERNELDIR}
+include ${top_srcdir}/Make_global.am
AM_CFLAGS = -Wall ${LIBNFNETLINK_CFLAGS}
lib_LTLIBRARIES = libnetfilter_queue.la
diff --git a/utils/Makefile.am b/utils/Makefile.am
index 1f52864..d3147e3 100644
--- a/utils/Makefile.am
+++ b/utils/Makefile.am
@@ -1,5 +1,4 @@
-
-AM_CPPFLAGS = -I$(top_srcdir)/include -I${KERNELDIR}
+include ${top_srcdir}/Make_global.am
check_PROGRAMS = nfqnl_test
--
1.7.1
next prev parent reply other threads:[~2010-12-30 23:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-30 23:42 libnetfilter_queue: build improvements Jan Engelhardt
2010-12-30 23:42 ` [PATCH 1/3] build: remove unused LIBTOOL_DEPS Jan Engelhardt
2010-12-30 23:42 ` Jan Engelhardt [this message]
2010-12-30 23:42 ` [PATCH 3/3] build: use -Wall across the entire source Jan Engelhardt
2011-01-06 2:18 ` libnetfilter_queue: build improvements Pablo Neira Ayuso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1293752575-13611-3-git-send-email-jengelh@medozas.de \
--to=jengelh@medozas.de \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).