mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 14:19:33 +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
10 lines
328 B
OCaml
10 lines
328 B
OCaml
# SunOS doesn't provide a shared libm, so we have to link with the archive
|
|
# library, even for programs that don't use complex.
|
|
# SunOS requires a version number in shared library filenames.
|
|
|
|
LIBS = $(ARLIB) $(ARLINK) $(SHLIB)
|
|
SHFLAGS = $(PICFLAG)
|
|
DEPLIBS = ../$(SHLIB)
|
|
LDLIBS = -L.. -lstdc++ -lm
|
|
MLDLIBS = -L.. -lstdc++ -lm
|