1 1.11 mrg # from: @(#)Makefile 8.1 (Berkeley) 6/6/93 2 1.28 rillig # $NetBSD: Makefile,v 1.28 2021/08/30 18:21:11 rillig 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.25 christos SRCS= inetd.c parse_v2.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.7 mrg 14 1.25 christos # Enables debug printouts when in debug mode 15 1.25 christos CPPFLAGS+=-DDEBUG_ENABLE 16 1.25 christos 17 1.20 lukem CPPFLAGS+=-DLIBWRAP 18 1.10 mycroft # Use LIBWRAP_INTERNAL for libwrap checking of inetd's `internal' services. 19 1.14 lukem #CPPFLAGS+=-DLIBWRAP_INTERNAL 20 1.24 christos LDADD+= -lwrap -lblocklist -lutil 21 1.24 christos DPADD+= ${LIBWRAP} ${LIBBLOCKLIST} ${LIBUTIL} 22 1.16 itojun 23 1.20 lukem .if (${USE_INET6} != "no") 24 1.20 lukem CPPFLAGS+=-DINET6 25 1.20 lukem .endif 26 1.20 lukem 27 1.18 itojun CPPFLAGS+=-DIPSEC 28 1.17 itojun SRCS+= ipsec.c 29 1.16 itojun LDADD+= -lipsec 30 1.16 itojun DPADD+= ${LIBIPSEC} 31 1.1 cgd 32 1.1 cgd .include <bsd.prog.mk> 33