head	1.28;
access;
symbols
	netbsd-11-0-RC4:1.28
	netbsd-11-0-RC3:1.28
	netbsd-11-0-RC2:1.28
	netbsd-11-0-RC1:1.28
	perseant-exfatfs-base-20250801:1.28
	netbsd-11:1.28.0.40
	netbsd-11-base:1.28
	netbsd-10-1-RELEASE:1.28
	perseant-exfatfs-base-20240630:1.28
	perseant-exfatfs:1.28.0.38
	perseant-exfatfs-base:1.28
	netbsd-8-3-RELEASE:1.28
	netbsd-9-4-RELEASE:1.28
	netbsd-10-0-RELEASE:1.28
	netbsd-10-0-RC6:1.28
	netbsd-10-0-RC5:1.28
	netbsd-10-0-RC4:1.28
	netbsd-10-0-RC3:1.28
	netbsd-10-0-RC2:1.28
	netbsd-10-0-RC1:1.28
	netbsd-10:1.28.0.36
	netbsd-10-base:1.28
	netbsd-9-3-RELEASE:1.28
	cjep_sun2x-base1:1.28
	cjep_sun2x:1.28.0.34
	cjep_sun2x-base:1.28
	cjep_staticlib_x-base1:1.28
	netbsd-9-2-RELEASE:1.28
	cjep_staticlib_x:1.28.0.32
	cjep_staticlib_x-base:1.28
	netbsd-9-1-RELEASE:1.28
	phil-wifi-20200421:1.28
	phil-wifi-20200411:1.28
	is-mlppp:1.28.0.30
	is-mlppp-base:1.28
	phil-wifi-20200406:1.28
	netbsd-8-2-RELEASE:1.28
	netbsd-9-0-RELEASE:1.28
	netbsd-9-0-RC2:1.28
	netbsd-9-0-RC1:1.28
	phil-wifi-20191119:1.28
	netbsd-9:1.28.0.28
	netbsd-9-base:1.28
	phil-wifi-20190609:1.28
	netbsd-8-1-RELEASE:1.28
	netbsd-8-1-RC1:1.28
	pgoyette-compat-merge-20190127:1.28
	pgoyette-compat-20190127:1.28
	pgoyette-compat-20190118:1.28
	pgoyette-compat-1226:1.28
	pgoyette-compat-1126:1.28
	pgoyette-compat-1020:1.28
	pgoyette-compat-0930:1.28
	pgoyette-compat-0906:1.28
	netbsd-7-2-RELEASE:1.28
	pgoyette-compat-0728:1.28
	netbsd-8-0-RELEASE:1.28
	phil-wifi:1.28.0.26
	phil-wifi-base:1.28
	pgoyette-compat-0625:1.28
	netbsd-8-0-RC2:1.28
	pgoyette-compat-0521:1.28
	pgoyette-compat-0502:1.28
	pgoyette-compat-0422:1.28
	netbsd-8-0-RC1:1.28
	pgoyette-compat-0415:1.28
	pgoyette-compat-0407:1.28
	pgoyette-compat-0330:1.28
	pgoyette-compat-0322:1.28
	pgoyette-compat-0315:1.28
	netbsd-7-1-2-RELEASE:1.28
	pgoyette-compat:1.28.0.24
	pgoyette-compat-base:1.28
	netbsd-7-1-1-RELEASE:1.28
	matt-nb8-mediatek:1.28.0.22
	matt-nb8-mediatek-base:1.28
	perseant-stdc-iso10646:1.28.0.20
	perseant-stdc-iso10646-base:1.28
	netbsd-8:1.28.0.18
	netbsd-8-base:1.28
	prg-localcount2-base3:1.28
	prg-localcount2-base2:1.28
	prg-localcount2-base1:1.28
	prg-localcount2:1.28.0.16
	prg-localcount2-base:1.28
	pgoyette-localcount-20170426:1.28
	bouyer-socketcan-base1:1.28
	pgoyette-localcount-20170320:1.28
	netbsd-7-1:1.28.0.14
	netbsd-7-1-RELEASE:1.28
	netbsd-7-1-RC2:1.28
	netbsd-7-nhusb-base-20170116:1.28
	bouyer-socketcan:1.28.0.12
	bouyer-socketcan-base:1.28
	pgoyette-localcount-20170107:1.28
	netbsd-7-1-RC1:1.28
	pgoyette-localcount-20161104:1.28
	netbsd-7-0-2-RELEASE:1.28
	localcount-20160914:1.28
	netbsd-7-nhusb:1.28.0.10
	netbsd-7-nhusb-base:1.28
	pgoyette-localcount-20160806:1.28
	pgoyette-localcount-20160726:1.28
	pgoyette-localcount:1.28.0.8
	pgoyette-localcount-base:1.28
	netbsd-7-0-1-RELEASE:1.28
	netbsd-7-0:1.28.0.6
	netbsd-7-0-RELEASE:1.28
	netbsd-7-0-RC3:1.28
	netbsd-7-0-RC2:1.28
	netbsd-7-0-RC1:1.28
	netbsd-5-2-3-RELEASE:1.21.40.1
	netbsd-5-1-5-RELEASE:1.21.40.1
	netbsd-6-0-6-RELEASE:1.23
	netbsd-6-1-5-RELEASE:1.23
	netbsd-7:1.28.0.4
	netbsd-7-base:1.28
	yamt-pagecache-base9:1.28
	yamt-pagecache-tag8:1.23
	netbsd-6-1-4-RELEASE:1.23
	netbsd-6-0-5-RELEASE:1.23
	tls-earlyentropy:1.28.0.2
	tls-earlyentropy-base:1.28
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.28
	riastradh-drm2-base3:1.27
	netbsd-6-1-3-RELEASE:1.23
	netbsd-6-0-4-RELEASE:1.23
	netbsd-5-2-2-RELEASE:1.21.40.1
	netbsd-5-1-4-RELEASE:1.21.40.1
	netbsd-6-1-2-RELEASE:1.23
	netbsd-6-0-3-RELEASE:1.23
	netbsd-5-2-1-RELEASE:1.21.40.1
	netbsd-5-1-3-RELEASE:1.21.40.1
	netbsd-6-1-1-RELEASE:1.23
	riastradh-drm2-base2:1.27
	riastradh-drm2-base1:1.27
	riastradh-drm2:1.26.0.2
	riastradh-drm2-base:1.26
	netbsd-6-1:1.23.0.14
	netbsd-6-0-2-RELEASE:1.23
	netbsd-6-1-RELEASE:1.23
	netbsd-6-1-RC4:1.23
	netbsd-6-1-RC3:1.23
	agc-symver:1.26.0.4
	agc-symver-base:1.26
	netbsd-6-1-RC2:1.23
	netbsd-6-1-RC1:1.23
	yamt-pagecache-base8:1.25
	netbsd-5-2:1.21.40.1.0.10
	netbsd-6-0-1-RELEASE:1.23
	yamt-pagecache-base7:1.25
	netbsd-5-2-RELEASE:1.21.40.1
	netbsd-5-2-RC1:1.21.40.1
	matt-nb6-plus-nbase:1.23
	yamt-pagecache-base6:1.25
	netbsd-6-0:1.23.0.12
	netbsd-6-0-RELEASE:1.23
	netbsd-6-0-RC2:1.23
	tls-maxphys:1.25.0.2
	tls-maxphys-base:1.28
	matt-nb6-plus:1.23.0.10
	matt-nb6-plus-base:1.23
	netbsd-6-0-RC1:1.23
	yamt-pagecache-base5:1.23
	yamt-pagecache-base4:1.23
	netbsd-6:1.23.0.8
	netbsd-6-base:1.23
	netbsd-5-1-2-RELEASE:1.21.40.1
	netbsd-5-1-1-RELEASE:1.21.40.1
	yamt-pagecache-base3:1.23
	yamt-pagecache-base2:1.23
	yamt-pagecache:1.23.0.6
	yamt-pagecache-base:1.23
	cherry-xenmp:1.23.0.4
	cherry-xenmp-base:1.23
	bouyer-quota2-nbase:1.23
	bouyer-quota2:1.23.0.2
	bouyer-quota2-base:1.23
	matt-mips64-premerge-20101231:1.23
	matt-nb5-mips64-premerge-20101231:1.21.40.1
	matt-nb5-pq3:1.21.40.1.0.8
	matt-nb5-pq3-base:1.21.40.1
	netbsd-5-1:1.21.40.1.0.6
	netbsd-5-1-RELEASE:1.21.40.1
	netbsd-5-1-RC4:1.21.40.1
	matt-nb5-mips64-k15:1.21.40.1
	netbsd-5-1-RC3:1.21.40.1
	netbsd-5-1-RC2:1.21.40.1
	netbsd-5-1-RC1:1.21.40.1
	netbsd-5-0-2-RELEASE:1.21.40.1
	matt-nb5-mips64-premerge-20091211:1.21.40.1
	matt-premerge-20091211:1.22
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.21.40.1
	matt-nb4-mips64-k7-u2a-k9b:1.21.40.1
	matt-nb5-mips64-u1-k1-k5:1.21.40.1
	matt-nb5-mips64:1.21.40.1.0.4
	netbsd-5-0-1-RELEASE:1.21.40.1
	jym-xensuspend-nbase:1.22
	netbsd-5-0:1.21.40.1.0.2
	netbsd-5-0-RELEASE:1.21.40.1
	netbsd-5-0-RC4:1.21.40.1
	netbsd-5-0-RC3:1.21.40.1
	netbsd-5-0-RC2:1.21.40.1
	jym-xensuspend:1.22.0.2
	jym-xensuspend-base:1.22
	netbsd-5-0-RC1:1.21.40.1
	netbsd-5:1.21.0.40
	netbsd-5-base:1.21
	matt-mips64-base2:1.21
	matt-mips64:1.21.0.38
	netbsd-4-0-1-RELEASE:1.21
	wrstuden-revivesa-base-3:1.21
	wrstuden-revivesa-base-2:1.21
	wrstuden-fixsa-newbase:1.21
	wrstuden-revivesa-base-1:1.21
	yamt-pf42-base4:1.21
	yamt-pf42-base3:1.21
	hpcarm-cleanup-nbase:1.21
	yamt-pf42-baseX:1.21
	yamt-pf42-base2:1.21
	wrstuden-revivesa:1.21.0.36
	wrstuden-revivesa-base:1.21
	yamt-pf42:1.21.0.34
	yamt-pf42-base:1.21
	mjf-devfs2:1.21.0.32
	mjf-devfs2-base:1.22
	keiichi-mipv6:1.21.0.30
	keiichi-mipv6-base:1.21
	matt-armv6-nbase:1.21
	matt-armv6-prevmlocking:1.21
	wrstuden-fixsa-base-1:1.21
	netbsd-4-0:1.21.0.28
	netbsd-4-0-RELEASE:1.21
	cube-autoconf:1.21.0.26
	cube-autoconf-base:1.21
	mjf-devfs:1.21.0.24
	mjf-devfs-base:1.21
	netbsd-4-0-RC5:1.21
	netbsd-4-0-RC4:1.21
	netbsd-4-0-RC3:1.21
	netbsd-4-0-RC2:1.21
	netbsd-4-0-RC1:1.21
	matt-armv6:1.21.0.22
	matt-armv6-base:1.21
	matt-mips64-base:1.21
	hpcarm-cleanup:1.21.0.20
	hpcarm-cleanup-base:1.21
	netbsd-3-1-1-RELEASE:1.21
	netbsd-3-0-3-RELEASE:1.21
	wrstuden-fixsa:1.21.0.18
	wrstuden-fixsa-base:1.21
	abandoned-netbsd-4-base:1.21
	abandoned-netbsd-4:1.21.0.12
	netbsd-3-1:1.21.0.14
	netbsd-3-1-RELEASE:1.21
	netbsd-3-0-2-RELEASE:1.21
	netbsd-3-1-RC4:1.21
	netbsd-3-1-RC3:1.21
	netbsd-3-1-RC2:1.21
	netbsd-3-1-RC1:1.21
	netbsd-4:1.21.0.16
	netbsd-4-base:1.21
	netbsd-3-0-1-RELEASE:1.21
	netbsd-3-0:1.21.0.10
	netbsd-3-0-RELEASE:1.21
	netbsd-3-0-RC6:1.21
	netbsd-3-0-RC5:1.21
	netbsd-3-0-RC4:1.21
	netbsd-3-0-RC3:1.21
	netbsd-3-0-RC2:1.21
	netbsd-3-0-RC1:1.21
	netbsd-2-0-3-RELEASE:1.21
	netbsd-2-1:1.21.0.8
	netbsd-2-1-RELEASE:1.21
	netbsd-2-1-RC6:1.21
	netbsd-2-1-RC5:1.21
	netbsd-2-1-RC4:1.21
	netbsd-2-1-RC3:1.21
	netbsd-2-1-RC2:1.21
	netbsd-2-1-RC1:1.21
	netbsd-2-0-2-RELEASE:1.21
	netbsd-3:1.21.0.6
	netbsd-3-base:1.21
	netbsd-2-0-1-RELEASE:1.21
	netbsd-2:1.21.0.4
	netbsd-2-base:1.21
	netbsd-2-0-RELEASE:1.21
	netbsd-2-0-RC5:1.21
	netbsd-2-0-RC4:1.21
	netbsd-2-0-RC3:1.21
	netbsd-2-0-RC2:1.21
	netbsd-2-0-RC1:1.21
	netbsd-2-0:1.21.0.2
	netbsd-2-0-base:1.21
	netbsd-1-6-PATCH002-RELEASE:1.19
	netbsd-1-6-PATCH002:1.19
	netbsd-1-6-PATCH002-RC4:1.19
	netbsd-1-6-PATCH002-RC3:1.19
	netbsd-1-6-PATCH002-RC2:1.19
	netbsd-1-6-PATCH002-RC1:1.19
	netbsd-1-6-PATCH001:1.19
	netbsd-1-6-PATCH001-RELEASE:1.19
	netbsd-1-6-PATCH001-RC3:1.19
	netbsd-1-6-PATCH001-RC2:1.19
	netbsd-1-6-PATCH001-RC1:1.19
	fvdl_fs64_base:1.21
	netbsd-1-6-RELEASE:1.19
	netbsd-1-6-RC3:1.19
	netbsd-1-6-RC2:1.19
	netbsd-1-6-RC1:1.19
	netbsd-1-6:1.19.0.2
	netbsd-1-6-base:1.19
	netbsd-1-5-PATCH003:1.15.10.1
	netbsd-1-5-PATCH002:1.15.10.1
	netbsd-1-5-PATCH001:1.15.10.1
	netbsd-1-5-RELEASE:1.15.10.1
	netbsd-1-5-BETA2:1.15.10.1
	netbsd-1-5-BETA:1.15.10.1
	netbsd-1-4-PATCH003:1.15
	netbsd-1-5-ALPHA2:1.15
	netbsd-1-5:1.15.0.10
	netbsd-1-5-base:1.15
	minoura-xpg4dl:1.15.0.8
	minoura-xpg4dl-base:1.15
	netbsd-1-4-PATCH002:1.15
	wrstuden-devbsize-19991221:1.15
	wrstuden-devbsize:1.15.0.6
	wrstuden-devbsize-base:1.15
	comdex-fall-1999:1.15.0.4
	comdex-fall-1999-base:1.15
	netbsd-1-4-PATCH001:1.15
	netbsd-1-4-RELEASE:1.15
	netbsd-1-4:1.15.0.2
	netbsd-1-4-base:1.15;
