From 9a8d280dd66fe16ecf5551bd3cfe004cfbf447c3 Mon Sep 17 00:00:00 2001 From: bonzini Date: Fri, 1 Aug 2008 08:18:13 +0000 Subject: gcc: 2008-08-01 Paolo Bonzini * configure.ac: Do not generate libada-mk. Do not subst host_cc_for_libada. * libada-mk.in: Remove. * Makefile.in: Pass TARGET_LIBGCC2_CFLAGS to libgcc.mvars. * configure: Regenerate. libada: 2008-08-01 Paolo Bonzini * configure.ac (warn_cflags): Substitute. * configure: Regenerate. * Makefile.in (libdir, WARN_CFLAGS): Substitute. (GCC_WARN_CFLAGS): Remove NOCOMMON_FLAG. (ADA_CFLAGS, T_ADA_CFLAGS, X_ADA_CFLAGS, ALL_ADA_CFLAGS): Remove, they were unused. (libada-mk): Do not include. Include libgcc.mvars instead. (tmake_file): Remove, do not include. (FLAGS_TO_PASS): Pass dummy values for exeext and CC. * configure: Regenerate. gnattools: 2008-08-01 Paolo Bonzini * configure.ac (warn_cflags): Substitute. * configure: Regenerate. * Makefile.in (libdir, exeext, WARN_CFLAGS): Substitute. (GCC_WARN_CFLAGS): Remove NOCOMMON_FLAG. (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Remove as they were unused. (libsubdir): Remove. (libada-mk): Do not include. Include libgcc.mvars instead. (xmake_file): Remove, do not include. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138479 138bc75d-0d04-0410-961f-82ee72b054a4 --- gnattools/Makefile.in | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'gnattools/Makefile.in') diff --git a/gnattools/Makefile.in b/gnattools/Makefile.in index f28bc685a49..ed40ba54411 100644 --- a/gnattools/Makefile.in +++ b/gnattools/Makefile.in @@ -21,6 +21,7 @@ all: gnattools # Standard autoconf-set variables. SHELL = @SHELL@ srcdir = @srcdir@ +libdir = @libdir@ build = @build@ target = @target@ prefix = @prefix@ @@ -33,6 +34,7 @@ LN_S=@LN_S@ target_noncanonical=@target_noncanonical@ # Variables for the user (or the top level) to override. +exeext = @EXEEXT@ objext=.o TRACE=no ADA_FOR_BUILD= @@ -43,27 +45,16 @@ PWD_COMMAND = $${PWDCMD-pwd} # The tedious process of getting CFLAGS right. CFLAGS=-g LOOSE_WARN = -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -GCC_WARN_CFLAGS = $(LOOSE_WARN) $(NOCOMMON_FLAG) +GCC_WARN_CFLAGS = $(LOOSE_WARN) +WARN_CFLAGS = @warn_cflags@ ADA_CFLAGS=@ADA_CFLAGS@ # Variables for gnattools. ADAFLAGS= -gnatpg -gnata -ADA_INCLUDE_DIR = $(libsubdir)/adainclude -ADA_RTL_OBJ_DIR = $(libsubdir)/adalib # For finding the GCC build dir, which is used far too much GCC_DIR=../gcc -# Include fragment generated by GCC configure; shared with libada for now. -include $(GCC_DIR)/libada-mk -# Variables based on those gleaned from the GCC makefile. :-P -libsubdir=$(libdir)/gcc/$(target_noncanonical)/$(gcc_version) - -# Get possible host-specific override for libsubdir (ick). -xmake_file=$(subst /config,/../gcc/config,$(gcc_xmake_file)) -ifneq ($(xmake_file),) -include $(xmake_file) -endif # Absolute srcdir for gcc/ada (why do we want absolute? I dunno) fsrcdir := $(shell cd $(srcdir)/../gcc/ada/; ${PWD_COMMAND}) -- cgit v1.2.1