diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2001-05-21 11:19:23 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2001-05-21 11:19:23 +0000 |
commit | a5606b2fb03ff304f7d5fed756690e7cb8b579e7 (patch) | |
tree | 07f5bbf702b43e27ebc63e065169ce0d2dca9dc1 /sbin/isakmpd/Makefile | |
parent | fc5dcbef534719d6faf468db5ff9f0e8295cabd4 (diff) |
Better FEATURE handling for dnssec
Diffstat (limited to 'sbin/isakmpd/Makefile')
-rw-r--r-- | sbin/isakmpd/Makefile | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/sbin/isakmpd/Makefile b/sbin/isakmpd/Makefile index 25ae8ccc39e..aa32de9d882 100644 --- a/sbin/isakmpd/Makefile +++ b/sbin/isakmpd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.36 2001/05/07 22:55:37 espie Exp $ +# $OpenBSD: Makefile,v 1.37 2001/05/21 11:19:22 ho Exp $ # $EOM: Makefile,v 1.78 2000/10/15 21:33:42 niklas Exp $ # @@ -55,7 +55,7 @@ OS= openbsd #FEATURES= tripledes des blowfish cast policy x509 ec aggressive debug gmp #FEATURES+= dnssec FEATURES= tripledes des blowfish cast policy x509 ec aggressive debug -#FEATURES= +#FEATURES+= .PATH: ${.CURDIR}/sysdep/${OS} @@ -155,14 +155,6 @@ DPADD+= ${LIBGMP} CFLAGS+= -DMP_FLAVOUR=MP_FLAVOUR_OPENSSL .endif -.if ${FEATURES:Mdnssec} == "dnssec" -LIBLWRES= /usr/local/lib/liblwres.a -CFLAGS+= -I/usr/local/include -LDADD+= ${LIBLWRES} -DPADD+= ${LIBLWRES} -SRCS+= dnssec.c -.endif - .ifdef HAVE_DLOPEN CFLAGS+= -DHAVE_DLOPEN SRCS+= dyn.c @@ -181,11 +173,11 @@ LDADD+= -lcrypto DPADD+= ${LIBCRYPTO} .endif -SRCS+= ${IPSEC_SRCS} ${X509} ${POLICY} ${EC} ${AGGRESSIVE} -CFLAGS+= ${IPSEC_CFLAGS} +SRCS+= ${IPSEC_SRCS} ${X509} ${POLICY} ${EC} ${AGGRESSIVE} ${DNSSEC} +CFLAGS+= ${IPSEC_CFLAGS} ${DNSSEC_CFLAGS} -LDADD+= ${DESLIB} -DPADD+= ${DESLIBDEP} +LDADD+= ${DESLIB} ${LWRESLIB} +DPADD+= ${DESLIBDEP} ${LWRESLIB} exchange_num.c exchange_num.h: genconstants.sh exchange_num.cst /bin/sh ${.CURDIR}/genconstants.sh ${.CURDIR}/exchange_num |