freebsd-skq/share/mk
jdp 4b4c7c227f Use "gcc -shared" instead of "ld -Bshareable" for building shared
libraries.  Remove the now-unneeded CPLUSPLUSLIB hack.  I will also
remove the CPLUSPLUSLIB definitions from the Makefiles that use it,
after the dust settles.

Use gcc's LIBRARY_PATH environment variable to handle DESTDIR,
instead of -L flags in LDDESTDIR.  LIBRARY_PATH is documented in
the gcc info pages.  It is better than using -L flags, because it
modifies the search for start-up files as well as for libraries.
A new variable LDDESTDIRENV is used to contain the normally-empty
LIBRARY_PATH environment setting.

LDDESTDIR is no longer set in <bsd.lib.mk>.  It is still honored for
the time being, because a couple of userland Makefiles still (wrongly)
set it.  These should be fixed, and LDDESTDIR should vanish.

Removed the commented-out "LDDESTDIR+=-nostdlib", because "gcc -shared"
doesn't link in any standard libraries anyway.

Removed the ".if defined(LDADD)" around the _EXTRADEPEND target for
shared libraries.  This target is always necessary now, because
c++rt0.o is linked into every shared library.

Don't merge this into -2.2 without first merging the support for
"gcc -shared".
1997-05-04 21:30:40 +00:00
..
bsd.dep.mk Support GLOBAL style tags. 1997-04-13 06:44:25 +00:00
bsd.doc.mk Fix a typo that prevented the proper flag from being set 1997-04-04 01:25:32 +00:00
bsd.info.mk Put the "grossness" back; it had a purpose and anyone screwing around 1997-05-01 01:15:55 +00:00
bsd.kern.mk Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
bsd.kmod.mk removed: 1997-04-30 21:54:01 +00:00
bsd.lib.mk Use "gcc -shared" instead of "ld -Bshareable" for building shared 1997-05-04 21:30:40 +00:00
bsd.libnames.mk Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
bsd.man.mk Updated comment about MANDEPEND (it was misplaced in bsd.prog.mk). 1997-04-19 14:55:17 +00:00
bsd.obj.mk Added trailing slash to ${CANONICALOBJDIR} in tests for directories, 1997-04-30 17:04:11 +00:00
bsd.own.mk Add new variables COMPRESS_CMD and COMPRESS_EXT. 1997-03-08 23:46:56 +00:00
bsd.port.mk (1) Change logic for dependency: instead of defining "is_depended" 1997-04-30 03:12:05 +00:00
bsd.port.subdir.mk Add comments. 1997-03-09 23:10:56 +00:00
bsd.prog.mk Pass everything in ${LDADD} directly to the linker for `make depend' 1997-04-23 18:47:42 +00:00
bsd.README Add reference to `PMake - A Tutorial' 1997-03-09 15:51:07 +00:00
bsd.sgml.mk Add ascii to comment describing default FORMATS value too 1997-05-02 05:07:45 +00:00
bsd.subdir.mk Support GLOBAL style tags. 1997-04-13 06:44:25 +00:00
Makefile Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
sys.mk Support GLOBAL style tags. 1997-04-13 06:44:25 +00:00