summaryrefslogtreecommitdiff
path: root/Makefile-devel-adds
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-06 16:27:42 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-06 16:27:42 -0800
commitbbace1d4c8912a4a02cc0322e2cbed1901c62d96 (patch)
treec9c56c419b556c51ba05eb6d9f7f37fc1791f1c5 /Makefile-devel-adds
downloadtcpdump-bbace1d4c8912a4a02cc0322e2cbed1901c62d96.tar.gz
tcpdump-bbace1d4c8912a4a02cc0322e2cbed1901c62d96.tar.bz2
tcpdump-bbace1d4c8912a4a02cc0322e2cbed1901c62d96.zip
Imported Upstream version 4.3.0upstream/4.3.0
Diffstat (limited to 'Makefile-devel-adds')
-rw-r--r--Makefile-devel-adds22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile-devel-adds b/Makefile-devel-adds
new file mode 100644
index 0000000..512a119
--- /dev/null
+++ b/Makefile-devel-adds
@@ -0,0 +1,22 @@
+#
+# Auto-regenerate configure script or Makefile when things change.
+# From autoconf.info . Works best with GNU Make.
+#
+${srcdir}/configure: configure.in
+ cd ${srcdir} && autoconf
+
+# autoheader might not change config.h.in, so touch a stamp file.
+${srcdir}/config.h.in: ${srcdir}/stamp-h.in
+${srcdir}/stamp-h.in: configure.in acconfig.h
+ cd ${srcdir} && autoheader
+ echo timestamp > ${srcdir}/stamp-h.in
+
+config.h: stamp-h
+stamp-h: ${srcdir}/config.h.in config.status
+ ./config.status
+
+Makefile: Makefile.in config.status
+ ./config.status
+
+config.status: ${srcdir}/configure
+ ./config.status --recheck