2 VERSION
= $(shell cat ..
/version
)
7 OBJS
= tftpd.
$(O
) recvfrom.
$(O
) misc.
$(O
) $(TFTPDOBJS
)
12 $(CC
) $(LDFLAGS
) $^
$(TFTPD_LIBS
) -o
$@
14 $(OBJS
): ..
/common
/tftpsubs.h
16 tftpd
.8: tftpd
.8.in ..
/version
17 sed
-e
's/@@VERSION@@/$(VERSION)/g' < $< > $@
20 mkdir
-p
$(INSTALLROOT
)$(SBINDIR
) $(INSTALLROOT
)$(MANDIR
)/man8
21 $(INSTALL_PROGRAM
) tftpd
$(X
) $(INSTALLROOT
)$(SBINDIR
)/in.tftpd
22 $(INSTALL_DATA
) tftpd
.8 $(INSTALLROOT
)$(MANDIR
)/man8
/in.tftpd
.8
23 cd
$(INSTALLROOT
)$(MANDIR
)/man8
&& $(LN_S
) -f in.tftpd
.8 tftpd
.8
26 rm -f
*.o
*.obj
*.exe tftpd tftpsubs.c tftpsubs.h tftpd
.8