head	1.22;
access;
symbols
	RELENG_8_4:1.22.0.2
	RELENG_9_1_0_RELEASE:1.21.2.1.4.2
	RELENG_9_1:1.21.2.1.0.4
	RELENG_9_1_BP:1.21.2.1
	RELENG_8_3_0_RELEASE:1.20.22.1.8.1
	RELENG_8_3:1.20.22.1.0.8
	RELENG_8_3_BP:1.20.22.1
	RELENG_9_0_0_RELEASE:1.21.2.1.2.1
	RELENG_9_0:1.21.2.1.0.2
	RELENG_9_0_BP:1.21.2.1
	RELENG_9:1.21.0.2
	RELENG_9_BP:1.21
	RELENG_7_4_0_RELEASE:1.20.26.1
	RELENG_8_2_0_RELEASE:1.20.22.1.6.1
	RELENG_7_4:1.20.0.26
	RELENG_7_4_BP:1.20
	RELENG_8_2:1.20.22.1.0.6
	RELENG_8_2_BP:1.20.22.1
	RELENG_8_1_0_RELEASE:1.20.22.1.4.1
	RELENG_8_1:1.20.22.1.0.4
	RELENG_8_1_BP:1.20.22.1
	RELENG_7_3_0_RELEASE:1.20.24.1
	RELENG_7_3:1.20.0.24
	RELENG_7_3_BP:1.20
	RELENG_8_0_0_RELEASE:1.20.22.1.2.1
	RELENG_8_0:1.20.22.1.0.2
	RELENG_8_0_BP:1.20.22.1
	RELENG_8:1.20.0.22
	RELENG_8_BP:1.20
	RELENG_7_2_0_RELEASE:1.20.20.1
	RELENG_7_2:1.20.0.20
	RELENG_7_2_BP:1.20
	RELENG_7_1_0_RELEASE:1.20.18.1
	RELENG_6_4_0_RELEASE:1.20.16.1
	RELENG_7_1:1.20.0.18
	RELENG_7_1_BP:1.20
	RELENG_6_4:1.20.0.16
	RELENG_6_4_BP:1.20
	RELENG_7_0_0_RELEASE:1.20
	RELENG_6_3_0_RELEASE:1.20
	RELENG_7_0:1.20.0.14
	RELENG_7_0_BP:1.20
	RELENG_6_3:1.20.0.12
	RELENG_6_3_BP:1.20
	RELENG_7:1.20.0.10
	RELENG_7_BP:1.20
	RELENG_6_2_0_RELEASE:1.20
	RELENG_6_2:1.20.0.8
	RELENG_6_2_BP:1.20
	RELENG_5_5_0_RELEASE:1.19
	RELENG_5_5:1.19.0.8
	RELENG_5_5_BP:1.19
	RELENG_6_1_0_RELEASE:1.20
	RELENG_6_1:1.20.0.6
	RELENG_6_1_BP:1.20
	RELENG_6_0_0_RELEASE:1.20
	RELENG_6_0:1.20.0.4
	RELENG_6_0_BP:1.20
	RELENG_6:1.20.0.2
	RELENG_6_BP:1.20
	RELENG_5_4_0_RELEASE:1.19
	RELENG_5_4:1.19.0.6
	RELENG_5_4_BP:1.19
	RELENG_4_11_0_RELEASE:1.15.2.1
	RELENG_4_11:1.15.2.1.0.16
	RELENG_4_11_BP:1.15.2.1
	RELENG_5_3_0_RELEASE:1.19
	RELENG_5_3:1.19.0.4
	RELENG_5_3_BP:1.19
	RELENG_5:1.19.0.2
	RELENG_5_BP:1.19
	RELENG_4_10_0_RELEASE:1.15.2.1
	RELENG_4_10:1.15.2.1.0.14
	RELENG_4_10_BP:1.15.2.1
	RELENG_5_2_1_RELEASE:1.18
	RELENG_5_2_0_RELEASE:1.18
	RELENG_5_2:1.18.0.6
	RELENG_5_2_BP:1.18
	RELENG_4_9_0_RELEASE:1.15.2.1
	RELENG_4_9:1.15.2.1.0.12
	RELENG_4_9_BP:1.15.2.1
	RELENG_5_1_0_RELEASE:1.18
	RELENG_5_1:1.18.0.4
	RELENG_5_1_BP:1.18
	RELENG_4_8_0_RELEASE:1.15.2.1
	RELENG_4_8:1.15.2.1.0.10
	RELENG_4_8_BP:1.15.2.1
	RELENG_5_0_0_RELEASE:1.18
	RELENG_5_0:1.18.0.2
	RELENG_5_0_BP:1.18
	RELENG_4_7_0_RELEASE:1.15.2.1
	RELENG_4_7:1.15.2.1.0.8
	RELENG_4_7_BP:1.15.2.1
	RELENG_4_6_2_RELEASE:1.15.2.1
	RELENG_4_6_1_RELEASE:1.15.2.1
	RELENG_4_6_0_RELEASE:1.15.2.1
	RELENG_4_6:1.15.2.1.0.6
	RELENG_4_6_BP:1.15.2.1
	RELENG_4_5_0_RELEASE:1.15.2.1
	RELENG_4_5:1.15.2.1.0.4
	RELENG_4_5_BP:1.15.2.1
	RELENG_4_4_0_RELEASE:1.15.2.1
	RELENG_4_4:1.15.2.1.0.2
	RELENG_4_4_BP:1.15.2.1
	RELENG_4_3_0_RELEASE:1.15
	RELENG_4_3:1.15.0.4
	RELENG_4_3_BP:1.15
	RELENG_4_2_0_RELEASE:1.15
	RELENG_4_1_1_RELEASE:1.15
	PRE_SMPNG:1.15
	RELENG_4_1_0_RELEASE:1.15
	RELENG_3_5_0_RELEASE:1.14.2.1
	RELENG_4_0_0_RELEASE:1.15
	RELENG_4:1.15.0.2
	RELENG_4_BP:1.15
	RELENG_3_4_0_RELEASE:1.14.2.1
	RELENG_3_3_0_RELEASE:1.14.2.1
	RELENG_3_2_PAO:1.14.0.4
	RELENG_3_2_PAO_BP:1.14
	RELENG_3_2_0_RELEASE:1.14
	RELENG_3_1_0_RELEASE:1.14
	RELENG_3:1.14.0.2
	RELENG_3_BP:1.14
	RELENG_3_0_0_RELEASE:1.14;
