forked from mirrors/tftp-hpa-google
Clean up the Makefile handling of autoconf files; add check for
tcpwrappers.
This commit is contained in:
parent
fa9f7c3e12
commit
7eb7968b74
5 changed files with 184 additions and 60 deletions
20
Makefile
20
Makefile
|
@ -15,12 +15,24 @@ SUB = lib tftp tftpd
|
|||
%.spotless:
|
||||
$(MAKE) -C $(patsubst %.spotless, %, $@) spotless
|
||||
|
||||
all: $(patsubst %, %.build, $(SUB))
|
||||
all: MCONFIG $(patsubst %, %.build, $(SUB))
|
||||
|
||||
install: $(patsubst %, %.install, $(SUB))
|
||||
install: MCONFIG $(patsubst %, %.install, $(SUB))
|
||||
|
||||
clean: $(patsubst %, %.clean, $(SUB))
|
||||
clean: MCONFIG $(patsubst %, %.clean, $(SUB))
|
||||
|
||||
spotless: $(patsubst %, %.spotless, $(SUB))
|
||||
spotless: MCONFIG $(patsubst %, %.spotless, $(SUB))
|
||||
rm -f MCONFIG config.cache config.log config.h *~ \#*
|
||||
find . -type f \( -name \*.orig -o -name \*.rej \) | xargs -r rm -f
|
||||
|
||||
config: MCONFIG
|
||||
|
||||
MCONFIG: configure MCONFIG.in config.h.in
|
||||
./configure
|
||||
|
||||
config.h: MCONFIG
|
||||
: Generated by side effect
|
||||
|
||||
configure: configure.in aclocal.m4
|
||||
autoconf
|
||||
rm -f MCONFIG config.cache config.log config.h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue