1 1.11 mrg # from: @(#)Makefile 8.1 (Berkeley) 6/6/93 2 1.32 christos # $NetBSD: Makefile,v 1.32 2022/08/10 08:38:43 christos Exp $ 3 1.20 lukem 4 1.20 lukem .include <bsd.own.mk> 5 1.1 cgd 6 1.21 tls USE_FORT?= yes # network server 7 1.21 tls 8 1.1 cgd PROG= inetd 9 1.30 christos SRCS= inetd.c parse.c parse_v2.c ratelimit.c 10 1.6 cgd MAN= inetd.8 11 1.8 mrg MLINKS= inetd.8 inetd.conf.5 12 1.28 rillig WARNS= 6 13 1.29 rillig #LINTFLAGS+= -T 14 1.7 mrg 15 1.25 christos # Enables debug printouts when in debug mode 16 1.25 christos CPPFLAGS+=-DDEBUG_ENABLE 17 1.25 christos 18 1.20 lukem CPPFLAGS+=-DLIBWRAP 19 1.10 mycroft # Use LIBWRAP_INTERNAL for libwrap checking of inetd's `internal' services. 20 1.14 lukem #CPPFLAGS+=-DLIBWRAP_INTERNAL 21 1.24 christos LDADD+= -lwrap -lblocklist -lutil 22 1.24 christos DPADD+= ${LIBWRAP} ${LIBBLOCKLIST} ${LIBUTIL} 23 1.16 itojun 24 1.20 lukem .if (${USE_INET6} != "no") 25 1.20 lukem CPPFLAGS+=-DINET6 26 1.20 lukem .endif 27 1.20 lukem 28 1.18 itojun CPPFLAGS+=-DIPSEC 29 1.17 itojun SRCS+= ipsec.c 30 1.16 itojun LDADD+= -lipsec 31 1.16 itojun DPADD+= ${LIBIPSEC} 32 1.1 cgd 33 1.1 cgd .include <bsd.prog.mk> 34