diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-06-11 22:21:10 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-06-11 22:21:10 +0000 |
commit | 7fb26bb00173af1f41d3df4b5a7a43be9e3f12db (patch) | |
tree | 2af8d6bf007345fd5e6e0ba2072ebff79f20b89c /gcc/treelang/Make-lang.in | |
parent | 24386c5ec6a6f91d94bb14a65f5ec8a5c84235bc (diff) | |
download | gcc-7fb26bb00173af1f41d3df4b5a7a43be9e3f12db.zip gcc-7fb26bb00173af1f41d3df4b5a7a43be9e3f12db.tar.gz gcc-7fb26bb00173af1f41d3df4b5a7a43be9e3f12db.tar.bz2 |
hooks.c (hook_int_size_t_constcharptr_int_0): New.
* hooks.c (hook_int_size_t_constcharptr_int_0): New.
* hooks.h (hook_int_size_t_constcharptr_int_0): New.
* langhooks-def.h (lhd_decode_option, LANG_HOOKS_DECODE_OPTION): Die.
(LANG_HOOKS_HANDLE_OPTION, LANG_HOOKS_INITIALIZER): Update.
* langhooks.c (lhd_decode_option): Remove.
* langhooks.h (struct lang_hooks): Remove decode_option.
* opts.c (handle_option): No longer use decode_option.
java:
* Make-lang.in: Handle mostlyclean.
treelang:
* Make-lang.in: Update for option handling.
* lang.opt: New.
* tree1.c: Include opts.h and t-options.h.
(treelang_decode_option): Remove.
(treelang_handle_option): New.
* treetree.c (LANG_HOOKS_DECODE_OPTION): Remove.
(LANG_HOOKS_HANDLE_OPTION): Override.
* treetree.h (treelang_decode_option): Remove.
(treelang_handle_option): New.
From-SVN: r67799
Diffstat (limited to 'gcc/treelang/Make-lang.in')
-rw-r--r-- | gcc/treelang/Make-lang.in | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/gcc/treelang/Make-lang.in b/gcc/treelang/Make-lang.in index ca3bd30..d5e96af 100644 --- a/gcc/treelang/Make-lang.in +++ b/gcc/treelang/Make-lang.in @@ -85,11 +85,11 @@ treelang.done: tree1$(exeext) # core compiler tree1$(exeext): treelang/tree1.o treelang/treetree.o treelang/lex.o treelang/parse.o\ $(TREE_BE_LIBS) c-convert.o c-typeck.o c-common.o c-cppbuiltin.o \ - c-decl.o attribs.o + c-decl.o attribs.o treelang/t-options.o $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ \ treelang/tree1.o treelang/treetree.o treelang/lex.o treelang/parse.o \ c-convert.o c-typeck.o c-common.o c-cppbuiltin.o c-decl.o attribs.o \ - $(TREE_BE_LIBS) + $(TREE_BE_LIBS) treelang/t-options.o # # Compiling object files from source files. @@ -98,7 +98,7 @@ tree1$(exeext): treelang/tree1.o treelang/treetree.o treelang/lex.o treelang/par treelang/tree1.o: treelang/tree1.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ flags.h toplev.h $(GGC_H) $(TREE_H) diagnostic.h treelang/treelang.h \ - input.h treelang/treetree.h \ + input.h treelang/treetree.h treelang/t-options.h \ treelang/treetree.h gt-treelang-tree1.h gtype-treelang.h treelang/treetree.o: treelang/treetree.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ @@ -112,6 +112,12 @@ treelang/parse.o: treelang/parse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ treelang/lex.o: treelang/lex.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(TM_H) diagnostic.h $(TREE_H) treelang/treelang.h input.h treelang/parse.h +treelang/t-options.c: treelang/lang.opt opts.sh treelang/t-options.h + +treelang/t-options.h: treelang/lang.opt opts.sh + AWK=$(AWK) $(SHELL) $(srcdir)/opts.sh treelang/t-options.c \ + treelang/t-options.h $(srcdir)/treelang/lang.opt + # generated files the files from lex and yacc are put into the source # directory in case someone wants to build but does not have # lex/yacc @@ -122,6 +128,7 @@ $(srcdir)/treelang/lex.c: $(srcdir)/treelang/lex.l $(srcdir)/treelang/parse.c $(srcdir)/treelang/parse.h: $(srcdir)/treelang/parse.y $(BISON) $(BISONFLAGS) -v --defines \ --output=$(srcdir)/treelang/parse.c $(srcdir)/treelang/parse.y + # -v gt-treelang-tree1.h gtype-treelang.h : s-gtype; @true @@ -230,6 +237,7 @@ treelang.mostlyclean: rm -f treelang/$$name$(exeext); \ fi ; \ done + -rm -f treelang/t-options.c treelang/t-options.h -rm -f treelang/*$(objext) -rm -f treelang/*$(coverageexts) -rm treelang.done |