2004-02-10 11:44:14 +01:00
|
|
|
# Makefile for libada.
|
|
|
|
# Copyright 2003, 2004 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# This file is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
|
|
|
# Default target; must be first.
|
(top level)
Merged from libada-gnattools-branch:
2004-11-28 Nathanael Nerode <neroden@gcc.gnu.org>
* gnattools: New directory.
* Makefile.def: Add gnattools as a module, depending on target-libada.
* Makefile.in: Regenerate.
* configure.in: Include gnattools in host_tools; disable it if ada
is disabled.
* configure: Regenerate.
(gcc)
* configure.ac: Rename cc_for_cross_gnattools to host_cc_for_libada.
* configure: Regenerate.
* libada-mk.in: Remove CC; rename
cc_for_cross_gnattools / cc_set_by_configure to host_cc_for_libada.
(gcc/ada)
Partial merge from libada-gnattools-branch:
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Move gnattools{1,1re,2,3,4} and corresponding flags
into code in gnattools/Makefile.in. Remove direct dependencies on
stamp-tools by tools clauses.
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* config-lang.in: Add gnattools to $lang_dirs.
(libada)
2004-12-03 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Add stamp file for building libada, to avoid
duplicate builds every time all-gnattools is called.
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Build gcc/ada/Makefile (by running gcc/ada/configure)
here.
2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac: Replace AC_CANONICAL_SYSTEM with _BUILD, _HOST,
_TARGET.
* configure: Regenerate.
2004-07-18 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac, Makefile.in: Remove gnattools-specific code
(see gnattools directory).
* Makefile.in: Remove dead rts-* targets.
* configure: Regenerate.
(gnattools)
2005-02-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Remove use of cc_set_by_configure; just use
plain old CC from the top level in this case.
2005-01-30 Nathanael Nerode <neroden@gcc.gnu.org>
Merge from mainline at tag libada-gnattools-merge-20050129:
* configure.ac: Changes propagated from gcc/ada/Makefile.in.
* Makefile.in: Changes relocated from gcc/ada/Makefile.in.
2004-12-13 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Reinstate stamp-gnatlib check.
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Inline gnattools{1,1-re,2,3,4} targets from
gcc/ada/configure.ac into gnattools-native and gnattools-cross
targets, collecting flags as appropriate from here,
gcc/ada/Makefile.in, gcc/ada/configure.ac, etc. Attempt to retain
identical behavior.
* configure.ac: Add necessary configure bits from
gcc/ada/configure.ac.
* configure: Regenerate.
2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac: Replace AC_CANONICAL_SYSTEM with _BUILD, _HOST,
_TARGET. Replace _GCC_TOPLEV_NONCANONICAL_TARGET with
ACX_NONCANONICAL_TARGET, and replace now-redundant AC_SUBST.
* configure: Regenerate.
2004-07-18 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in, configure.ac: Remove libada-specific targets and
variables.
* configure: Regenerate.
* New directory, cloned from libada.
From-SVN: r95594
2005-02-26 22:43:33 +01:00
|
|
|
all: gnatlib
|
2004-02-10 11:44:14 +01:00
|
|
|
|
|
|
|
# Standard autoconf-set variables.
|
|
|
|
SHELL = @SHELL@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
build = @build@
|
|
|
|
target = @target@
|
2004-04-15 05:38:59 +02:00
|
|
|
prefix = @prefix@
|
2004-02-10 11:44:14 +01:00
|
|
|
|
|
|
|
# Nonstandard autoconf-set variables.
|
2004-04-15 05:38:59 +02:00
|
|
|
enable_shared = @enable_shared@
|
|
|
|
LN_S=@LN_S@
|
|
|
|
|
|
|
|
# Variables for the user (or the top level) to override.
|
|
|
|
objext=.o
|
|
|
|
GNATLIBFLAGS= -W -Wall -gnatpg
|
|
|
|
THREAD_KIND=native
|
|
|
|
TRACE=no
|
|
|
|
LDFLAGS=
|
|
|
|
|
|
|
|
# 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)
|
2004-02-10 11:44:14 +01:00
|
|
|
|
2004-04-15 05:38:59 +02:00
|
|
|
ADA_CFLAGS=
|
|
|
|
T_ADA_CFLAGS=
|
|
|
|
# HPPA is literally the only target which sets X_ADA_CFLAGS
|
|
|
|
X_ADA_CFLAGS=@x_ada_cflags@
|
|
|
|
ALL_ADA_CFLAGS=$(X_ADA_CFLAGS) $(T_ADA_CFLAGS) $(ADA_CFLAGS)
|
2004-02-10 11:44:14 +01:00
|
|
|
|
2004-04-15 05:38:59 +02:00
|
|
|
# For finding the GCC build dir, which is used far too much
|
2006-11-17 11:31:47 +01:00
|
|
|
host_subdir = @host_subdir@
|
|
|
|
GCC_DIR=../../$(host_subdir)/gcc
|
2004-04-15 05:38:59 +02:00
|
|
|
# Include fragment generated by GCC configure.
|
|
|
|
include $(GCC_DIR)/libada-mk
|
2004-02-10 11:44:14 +01:00
|
|
|
|
2004-04-15 05:38:59 +02:00
|
|
|
TARGET_LIBGCC2_CFLAGS=
|
|
|
|
GNATLIBCFLAGS= -g -O2
|
|
|
|
# Get target-specific overrides for TARGET_LIBGCC2_CFLAGS
|
|
|
|
# and possibly GNATLIBCFLAGS. Currently this uses files
|
|
|
|
# in gcc/config. The 'subst' call is used to rerelativize them
|
|
|
|
# from their gcc locations. This is hackery, but there isn't
|
|
|
|
# yet a better way to do this.
|
|
|
|
tmake_file=$(subst /config,/../gcc/config,$(gcc_tmake_file))
|
|
|
|
ifneq ($(tmake_file),)
|
|
|
|
include $(tmake_file)
|
|
|
|
endif
|
2004-02-10 11:44:14 +01:00
|
|
|
|
2004-04-15 05:38:59 +02:00
|
|
|
FLAGS_TO_PASS = \
|
|
|
|
"MAKEOVERRIDES=" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"LN_S=$(LN_S)" \
|
|
|
|
"SHELL=$(SHELL)" \
|
|
|
|
"exeext=$(exeext)" \
|
|
|
|
"objext=$(objext)" \
|
|
|
|
"prefix=$(prefix)" \
|
(top level)
Merged from libada-gnattools-branch:
2004-11-28 Nathanael Nerode <neroden@gcc.gnu.org>
* gnattools: New directory.
* Makefile.def: Add gnattools as a module, depending on target-libada.
* Makefile.in: Regenerate.
* configure.in: Include gnattools in host_tools; disable it if ada
is disabled.
* configure: Regenerate.
(gcc)
* configure.ac: Rename cc_for_cross_gnattools to host_cc_for_libada.
* configure: Regenerate.
* libada-mk.in: Remove CC; rename
cc_for_cross_gnattools / cc_set_by_configure to host_cc_for_libada.
(gcc/ada)
Partial merge from libada-gnattools-branch:
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Move gnattools{1,1re,2,3,4} and corresponding flags
into code in gnattools/Makefile.in. Remove direct dependencies on
stamp-tools by tools clauses.
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* config-lang.in: Add gnattools to $lang_dirs.
(libada)
2004-12-03 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Add stamp file for building libada, to avoid
duplicate builds every time all-gnattools is called.
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Build gcc/ada/Makefile (by running gcc/ada/configure)
here.
2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac: Replace AC_CANONICAL_SYSTEM with _BUILD, _HOST,
_TARGET.
* configure: Regenerate.
2004-07-18 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac, Makefile.in: Remove gnattools-specific code
(see gnattools directory).
* Makefile.in: Remove dead rts-* targets.
* configure: Regenerate.
(gnattools)
2005-02-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Remove use of cc_set_by_configure; just use
plain old CC from the top level in this case.
2005-01-30 Nathanael Nerode <neroden@gcc.gnu.org>
Merge from mainline at tag libada-gnattools-merge-20050129:
* configure.ac: Changes propagated from gcc/ada/Makefile.in.
* Makefile.in: Changes relocated from gcc/ada/Makefile.in.
2004-12-13 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Reinstate stamp-gnatlib check.
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Inline gnattools{1,1-re,2,3,4} targets from
gcc/ada/configure.ac into gnattools-native and gnattools-cross
targets, collecting flags as appropriate from here,
gcc/ada/Makefile.in, gcc/ada/configure.ac, etc. Attempt to retain
identical behavior.
* configure.ac: Add necessary configure bits from
gcc/ada/configure.ac.
* configure: Regenerate.
2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac: Replace AC_CANONICAL_SYSTEM with _BUILD, _HOST,
_TARGET. Replace _GCC_TOPLEV_NONCANONICAL_TARGET with
ACX_NONCANONICAL_TARGET, and replace now-redundant AC_SUBST.
* configure: Regenerate.
2004-07-18 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in, configure.ac: Remove libada-specific targets and
variables.
* configure: Regenerate.
* New directory, cloned from libada.
From-SVN: r95594
2005-02-26 22:43:33 +01:00
|
|
|
"CC=$(host_cc_for_libada)" \
|
2005-12-05 15:40:27 +01:00
|
|
|
"GCC_FOR_TARGET=$(CC)" \
|
2004-04-15 05:38:59 +02:00
|
|
|
"CFLAGS=$(CFLAGS) $(WARN_CFLAGS)"
|
|
|
|
|
2004-02-10 11:44:14 +01:00
|
|
|
# Rules to build gnatlib.
|
2004-04-19 17:24:27 +02:00
|
|
|
.PHONY: gnatlib gnatlib-plain gnatlib-sjlj gnatlib-zcx gnatlib-shared
|
2004-04-15 05:38:59 +02:00
|
|
|
gnatlib: @default_gnatlib_target@
|
|
|
|
|
(top level)
Merged from libada-gnattools-branch:
2004-11-28 Nathanael Nerode <neroden@gcc.gnu.org>
* gnattools: New directory.
* Makefile.def: Add gnattools as a module, depending on target-libada.
* Makefile.in: Regenerate.
* configure.in: Include gnattools in host_tools; disable it if ada
is disabled.
* configure: Regenerate.
(gcc)
* configure.ac: Rename cc_for_cross_gnattools to host_cc_for_libada.
* configure: Regenerate.
* libada-mk.in: Remove CC; rename
cc_for_cross_gnattools / cc_set_by_configure to host_cc_for_libada.
(gcc/ada)
Partial merge from libada-gnattools-branch:
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Move gnattools{1,1re,2,3,4} and corresponding flags
into code in gnattools/Makefile.in. Remove direct dependencies on
stamp-tools by tools clauses.
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* config-lang.in: Add gnattools to $lang_dirs.
(libada)
2004-12-03 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Add stamp file for building libada, to avoid
duplicate builds every time all-gnattools is called.
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Build gcc/ada/Makefile (by running gcc/ada/configure)
here.
2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac: Replace AC_CANONICAL_SYSTEM with _BUILD, _HOST,
_TARGET.
* configure: Regenerate.
2004-07-18 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac, Makefile.in: Remove gnattools-specific code
(see gnattools directory).
* Makefile.in: Remove dead rts-* targets.
* configure: Regenerate.
(gnattools)
2005-02-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Remove use of cc_set_by_configure; just use
plain old CC from the top level in this case.
2005-01-30 Nathanael Nerode <neroden@gcc.gnu.org>
Merge from mainline at tag libada-gnattools-merge-20050129:
* configure.ac: Changes propagated from gcc/ada/Makefile.in.
* Makefile.in: Changes relocated from gcc/ada/Makefile.in.
2004-12-13 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Reinstate stamp-gnatlib check.
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Inline gnattools{1,1-re,2,3,4} targets from
gcc/ada/configure.ac into gnattools-native and gnattools-cross
targets, collecting flags as appropriate from here,
gcc/ada/Makefile.in, gcc/ada/configure.ac, etc. Attempt to retain
identical behavior.
* configure.ac: Add necessary configure bits from
gcc/ada/configure.ac.
* configure: Regenerate.
2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac: Replace AC_CANONICAL_SYSTEM with _BUILD, _HOST,
_TARGET. Replace _GCC_TOPLEV_NONCANONICAL_TARGET with
ACX_NONCANONICAL_TARGET, and replace now-redundant AC_SUBST.
* configure: Regenerate.
2004-07-18 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in, configure.ac: Remove libada-specific targets and
variables.
* configure: Regenerate.
* New directory, cloned from libada.
From-SVN: r95594
2005-02-26 22:43:33 +01:00
|
|
|
gnatlib-plain: $(GCC_DIR)/ada/Makefile
|
|
|
|
test -f stamp-libada || \
|
2004-04-15 05:38:59 +02:00
|
|
|
$(MAKE) -C $(GCC_DIR)/ada $(FLAGS_TO_PASS) \
|
|
|
|
GNATLIBFLAGS="$(GNATLIBFLAGS)" \
|
|
|
|
GNATLIBCFLAGS="$(GNATLIBCFLAGS)" \
|
|
|
|
TARGET_LIBGCC2_CFLAGS="$(TARGET_LIBGCC2_CFLAGS)" \
|
|
|
|
THREAD_KIND="$(THREAD_KIND)" \
|
2004-04-24 03:28:02 +02:00
|
|
|
TRACE="$(TRACE)" \
|
(top level)
Merged from libada-gnattools-branch:
2004-11-28 Nathanael Nerode <neroden@gcc.gnu.org>
* gnattools: New directory.
* Makefile.def: Add gnattools as a module, depending on target-libada.
* Makefile.in: Regenerate.
* configure.in: Include gnattools in host_tools; disable it if ada
is disabled.
* configure: Regenerate.
(gcc)
* configure.ac: Rename cc_for_cross_gnattools to host_cc_for_libada.
* configure: Regenerate.
* libada-mk.in: Remove CC; rename
cc_for_cross_gnattools / cc_set_by_configure to host_cc_for_libada.
(gcc/ada)
Partial merge from libada-gnattools-branch:
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Move gnattools{1,1re,2,3,4} and corresponding flags
into code in gnattools/Makefile.in. Remove direct dependencies on
stamp-tools by tools clauses.
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* config-lang.in: Add gnattools to $lang_dirs.
(libada)
2004-12-03 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Add stamp file for building libada, to avoid
duplicate builds every time all-gnattools is called.
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Build gcc/ada/Makefile (by running gcc/ada/configure)
here.
2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac: Replace AC_CANONICAL_SYSTEM with _BUILD, _HOST,
_TARGET.
* configure: Regenerate.
2004-07-18 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac, Makefile.in: Remove gnattools-specific code
(see gnattools directory).
* Makefile.in: Remove dead rts-* targets.
* configure: Regenerate.
(gnattools)
2005-02-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Remove use of cc_set_by_configure; just use
plain old CC from the top level in this case.
2005-01-30 Nathanael Nerode <neroden@gcc.gnu.org>
Merge from mainline at tag libada-gnattools-merge-20050129:
* configure.ac: Changes propagated from gcc/ada/Makefile.in.
* Makefile.in: Changes relocated from gcc/ada/Makefile.in.
2004-12-13 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Reinstate stamp-gnatlib check.
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Inline gnattools{1,1-re,2,3,4} targets from
gcc/ada/configure.ac into gnattools-native and gnattools-cross
targets, collecting flags as appropriate from here,
gcc/ada/Makefile.in, gcc/ada/configure.ac, etc. Attempt to retain
identical behavior.
* configure.ac: Add necessary configure bits from
gcc/ada/configure.ac.
* configure: Regenerate.
2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac: Replace AC_CANONICAL_SYSTEM with _BUILD, _HOST,
_TARGET. Replace _GCC_TOPLEV_NONCANONICAL_TARGET with
ACX_NONCANONICAL_TARGET, and replace now-redundant AC_SUBST.
* configure: Regenerate.
2004-07-18 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in, configure.ac: Remove libada-specific targets and
variables.
* configure: Regenerate.
* New directory, cloned from libada.
From-SVN: r95594
2005-02-26 22:43:33 +01:00
|
|
|
gnatlib \
|
|
|
|
&& touch stamp-libada
|
2004-04-15 05:38:59 +02:00
|
|
|
|
(top level)
Merged from libada-gnattools-branch:
2004-11-28 Nathanael Nerode <neroden@gcc.gnu.org>
* gnattools: New directory.
* Makefile.def: Add gnattools as a module, depending on target-libada.
* Makefile.in: Regenerate.
* configure.in: Include gnattools in host_tools; disable it if ada
is disabled.
* configure: Regenerate.
(gcc)
* configure.ac: Rename cc_for_cross_gnattools to host_cc_for_libada.
* configure: Regenerate.
* libada-mk.in: Remove CC; rename
cc_for_cross_gnattools / cc_set_by_configure to host_cc_for_libada.
(gcc/ada)
Partial merge from libada-gnattools-branch:
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Move gnattools{1,1re,2,3,4} and corresponding flags
into code in gnattools/Makefile.in. Remove direct dependencies on
stamp-tools by tools clauses.
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* config-lang.in: Add gnattools to $lang_dirs.
(libada)
2004-12-03 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Add stamp file for building libada, to avoid
duplicate builds every time all-gnattools is called.
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Build gcc/ada/Makefile (by running gcc/ada/configure)
here.
2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac: Replace AC_CANONICAL_SYSTEM with _BUILD, _HOST,
_TARGET.
* configure: Regenerate.
2004-07-18 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac, Makefile.in: Remove gnattools-specific code
(see gnattools directory).
* Makefile.in: Remove dead rts-* targets.
* configure: Regenerate.
(gnattools)
2005-02-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Remove use of cc_set_by_configure; just use
plain old CC from the top level in this case.
2005-01-30 Nathanael Nerode <neroden@gcc.gnu.org>
Merge from mainline at tag libada-gnattools-merge-20050129:
* configure.ac: Changes propagated from gcc/ada/Makefile.in.
* Makefile.in: Changes relocated from gcc/ada/Makefile.in.
2004-12-13 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Reinstate stamp-gnatlib check.
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Inline gnattools{1,1-re,2,3,4} targets from
gcc/ada/configure.ac into gnattools-native and gnattools-cross
targets, collecting flags as appropriate from here,
gcc/ada/Makefile.in, gcc/ada/configure.ac, etc. Attempt to retain
identical behavior.
* configure.ac: Add necessary configure bits from
gcc/ada/configure.ac.
* configure: Regenerate.
2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac: Replace AC_CANONICAL_SYSTEM with _BUILD, _HOST,
_TARGET. Replace _GCC_TOPLEV_NONCANONICAL_TARGET with
ACX_NONCANONICAL_TARGET, and replace now-redundant AC_SUBST.
* configure: Regenerate.
2004-07-18 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in, configure.ac: Remove libada-specific targets and
variables.
* configure: Regenerate.
* New directory, cloned from libada.
From-SVN: r95594
2005-02-26 22:43:33 +01:00
|
|
|
gnatlib-sjlj gnatlib-zcx gnatlib-shared: $(GCC_DIR)/ada/Makefile
|
|
|
|
test -f stamp-libada || \
|
2004-04-15 05:38:59 +02:00
|
|
|
$(MAKE) -C $(GCC_DIR)/ada $(FLAGS_TO_PASS) \
|
2004-04-24 03:28:02 +02:00
|
|
|
GNATLIBFLAGS="$(GNATLIBFLAGS)" \
|
|
|
|
GNATLIBCFLAGS="$(GNATLIBCFLAGS)" \
|
|
|
|
TARGET_LIBGCC2_CFLAGS="$(TARGET_LIBGCC2_CFLAGS)" \
|
|
|
|
THREAD_KIND="$(THREAD_KIND)" \
|
|
|
|
TRACE="$(TRACE)" \
|
(top level)
Merged from libada-gnattools-branch:
2004-11-28 Nathanael Nerode <neroden@gcc.gnu.org>
* gnattools: New directory.
* Makefile.def: Add gnattools as a module, depending on target-libada.
* Makefile.in: Regenerate.
* configure.in: Include gnattools in host_tools; disable it if ada
is disabled.
* configure: Regenerate.
(gcc)
* configure.ac: Rename cc_for_cross_gnattools to host_cc_for_libada.
* configure: Regenerate.
* libada-mk.in: Remove CC; rename
cc_for_cross_gnattools / cc_set_by_configure to host_cc_for_libada.
(gcc/ada)
Partial merge from libada-gnattools-branch:
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Move gnattools{1,1re,2,3,4} and corresponding flags
into code in gnattools/Makefile.in. Remove direct dependencies on
stamp-tools by tools clauses.
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* config-lang.in: Add gnattools to $lang_dirs.
(libada)
2004-12-03 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Add stamp file for building libada, to avoid
duplicate builds every time all-gnattools is called.
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Build gcc/ada/Makefile (by running gcc/ada/configure)
here.
2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac: Replace AC_CANONICAL_SYSTEM with _BUILD, _HOST,
_TARGET.
* configure: Regenerate.
2004-07-18 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac, Makefile.in: Remove gnattools-specific code
(see gnattools directory).
* Makefile.in: Remove dead rts-* targets.
* configure: Regenerate.
(gnattools)
2005-02-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Remove use of cc_set_by_configure; just use
plain old CC from the top level in this case.
2005-01-30 Nathanael Nerode <neroden@gcc.gnu.org>
Merge from mainline at tag libada-gnattools-merge-20050129:
* configure.ac: Changes propagated from gcc/ada/Makefile.in.
* Makefile.in: Changes relocated from gcc/ada/Makefile.in.
2004-12-13 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Reinstate stamp-gnatlib check.
2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Inline gnattools{1,1-re,2,3,4} targets from
gcc/ada/configure.ac into gnattools-native and gnattools-cross
targets, collecting flags as appropriate from here,
gcc/ada/Makefile.in, gcc/ada/configure.ac, etc. Attempt to retain
identical behavior.
* configure.ac: Add necessary configure bits from
gcc/ada/configure.ac.
* configure: Regenerate.
2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac: Replace AC_CANONICAL_SYSTEM with _BUILD, _HOST,
_TARGET. Replace _GCC_TOPLEV_NONCANONICAL_TARGET with
ACX_NONCANONICAL_TARGET, and replace now-redundant AC_SUBST.
* configure: Regenerate.
2004-07-18 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in, configure.ac: Remove libada-specific targets and
variables.
* configure: Regenerate.
* New directory, cloned from libada.
From-SVN: r95594
2005-02-26 22:43:33 +01:00
|
|
|
$@ \
|
|
|
|
&& touch stamp-libada
|
2004-04-24 03:28:02 +02:00
|
|
|
|
2004-02-10 11:44:14 +01:00
|
|
|
# Check uninstalled version.
|
|
|
|
check:
|
|
|
|
|
|
|
|
# Check installed version.
|
|
|
|
installcheck:
|
|
|
|
|
|
|
|
# Build info (none here).
|
|
|
|
info:
|
|
|
|
|
|
|
|
# Build DVI (none here).
|
|
|
|
dvi:
|
|
|
|
|
2006-10-17 06:24:13 +02:00
|
|
|
# Build PDF (none here).
|
|
|
|
pdf:
|
|
|
|
|
2005-04-28 03:39:03 +02:00
|
|
|
# Build html (none here).
|
|
|
|
html:
|
|
|
|
|
2004-02-10 11:44:14 +01:00
|
|
|
# Build TAGS (none here).
|
|
|
|
TAGS:
|
|
|
|
|
|
|
|
# Installation rules.
|
|
|
|
install:
|
|
|
|
|
|
|
|
install-info:
|
|
|
|
|
2006-05-24 03:38:00 +02:00
|
|
|
install-html:
|
|
|
|
|
2004-02-10 11:44:14 +01:00
|
|
|
# Cleaning rules.
|
|
|
|
mostlyclean:
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
|
|
|
distclean:
|
|
|
|
$(RM) Makefile config.status config.log
|
|
|
|
|
|
|
|
maintainer-clean:
|
|
|
|
|
|
|
|
# Rules for rebuilding this Makefile.
|
|
|
|
Makefile: $(srcdir)/Makefile.in config.status
|
|
|
|
CONFIG_FILES=$@ ; \
|
|
|
|
CONFIG_HEADERS= ; \
|
|
|
|
$(SHELL) ./config.status
|
|
|
|
|
|
|
|
config.status: $(srcdir)/configure
|
|
|
|
$(SHELL) ./config.status --recheck
|
|
|
|
|
2004-04-24 03:28:02 +02:00
|
|
|
$(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac
|
2004-02-10 11:44:14 +01:00
|
|
|
cd $(srcdir) && autoconf
|
2004-05-25 21:37:02 +02:00
|
|
|
|
|
|
|
# Don't export variables to the environment, in order to not confuse
|
|
|
|
# configure.
|
|
|
|
.NOEXPORT:
|