locks; strict;
comment	@# @;


1.22
date	2012.11.17.01.50.23;	author svnexp;	state Exp;
branches
	1.22.2.1;
next	1.21;

1.21
date	2009.10.19.16.00.24;	author ru;	state Exp;
branches
	1.21.2.1;
next	1.20;

1.20
date	2005.01.14.12.22.57;	author delphij;	state Exp;
branches
	1.20.2.1
	1.20.10.1
	1.20.16.1
	1.20.18.1
	1.20.20.1
	1.20.22.1
	1.20.24.1
	1.20.26.1;
next	1.19;

1.19
date	2004.02.23.20.13.53;	author johan;	state Exp;
branches;
next	1.18;

1.18
date	2001.12.04.02.19.49;	author obrien;	state Exp;
branches;
next	1.17;

1.17
date	2001.03.26.14.33.10;	author ru;	state Exp;
branches;
next	1.16;

1.16
date	2001.03.20.18.13.16;	author ru;	state Exp;
branches;
next	1.15;

1.15
date	99.08.28.00.13.20;	author peter;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	98.09.05.03.30.54;	author jdp;	state Exp;
branches
	1.14.2.1;
next	1.13;

1.13
date	98.06.12.10.43.18;	author peter;	state Exp;
branches;
next	1.12;

1.12
date	98.06.01.13.58.19;	author peter;	state Exp;
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;
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.22.2.1
date	2012.11.17.01.50.23;	author svnexp;	state dead;
branches;
next	1.22.2.2;

