aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-10-13 11:56:07 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-10-13 11:56:07 +0000
commita44544d6e7ae3e4d4a0e2bfa5d0e608b515f0144 (patch)
treeec1a3a9c131c026c630fd1a6ea146970b68845e9
parent09252e970e52df126d4296dcab8489d483675425 (diff)
Changes for automake.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16953 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Makefile.rules.am182
-rw-r--r--Makefile_config121
-rwxr-xr-xconfigure_am341
3 files changed, 290 insertions, 354 deletions
diff --git a/Makefile.rules.am b/Makefile.rules.am
deleted file mode 100644
index 393defd70e..0000000000
--- a/Makefile.rules.am
+++ /dev/null
@@ -1,182 +0,0 @@
-#,===-- Makefile.rules.am - Common make rules for LLVM ------*- Makefile -*--===#
-#
-# The LLVM Compiler Infrastructure
-#
-# This file was developed by Reid Spencer and is distributed under the
-# University of Illinois Open Source License. See LICENSE.TXT for details.
-#
-#===------------------------------------------------------------------------===#
-
-# Options for all makefiles
-ACLOCAL_AMFLAGS = -I autoconf -I autoconf/m4 --output=autoconf/aclocal.m4
-AUTOMAKE_OPTIONS = foreign dejagnu dist-zip nostdinc
-
-#
-# Install Directories as local makefile variables
-#
-LLVM_PREFIX := @LLVM_PREFIX@
-LLVM_BINDIR := @LLVM_BINDIR@
-LLVM_LIBDIR := @LLVM_LIBDIR@
-LLVM_DATADIR := @LLVM_DATADIR@
-LLVM_DOCSDIR := @LLVM_DOCSDIR@
-LLVM_ETCDIR := @LLVM_ETCDIR@
-LLVM_INCLUDEDIR:= @LLVM_INCLUDEDIR@
-LLVM_INFODIR := @LLVM_INFODIR@
-LLVM_MANDIR := @LLVM_MANDIR@
-
-#
-# LLVM Specific C/C++ compiler flags
-#
-LLVM_COMMONFLAGS := -Wall -W -Wwrite-strings -Wno-unused -Wcast-align
-LLVM_CXXFLAGS :=
-LLVM_CFLAGS :=
-LLVM_CPPFLAGS := \
- -I. \
- -I$(srcdir) \
- -I$(top_srcdir)/include \
- -I$(top_builddir)/include \
- -D_RENTRANT -D_GNU_SOURCE -D__STDC_LIMIT_MACROS
-
-if ENABLE_PROFILED
-LLVM_CPPFLAGS += -DNDEBUG
-LLVM_CXXFLAGS += -pg -O3 -finline-functions -felide-constructors
-LLVM_CXXFLAGS += -pg -O3 -finline-functions
-LLVM_CFLAGS += -pg
-endif
-
-if ENABLE_OPTIMIZED
-LLVM_CPPFLAGS += -DNDEBUG
-LLVM_CXXFLAGS += -O3 -finline-functions -fomit-frame-pointer -felide-constructors
-else
-LLVM_CPPFLAGS += -D_DEBUG
-endif
-
-# Required tool definitions as macros so they can be overridden
-VERB := @
-SED := sed
-RM := rm
-CMP := cmp
-MV := mv
-ECHO := echo
-IGNORE := true
-LINKLIB := ${LIBTOOL} --tag=CXX --mode=link $(CXX) -o
-
-BURG := $(top_builddir)/utils/Burg/burg$(EXEEXT)
-RunBurg := $(BURG) -I
-TBLGEN := $(top_builddir)/utils/TableGen/TableGen$(EXEEXT)
-LGCCLDPROG := $(top_builddir)/tools/gccld/gccld$(EXEEXT)
-
-
-# Set up the standard automake variables
-#
-AM_CPPFLAGS = $(LLVM_CPPFLAGS)
-AM_CXXFLAGS = $(LLVM_COMMONFLAGS) $(LLVM_CXXFLAGS)
-AM_CFLAGS = $(LLVM_COMMONFLAGS) $(LLVM_CFLAGS)
-
-# LLVM GMake Function macros
-FIXOBJ = $(top_builddir)/lib/$(2)/LLVM$(1).o
-FIXLIB = $(top_builddir)/lib/$(2)/libLLVM$(1).a
-FINDPATH = $(if $(findstring Core,$(1)),VMCore,$(strip \
- $(if $(findstring Support,$(1)),Support,$(strip \
- $(if $(findstring System,$(1)),System,$(strip \
- $(if $(findstring BCReader,$(1)),Bytecode/Reader,$(strip \
- $(if $(findstring BCWriter,$(1)),Bytecode/Writer,$(strip \
- $(if $(findstring AsmParser,$(1)),AsmParser,$(strip \
- $(if $(findstring Analysis,$(1)),Analysis,$(strip \
- $(if $(findstring Target,$(1)),Target,$(strip \
- $(if $(findstring Transforms,$(1)),Transforms,$(strip \
- $(if $(findstring IPA,$(1)),Analysis/IPA,$(strip \
- $(if $(findstring DataStructure,$(1)),Analysis/DataStructure,$(strip \
- $(if $(findstring IPO,$(1)),Transforms/IPO,$(strip \
- $(if $(findstring Instrument,$(1)),Transforms/Instrumentation,$(strip \
- $(if $(findstring ScalarOpts,$(1)),Transforms/Scalar,$(strip \
- $(if $(findstring TransformUtils,$(1)),Transforms/Utils,$(strip \
- $(if $(findstring ModuloScheduling,$(1)),CodeGen/ModuloScheduling,$(strip \
- $(if $(findstring SelectionDAG,$(1)),CodeGen/SelectionDAG,$(strip \
- $(if $(findstring ProfilePaths,$(1)),Transforms/Instrumentation/ProfilePaths,$(strip \
- $(if $(findstring CodeGen,$(1)),CodeGen,$(strip \
- $(if $(findstring CWriter,$(1)),Target/CBackend,$(strip \
- $(if $(findstring PowerPC,$(1)),Target/PowerPC,$(strip \
- $(if $(findstring Skeleton,$(1)),Target/Skeleton,$(strip \
- $(if $(findstring SparcV9InstrSched,$(1)),Target/SparcV9/InstrSched,$(strip \
- $(if $(findstring SparcV9LiveVar,$(1)),Target/SparcV9/LiveVar,$(strip \
- $(if $(findstring SparcV9RegAlloc,$(1)),Target/SparcV9/RegAlloc,$(strip \
- $(if $(findstring SparcV9,$(1)),Target/SparcV9,$(strip \
- $(if $(findstring X86,$(1)),Target/X86,$(strip \
- $(if $(findstring Debugger,$(1)),Debugger,$(strip \
- $(if $(findstring Interpreter,$(1)),ExecutionEngine/Interpreter,$(strip \
- $(if $(findstring JIT,$(1)),ExecutionEngine/JIT,$(strip \
- $(if $(findstring ExecutionEngine,$(1)),ExecutionEngine,$(strip \
- $(if $(findstring Hello,$(1)),Transforms/Hello,$strip \
- PATH_TO_UNKNOWN_OBJECT)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
-
-GETOBJ = $(call FIXOBJ,$(1),$(call FINDPATH,$(1)))
-GETLIB = $(call FIXLIB,$(1),$(call FINDPATH,$(1)))
-GETOBJS = $(foreach I,$(1) $(2) $(3) $(4) $(5) $(6) $(7) $(8) $(9) $(10),$(call GETOBJ,$(I)))
-GETLIBS = $(foreach I,$(1) $(2) $(3) $(4) $(5) $(6) $(7) $(8) $(9) $(10),$(call GETLIB,$(I)))
-
-# LLVM Rules
-
-%.cpp: %.l
- @${ECHO} Flexing $<
- $(VERB) $(FLEX) -t $< | \
- $(SED) '/^find_rule/d' | \
- $(SED) 's/void yyunput/inline void yyunput/' | \
- $(SED) 's/void \*yy_flex_realloc/inline void *yy_flex_realloc/' | \
- $(SED) 's/#define YY_BUF_SIZE 16384/#define YY_BUF_SIZE (16384*64)/' > $@.tmp
- $(VERB) $(CMP) -s $@ $@.tmp > /dev/null || ${MV} -f $@.tmp $@
- @# remove the output of flex if it didn't get moved over...
- @$(RM) -f $@.tmp
-
-SUFFIXES = .td
-
-%.c: %.y # Cancel built-in rules for yacc
-
-%.h: %.y # Cancel built-in rules for yacc
-
-%.cpp %.h : %.y
- @${ECHO} "Bisoning `basename $<`"
- $(VERB) $(BISON) -v -d -p $(<F:%Parser.y=%) -o $*.tab.c $<
- $(VERB) $(CMP) -s $*.tab.c $*.cpp > /dev/null || ${MV} -f $*.tab.c $*.cpp
- $(VERB) $(CMP) -s $*.tab.h $*.h > /dev/null || ${MV} -f $*.tab.h $*.h
- @# If the files were not updated, don't leave them lying around...
- @$(RM) -f $*.tab.c $*.tab.h
-
-
-%GenRegisterNames.inc : %.td
- @echo "Building $< register names with tblgen"
- $(VERB) $(TBLGEN) -I $(srcdir) $< -gen-register-enums -o $@
-
-%GenRegisterInfo.h.inc : %.td
- @echo "Building $< register information header with tblgen"
- $(VERB) $(TBLGEN) -I $(srcdir) $< -gen-register-desc-header -o $@
-
-%GenRegisterInfo.inc : %.td
- @echo "Building $< register info implementation with tblgen"
- $(VERB) $(TBLGEN) -I $(srcdir) $< -gen-register-desc -o $@
-
-%GenInstrNames.inc : %.td
- @echo "Building $< instruction names with tblgen"
- $(VERB) $(TBLGEN) -I $(srcdir) $< -gen-instr-enums -o $@
-
-%GenInstrInfo.inc : %.td
- @echo "Building $< instruction information with tblgen"
- $(VERB) $(TBLGEN) -I $(srcdir) $< -gen-instr-desc -o $@
-
-%GenAsmWriter.inc : %.td
- @echo "Building $< assembly writer with tblgen"
- $(VERB) $(TBLGEN) -I $(srcdir) $< -gen-asm-writer -o $@
-
-%GenATTAsmWriter.inc : %.td
- @echo "Building $< AT&T assembly writer with tblgen"
- $(VERB) $(TBLGEN) -I $(srcdir) $< -gen-asm-writer -o $@
-
-%GenIntelAsmWriter.inc : %.td
- @echo "Building $< Intel assembly writer with tblgen"
- $(VERB) $(TBLGEN) -I $(srcdir) $< -gen-asm-writer -asmwriternum=1 -o $@
-
-%GenInstrSelector.inc: %.td
- @echo "Building $< instruction selector with tblgen"
- $(VERB) $(TBLGEN) -I $(srcdir) $< -gen-instr-selector -o $@
-
-TDFILES = $(wildcard $(srcdir)/*.td ) $(srcdir)/../Target.td
diff --git a/Makefile_config b/Makefile_config
new file mode 100644
index 0000000000..300eba32fd
--- /dev/null
+++ b/Makefile_config
@@ -0,0 +1,121 @@
+#,===-- Makefile.rules.am - Common make rules for LLVM ------*- Makefile -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by Reid Spencer and is distributed under the
+# University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+# Options for all automake makefiles
+ACLOCAL_AMFLAGS = -I autoconf -I autoconf/m4 --output=autoconf/aclocal.m4
+AUTOMAKE_OPTIONS = foreign dejagnu dist-zip nostdinc
+
+# Autoconf configured values
+LLVM_PREFIX := @LLVM_PREFIX@
+LLVM_BINDIR := @LLVM_BINDIR@
+LLVM_LIBDIR := @LLVM_LIBDIR@
+LLVM_DATADIR := @LLVM_DATADIR@
+LLVM_DOCSDIR := @LLVM_DOCSDIR@
+LLVM_ETCDIR := @LLVM_ETCDIR@
+LLVM_INCLUDEDIR:= @LLVM_INCLUDEDIR@
+LLVM_INFODIR := @LLVM_INFODIR@
+LLVM_MANDIR := @LLVM_MANDIR@
+BUILDMODE := @BUILDMODE@
+
+# Shared library extension for this platform.
+SHLIBEXT = @SHLIBEXT@
+
+# Executable file extension for this platform.
+EXEEXT = @EXEEXT@
+
+# Target operating system for which LLVM will be compiled.
+OS=@OS@
+
+# Target hardware architecture
+ARCH=@ARCH@
+
+# Endian-ness of the target
+ENDIAN=@ENDIAN@
+
+# Path to the C++ compiler to use. This is an optional setting, which defaults
+# to whatever your gmake defaults to.
+CXX = @CXX@
+
+# Path to the CC binary, which use used by testcases for native builds.
+CC := @CC@
+
+# Path to the Python interpreter
+PYTHON := @PYTHON@
+
+# Linker flags.
+LDFLAGS+=@LDFLAGS@
+
+# Libraries needed by tools
+TOOLLINKOPTS=@LIBS@
+
+# Path to the library archiver program.
+AR_PATH = @AR@
+
+# The pathnames of the Flex and Bison programs, respectively.
+YACC = @YACC@
+BISON = @BISON@
+FLEX = @LEX@
+
+# Paths to miscellaneous programs.
+RPWD = pwd
+SED = sed
+RM = rm
+CP = cp
+LN = ln
+CMP = cmp
+ECHO = echo
+MKDIR = @abs_top_srcdir@/autoconf/mkinstalldirs
+DATE = date
+MV = mv
+VERB := @
+IGNORE := true
+INSTALL = @INSTALL@
+DOT = @DOT@
+ETAGS = @ETAGS@
+ETAGSFLAGS = @ETAGSFLAGS@
+
+# Determine the target for which LLVM should generate code.
+LLVMGCCARCH := @target@/3.4-llvm
+
+# Full pathnames of LLVM C/C++ front-end 'cc1' and 'cc1plus' binaries:
+LCC1 = @LLVMCC1@
+LCC1XX = @LLVMCC1PLUS@
+
+# Path to directory where object files should be stored during a build.
+# Set OBJ_ROOT to "." if you do not want to use a separate place for
+# object files.
+OBJ_ROOT := .
+
+# Path to location for LLVM C/C++ front-end. You can modify this if you
+# want to override the value set by configure.
+LLVMGCCDIR := @LLVMGCCDIR@
+
+# These are options that can either be enabled here, or can be enabled on the
+# make command line (ie, make ENABLE_PROFILING=1):
+
+# When ENABLE_OPTIMIZED is enabled, Release builds of all of the LLVM code are
+# turned on, and Debug builds are turned off.
+#ENABLE_OPTIMIZED = 1
+
+# When ENABLE_PROFILING is enabled, the llvm source base is built with profile
+# information to allow gprof to be used to get execution frequencies.
+#ENABLE_PROFILING = 1
+
+# This option tells the Makefiles to produce verbose output.
+# It essentially prints the commands that make is executing
+#VERBOSE = 1
+
+
+# Include the rules.
+# WARNING NOTE WARNING NOTE WARNING NOTE WARNING NOTE
+# The inclusion of Makefile_rules MUST be done such that there is a space
+# before "include". This prevents automake from processing the file and
+# simply passes the inclusion on to GNU Make. The rules in Makefile_rules
+# depend on this. DO NOT REMOVE THE SPACE BEFORE "include"
+ include $(top_srcdir)/Makefile_rules
diff --git a/configure_am b/configure_am
index a65d001850..d2fdc4de7e 100755
--- a/configure_am
+++ b/configure_am
@@ -473,7 +473,7 @@ ac_subdirs_all="$ac_subdirs_all projects/llvm-gcc"
ac_subdirs_all="$ac_subdirs_all projects/Java"
ac_subdirs_all="$ac_subdirs_all projects/llvm-tv"
ac_subdirs_all="$ac_subdirs_all projects/llvm-fefw"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar LLVMGCCDIR ENABLE_OPTIMIZED ENABLE_OPTIMIZED_TRUE ENABLE_OPTIMIZED_FALSE ENABLE_PROFILED ENABLE_PROFILED_TRUE ENABLE_PROFILED_FALSE JIT OS ARCH_X86_TRUE ARCH_X86_FALSE ARCH_SPARC_TRUE ARCH_SPARC_FALSE ARCH_PPC_TRUE ARCH_PPC_FALSE ARCH_UNKNOWN_TRUE ARCH_UNKNOWN_FALSE ARCH ENDIAN CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CPP LEX LEXLIB LEX_OUTPUT_ROOT FLEX YACC BISON EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL DOT ETAGS PYTHON QMTEST ifGNUmake LLVMCC1 LLVMCC1PLUS ETAGSFLAGS ALLOCA MMAP_FILE HAVE_ZLIB HAVE_BZIP2 SHLIBEXT LLVM_PREFIX LLVM_BINDIR LLVM_LIBDIR LLVM_DATADIR LLVM_DOCSDIR LLVM_ETCDIR LLVM_INCLUDEDIR LLVM_INFODIR LLVM_MANDIR LLVM_CONFIGTIME subdirs LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar LLVMGCCDIR ENABLE_OPTIMIZED ENABLE_PROFILED BUILDMODE JIT OS ARCH_X86_TRUE ARCH_X86_FALSE ARCH_SPARC_TRUE ARCH_SPARC_FALSE ARCH_PPC_TRUE ARCH_PPC_FALSE ARCH_UNKNOWN_TRUE ARCH_UNKNOWN_FALSE ARCH ENDIAN CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CPP LEX LEXLIB LEX_OUTPUT_ROOT FLEX YACC BISON EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL DOT ETAGS PYTHON QMTEST ifGNUmake LLVMCC1 LLVMCC1PLUS ETAGSFLAGS ALLOCA MMAP_FILE HAVE_ZLIB HAVE_BZIP2 SHLIBEXT LLVM_PREFIX LLVM_BINDIR LLVM_LIBDIR LLVM_DATADIR LLVM_DOCSDIR LLVM_ETCDIR LLVM_INCLUDEDIR LLVM_INFODIR LLVM_MANDIR LLVM_CONFIGTIME subdirs LIBOBJS LTLIBOBJS'
ac_subst_files=''
# Initialize some variables set by options.
@@ -2089,16 +2089,6 @@ else
fi;
-
-if test $ENABLE_OPTIMIZED = 1; then
- ENABLE_OPTIMIZED_TRUE=
- ENABLE_OPTIMIZED_FALSE='#'
-else
- ENABLE_OPTIMIZED_TRUE='#'
- ENABLE_OPTIMIZED_FALSE=
-fi
-
-
# Check whether --enable-profiled or --disable-profiled was given.
if test "${enable_profiled+set}" = set; then
enableval="$enable_profiled"
@@ -2116,15 +2106,18 @@ fi;
ENABLE_PROFILED=$ENABLE_PROFILED
+if test $ENABLE_PROFILED = 1 ; then
+ BUILDMODE=Profile
-if test $ENABLE_PROFILED = 1; then
- ENABLE_PROFILED_TRUE=
- ENABLE_PROFILED_FALSE='#'
else
- ENABLE_PROFILED_TRUE='#'
- ENABLE_PROFILED_FALSE=
-fi
+ if test $ENABLE_OPTIMIZED = 1 ; then
+ BUILDMODE=Release
+ else
+ BUILDMODE=Debug
+
+ fi
+fi
# Check whether --enable-jit or --disable-jit was given.
if test "${enable_jit+set}" = set; then
@@ -5869,7 +5862,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 5872 "configure"' > conftest.$ac_ext
+ echo '#line 5865 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -5972,13 +5965,6 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-int
-main ()
-{
-
- ;
- return 0;
-}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
@@ -6750,7 +6736,7 @@ fi
# Provide some information about the compiler.
-echo "$as_me:6753:" \
+echo "$as_me:6739:" \
"checking for Fortran 77 compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
@@ -7525,13 +7511,13 @@ old_postuninstall_cmds=
if test -n "$RANLIB"; then
case $host_os in
openbsd*)
- old_postinstall_cmds="\$RANLIB -t \$oldlib;$old_postinstall_cmds"
+ old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
;;
*)
- old_postinstall_cmds="\$RANLIB \$oldlib;$old_postinstall_cmds"
+ old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
;;
esac
- old_archive_cmds="$old_archive_cmds;\$RANLIB \$oldlib"
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
fi
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
@@ -7807,11 +7793,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:7810: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:7796: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:7814: \$? = $ac_status" >&5
+ echo "$as_me:7800: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -8050,11 +8036,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:8053: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:8039: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:8057: \$? = $ac_status" >&5
+ echo "$as_me:8043: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -8110,11 +8096,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:8113: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:8099: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:8117: \$? = $ac_status" >&5
+ echo "$as_me:8103: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -8238,7 +8224,7 @@ EOF
;;
amigaos*)
- archive_cmds='$rm $output_objdir/a2ixlibrary.data;$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data;$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data;$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data;$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data;$AR $AR_FLAGS $lib $libobjs;$RANLIB $lib;(cd $output_objdir && a2ixlibrary -32)'
+ archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
hardcode_libdir_flag_spec='-L$libdir'
hardcode_minus_L=yes
@@ -8280,7 +8266,8 @@ EOF
else
echo EXPORTS > $output_objdir/$soname.def;
cat $export_symbols >> $output_objdir/$soname.def;
- fi;$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
+ fi~
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
else
ld_shlibs=no
fi
@@ -8337,7 +8324,9 @@ EOF
*) supports_anon_versioning=yes ;;
esac
if test $supports_anon_versioning = yes; then
- archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver;cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver; $echo "local: *; };" >> $output_objdir/$libname.ver;
+ archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
+cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+$echo "local: *; };" >> $output_objdir/$libname.ver~
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
else
archive_expsym_cmds="$tmp_archive_cmds"
@@ -8374,7 +8363,7 @@ EOF
aix3*)
allow_undefined_flag=unsupported
always_export_symbols=yes
- archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE;$AR $AR_FLAGS $lib $output_objdir/$soname'
+ archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
# Note: this linker hardcodes the directories in LIBPATH if there
# are no directories specified by -L.
hardcode_minus_L=yes
@@ -8598,13 +8587,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
whole_archive_flag_spec=' '
archive_cmds_need_lc=yes
# This is similar to how AIX traditionally builds it's shared libraries.
- archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag};$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
fi
fi
;;
amigaos*)
- archive_cmds='$rm $output_objdir/a2ixlibrary.data;$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data;$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data;$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data;$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data;$AR $AR_FLAGS $lib $libobjs;$RANLIB $lib;(cd $output_objdir && a2ixlibrary -32)'
+ archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
hardcode_libdir_flag_spec='-L$libdir'
hardcode_minus_L=yes
# see comment about different semantics on the GNU ld section
@@ -8627,7 +8616,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
# Tell ltmain to make .dll files, not .so files.
shrext_cmds=".dll"
# FIXME: Setting linknames here is a bad hack.
- archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll;linknames='
+ archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
# The linker will automatically build a .lib file if we build a DLL.
old_archive_From_new_cmds='true'
# FIXME: Should let the user specify the lib program.
@@ -8667,8 +8656,8 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
- archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym;$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring;nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
- module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym;$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags;nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
else
case "$cc_basename" in
xlc*)
@@ -8676,8 +8665,8 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
- archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym;$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring;nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
- module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym;$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags;nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
;;
*)
ld_shlibs=no
@@ -8725,9 +8714,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
hpux9*)
if test "$GCC" = yes; then
- archive_cmds='$rm $output_objdir/$soname;$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags;test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
else
- archive_cmds='$rm $output_objdir/$soname;$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags;test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
fi
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
hardcode_libdir_separator=:
@@ -8848,7 +8837,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
hardcode_libdir_flag_spec='-L$libdir'
hardcode_minus_L=yes
allow_undefined_flag=unsupported
- archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def;$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def;$echo DATA >> $output_objdir/$libname.def;$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def;$echo EXPORTS >> $output_objdir/$libname.def;emxexp $libobjs >> $output_objdir/$libname.def;$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
+ archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
;;
@@ -8872,7 +8861,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
else
allow_undefined_flag=' -expect_unresolved \*'
archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
- archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp; $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib;$rm $lib.exp'
+ archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
+ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
+
# Both c and cxx compiler support -rpath directly
hardcode_libdir_flag_spec='-rpath $libdir'
fi
@@ -8891,10 +8882,12 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
no_undefined_flag=' -z text'
if test "$GCC" = yes; then
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
- archive_expsym_cmds='$echo "{ global:" > $lib.exp;cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp;$echo "local: *; };" >> $lib.exp; $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags;$rm $lib.exp'
+ archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
else
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
- archive_expsym_cmds='$echo "{ global:" > $lib.exp;cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp;$echo "local: *; };" >> $lib.exp; $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags;$rm $lib.exp'
+ archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
fi
hardcode_libdir_flag_spec='-R$libdir'
hardcode_shlibpath_var=no
@@ -8983,7 +8976,8 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
# $CC -shared without GNU ld will not create a library from C++
# object files and a static libstdc++, better avoid it by now
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
- archive_expsym_cmds='$echo "{ global:" > $lib.exp;cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp;$echo "local: *; };" >> $lib.exp; $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags;$rm $lib.exp'
+ archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
hardcode_libdir_flag_spec=
hardcode_shlibpath_var=no
runpath_var='LD_RUN_PATH'
@@ -9198,13 +9192,13 @@ cygwin* | mingw* | pw32*)
yes,cygwin* | yes,mingw* | yes,pw32*)
library_names_spec='$libname.dll.a'
# DLL is installed to $(libdir)/../bin by postinstall_cmds
- postinstall_cmds='base_file=`basename \${file}`;
- dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`;
- dldir=$destdir/`dirname \$dlpath`;
- test -d \$dldir || mkdir -p \$dldir;
+ postinstall_cmds='base_file=`basename \${file}`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
$install_prog $dir/$dlname \$dldir/$dlname'
- postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`;
- dlpath=$dir/\$dldll;
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
$rm \$dlpath'
shlibpath_overrides_runpath=yes
@@ -10287,7 +10281,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 10290 "configure"
+#line 10284 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -10385,7 +10379,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 10388 "configure"
+#line 10382 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -10505,7 +10499,7 @@ case "$host_os" in
aix3*)
test "$enable_shared" = yes && enable_static=no
if test -n "$RANLIB"; then
- archive_cmds="$archive_cmds;\$RANLIB \$lib"
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
postinstall_cmds='$RANLIB $lib'
fi
;;
@@ -11055,7 +11049,7 @@ echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
# Update the list of available tags.
if test -n "$tagname"; then
- echo appending configuration tag \"$tagname\" to $ofile
+ echo appending configuration tag "$tagname" to $ofile
case $tagname in
CXX)
@@ -11523,7 +11517,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
whole_archive_flag_spec_CXX=' '
archive_cmds_need_lc_CXX=yes
# This is similar to how AIX traditionally builds it's shared libraries.
- archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag};$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+ archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
fi
fi
;;
@@ -11554,7 +11548,8 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
else
echo EXPORTS > $output_objdir/$soname.def;
cat $export_symbols >> $output_objdir/$soname.def;
- fi;$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
+ fi~
+ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
else
ld_shlibs_CXX=no
fi
@@ -11595,16 +11590,16 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
else
- archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs;$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
+ archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
fi
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
- archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym;$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring;nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
else
- archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym;$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs;$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring;nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
fi
- module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym;$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags;nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
else
case "$cc_basename" in
xlc*)
@@ -11612,8 +11607,8 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
- archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym;$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring;nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
- module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym;$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags;nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_s