locks; strict;
comment	@# @;


1.28
date	2014.03.18.18.20.39;	author riastradh;	state Exp;
branches;
next	1.27;
commitid	YersUbOm2SKa4dtx;

1.27
date	2013.07.18.21.59.46;	author matt;	state Exp;
branches;
next	1.26;
commitid	PFOhfN0PErBy50Yw;

1.26
date	2013.02.05.07.23.00;	author matt;	state Exp;
branches
	1.26.2.1;
next	1.25;

1.25
date	2012.08.23.21.21.16;	author joerg;	state Exp;
branches
	1.25.2.1;
next	1.24;

1.24
date	2012.08.23.15.45.03;	author joerg;	state Exp;
branches;
next	1.23;

1.23
date	2010.07.06.05.59.56;	author mrg;	state Exp;
branches
	1.23.6.1;
next	1.22;

1.22
date	2008.10.31.20.24.52;	author mrg;	state Exp;
branches;
next	1.21;

1.21
date	2002.11.12.14.33.49;	author itohy;	state Exp;
branches
	1.21.32.1
	1.21.40.1;
next	1.20;

1.20
date	2002.08.19.10.16.54;	author lukem;	state Exp;
branches;
next	1.19;

1.19
date	2002.02.24.03.18.44;	author matt;	state Exp;
branches;
next	1.18;

