libc: link with -nodefaultlibs -lgcc instead of -nolibc
[dragonfly.git] / libexec / tcpd / Makefile
bloba7fcb1dbda45418ade933a5db067c93c06b71554
1 # $FreeBSD: src/libexec/tcpd/Makefile,v 1.1.2.1 2002/08/31 18:43:41 dwmalone Exp $
2 # $DragonFly: src/libexec/tcpd/Makefile,v 1.3 2004/01/31 06:56:40 dillon Exp $
4 PROG= tcpd
5 MAN= tcpd.8
6 CFLAGS+=-DREAL_DAEMON_DIR=\"/usr/libexec\" \
7 -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
8 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
9 -DFACILITY=LOG_DAEMON
10 .if !defined(NOINET6)
11 CFLAGS+=-DINET6
12 .endif
14 DPADD= ${LIBWRAP}
15 LDADD= -lwrap
17 .include <bsd.prog.mk>
19 .PATH: ${.CURDIR}/../../contrib/tcp_wrappers