GCC warns about the non-literal format string passed to strftime(). A warning here seems a bit odd as strftime() does not take varargs so there is not a risk of missing args.
22 lines
361 B
Makefile
22 lines
361 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
|
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PROG= tftpd
|
|
MAN= tftpd.8
|
|
SRCS= tftp-file.c tftp-io.c tftp-options.c tftp-transfer.c tftp-utils.c
|
|
SRCS+= tftpd.c
|
|
|
|
.if ${MK_TCP_WRAPPERS} != "no"
|
|
CFLAGS+= -DLIBWRAP
|
|
LIBADD= wrap
|
|
.endif
|
|
|
|
CWARNFLAGS.gcc+= -Wno-format-nonliteral
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.include <bsd.prog.mk>
|