1.18
date	2001.03.21.14.54.39;	author tsutsui;	state Exp;
branches;
next	1.17;

1.17
date	2000.09.29.19.00.59;	author fvdl;	state Exp;
branches;
next	1.16;

1.16
date	2000.09.29.17.47.52;	author fvdl;	state Exp;
branches;
next	1.15;

1.15
date	98.12.17.22.23.44;	author thorpej;	state Exp;
branches
	1.15.10.1;
next	1.14;

1.14
date	98.12.15.22.49.42;	author pk;	state Exp;
branches;
next	1.13;

1.13
date	98.03.02.19.46.44;	author cgd;	state Exp;
branches;
next	1.12;

1.12
date	97.06.23.13.25.55;	author mrg;	state Exp;
branches;
next	1.11;

1.11
date	97.04.16.16.49.42;	author christos;	state Exp;
branches;
next	1.10;

1.10
date	95.03.06.04.24.41;	author cgd;	state Exp;
branches;
next	1.9;

1.9
date	94.12.22.09.35.29;	author cgd;	state Exp;
branches;
next	1.8;

1.8
date	94.06.10.15.16.53;	author pk;	state Exp;
branches;
next	1.7;

1.7
date	93.12.10.05.10.22;	author mycroft;	state Exp;
branches;
next	1.6;

