From 7d78d5a600e1475d2aed1ca81fe6d0687fae0256 Mon Sep 17 00:00:00 2001 From: Dave Korn Date: Fri, 24 Feb 2012 16:17:01 +0000 Subject: [PATCH] Makefile.in (bindir): Import from autoconf and pass down to submake. libada/ChangeLog: * Makefile.in (bindir): Import from autoconf and pass down to submake. gcc/ada/ChangeLog: * gcc-interface/Makefile.in (WIN_SO_PREFIX [windows targets]): New Windows-specific make variable. (WIN_SO_INSTALL_DIR [windows targets]): Likewise. (install-gnatlib): Respect the above during installation when set, and also install any windows import library that has been built. (gnatlib-shared-win32): Use WIN_SO_PREFIX to name output DLL and also build a corresponding import library. From-SVN: r184558 --- gcc/ada/ChangeLog | 10 ++++++++++ gcc/ada/gcc-interface/Makefile.in | 30 +++++++++++++++++++++--------- libada/ChangeLog | 4 ++++ libada/Makefile.in | 2 ++ 4 files changed, 37 insertions(+), 9 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index f3cf57efdb3..34f0b3e475b 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,13 @@ +2012-02-24 Dave Korn + + * gcc-interface/Makefile.in (WIN_SO_PREFIX [windows targets]): New + Windows-specific make variable. + (WIN_SO_INSTALL_DIR [windows targets]): Likewise. + (install-gnatlib): Respect the above during installation when set, + and also install any windows import library that has been built. + (gnatlib-shared-win32): Use WIN_SO_PREFIX to name output DLL and also + build a corresponding import library. + 2012-02-22 Robert Dewar * exp_util.adb, make.adb, sem_dim.adb, sem_ch4.adb, exp_disp.adb: Minor diff --git a/gcc/ada/gcc-interface/Makefile.in b/gcc/ada/gcc-interface/Makefile.in index 72569032a10..5fa6ffa0702 100644 --- a/gcc/ada/gcc-interface/Makefile.in +++ b/gcc/ada/gcc-interface/Makefile.in @@ -1589,16 +1589,19 @@ ifeq ($(strip $(filter-out cygwin% mingw32% pe,$(osys))),) # the Cygwin port has always been a CygMing frankenhybrid and it is # a long-term project to disentangle them. ifeq ($(strip $(filter-out cygwin%,$(osys))),) + WIN_SO_PREFIX=cyg LIBGNAT_TARGET_PAIRS = \ s-memory.adb + + * Makefile.in (bindir): Import from autoconf and pass down to submake. + 2012-01-22 Douglas B Rupp * configure: Regenerate. diff --git a/libada/Makefile.in b/libada/Makefile.in index 5389dd005de..36cf5ad5e5a 100644 --- a/libada/Makefile.in +++ b/libada/Makefile.in @@ -33,6 +33,7 @@ MULTICLEAN = true SHELL = @SHELL@ srcdir = @srcdir@ libdir = @libdir@ +bindir = @bindir@ build = @build@ target = @target@ prefix = @prefix@ @@ -83,6 +84,7 @@ LIBADA_FLAGS_TO_PASS = \ "TRACE=$(TRACE)" \ "MULTISUBDIR=$(MULTISUBDIR)" \ "libsubdir=$(libsubdir)" \ + "bindir=$(bindir)" \ "objext=$(objext)" \ "prefix=$(prefix)" \ "exeext=.exeext.should.not.be.used " \