Commit 3103b7db by Martin v. Löwis Committed by Jeff Law

Makefile.in: Add lang_tree_files and gencheck.h.

        * Makefile.in: Add lang_tree_files and gencheck.h.
        * configure.in: Generate them.
        * gencheck.c: Include gencheck.h.

From-SVN: r22101
parent 7e2421f7
Sun Aug 30 16:47:20 1998 Martin von Lvwis <loewis@informatik.hu-berlin.de>
* Makefile.in: Add lang_tree_files and gencheck.h.
* configure.in: Generate them.
* gencheck.c: Include gencheck.h.
Sat Aug 29 21:38:24 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
* config/sparc/sparc.md (pic_lo_sum_di, pic_sethi_di): Rename to
......
......@@ -243,6 +243,7 @@ build_xm_file=@build_xm_file_list@
host_xm_file=@host_xm_file_list@
lang_specs_files=@lang_specs_files@
lang_options_files=@lang_options_files@
lang_tree_files=@lang_tree_files@
GCC_THREAD_FILE=@thread_file@
GTHREAD_FLAGS=@gthread_flags@
# Be prepared for gcc2 merges.
......@@ -1346,7 +1347,7 @@ s-check : gencheck $(srcdir)/move-if-change
$(srcdir)/move-if-change tmp-check.h tree-check.h
touch s-check
gencheck : gencheck.o tree.def $(HOST_LIBDEPS)
gencheck : gencheck.o tree.def $(lang_tree_files) $(HOST_LIBDEPS)
$(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o $@ \
gencheck.o $(HOST_LIBS)
......@@ -2214,7 +2215,7 @@ distclean: clean lang.distclean
-rm -f md cstamp-h
-rm -f config.status config.run config.cache config.bak
-rm -f Make-lang Make-hooks Make-host Make-target
-rm -f Makefile specs.h options.h *.oaux
-rm -f Makefile specs.h options.h gencheck.h *.oaux
-rm -f gthr-default.h
-rm -f */stage1 */stage2 */stage3 */stage4 */include
-rm -f c-parse.output
......
......@@ -3600,8 +3600,9 @@ AC_SUBST(gthread_flags)
lang_specs_files=
lang_options_files=
rm -f specs.h options.h
touch specs.h options.h
lang_tree_files=
rm -f specs.h options.h gencheck.h
touch specs.h options.h gencheck.h
for subdir in . $subdirs
do
if test -f $srcdir/$subdir/lang-specs.h; then
......@@ -3612,6 +3613,10 @@ do
echo "#include \"$subdir/lang-options.h\"" >>options.h
lang_options_files="$lang_options_files $srcdir/$subdir/lang-options.h"
fi
if test -f $srcdir/$subdir/$subdir-tree.def; then
echo "#include \"$subdir/$subdir-tree.def\"" >>gencheck.h
lang_tree_files="$lang_tree_files $srcdir/$subdir/$subdir-tree.def"
fi
done
# These (without "all_") are set in each config-lang.in.
......@@ -3803,6 +3808,7 @@ AC_SUBST(build_xm_file_list)
AC_SUBST(host_xm_file_list)
AC_SUBST(lang_specs_files)
AC_SUBST(lang_options_files)
AC_SUBST(lang_tree_files)
AC_SUBST(thread_file)
AC_SUBST(gcc_version)
AC_SUBST(gcc_version_trigger)
......
......@@ -25,6 +25,7 @@ Boston, MA 02111-1307, USA. */
char *tree_codes[] = {
#include "tree.def"
#include "gencheck.h"
(char*)0
};
......
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