1.6
date	93.12.08.11.47.25;	author mycroft;	state Exp;
branches;
next	1.5;

1.5
date	93.12.08.10.16.08;	author pk;	state Exp;
branches;
next	1.4;

1.4
date	93.12.05.00.55.03;	author cgd;	state Exp;
branches;
next	1.3;

1.3
date	93.12.02.07.21.19;	author mycroft;	state Exp;
branches;
next	1.2;

1.2
date	93.11.03.05.20.49;	author cgd;	state Exp;
branches;
next	1.1;

1.1
date	93.10.23.00.16.57;	author pk;	state Exp;
branches;
next	;

1.26.2.1
date	2013.07.23.21.07.31;	author riastradh;	state Exp;
branches;
next	;
commitid	rochtllMBJfBDDYw;

1.25.2.1
date	2013.02.25.00.28.08;	author tls;	state Exp;
branches;
next	1.25.2.2;

1.25.2.2
date	2014.08.20.00.02.25;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.23.6.1
date	2014.05.22.11.37.29;	author yamt;	state Exp;
branches;
next	;
commitid	RbOgm2CpXD4mKwBx;

1.21.32.1
date	2009.01.17.13.48.52;	author mjf;	state Exp;
branches;
next	;

1.21.40.1
date	2008.11.06.23.51.27;	author snj;	state Exp;
branches
	1.21.40.1.4.1;
