Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/setkey Don't yacc/lex here as dist includes generated c...



details:   https://anonhg.NetBSD.org/src/rev/67e6fa8bc037
branches:  trunk
changeset: 586365:67e6fa8bc037
user:      jmc <jmc%NetBSD.org@localhost>
date:      Thu Dec 15 14:27:21 2005 +0000

description:
Don't yacc/lex here as dist includes generated copies already and depending
on timestamps it's possible for gcc2 on vax to get confused on which .h
to use.

diffstat:

 sbin/setkey/Makefile |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 446d64b409b4 -r 67e6fa8bc037 sbin/setkey/Makefile
--- a/sbin/setkey/Makefile      Thu Dec 15 14:03:34 2005 +0000
+++ b/sbin/setkey/Makefile      Thu Dec 15 14:27:21 2005 +0000
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.7 2005/06/27 01:00:06 christos Exp $
+# $NetBSD: Makefile,v 1.8 2005/12/15 14:27:21 jmc Exp $
+
+WARNS=  0       # Will be fixed later
 
 .include <bsd.own.mk>
 
 PROG=  setkey
-SRCS=  setkey.c parse.y token.l
+SRCS=  setkey.c parse.c token.c
 MAN=   setkey.8
 
-YHEADER=parse.h
-
 DIST=  ${NETBSDSRCDIR}/crypto/dist/ipsec-tools
 
 CPPFLAGS+= -I${DIST}/src/setkey -I${DIST}/src/libipsec
@@ -25,3 +25,7 @@
 .PATH: ${DIST}/src/setkey 
 
 .include <bsd.prog.mk>
+
+# Don't auto-frob .y or .l files.
+.l.c .y.c .y.h:
+       @true



Home | Main Index | Thread Index | Old Index