Module Name: src
Committed By: christos
Date: Fri Mar 7 20:07:03 UTC 2025
Modified Files:
src/usr.sbin/plainrsa-gen: Makefile
Log Message:
generate the lex header file.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/plainrsa-gen/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/plainrsa-gen/Makefile
diff -u src/usr.sbin/plainrsa-gen/Makefile:1.2 src/usr.sbin/plainrsa-gen/Makefile:1.3
--- src/usr.sbin/plainrsa-gen/Makefile:1.2 Tue May 9 16:14:37 2023
+++ src/usr.sbin/plainrsa-gen/Makefile Fri Mar 7 15:07:03 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2023/05/09 20:14:37 christos Exp $
+# $NetBSD: Makefile,v 1.3 2025/03/07 20:07:03 christos Exp $
WARNS?= 0 # XXX third-party program, many issues
NOCLANGERROR= # defined
@@ -13,7 +13,7 @@ MAN= plainrsa-gen.8
DIST= ${NETBSDSRCDIR}/crypto/dist/ipsec-tools
CPPFLAGS+= -I${DIST}/src/racoon -I${DIST}/src/racoon/missing
CPPFLAGS+= -I${DIST}/src/libipsec
-CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libipsec
+CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libipsec -I.
CPPFLAGS+= -DHAVE_CONFIG_H -DNOUSE_PRIVSEP
.if ${HAVE_OPENSSL} < 11
CPPFLAGS+= -DHAVE_OPENSSL_RC5_H
@@ -33,8 +33,11 @@ COPTS.prsa_par.c+= -Wno-error=deprecated
LPREFIX=prsa
YPREFIX=prsa
YFLAGS=-d
+LFLAGS+=--header-file=prsa_tok.h
+CLEANFILES+=prsa_tok.h
prsa_tok.c: prsa_par.c
+rsa_list.c: prsa_tok.c
.include <bsd.prog.mk>