forked from mirrors/tftp-hpa-google
Initial revision
This commit is contained in:
commit
09f975fa4c
18 changed files with 4696 additions and 0 deletions
27
tftpd/Makefile
Normal file
27
tftpd/Makefile
Normal file
|
@ -0,0 +1,27 @@
|
|||
all: tftpd
|
||||
|
||||
include ../MCONFIG
|
||||
include ../MRULES
|
||||
|
||||
OBJS = tftpd.o tftpsubs.o
|
||||
|
||||
tftpd: $(OBJS)
|
||||
$(CC) $(LDFLAGS) $^ $(LIBS) -o $@
|
||||
|
||||
tftpsubs.c:
|
||||
ln -sf ../tftp/tftpsubs.c .
|
||||
tftpsubs.h:
|
||||
ln -sf ../tftp/tftpsubs.h .
|
||||
|
||||
$(OBJS): tftpsubs.h
|
||||
|
||||
install: tftpd
|
||||
$(INSTALL_PROGRAM) tftpd $(INSTALLROOT)$(SBINDIR)/in.tftpd
|
||||
$(INSTALL_DATA) tftpd.8 $(INSTALLROOT)$(MANDIR)/man8/in.tftpd.8
|
||||
ln -sf in.tftpd.8 $(INSTALLROOT)$(MANDIR)/man8/tftpd.8
|
||||
|
||||
clean:
|
||||
rm -f *.o tftpd tftpsubs.c tftpsubs.h
|
||||
|
||||
spotless: clean
|
||||
rm -f *~
|
Loading…
Add table
Add a link
Reference in a new issue