mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-22 21:29:49 +08:00
0e7e6e25ca
# * Makefile.in (INTERFACE): New, set to 2. (ARLIB): Set to libstdc++.a.$(VERSION) (ARLINK, MARLINK): New macros. (LIBS): Add $(ARLINK). ($(ARLINK), marlink): New targets. (install): Don't check $(libsubdir). Handle versioned libraries. * config/linux.ml (ARLIB, MARLINK, SHLIB, MSHLINK): New macros. (LIBS): Add marlink $(ARLINK). * config/aix.ml (ARLIB): Set to libstdc++-ar.a.$(VERSION) (ARLINK): New macros. (BUILD_LIBS): Add $(ARLINK). * config/dec-osf.ml (LIBS): Add $(ARLINK). * config/elf.ml (LIBS): Likewise. * config/elfshlibm.ml (LIBS): Likewise. * config/hpux.ml (LIBS): Likewise. * config/iris5.ml (LIBS): Likewise. * config/sol2shm.ml (LIBS): Likewise. * config/sunos4.ml (LIBS): Likewise. * configure.in: Use ${topsrcdir}/config.if to put LIBSTDCXX_INTERFACE, CXX_INTERFACE, LIBC_INTERFACE in ${package_makefile_frag}. From-SVN: r22117
12 lines
540 B
OCaml
12 lines
540 B
OCaml
# Elf with shared libm, so we can link it into the shared libstdc++.
|
|
|
|
ARLIB = libstdc++-$(LIBSTDCXX_INTERFACE)$(LIBC_INTERFACE)$(CXX_INTERFACE)-$(VERSION).a
|
|
MARLINK = libstdc++$(LIBC_INTERFACE)$(CXX_INTERFACE).a.$(LIBSTDCXX_INTERFACE)
|
|
SHLIB = libstdc++-$(LIBSTDCXX_INTERFACE)$(LIBC_INTERFACE)$(CXX_INTERFACE)-$(VERSION).so
|
|
MSHLINK = libstdc++$(LIBC_INTERFACE)$(CXX_INTERFACE).so.$(LIBSTDCXX_INTERFACE)
|
|
|
|
LIBS = $(ARLIB) marlink $(ARLINK) $(SHLIB) mshlink $(SHLINK)
|
|
SHFLAGS = -Wl,-soname,$(MSHLINK)
|
|
SHDEPS = -lm
|
|
DEPLIBS = ../$(SHLIB)
|