forked from mirrors/tftp-hpa-google
- Better parsing of the "connect" command (tftp).
- Move missing header file stuff consistently into config.h. - Make "make -j" work correctly.
This commit is contained in:
parent
d2206bf9b9
commit
06bfb2bf4f
11 changed files with 146 additions and 57 deletions
11
Makefile
11
Makefile
|
@ -3,10 +3,10 @@
|
|||
|
||||
SUB = lib tftp tftpd
|
||||
|
||||
%.build:
|
||||
%.build: MCONFIG acconfig.h version.h
|
||||
$(MAKE) -C $(patsubst %.build, %, $@)
|
||||
|
||||
%.install:
|
||||
%.install: MCONFIG acconfig.h version.h
|
||||
$(MAKE) -C $(patsubst %.install, %, $@) install
|
||||
|
||||
%.clean:
|
||||
|
@ -17,9 +17,13 @@ SUB = lib tftp tftpd
|
|||
|
||||
all: MCONFIG $(patsubst %, %.build, $(SUB))
|
||||
|
||||
tftp.build: lib.build
|
||||
tftpd.build: lib.build
|
||||
|
||||
install: MCONFIG $(patsubst %, %.install, $(SUB))
|
||||
|
||||
clean: $(patsubst %, %.clean, $(SUB))
|
||||
rm -f version.h
|
||||
|
||||
distclean: $(patsubst %, %.distclean, $(SUB))
|
||||
rm -f MCONFIG config.status config.log acconfig.h *~ \#*
|
||||
|
@ -51,3 +55,6 @@ acconfig.h.in: configure.in aclocal.m4
|
|||
configure: configure.in aclocal.m4
|
||||
autoconf
|
||||
rm -f MCONFIG config.cache config.log acconfig.h
|
||||
|
||||
version.h: version
|
||||
echo \#define VERSION \"tftp-hpa `cat version`\" > version.h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue