summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-04-04 00:14:58 +0000
committerobrien <obrien@FreeBSD.org>2002-04-04 00:14:58 +0000
commitd481c3c6fdaa0def53579d62894ad1c40d8c9f68 (patch)
tree8ae3f2340d1a02aff81772eb116c27d87609810b /gnu/usr.bin
parent0d30a92feb1fd08e46dddbf7baafdb8db9e83018 (diff)
downloadFreeBSD-src-d481c3c6fdaa0def53579d62894ad1c40d8c9f68.zip
FreeBSD-src-d481c3c6fdaa0def53579d62894ad1c40d8c9f68.tar.gz
Remove duplicate objc-parse.h. While we are at it, just spell it correctly
as c-parse.h since that is how the consumers spell it.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/cc/cc1obj/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/cc/cc1obj/Makefile b/gnu/usr.bin/cc/cc1obj/Makefile
index c0fd806..876d089 100644
--- a/gnu/usr.bin/cc/cc1obj/Makefile
+++ b/gnu/usr.bin/cc/cc1obj/Makefile
@@ -5,7 +5,7 @@
.PATH: ../cc_tools ${GCCDIR}/objc ${GCCDIR}
PROG= cc1obj
-SRCS= objc-parse.c objc-parse.h objc-parse.h objc-act.c
+SRCS= objc-parse.c c-parse.h objc-act.c
# Ugh, compiled twice...
SRCS+= c-decl.c c-lex.c
BINDIR= /usr/libexec
@@ -19,16 +19,16 @@ LDADD+= ${LIBCC_INT}
#-----------------------------------------------------------------------
# objc parser
-.ORDER: objc-parse.c objc-parse.h
-objc-parse.c objc-parse.h: c-parse.in
+.ORDER: objc-parse.c c-parse.h
+objc-parse.c c-parse.h: c-parse.in
sed -e "/^ifc$$/,/^end ifc$$/d" \
-e "/^ifobjc$$/d" -e "/^end ifobjc$$/d" \
${GCCDIR}/c-parse.in > objc-parse.y
${YACC} -d -o objc-parse.c objc-parse.y
- ln -sf objc-parse.h c-parse.h
+ mv objc-parse.h c-parse.h
mv objc-parse.y objc-parse.y.out
-CLEANFILES+= objc-parse.c objc-parse.h c-parse.h \
+CLEANFILES+= objc-parse.c c-parse.h \
objc-parse.y objc-parse.y.out # insurance
#-----------------------------------------------------------------------
OpenPOWER on IntegriCloud