aboutsummaryrefslogtreecommitdiff
path: root/gcc/f/Make-lang.in
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2003-06-08 14:42:06 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-06-08 14:42:06 +0000
commit2cdfea3ae80f8952df6bae07d7ebf6c0fceecc51 (patch)
treec2c30f96aa74213a4a406c1277d222ad47eaa584 /gcc/f/Make-lang.in
parentd79d6feaa13a134680113b32b5c50180b882761b (diff)
downloadgcc-2cdfea3ae80f8952df6bae07d7ebf6c0fceecc51.zip
gcc-2cdfea3ae80f8952df6bae07d7ebf6c0fceecc51.tar.gz
gcc-2cdfea3ae80f8952df6bae07d7ebf6c0fceecc51.tar.bz2
Make-lang.in (F77_OBJS, [...]): Update.
* Make-lang.in (F77_OBJS, f77.mostlyclean, f/com.o): Update. (f/f-options.c, f/f-options.h): New. * com.c: Include opts.h and f-options.h. (ffecom_decode_include_option_): Remove. (LANG_HOOKS_HANDLE_OPTION): New. (LANG_HOOKS_DECODE_OPTION): Drop. (struct file_name_list, ffecom_decode_include_option, ffecom_open_include_): Constify. * com.h (ffecom_decode_include_option): Update. * lang.opt: New. * top.c: Include f-options.h, opts.h. (ffe_is_digit_string_): Constify. (ffe_decode_option): Transform to ffe_handle_option. * top.h (ffe_decode_option): Replace with ffe_handle_option. From-SVN: r67628
Diffstat (limited to 'gcc/f/Make-lang.in')
-rw-r--r--gcc/f/Make-lang.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/gcc/f/Make-lang.in b/gcc/f/Make-lang.in
index bf7b99c..0fe264b 100644
--- a/gcc/f/Make-lang.in
+++ b/gcc/f/Make-lang.in
@@ -88,7 +88,7 @@ g77-cross$(exeext): g77$(exeext)
F77_OBJS = f/bad.o f/bit.o f/bld.o f/com.o f/data.o f/equiv.o f/expr.o \
f/global.o f/implic.o f/info.o f/intrin.o f/lab.o f/lex.o f/malloc.o \
- f/name.o f/parse.o f/src.o f/st.o f/sta.o f/stb.o f/stc.o \
+ f/name.o f/f-options.o f/parse.o f/src.o f/st.o f/sta.o f/stb.o f/stc.o \
f/std.o f/ste.o f/storag.o f/stp.o f/str.o f/sts.o f/stt.o f/stu.o \
f/stv.o f/stw.o f/symbol.o f/target.o f/top.o f/type.o f/where.o
@@ -320,6 +320,7 @@ f77.uninstall: installdirs
f77.mostlyclean:
-rm -f f/*$(objext)
-rm -f f/*$(coverageexts)
+ -rm -f f/f-options.c f/f-options.h
-rm -f f/fini$(build_exeext) f/stamp-str f/str-*.h f/str-*.j
-rm -f f/intdoc$(build_exeext) f/ansify$(build_exeext) f/intdoc.h0
-rm -f g77.aux g77.cps g77.ky g77.toc g77.vr g77.fn g77.kys \
@@ -542,8 +543,14 @@ f/top.o: f/top.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/top.h f/malloc.h f/where.h \
f/info-w.def f/target.h f/lex.h f/type.h f/lab.h f/storag.h \
f/symbol.h f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h \
f/intrin.def f/data.h f/expr.h f/implic.h f/src.h f/st.h flags.h \
- toplev.h coretypes.h $(TM_H) opts.h
+ toplev.h coretypes.h $(TM_H) opts.h f/f-options.h
f/type.o: f/type.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/type.h f/malloc.h \
coretypes.h $(TM_H)
f/where.o: f/where.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/where.h glimits.h \
f/top.h f/malloc.h f/lex.h $(GGC_H) gt-f-where.h coretypes.h $(TM_H)
+
+f/f-options.c: f/lang.opt opts.sh f/f-options.h
+
+f/f-options.h: f/lang.opt opts.sh
+ AWK=$(AWK) $(SHELL) $(srcdir)/opts.sh f/f-options.c \
+ f/f-options.h $(srcdir)/f/lang.opt