Commit e5fcbd77 by Michael Matz Committed by Andreas Jaeger

Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.

2003-01-26  Michael Matz  <matz@suse.de>

	* Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.

From-SVN: r61838
parent b44cf3d9
2003-01-26 Michael Matz <matz@suse.de>
* Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
2003-01-14 Andreas Jaeger <aj@suse.de> 2003-01-14 Andreas Jaeger <aj@suse.de>
* Make-lang.in (treelang.install-info): Depend only on info files * Make-lang.in (treelang.install-info): Depend only on info files
......
...@@ -47,7 +47,7 @@ TREELANGSED = sed ...@@ -47,7 +47,7 @@ TREELANGSED = sed
TREELANGSEDFLAGS = -n TREELANGSEDFLAGS = -n
# back end compiler libraries etc # back end compiler libraries etc
TREE_BE_LIBS = $(BACKEND) $(LIBIBERTY) $(INTLLIBS) $(LIBS) $(LIBDEPS) TREE_BE_LIBS = $(BACKEND) $(LIBIBERTY) $(INTLLIBS) $(LIBS) $(LIBDEPS)
GCC_EXTRAS = -B./ -B$(build_tooldir)/bin/ -isystem $(build_tooldir)/include GCC_EXTRAS = -B./ -B$(build_tooldir)/bin/ -isystem $(build_tooldir)/include
# ./xgcc is the just built compiler. See GCC_FOR_TARGET in the GCC Makefile.in. # ./xgcc is the just built compiler. See GCC_FOR_TARGET in the GCC Makefile.in.
...@@ -65,6 +65,8 @@ TREE_EXES = tree1$(exeext) ...@@ -65,6 +65,8 @@ TREE_EXES = tree1$(exeext)
#no -Wtraditional warnings, allow long long #no -Wtraditional warnings, allow long long
treelang-warn = $(LOOSE_WARN) -pedantic -Wno-long-long -Wmissing-prototypes -Wmissing-declarations treelang-warn = $(LOOSE_WARN) -pedantic -Wno-long-long -Wmissing-prototypes -Wmissing-declarations
# bison emits some unused static arrays (yytoknum)
treelang/parse.o-warn = -Wno-error
# #
# Define the names for selecting treelang in LANGUAGES. # Define the names for selecting treelang in LANGUAGES.
...@@ -78,7 +80,7 @@ treelang.done: tree1$(exeext) ...@@ -78,7 +80,7 @@ treelang.done: tree1$(exeext)
# no preprocessor # no preprocessor
# core compiler # core compiler
tree1$(exeext): treelang/tree1.o treelang/treetree.o treelang/lex.o treelang/parse.o\ 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-decl.o attribs.o $(TREE_BE_LIBS) c-convert.o c-typeck.o c-common.o c-decl.o attribs.o
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ \ $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ \
...@@ -123,11 +125,11 @@ gt-treelang-tree1.h gtype-treelang.h : s-gtype; @true ...@@ -123,11 +125,11 @@ gt-treelang-tree1.h gtype-treelang.h : s-gtype; @true
# Build hooks: # Build hooks:
treelang.all.build: treelang treelang.all.build: treelang
treelang.all.cross: treelang.all.cross:
_error_not_here_yet - havent even thought about it - it may even work _error_not_here_yet - havent even thought about it - it may even work
treelang.start.encap: treelang.start.encap:
treelang.rest.encap: treelang.rest.encap:
.phony:treelang.info .phony:treelang.info
treelang.info: $(srcdir)/treelang/treelang.info treelang.info: $(srcdir)/treelang/treelang.info
...@@ -156,13 +158,13 @@ treelang.generated-manpages: ...@@ -156,13 +158,13 @@ treelang.generated-manpages:
# Nothing to do here. # Nothing to do here.
treelang.install-normal: treelang.install.common treelang.install-normal: treelang.install.common
# Install # Install
.phony:treelang.install.common .phony:treelang.install.common
.phony:treelang.install .phony:treelang.install
treelang.install treelang.install.common treelang.install-common: treelang.install.common.done treelang.install treelang.install.common treelang.install-common: treelang.install.common.done
treelang.install.common.done: installdirs treelang.done treelang.install.common.done: installdirs treelang.done
for name in $(TREE_EXES); \ for name in $(TREE_EXES); \
do \ do \
if [ -f $$name ] ; then \ if [ -f $$name ] ; then \
...@@ -194,7 +196,7 @@ treelang.install-info: treelang.$(BUILD_INFO) ...@@ -194,7 +196,7 @@ treelang.install-info: treelang.$(BUILD_INFO)
else : ; fi; \ else : ; fi; \
else : ; fi else : ; fi
treelang.install-man: treelang.install-man:
treelang.uninstall: treelang.uninstall:
for name in $(TREE_EXES); \ for name in $(TREE_EXES); \
...@@ -212,7 +214,7 @@ treelang.uninstall: ...@@ -212,7 +214,7 @@ treelang.uninstall:
# A lot of the ancillary files are deleted by the main makefile. # A lot of the ancillary files are deleted by the main makefile.
# We just have to delete files specific to us. # We just have to delete files specific to us.
treelang.mostlyclean: treelang.mostlyclean:
for name in $(TREE_EXES); \ for name in $(TREE_EXES); \
do \ do \
echo deleting $$name; \ echo deleting $$name; \
...@@ -228,7 +230,7 @@ treelang.mostlyclean: ...@@ -228,7 +230,7 @@ treelang.mostlyclean:
treelang.clean: treelang.mostlyclean treelang.clean: treelang.mostlyclean
treelang.distclean: treelang.clean treelang.distclean: treelang.clean
-rm -f treelang/config.status -rm -f treelang/config.status
-rm -f treelang/*.output -rm -f treelang/*.output
treelang.extraclean: treelang.distclean treelang.extraclean: treelang.distclean
...@@ -265,14 +267,14 @@ treelang.distdir: ...@@ -265,14 +267,14 @@ treelang.distdir:
# not here yet sorry not sure if this is needed or not??? # not here yet sorry not sure if this is needed or not???
# test hook # test hook
# the other languages are hard coded in the main makefile.in - that seems to be wrong # the other languages are hard coded in the main makefile.in - that seems to be wrong
check-treelang: treelang.check check-treelang: treelang.check
TESTSUITEDIR = testsuite TESTSUITEDIR = testsuite
treelang.check: $(TESTSUITEDIR)/site.exp treelang.check: $(TESTSUITEDIR)/site.exp
-mkdir testsuite/treelang -mkdir testsuite/treelang
# these three files are empty and it seems diff has trouble generating # these three files are empty and it seems diff has trouble generating
# patch files for new empty files as required for cvs. # patch files for new empty files as required for cvs.
...@@ -294,7 +296,7 @@ treelang.check: $(TESTSUITEDIR)/site.exp ...@@ -294,7 +296,7 @@ treelang.check: $(TESTSUITEDIR)/site.exp
# copy the output files from the current test to source ie say the new results are OK # copy the output files from the current test to source ie say the new results are OK
treelang.check.fix: force treelang.check.fix: force
srcdir=`cd ${srcdir}; ${PWD}` ; export srcdir ; srcdir=`cd ${srcdir}; ${PWD}` ; export srcdir ;
-cp testsuite/treelang/*.out* t -cp testsuite/treelang/*.out* t
-cp testsuite/treelang/*runpgm* t -cp testsuite/treelang/*runpgm* t
-rm -f t/*nofilename -rm -f t/*nofilename
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment