Home | History | Annotate | Line # | Download | only in plainrsa-gen
Makefile revision 1.4
      1 # $NetBSD: Makefile,v 1.4 2025/03/08 00:10:54 christos Exp $
      2 
      3 WARNS?=	0	# XXX third-party program, many issues
      4 NOCLANGERROR=	# defined
      5 
      6 .include <bsd.own.mk>
      7 
      8 PROG=	plainrsa-gen
      9 SRCS=	plainrsa-gen.c plog.c crypto_openssl.c logger.c vmbuf.c misc.c \
     10 	rsalist.c sockmisc.c genlist.c prsa_tok.c prsa_par.c
     11 MAN=	plainrsa-gen.8
     12 
     13 DIST=	${NETBSDSRCDIR}/crypto/dist/ipsec-tools
     14 CPPFLAGS+=	-I${DIST}/src/racoon -I${DIST}/src/racoon/missing
     15 CPPFLAGS+=	-I${DIST}/src/libipsec
     16 CPPFLAGS+=	-I${NETBSDSRCDIR}/lib/libipsec -I.
     17 CPPFLAGS+=	-DHAVE_CONFIG_H -DNOUSE_PRIVSEP
     18 .if ${HAVE_OPENSSL} < 11
     19 CPPFLAGS+=	-DHAVE_OPENSSL_RC5_H
     20 CPPFLAGS+=	-DOPENSSL_API_COMPAT=0x10100000L
     21 .endif
     22 
     23 .PATH:  ${DIST}/src/racoon
     24 
     25 LDADD+= -lcrypto -lipsec
     26 DPADD+= ${LIBCRYPTO} ${LIBIPSEC}
     27 
     28 .include "${.CURDIR}/../racoon/Makefile.racoon"
     29 
     30 .include <bsd.prog.mk>
     31 
     32