aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-10-12 20:25:11 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-10-12 20:25:11 +0000
commit047419e54fc0c6c192ebed80ec3ac4bf12f8c566 (patch)
treec62b9b7ebc85e6915ded71e6dfb0a271ca2808bf /gnu
parentd0248b64a3f783cf91cab394a4307b4df8ac9157 (diff)
Notes
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 ef80109a44903..78b5f2f410aa3 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.