head	1.12;
access;
symbols
	RELENG_2_2_8_RELEASE:1.8.2.1
	RELENG_2_2_7_RELEASE:1.8.2.1
	RELENG_2_2_6_RELEASE:1.8.2.1
	RELENG_2_2_5_RELEASE:1.8.2.1
	RELENG_2_2_2_RELEASE:1.8
	RELENG_2_2_1_RELEASE:1.8
	RELENG_2_2_0_RELEASE:1.8
	RELENG_2_1_7_RELEASE:1.7
	RELENG_2_1_6_1_RELEASE:1.7
	RELENG_2_1_6_RELEASE:1.7
	RELENG_2_2:1.8.0.2
	RELENG_2_2_BP:1.8
	RELENG_2_1_5_RELEASE:1.7
	RELENG_2_1_0_RELEASE:1.7
	RELENG_2_1_0:1.7.0.6
	RELENG_2_1_0_BP:1.7
	RELENG_2_0_5_RELEASE:1.7
	RELENG_2_0_5:1.7.0.4
	RELENG_2_0_5_BP:1.7
	RELENG_2_0_5_ALPHA:1.7
	RELEASE_2_0:1.7
	BETA_2_0:1.7
	ALPHA_2_0:1.7.0.2
	MOVED_NEWCVS:1.7
	FINAL_1_1_5:1.7
	ALPHA_1_1_5:1.7
	FINAL_1_1:1.6
	GAMMA_1_1:1.6
	BETA_1_1:1.6.0.2
	BP_BETA_1_1:1.6;
locks; strict;
comment	@# @;


1.12
date	98.06.01.14.11.06;	author peter;	state dead;
branches;
next	1.11;

1.11
date	97.06.29.21.40.54;	author bde;	state Exp;
branches;
next	1.10;

1.10
date	97.02.22.15.46.37;	author peter;	state Exp;
branches;
next	1.9;

1.9
date	97.01.14.05.58.04;	author jkh;	state Exp;
branches;
next	1.8;

1.8
date	96.10.01.01.31.41;	author peter;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	94.04.13.20.49.42;	author ats;	state Exp;
branches
	1.7.6.1;
next	1.6;

1.6
date	94.02.13.20.42.18;	author jkh;	state Exp;
branches;
next	1.5;

1.5
date	93.12.16.21.50.31;	author nate;	state Exp;
branches;
next	1.4;

1.4
date	93.11.09.20.39.46;	author paul;	state Exp;
branches;
next	1.3;

1.3
date	93.11.09.04.19.20;	author paul;	state Exp;
branches;
next	1.2;

1.2
date	93.11.06.23.15.53;	author paul;	state Exp;
branches;
next	1.1;

1.1
date	93.11.03.23.41.32;	author paul;	state Exp;
branches;
next	;

1.7.6.1
date	99.09.05.11.11.05;	author peter;	state Exp;
branches;
next	;

1.8.2.1
date	97.08.08.02.18.06;	author jdp;	state Exp;
branches;
next	1.8.2.2;

1.8.2.2
date	99.09.05.11.06.44;	author peter;	state Exp;
branches;
next	;


desc
@@


1.12
log
@These files were moved elsewhere (sbin/ldconfig, libexec/rtld-aout,
usr.bin/ldd) as they stand alone and are under bsd-style license.
@
text
@#	$Id: Makefile,v 1.11 1997/06/29 21:40:54 bde Exp $

PROG=	ldconfig
SRCS=	ldconfig.c shlib.c support.c
LDDIR?= $(.CURDIR)/..
CFLAGS+=-I$(LDDIR) -I$(.CURDIR) -I$(LDDIR)/$(MACHINE)
NOSHARED?= yes
BINDIR=	/sbin
MAN8=	ldconfig.8

.PATH: $(LDDIR) $(LDDIR)/$(MACHINE)

.include <bsd.prog.mk>
@


1.11
log
@Configure static linkage in the normal way (default to -static using
NOSHARED?= yes).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.10 1997/02/22 15:46:37 peter Exp $
@


1.10
log
@Revert $FreeBSD$ to $Id$
@
text
@d1 1
a1 1
#	$Id$
d7 1
a7 1
LDFLAGS+=-static
@


1.9
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d1 1
a1 1
#	$FreeBSD$
@


1.8
log
@Updates to deal with ld.so.hints version 2.  It now deals with the
ldconfig path (from NetBSD).  I added code to make sure there were no
duplicates in the path when multiple ldconfig -m's were used.

Reviewed by: nate, jdp
Obtained from: NetBSD (partly)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.7 1994/04/13 20:49:42 ats Exp $
@


1.8.2.1
log
@Sync with -current.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.11 1997/06/29 21:40:54 bde Exp $
d7 1
a7 1
NOSHARED?= yes
@


1.8.2.2
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.7
log
@Better link ldconfig static instead dynamic.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.6 1994/02/13 20:42:18 jkh Exp $
d4 1
a4 1
SRCS=	ldconfig.c shlib.c etc.c
@


1.7.6.1
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.6
log
@This is Paul K's latest set of ld changes.  A commit was necessary at this
late stage due to the fact that link.h was copyright Sun Microsystems.

This version of ld sync's us up with NetBSD's ld and supports compatablily
with NetBSD's -[zZ] flags (which we had reversed).  Compiling with this
new ld will give you RRS warnings for libraries which do not contain .type
infomation - these wsarnings are harmless and will go away as soon as you
recompile your libraries (cd /usr/src; make libraries).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.7 1993/12/10 05:10:22 mycroft Exp $
d7 1
a7 1
LDSTATIC=-static
@


1.5
log
@Fixed Makefile per bug report from Julian Stacey.  There was an extra DESTDIR
in front of BINDIR definition.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.4 1993/11/09 20:39:46 paul Exp $
d6 4
a9 4
LDFLAGS += -static
CFLAGS += -I$(LDDIR) -I$(.CURDIR) -I$(LDDIR)/$(MACHINE) -O
BINDIR= /sbin
MAN8 = ldconfig.8
@


1.4
log
@Cahnged ldconfig.0 to ldconfig.8 for our man system.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.3 1993/11/09 04:19:20 paul Exp $
d8 1
a8 1
BINDIR= ${DESTDIR}/sbin
@


1.3
log
@Updated to newest ld from pk.

lib.c:
Pull in archives containing definitions needed by shared objects.
warnings.c:
Less spurious "undefined symbol" msgs for shared library defined
symbols.
ld.c:
Do a better job of recognising data in text segments, eg. `const char []'.
shlib.c,ld/rtld/{Makefile rtld.c}
Use strsep() in stead of strtok() and restore colons in eg. env. vars.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.2 1993/11/03 05:20:49 cgd Exp $
d9 1
a9 1
MAN8 = ldconfig.0
@


1.2
log
@Changed ldconfig.0 to ldconfig.8 for our man setup.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.1 1993/11/03 23:41:32 paul Exp $
d9 1
a9 1
MAN8 = ldconfig.8
@


1.1
log
@Imported NetBSD's ld for shared libs.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.2 1993/11/03 05:20:49 cgd Exp $
d9 1
a9 1
MAN8 = ldconfig.0
@
