xref: /freebsd/contrib/tcpdump/Makefile-devel-adds (revision 9336e0699bda8a301cd2bfa37106b6ec5e32012e)
1#
2# Auto-regenerate configure script or Makefile when things change.
3# From autoconf.info .  Works best with GNU Make.
4#
5${srcdir}/configure: configure.in
6	cd ${srcdir} && autoconf
7
8# autoheader might not change config.h.in, so touch a stamp file.
9${srcdir}/config.h.in: ${srcdir}/stamp-h.in
10${srcdir}/stamp-h.in: configure.in acconfig.h
11	cd ${srcdir} && autoheader
12	echo timestamp > ${srcdir}/stamp-h.in
13
14config.h: stamp-h
15stamp-h: ${srcdir}/config.h.in config.status
16	./config.status
17
18Makefile: Makefile.in config.status
19	./config.status
20
21config.status: ${srcdir}/configure
22	./config.status --recheck
23