Home | History | Annotate | Line # | Download | only in plainrsa-gen
Makefile revision 1.1.2.1
      1  1.1.2.1    martin # $NetBSD: Makefile,v 1.1.2.1 2023/08/11 13:43:43 martin 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.2.1    martin COPTS.plainrsa-gen.c+= -Wno-error=deprecated-declarations
     29  1.1.2.1    martin COPTS.crypto_openssl.c+= -Wno-error=deprecated-declarations
     30  1.1.2.1    martin COPTS.rsalist.c+= -Wno-error=deprecated-declarations
     31  1.1.2.1    martin COPTS.prsa_par.c+= -Wno-error=deprecated-declarations
     32  1.1.2.1    martin 
     33      1.1  christos LPREFIX=prsa
     34      1.1  christos YPREFIX=prsa
     35      1.1  christos YFLAGS=-d
     36      1.1  christos 
     37      1.1  christos prsa_tok.c: prsa_par.c
     38      1.1  christos 
     39      1.1  christos .include <bsd.prog.mk>
     40      1.1  christos 
     41