next	;

1.21.40.1.4.1
date	2014.03.24.18.58.00;	author matt;	state Exp;
branches;
next	;
commitid	ToQhYk0o09325Ztx;

1.15.10.1
date	2000.10.18.16.42.52;	author tv;	state Exp;
branches;
next	;


desc
@@


1.28
log
@Merge riastradh-drm2 to HEAD.
@
text
@#	$NetBSD: Makefile,v 1.26.2.1 2013/07/23 21:07:31 riastradh Exp $

.include <bsd.own.mk>   # For MKPIC
.include <bsd.shlib.mk>
.include <bsd.endian.mk>

.if ${MKPIC} != "no" && \
    ((${MACHINE_CPU} == "arm" && ${TARGET_ENDIANNESS} == "1234") || \
     ${MACHINE_ARCH} == "i386" ||	\
     ${MACHINE_CPU} == "m68k" ||	\
     ${MACHINE_ARCH} == "sparc" ||	\
     ${MACHINE_ARCH} == "vax")

PROG=	ldconfig
SRCS=	ldconfig.c shlib.c

.if ${SHLIBINSTALLDIR} != ${LIBDIR}
CPPFLAGS+=-DSTANDARD_SEARCH_DIRS=\"${SHLIBINSTALLDIR}\",\"${LIBDIR}\"
.endif

