forked from mirrors/tftp-hpa-google
Major overhaul of the portability stuff; port to autoconf 2.52
This commit is contained in:
parent
4c0a635276
commit
2c31169f57
16 changed files with 236 additions and 176 deletions
17
Makefile
17
Makefile
|
@ -22,24 +22,29 @@ install: MCONFIG $(patsubst %, %.install, $(SUB))
|
|||
clean: $(patsubst %, %.clean, $(SUB))
|
||||
|
||||
distclean: $(patsubst %, %.distclean, $(SUB))
|
||||
rm -f MCONFIG config.status config.cache config.log config.h *~ \#*
|
||||
rm -f MCONFIG config.status config.log acconfig.h *~ \#*
|
||||
rm -rf *.cache
|
||||
find . -type f \( -name \*.orig -o -name \*.rej \) | xargs -r rm -f
|
||||
|
||||
spotless: distclean
|
||||
rm -f configure
|
||||
rm -f configure acconfig.h.in
|
||||
|
||||
config: MCONFIG
|
||||
|
||||
release:
|
||||
$(MAKE) configure
|
||||
$(MAKE) configure acconfig.h.in
|
||||
$(MAKE) distclean
|
||||
|
||||
MCONFIG: configure MCONFIG.in config.h.in
|
||||
MCONFIG: configure MCONFIG.in acconfig.h.in
|
||||
./configure
|
||||
|
||||
config.h: MCONFIG
|
||||
acconfig.h: MCONFIG
|
||||
: Generated by side effect
|
||||
|
||||
acconfig.h.in: configure.in aclocal.m4
|
||||
autoheader
|
||||
rm -f acconfig.h
|
||||
|
||||
configure: configure.in aclocal.m4
|
||||
autoconf
|
||||
rm -f MCONFIG config.cache config.log config.h
|
||||
rm -f MCONFIG config.cache config.log acconfig.h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue