xref: /aosp_15_r20/external/libpcap/Makefile-devel-adds (revision 8b26181f966a6af5cf6981a6f474313de533bb28)
1*8b26181fSAndroid Build Coastguard Worker#
2*8b26181fSAndroid Build Coastguard Worker# Auto-regenerate configure script or Makefile when things change.
3*8b26181fSAndroid Build Coastguard Worker# From autoconf.info .  Works best with GNU Make.
4*8b26181fSAndroid Build Coastguard Worker#
5*8b26181fSAndroid Build Coastguard Worker${srcdir}/configure: configure.ac aclocal.m4
6*8b26181fSAndroid Build Coastguard Worker	(cd ${srcdir} && autoconf)
7*8b26181fSAndroid Build Coastguard Worker
8*8b26181fSAndroid Build Coastguard Worker# autoheader might not change config.h.in, so touch a stamp file.
9*8b26181fSAndroid Build Coastguard Worker${srcdir}/config.h.in: ${srcdir}/stamp-h.in
10*8b26181fSAndroid Build Coastguard Worker${srcdir}/stamp-h.in: configure.ac aclocal.m4
11*8b26181fSAndroid Build Coastguard Worker	(cd ${srcdir} && autoheader)
12*8b26181fSAndroid Build Coastguard Worker	echo timestamp > ${srcdir}/stamp-h.in
13*8b26181fSAndroid Build Coastguard Worker
14*8b26181fSAndroid Build Coastguard Workerconfig.h: stamp-h
15*8b26181fSAndroid Build Coastguard Workerstamp-h: ${srcdir}/config.h.in config.status
16*8b26181fSAndroid Build Coastguard Worker	./config.status
17*8b26181fSAndroid Build Coastguard Worker
18*8b26181fSAndroid Build Coastguard WorkerMakefile: Makefile.in config.status
19*8b26181fSAndroid Build Coastguard Worker	./config.status
20*8b26181fSAndroid Build Coastguard Worker
21*8b26181fSAndroid Build Coastguard Workerconfig.status: ${srcdir}/configure
22*8b26181fSAndroid Build Coastguard Worker	./config.status --recheck
23