From 047419e54fc0c6c192ebed80ec3ac4bf12f8c566 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Tue, 12 Oct 1999 20:25:11 +0000 Subject: [PATCH] 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. --- gnu/usr.bin/cc/cc_tools/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile index ef80109a4490..78b5f2f410aa 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.