OSDN Git Service

* Makefile.in: Put back merge of some targets to avoid code duplication.
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Apr 2004 14:52:20 +0000 (14:52 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Apr 2004 14:52:20 +0000 (14:52 +0000)
Remove at the same obsolete variable GNATLIBLDFLAGS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81192 138bc75d-0d04-0410-961f-82ee72b054a4

libada/ChangeLog
libada/Makefile.in

index 02abac7..ca8ac2b 100644 (file)
@@ -1,3 +1,8 @@
+2004-04-26  Arnaud Charlet  <charlet@act-europe.fr>
+
+       * Makefile.in: Put back merge of some targets to avoid code duplication.
+       Remove at the same obsolete variable GNATLIBLDFLAGS.
+
 2004-04-19  Nathanael Nerode  <neroden@gcc.gnu.org>
 
        * configure.ac: Fix stupid brain-fade; set default_gnattools_target
index 7f0ce61..e77f9cd 100644 (file)
@@ -130,44 +130,20 @@ gnatlib-plain:
          TRACE="$(TRACE)" \
          gnatlib
 
-gnatlib-sjlj:
+gnatlib-sjlj gnatlib-zcx gnatlib-shared:
        $(MAKE) -C $(GCC_DIR)/ada $(FLAGS_TO_PASS) \
          GNATLIBFLAGS="$(GNATLIBFLAGS)" \
          GNATLIBCFLAGS="$(GNATLIBCFLAGS)" \
          TARGET_LIBGCC2_CFLAGS="$(TARGET_LIBGCC2_CFLAGS)" \
          THREAD_KIND="$(THREAD_KIND)" \
          TRACE="$(TRACE)" \
-         gnatlib-sjlj
-
-gnatlib-zcx:
-       $(MAKE) -C $(GCC_DIR)/ada $(FLAGS_TO_PASS) \
-         GNATLIBFLAGS="$(GNATLIBFLAGS)" \
-         GNATLIBCFLAGS="$(GNATLIBCFLAGS)" \
-         TARGET_LIBGCC2_CFLAGS="$(TARGET_LIBGCC2_CFLAGS)" \
-         THREAD_KIND="$(THREAD_KIND)" \
-         TRACE="$(TRACE)" \
-         gnatlib-zcx
-
-gnatlib-shared:
-       $(MAKE) -C $(GCC_DIR)/ada $(FLAGS_TO_PASS) \
-         GNATLIBFLAGS="$(GNATLIBFLAGS)" \
-         GNATLIBCFLAGS="$(GNATLIBCFLAGS)" \
-         GNATLIBLDFLAGS="$(GNATLIBLDFLAGS)" \
-         TARGET_LIBGCC2_CFLAGS="$(TARGET_LIBGCC2_CFLAGS)" \
-         THREAD_KIND="$(THREAD_KIND)" \
-         TRACE="$(TRACE)" \
-         gnatlib-shared
+         $@
 
 .PHONY: rts-zfp rts-ravenscar
-rts-zfp:
-       $(MAKE) -C $(GCC_DIR)/ada $(FLAGS_TO_PASS) \
-         GNATMAKE=../gnatmake-cross \
-         rts-zfp
-
-rts-ravenscar:
+rts-zfp rts-ravenscar:
        $(MAKE) -C $(GCC_DIR)/ada $(FLAGS_TO_PASS) \
          GNATMAKE=../gnatmake-cross \
-         rts-ravenscar
+         $@
 
 # Rules to build gnattools.
 .PHONY: gnattools gnattools-native gnattools-cross regnattools