tcpdump/Makefile-devel-adds
fenner f50f4dec49 Add auto-running of autoheader and autoconf and configure (from autoconf.info)
if .devel exists.  This should allow developers to have the convenience
 of automatic regeneration without the inconvenience of having to have
 autoconf installed for Joe User to build tcpdump.
2000-01-15 00:43:16 +00:00

23 lines
603 B
Plaintext

#
# 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