diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-02-05 21:17:52 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-02-05 21:17:52 +0000 |
commit | e0bf1022ddc4d5697106c67a0a6f4088fb6531aa (patch) | |
tree | 1f9427e3aee6b565caac17784eabdece6a76a329 /ld | |
parent | 44f795f7feef198729a978ff84c4c2dc9efbc1b3 (diff) | |
download | gdb-e0bf1022ddc4d5697106c67a0a6f4088fb6531aa.zip gdb-e0bf1022ddc4d5697106c67a0a6f4088fb6531aa.tar.gz gdb-e0bf1022ddc4d5697106c67a0a6f4088fb6531aa.tar.bz2 |
Support for building as a shared library, based on patches from
Alan Modra <alan@spri.levels.unisa.edu.au>:
* configure.in: Add AC_ARG_ENABLE for shared and commonbfdlib.
New substitutions: ALLLIBS, PICFLAG, SHLIB, SHLIB_CC,
SHLIB_CFLAGS, COMMON_SHLIB, SHLINK.
* configure: Rebuild.
* Makefile.in (ALLLIBS): New variable.
(PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS): New variables.
(COMMON_SHLIB, SHLINK): New variables.
(.c.o): If PICFLAG is set, compile twice, once PIC, once normal.
(STAGESTUFF): Remove variable.
(all): Depend upon $(ALLLIBS) rather than $(TARGETLIB).
(stamp-piclist, piclist): New targets.
($(SHLIB), $(SHLINK)): New targets.
($(OFILES)): Depend upon stamp-picdir.
(disassemble.o): Build twice if PICFLAG is set.
(MOSTLYCLEAN): Add pic/*.o.
(clean): Remove $(SHLIB), $(SHLINK), piclist, and stamp-piclist.
(distclean): Remove pic and stamp-picdir.
(install): Install shared libraries.
(stamp-picdir): New target.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions