xref: /netbsd/src/usr.sbin/racoon/Makefile.racoon
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# $NetBSD: Makefile.racoon,v 1.4 2025/03/08 16:40:44 christos Exp $
2
3DIST=   ${NETBSDSRCDIR}/crypto/dist/ipsec-tools
4CPPFLAGS+= -I${DIST}/src/racoon -I${DIST}/src/racoon/missing
5CPPFLAGS+= -I${DIST}/src/libipsec
6CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libipsec -I. -DHAVE_CONFIG_H
7.if ${HAVE_OPENSSL} < 11
8CPPFLAGS+= -DHAVE_OPENSSL_RC5_H
9CPPFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L
10.endif
11
12SRCS+=crypto_openssl.c genlist.c logger.c misc.c plog.c prsa_par.y \
13    prsa_tok.l rsalist.c sockmisc.c vmbuf.c
14
15COPTS.plainrsa-gen.c+= -Wno-error=deprecated-declarations
16COPTS.crypto_openssl.c+= -Wno-error=deprecated-declarations
17COPTS.rsalist.c+= -Wno-error=deprecated-declarations
18COPTS.prsa_par.c+= -Wno-error=deprecated-declarations
19COPTS.prsa_tok.c+=-Wno-error=unused-function
20
21LPREFIX.prsa_tok.l=prsa
22YPREFIX.prsa_par.y=prsa
23YFLAGS=-d
24LFLAGS.prsa_tok.l+=--header-file=prsa_tok.h
25
26CLEANFILES+=prsa_tok.h prsa_tok.c prsa_par.c  prsa_par.h
27
28.PATH: ${DIST}/src/racoon
29
30
31prsa_tok.c: prsa_par.c
32

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026