Makefile.in (c-options.c): Pass in $(AWK) to opts.sh.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Mon, 2 Jun 2003 11:41:51 +0000 (11:41 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Mon, 2 Jun 2003 11:41:51 +0000 (11:41 +0000)
* Makefile.in (c-options.c): Pass in $(AWK) to opts.sh.
(mostlyclean): Delete c-options.c and c-options.h.

From-SVN: r67326

gcc/ChangeLog
gcc/Makefile.in

index 16164f84b9747b4f874643e141ccea5a71251007..10d72fc644834712ab876fa8b4af2ff2a7cc81c9 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * Makefile.in (c-options.c): Pass in $(AWK) to opts.sh.
+       (mostlyclean): Delete c-options.c and c-options.h.
+
 2003-06-02  Neil Booth  <neil@daikokuya.co.uk>
 
        * c-opts.c (CL_REJECT_NEGATIVE): New.
index e1c18d3af0d5d321770ea04061ae52fa09d22f2b..fd20e97abe9713e4012b88ed169265312da3cdac 100644 (file)
@@ -1321,7 +1321,7 @@ c-opts.o : c-opts.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
                $< $(OUTPUT_OPTION) @TARGET_SYSTEM_ROOT_DEFINE@
 
 c-options.c: c.opt $(srcdir)/opts.sh
-       $(SHELL) $(srcdir)/opts.sh c-options.c c-options.h $(srcdir)/c.opt
+       AWK=$(AWK) $(SHELL) $(srcdir)/opts.sh c-options.c c-options.h $(srcdir)/c.opt
 
 c-options.h: c-options.c
        @true
@@ -2783,7 +2783,7 @@ mostlyclean: $(INTL_MOSTLYCLEAN) lang.mostlyclean
        -rm -f xlimits.h
 # Delete other built files.
        -rm -f xsys-protos.hT
-       -rm -f specs.h options.h gencheck.h
+       -rm -f specs.h options.h gencheck.h c-options.c c-options.h
 # Delete the stamp and temporary files.
        -rm -f s-* tmp-* stamp-* stmp-*
        -rm -f */stamp-* */tmp-*