Home | History | Annotate | Line # | Download | only in plainrsa-gen
Makefile revision 1.4
      1  1.4  christos # $NetBSD: Makefile,v 1.4 2025/03/08 00:10:54 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.3  christos CPPFLAGS+=	-I${NETBSDSRCDIR}/lib/libipsec -I.
     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.4  christos .include "${.CURDIR}/../racoon/Makefile.racoon"
     29  1.1  christos 
     30  1.1  christos .include <bsd.prog.mk>
     31  1.1  christos 
     32