summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-10-12 20:25:11 +0000
committerobrien <obrien@FreeBSD.org>1999-10-12 20:25:11 +0000
commitbf705257921564c145e731c183df1ec2d0b949a6 (patch)
treec62b9b7ebc85e6915ded71e6dfb0a271ca2808bf /gnu
parent1dc4a82010bbede0fa821e0cf7b029094d091e7f (diff)
downloadFreeBSD-src-bf705257921564c145e731c183df1ec2d0b949a6.zip
FreeBSD-src-bf705257921564c145e731c183df1ec2d0b949a6.tar.gz
Change the name of the file generaged from gxx.gperf from "hash.h" to
"gxx-hash.h" with hopes of getting Cygnus to do the same. We create a link to the old name for now.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cc/cc_tools/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile
index ef80109..78b5f2f 100644
--- a/gnu/usr.bin/cc/cc_tools/Makefile
+++ b/gnu/usr.bin/cc/cc_tools/Makefile
@@ -81,10 +81,13 @@ GENSRCS+= c-gperf.h
#-----------------------------------------------------------------------
# C++ hash codes
-hash.h: gxx.gperf
+gxx-hash.h: gxx.gperf
gperf -p -j1 -g -o -t -N is_reserved_word '-k1,4,7,$$' \
- ${GCCDIR}/cp/gxx.gperf >hash.h
-GENSRCS+= hash.h
+ ${GCCDIR}/cp/gxx.gperf >gxx-hash.h
+
+hash.h: gxx-hash.h
+ ln -s ${.ALLSRC} ${.TARGET}
+GENSRCS+= gxx-hash.h hash.h
#-----------------------------------------------------------------------
# Common parser stuff.
OpenPOWER on IntegriCloud