2017-01-06 04:27:07 +00:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
1994-05-27 13:39:25 +01:00
|
|
|
PROG= tftpd
|
2010-09-23 15:06:15 +01:00
|
|
|
MAN= tftpd.8
|
|
|
|
SRCS= tftp-file.c tftp-io.c tftp-options.c tftp-transfer.c tftp-utils.c
|
|
|
|
SRCS+= tftpd.c
|
2012-05-19 06:10:47 +01:00
|
|
|
|
2017-01-06 04:27:07 +00:00
|
|
|
.if ${MK_TCP_WRAPPERS} != "no"
|
|
|
|
CFLAGS+= -DLIBWRAP
|
2014-11-25 21:18:18 +00:00
|
|
|
LIBADD= wrap
|
2017-01-06 04:27:07 +00:00
|
|
|
.endif
|
1994-05-27 13:39:25 +01:00
|
|
|
|
2022-11-22 19:12:06 +00:00
|
|
|
CWARNFLAGS.gcc+= -Wno-format-nonliteral
|
|
|
|
|
2018-03-09 15:30:20 +00:00
|
|
|
HAS_TESTS=
|
|
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
|
1994-05-27 13:39:25 +01:00
|
|
|
.include <bsd.prog.mk>
|