1.22.2.2
date	2013.03.28.13.03.34;	author svnexp;	state Exp;
branches;
next	;

1.21.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.21.2.1.2.1
	1.21.2.1.4.1;
next	1.21.2.2;

1.21.2.2
date	2012.11.17.11.36.32;	author svnexp;	state Exp;
branches;
next	;

1.21.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.21.2.1.2.2;

1.21.2.1.2.2
date	2012.11.17.08.36.31;	author svnexp;	state Exp;
branches;
next	;

1.21.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.21.2.1.4.2;

1.21.2.1.4.2
date	2012.11.17.08.47.21;	author svnexp;	state Exp;
branches;
next	;

1.20.2.1
date	2012.11.17.07.41.19;	author svnexp;	state Exp;
branches;
next	;

1.20.10.1
date	2012.11.17.08.03.38;	author svnexp;	state Exp;
branches;
next	;

1.20.16.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.20.18.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.20.20.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.20.22.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.20.22.1.2.1
	1.20.22.1.4.1
	1.20.22.1.6.1
	1.20.22.1.8.1;
next	1.20.22.2;

1.20.22.2
date	2012.11.17.10.36.16;	author svnexp;	state Exp;
branches;
next	;

1.20.22.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.20.22.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.20.22.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.20.22.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.20.22.1.8.2;

1.20.22.1.8.2
date	2012.11.17.08.24.57;	author svnexp;	state Exp;
branches;
next	;

1.20.24.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.20.26.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.20.26.2;

1.20.26.2
date	2012.11.17.08.16.54;	author svnexp;	state Exp;
branches;
next	;

1.15.2.1
date	2001.04.25.10.58.31;	author ru;	state Exp;
branches;
next	1.15.2.2;

1.15.2.2
date	2012.11.17.07.24.31;	author svnexp;	state Exp;
branches;
next	;

1.14.2.1
date	99.08.29.15.14.00;	author peter;	state Exp;
branches;
next	;

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


desc
@@


1.22
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/sbin/ldconfig/Makefile 198236 2009-10-19 16:00:24Z ru $

PROG=	ldconfig
SRCS=	elfhints.c ldconfig.c shlib.c support.c
LDDIR?= ${.CURDIR}/../../libexec/rtld-aout
CFLAGS+=-I${LDDIR} -DFREEBSD_AOUT
MAN=	ldconfig.8

.PATH: ${LDDIR}

.include <bsd.prog.mk>
@


1.22.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:03:34 +0000
@
text
@d1 11
@


1.22.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 12
# $FreeBSD: releng/8.4/sbin/ldconfig/Makefile 140241 2005-01-14 12:22:57Z delphij $

PROG=	ldconfig
SRCS=	elfhints.c ldconfig.c shlib.c support.c
LDDIR?= ${.CURDIR}/../../libexec/rtld-aout
WARNS?=	6
CFLAGS+=-I${LDDIR} -DFREEBSD_AOUT
MAN=	ldconfig.8

.PATH: ${LDDIR}

.include <bsd.prog.mk>
@


1.21
log
@SVN rev 198236 on 2009-10-19 16:00:24Z by ru

Switch the default WARNS level for sbin/ to 6.

Submitted by:	Ulrich Spörlein
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.21.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.21.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/sbin/ldconfig/Makefile 198236 2009-10-19 16:00:24Z ru $
@


1.21.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.21.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/sbin/ldconfig/Makefile 198236 2009-10-19 16:00:24Z ru $
@


1.21.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.21.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/sbin/ldconfig/Makefile 198236 2009-10-19 16:00:24Z ru $
@


1.20
log
@64-bit clean + WARNS=6:
	- Convert the (char *) cast+cast backs magic to
	  memcpy(3).  Without this, the resulting code
	  is potentially risky with higher optimization
	  levels.
	- Avoid same name when calling local variables,
	  as well as global symbols.  This reduces
	  confusion for both human and compiler.
	- Add necessary casts, consts
	- Use new style function defination.
	- Minor style.Makefile(5) tweak
	- Bump WARNS?= from 0 to 6

