Cross Reference: Makefile
xref: /src/usr.sbin/plainrsa-gen/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/usr.sbin/plainrsa-gen/
Makefile revision 1.1
11.1Schristos# $NetBSD: Makefile,v 1.1 2022/01/23 14:35:44 christos Exp $
21.1Schristos
31.1SchristosWARNS?=	0	# XXX third-party program, many issues
41.1SchristosNOCLANGERROR=	# defined
51.1Schristos
61.1Schristos.include <bsd.own.mk>
71.1Schristos
81.1SchristosPROG=	plainrsa-gen
91.1SchristosSRCS=	plainrsa-gen.c plog.c crypto_openssl.c logger.c vmbuf.c misc.c \
101.1Schristos	rsalist.c sockmisc.c genlist.c prsa_tok.c prsa_par.c
111.1SchristosMAN=	plainrsa-gen.8
121.1Schristos
131.1SchristosDIST=	${NETBSDSRCDIR}/crypto/dist/ipsec-tools
141.1SchristosCPPFLAGS+=	-I${DIST}/src/racoon -I${DIST}/src/racoon/missing
151.1SchristosCPPFLAGS+=	-I${DIST}/src/libipsec
161.1SchristosCPPFLAGS+=	-I${NETBSDSRCDIR}/lib/libipsec
171.1SchristosCPPFLAGS+=	-DHAVE_CONFIG_H -DNOUSE_PRIVSEP
181.1Schristos.if ${HAVE_OPENSSL} < 11
191.1SchristosCPPFLAGS+=	-DHAVE_OPENSSL_RC5_H
201.1SchristosCPPFLAGS+=	-DOPENSSL_API_COMPAT=0x10100000L
211.1Schristos.endif
221.1Schristos
231.1Schristos.PATH:  ${DIST}/src/racoon
241.1Schristos
251.1SchristosLDADD+= -lcrypto -lipsec
261.1SchristosDPADD+= ${LIBCRYPTO} ${LIBIPSEC}
271.1Schristos
281.1SchristosLPREFIX=prsa
291.1SchristosYPREFIX=prsa
301.1SchristosYFLAGS=-d
311.1Schristos
321.1Schristosprsa_tok.c: prsa_par.c
331.1Schristos
341.1Schristos.include <bsd.prog.mk>
351.1Schristos
36

Indexes created Mon Nov 10 17:20:41 GMT 2025