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