.endif

MAN=	ldconfig.8

.include <bsd.prog.mk>
@


1.27
log
@Use MACHINE_CPU with m68k (m68000 will not be matched due to MKPIC=no)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.26 2013/02/05 07:23:00 matt Exp $
@


1.26
log
@There are other little endian arm machine_arches other than "arm"
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 2012/08/23 21:21:16 joerg Exp $
d10 1
a10 1
     ${MACHINE_ARCH} == "m68k" ||	\
@


1.26.2.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.27 2013/07/18 21:59:46 matt Exp $
d10 1
a10 1
     ${MACHINE_CPU} == "m68k" ||	\
@


1.25
log
@Revert last, it breaks the tricks xsrc uses.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 2010/07/06 05:59:56 mrg Exp $
d5 1
d8 1
a8 1
    (${MACHINE_ARCH} == "arm" ||	\
@


1.25.2.1
log
@resync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 2012/08/23 21:21:16 joerg Exp $
a4 1
.include <bsd.endian.mk>
d7 1
a7 1
    ((${MACHINE_CPU} == "arm" && ${TARGET_ENDIANNESS} == "1234") || \
@


1.25.2.2
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d10 1
a10 1
     ${MACHINE_CPU} == "m68k" ||	\
@


1.24
log
@Remove SHLIBINSTALLDIR and SHLINKINSTALLLIBDIR. Add rpath entries, if
SHLIBDIR differs from /usr/lib.
@
text
@d16 4
@


1.23
log
@remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.

this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format.  ie, most of this code has been dead for
over a decade.

i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k.  this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.


some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
  down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2008/10/31 20:24:52 mrg Exp $
a15 4
.if ${SHLIBINSTALLDIR} != ${LIBDIR}
CPPFLAGS+=-DSTANDARD_SEARCH_DIRS=\"${SHLIBINSTALLDIR}\",\"${LIBDIR}\"
.endif

@


1.23.6.1
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 2010/07/06 05:59:56 mrg Exp $
a4 1
.include <bsd.endian.mk>
d7 1
a7 1
    ((${MACHINE_CPU} == "arm" && ${TARGET_ENDIANNESS} == "1234") || \
d9 1
a9 1
     ${MACHINE_CPU} == "m68k" ||	\
@


1.22
log
@make MKPIC=no builds work on i368, shark, vax, pmax, sgimips, sparc,
maybe all mips and all arm as well.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2002/11/12 14:33:49 itohy Exp $
d3 1
a3 1
.include <bsd.own.mk>   # For OBJECT_FMT
a6 2
    (${OBJECT_FMT} == "a.out" ||	\
    (${OBJECT_FMT} == "ELF" &&		\
d11 1
a11 1
     ${MACHINE_ARCH} == "vax")))
a15 3
CPPFLAGS += -I${NETBSDSRCDIR}/libexec/ld.aout_so
.PATH:	${NETBSDSRCDIR}/libexec/ld.aout_so

@


1.21
log
@MKDYNAMICROOT for a.out
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2002/08/19 10:16:54 lukem Exp $
d6 2
a7 1
.if (${OBJECT_FMT} == "a.out" ||	\
@


1.21.32.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d6 1
a6 2
.if ${MKPIC} != "no" && \
    (${OBJECT_FMT} == "a.out" ||	\
@


1.21.40.1
log
@Pull up following revision(s) (requested by mrg in ticket #20):
	compat/libexec/ld.elf_so/Makefile: revision 1.2
	distrib/sets/lists/base/md.shark: revision 1.7
	distrib/sets/lists/base/md.vax: revision 1.26
	distrib/sets/lists/base/md.i386: revision 1.130
	distrib/sets/lists/base/ad.arm: revision 1.10
	distrib/sets/lists/comp/md.shark: revision 1.13
	distrib/sets/lists/comp/md.sparc: revision 1.68
	distrib/sets/lists/comp/ad.arm: revision 1.31
	distrib/sets/lists/comp/md.vax: revision 1.35
	distrib/sets/lists/comp/md.i386: revision 1.108
	distrib/sets/lists/base/md.sparc: revision 1.75
	distrib/sets/lists/comp/md.pmax: revision 1.59
	libexec/ld.aout_so/Makefile: revision 1.46
	sbin/ldconfig/Makefile: revision 1.22
make MKPIC=no builds work on i368, shark, vax, pmax, sgimips, sparc,
maybe all mips and all arm as well.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2002/11/12 14:33:49 itohy Exp $
d6 1
a6 2
.if ${MKPIC} != "no" && \
    (${OBJECT_FMT} == "a.out" ||	\
@


1.21.40.1.4.1
log
@Make these work with a machine_arch of armv7
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21.40.1 2008/11/06 23:51:27 snj Exp $
a9 1
     ${MACHINE_ARCH} == "armv7" ||	\
@


1.20
log
@Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2002/02/24 03:18:44 matt Exp $
d4 1
d19 4
@


1.19
log
@Also build ldconfig is MACHINE_ARCH is arm or vax buf OBJECT_FMT=ELF
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2001/03/21 14:54:39 tsutsui Exp $
d16 2
a17 2
CPPFLAGS += -I$(.CURDIR)/../../libexec/ld.aout_so
.PATH:	$(.CURDIR)/../../libexec/ld.aout_so
@


1.18
log
@Make and install ldconfig on ELF m68k ports.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2000/09/29 19:00:59 fvdl Exp $
d7 2
a8 1
    (${MACHINE_ARCH} == "i386" ||	\
d10 2
a11 1
     ${MACHINE_ARCH} == "sparc")))
@


1.17
log
@Modification to previous: only build for ports that are a.out or used
to be a.out. No sense in building for ports that never were a.out.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2000/09/29 17:47:52 fvdl Exp $
d5 5
a9 2
.if (${OBJECT_FMT} == "a.out" || (${OBJECT_FMT} == "ELF" && \
    (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "sparc")))
@


1.16
log
@Build this on ELF as well. When on an ELF system, only look in
_PATH_EMUL_AOUT/etc/ld.so.conf.
@
text
@d1 6
a6 1
#	$NetBSD: Makefile,v 1.15 1998/12/17 22:23:44 thorpej Exp $
d13 2
@


1.15
log
@Only build ldconfig on a.out platforms.  Everyone else still builds the
manual page.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 1998/12/15 22:49:42 pk Exp $
a2 3
.include <bsd.own.mk>	# For OBJECT_FMT

.if (${OBJECT_FMT} == "a.out")
a7 1
.endif
@


1.15.10.1
log
@Pullup 1.16 and 1.17 [fvdl]:
Modification to previous: only build for ports that are a.out or used
to be a.out. No sense in building for ports that never were a.out.
----------------------------
Build this on ELF as well. When on an ELF system, only look in
_PATH_EMUL_AOUT/etc/ld.so.conf.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2000/09/29 19:00:59 fvdl Exp $
d3 1
a3 4
.include <bsd.own.mk>   # For OBJECT_FMT

.if (${OBJECT_FMT} == "a.out" || (${OBJECT_FMT} == "ELF" && \
    (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "sparc")))
d5 1
a10 1

@


1.14
log
@Adapt to new location in `src/sbin'.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 1998/03/02 19:46:44 cgd Exp $
d3 3
d11 1
@


1.13
log
@allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 1997/06/23 13:25:55 mrg Exp $
d3 2
a4 1
.include <bsd.own.mk>
d6 2
a7 11
.if	(${MACHINE_ARCH} == "i386") || \
	(${MACHINE_ARCH} == "m68k") || \
	(${MACHINE_ARCH} == "ns32k") || \
	(${MACHINE_ARCH} == "sparc") || \
	(${MACHINE_ARCH} == "vax") || \
	(${MACHINE_ARCH} == "arm32")
PROG=	ldconfig
SRCS=	ldconfig.c shlib.c etc.c
LDSTATIC?=-static
BINDIR=	/sbin
.endif
@


1.12
log
@install all man pages.
@
text
@d1 3
a3 1
#	$NetBSD: Makefile,v 1.11 1997/04/16 16:49:42 christos Exp $
d13 1
a13 1
LDSTATIC=-static
@


1.11
log
@Ld directory reorganization:
	- separate out the common files used by rtld ldd ld
	- move machine dependent files into arch
	- move ld in its own directory
	- factor out .PATH and CFLAGS common to all Makefiles
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 1995/03/06 04:24:41 cgd Exp $
d3 6
d13 2
@


1.10
log
@complete remove special search dirs, use NetBSD Id tag.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 1994/12/22 09:35:29 cgd Exp $
a4 2
LDDIR?= $(.CURDIR)/..
CFLAGS+=-I$(LDDIR) -I$(.CURDIR) -I$(LDDIR)/$(MACHINE_ARCH)
a7 2

.PATH: $(LDDIR) $(LDDIR)/$(MACHINE_ARCH)
@


1.9
log
@specify man pages the new way.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.8 1994/06/10 15:16:53 pk Exp $
a11 4

.if ($(MACHINE_ARCH) == i386)
CFLAGS += -DSTANDARD_SEARCH_DIRS="\"/usr/lib\", \"/usr/X386/lib\""
.endif
@


1.8
log
@Conversion to err()/warn() for error reports.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.7 1993/12/10 05:10:22 mycroft Exp $
d9 1
a9 1
MAN8=	ldconfig.0
@


1.7
log
@Minor cleanup.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.6 1993/12/08 11:47:25 mycroft Exp $
d12 4
@


1.6
log
@Use MACHINE_ARCH.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.5 1993/12/08 10:16:08 pk Exp $
d6 4
a9 4
LDFLAGS += -static
CFLAGS += -I$(LDDIR) -I$(.CURDIR) -I$(LDDIR)/$(MACHINE_ARCH) -O
BINDIR= /sbin
MAN8 = ldconfig.0
@


1.5
log
@*** empty log message ***
@
text
@d1 1
a1 1
#	$Id$
d11 1
a11 1
.PATH: $(LDDIR) $(LDDIR)/$(MACHINE)
@


1.4
log
@MACHINE_ARCH support
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.3 1993/12/02 07:21:19 mycroft Exp $
d11 1
a11 1
.PATH: $(LDDIR) $(LDDIR)/$(MACHINE_ARCH)
@


1.3
log
@Remove ${DESTDIR} from BINDIR.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.2 1993/11/03 05:20:49 cgd Exp $
d7 1
a7 1
CFLAGS += -I$(LDDIR) -I$(.CURDIR) -I$(LDDIR)/$(MACHINE) -O
d11 1
a11 1
.PATH: $(LDDIR) $(LDDIR)/$(MACHINE)
@


1.2
log
@add -static to 'LDFLAGS', as it goes in /sbin
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.1 1993/10/23 00:16:57 pk Exp $
d8 1
a8 1
BINDIR= ${DESTDIR}/sbin
@


1.1
log
@Utility to maintain shared library lookup "hints".
Does business in `/var/run/ld.so.hints'.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.1 1993/10/16 21:54:08 pk Exp $
d6 1
@