** for the aout code: changes are intentionally limited
   to ease maintaince.
@
text
@a5 1
WARNS?=	6
@


1.20.10.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/sbin/ldconfig/Makefile 140241 2005-01-14 12:22:57Z delphij $
@


1.20.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/sbin/ldconfig/Makefile 140241 2005-01-14 12:22:57Z delphij $
@


1.20.26.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.20.26.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/sbin/ldconfig/Makefile 140241 2005-01-14 12:22:57Z delphij $
@


1.20.24.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.20.22.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.20.22.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/sbin/ldconfig/Makefile 140241 2005-01-14 12:22:57Z delphij $
@


1.20.22.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.20.22.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/sbin/ldconfig/Makefile 140241 2005-01-14 12:22:57Z delphij $
@


1.20.22.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.20.22.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.20.22.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.20.20.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.20.18.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.20.16.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.19
log
@style.Makefile(5):
	Use WARNS?= instead of WARNS=.
@
text
@d6 1
a7 1
WARNS?=	0
@


1.18
log
@Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by:	mike
@
text
@d7 1
a7 1
WARNS=	0
@


1.17
log
@- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ldconfig/Makefile,v 1.16 2001/03/20 18:13:16 ru Exp $
d7 1
@


1.16
log
@Set the default manual section for sbin/ to 8.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ldconfig/Makefile,v 1.15 1999/08/28 00:13:20 peter Exp $
d7 1
@


1.15
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
a6 1
MAN8=	ldconfig.8
@


1.15.2.1
log
@MFC: MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ldconfig/Makefile,v 1.15 1999/08/28 00:13:20 peter Exp $
d7 1
a7 1
MAN=	ldconfig.8
@


1.15.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/sbin/ldconfig/Makefile 75953 2001-04-25 10:58:55Z ru $
@


1.14
log
@Implement ldconfig functionality for ELF.  The hints are stored in
a different file than the a.out hints, namely, "/var/run/ld-elf.so.hints".
These hints consist only of the directory search path.  There is
no hash table as in the a.out hints, because ELF doesn't have to
search for the file with the highest minor version number.  (It
doesn't have minor version numbers at all.)

A single run of ldconfig updates either the a.out hints or the ELF
hints, but not both.  The set of hints to process is selected in
the usual way, via /etc/objformat, or ${OBJFORMAT}, or the "-aout"
or "-elf" command line option.  The rationale is that you probably
want to search different directories for ELF than for a.out.

"ldconfig -r" is faked up to produce output like we are used to,
except that for ELF there are no minor version numbers.  This should
enable "ldconfig -r" to be used for checking LIB_DEPENDS in ports
even for ELF.

I implemented the ELF functionality in a new source file, with an
eye toward eliminating the a.out code entirely at some point in
the future.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.13 1998/06/12 10:43:18 peter Exp $
@


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


1.13
log
@Force -DFREEBSD_AOUT incase ldconfig is being compiled under elf.
Without this, <link.h> defines stuff for elf linking which is not
what ldconfig needs.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.12 1998/06/01 13:58:19 peter Exp $
d4 1
a4 1
SRCS=	ldconfig.c shlib.c support.c
@


1.12
log
@Build ldconfig in /sbin environment directly, rather than under the gnu ld
directory.  The rcs files were repository copied.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.11 1997/06/29 21:40:54 bde Exp $
d6 1
a6 1
CFLAGS+=-I${LDDIR}
@


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 $
d5 2
a6 4
LDDIR?= $(.CURDIR)/..
CFLAGS+=-I$(LDDIR) -I$(.CURDIR) -I$(LDDIR)/$(MACHINE)
NOSHARED?= yes
BINDIR=	/sbin
d9 1
a9 1
.PATH: $(LDDIR) $(LDDIR)/$(MACHINE)
@


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.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.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
@
