head	1.12;
access;
symbols
	perseant-exfatfs-base-20250801:1.12
	perseant-exfatfs-base-20240630:1.12
	perseant-exfatfs:1.12.0.24
	perseant-exfatfs-base:1.12
	cjep_sun2x:1.12.0.22
	cjep_sun2x-base:1.12
	cjep_staticlib_x-base1:1.12
	cjep_staticlib_x:1.12.0.20
	cjep_staticlib_x-base:1.12
	phil-wifi-20200421:1.12
	phil-wifi-20200411:1.12
	phil-wifi-20200406:1.12
	pgoyette-compat-merge-20190127:1.12
	pgoyette-compat-20190127:1.12
	pgoyette-compat-20190118:1.12
	pgoyette-compat-1226:1.12
	pgoyette-compat-1126:1.12
	pgoyette-compat-1020:1.12
	pgoyette-compat-0930:1.12
	pgoyette-compat-0906:1.12
	pgoyette-compat-0728:1.12
	pgoyette-compat-0625:1.12
	pgoyette-compat-0521:1.12
	pgoyette-compat-0502:1.12
	pgoyette-compat-0422:1.12
	pgoyette-compat-0415:1.12
	pgoyette-compat-0407:1.12
	pgoyette-compat-0330:1.12
	pgoyette-compat-0322:1.12
	pgoyette-compat-0315:1.12
	pgoyette-compat:1.12.0.18
	pgoyette-compat-base:1.12
	perseant-stdc-iso10646:1.12.0.16
	perseant-stdc-iso10646-base:1.12
	prg-localcount2-base3:1.12
	prg-localcount2-base2:1.12
	prg-localcount2-base1:1.12
	prg-localcount2:1.12.0.14
	prg-localcount2-base:1.12
	pgoyette-localcount-20170426:1.12
	bouyer-socketcan-base1:1.12
	pgoyette-localcount-20170320:1.12
	bouyer-socketcan:1.12.0.12
	bouyer-socketcan-base:1.12
	pgoyette-localcount-20170107:1.12
	pgoyette-localcount-20161104:1.12
	localcount-20160914:1.12
	pgoyette-localcount-20160806:1.12
	pgoyette-localcount-20160726:1.12
	pgoyette-localcount:1.12.0.10
	pgoyette-localcount-base:1.12
	netbsd-5-2-3-RELEASE:1.11
	netbsd-5-1-5-RELEASE:1.11
	yamt-pagecache-base9:1.12
	yamt-pagecache-tag8:1.12
	tls-earlyentropy:1.12.0.6
	tls-earlyentropy-base:1.12
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.12
	riastradh-drm2-base3:1.12
	netbsd-5-2-2-RELEASE:1.11
	netbsd-5-1-4-RELEASE:1.11
	netbsd-5-2-1-RELEASE:1.11
	netbsd-5-1-3-RELEASE:1.11
	agc-symver:1.12.0.8
	agc-symver-base:1.12
	tls-maxphys-base:1.12
	yamt-pagecache-base8:1.12
	netbsd-5-2:1.11.0.62
	yamt-pagecache-base7:1.12
	netbsd-5-2-RELEASE:1.11
	netbsd-5-2-RC1:1.11
	yamt-pagecache-base6:1.12
	yamt-pagecache-base5:1.12
	yamt-pagecache-base4:1.12
	netbsd-5-1-2-RELEASE:1.11
	netbsd-5-1-1-RELEASE:1.11
	yamt-pagecache-base3:1.12
	yamt-pagecache-base2:1.12
	yamt-pagecache:1.12.0.4
	yamt-pagecache-base:1.12
	bouyer-quota2-nbase:1.12
	bouyer-quota2:1.12.0.2
	bouyer-quota2-base:1.12
	matt-nb5-mips64-premerge-20101231:1.11
	matt-nb5-pq3:1.11.0.60
	matt-nb5-pq3-base:1.11
	netbsd-5-1:1.11.0.58
	netbsd-5-1-RELEASE:1.11
	netbsd-5-1-RC4:1.11
	matt-nb5-mips64-k15:1.11
	netbsd-5-1-RC3:1.11
	netbsd-5-1-RC2:1.11
	netbsd-5-1-RC1:1.11
	netbsd-5-0-2-RELEASE:1.11
	matt-nb5-mips64-premerge-20091211:1.11
	matt-premerge-20091211:1.11
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.11
	matt-nb4-mips64-k7-u2a-k9b:1.11
	matt-nb5-mips64-u1-k1-k5:1.11
	matt-nb5-mips64:1.11.0.56
	netbsd-5-0-1-RELEASE:1.11
	jym-xensuspend-nbase:1.11
	netbsd-5-0:1.11.0.54
	netbsd-5-0-RELEASE:1.11
	netbsd-5-0-RC4:1.11
	netbsd-5-0-RC3:1.11
	netbsd-5-0-RC2:1.11
	jym-xensuspend:1.11.0.52
	jym-xensuspend-base:1.11
	netbsd-5-0-RC1:1.11
	netbsd-5:1.11.0.50
	netbsd-5-base:1.11
	matt-mips64-base2:1.11
	matt-mips64:1.11.0.48
	mjf-devfs2:1.11.0.46
	mjf-devfs2-base:1.11
	netbsd-4-0-1-RELEASE:1.11
	wrstuden-revivesa-base-3:1.11
	wrstuden-revivesa-base-2:1.11
	wrstuden-fixsa-newbase:1.11
	wrstuden-revivesa-base-1:1.11
	yamt-pf42-base4:1.11
	yamt-pf42-base3:1.11
	hpcarm-cleanup-nbase:1.11
	yamt-pf42-baseX:1.11
	yamt-pf42-base2:1.11
	wrstuden-revivesa:1.11.0.44
	wrstuden-revivesa-base:1.11
	yamt-pf42:1.11.0.42
	yamt-pf42-base:1.11
	keiichi-mipv6:1.11.0.40
	keiichi-mipv6-base:1.11
	matt-armv6-nbase:1.11
	matt-armv6-prevmlocking:1.11
	wrstuden-fixsa-base-1:1.11
	netbsd-4-0:1.11.0.38
	netbsd-4-0-RELEASE:1.11
	cube-autoconf:1.11.0.36
	cube-autoconf-base:1.11
	netbsd-4-0-RC5:1.11
	netbsd-4-0-RC4:1.11
	netbsd-4-0-RC3:1.11
	netbsd-4-0-RC2:1.11
	netbsd-4-0-RC1:1.11
	matt-armv6:1.11.0.34
	matt-armv6-base:1.11
	matt-mips64-base:1.11
	hpcarm-cleanup:1.11.0.32
	hpcarm-cleanup-base:1.11
	netbsd-3-1-1-RELEASE:1.11
	netbsd-3-0-3-RELEASE:1.11
	wrstuden-fixsa:1.11.0.30
	wrstuden-fixsa-base:1.11
	abandoned-netbsd-4-base:1.11
	abandoned-netbsd-4:1.11.0.24
	netbsd-3-1:1.11.0.26
	netbsd-3-1-RELEASE:1.11
	netbsd-3-0-2-RELEASE:1.11
	netbsd-3-1-RC4:1.11
	netbsd-3-1-RC3:1.11
	netbsd-3-1-RC2:1.11
	netbsd-3-1-RC1:1.11
	netbsd-4:1.11.0.28
	netbsd-4-base:1.11
	netbsd-3-0-1-RELEASE:1.11
	netbsd-3-0:1.11.0.22
	netbsd-3-0-RELEASE:1.11
	netbsd-3-0-RC6:1.11
	netbsd-3-0-RC5:1.11
	netbsd-3-0-RC4:1.11
	netbsd-3-0-RC3:1.11
	netbsd-3-0-RC2:1.11
	netbsd-3-0-RC1:1.11
	netbsd-2-0-3-RELEASE:1.11
	netbsd-2-1:1.11.0.20
	netbsd-2-1-RELEASE:1.11
	netbsd-2-1-RC6:1.11
	netbsd-2-1-RC5:1.11
	netbsd-2-1-RC4:1.11
	netbsd-2-1-RC3:1.11
	netbsd-2-1-RC2:1.11
	netbsd-2-1-RC1:1.11
	netbsd-2-0-2-RELEASE:1.11
	netbsd-3:1.11.0.18
	netbsd-3-base:1.11
	netbsd-2-0-1-RELEASE:1.11
	netbsd-2:1.11.0.16
	netbsd-2-base:1.11
	netbsd-2-0-RELEASE:1.11
	netbsd-2-0-RC5:1.11
	netbsd-2-0-RC4:1.11
	netbsd-2-0-RC3:1.11
	netbsd-2-0-RC2:1.11
	netbsd-2-0-RC1:1.11
	netbsd-2-0:1.11.0.14
	netbsd-2-0-base:1.11
	netbsd-1-6-PATCH002-RELEASE:1.11
	netbsd-1-6-PATCH002:1.11
	netbsd-1-6-PATCH002-RC4:1.11
	netbsd-1-6-PATCH002-RC3:1.11
	netbsd-1-6-PATCH002-RC2:1.11
	netbsd-1-6-PATCH002-RC1:1.11
	netbsd-1-6-PATCH001:1.11
	netbsd-1-6-PATCH001-RELEASE:1.11
	netbsd-1-6-PATCH001-RC3:1.11
	netbsd-1-6-PATCH001-RC2:1.11
	netbsd-1-6-PATCH001-RC1:1.11
	fvdl_fs64_base:1.11
	netbsd-1-6-RELEASE:1.11
	netbsd-1-6-RC3:1.11
	netbsd-1-6-RC2:1.11
	netbsd-1-6-RC1:1.11
	netbsd-1-6:1.11.0.12
	netbsd-1-6-base:1.11
	netbsd-1-5-PATCH003:1.11
	netbsd-1-5-PATCH002:1.11
	netbsd-1-5-PATCH001:1.11
	netbsd-1-5-RELEASE:1.11
	netbsd-1-5-BETA2:1.11
	netbsd-1-5-BETA:1.11
	netbsd-1-4-PATCH003:1.11
	netbsd-1-5-ALPHA2:1.11
	netbsd-1-5:1.11.0.10
	netbsd-1-5-base:1.11
	minoura-xpg4dl:1.11.0.8
	minoura-xpg4dl-base:1.11
	netbsd-1-4-PATCH002:1.11
	wrstuden-devbsize-19991221:1.11
	wrstuden-devbsize:1.11.0.6
	wrstuden-devbsize-base:1.11
	comdex-fall-1999:1.11.0.4
	comdex-fall-1999-base:1.11
	netbsd-1-4-PATCH001:1.11
	netbsd-1-4-RELEASE:1.11
	netbsd-1-4:1.11.0.2
	netbsd-1-4-base:1.11
	netbsd-1-3-PATCH003:1.8.2.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.8.2.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.8.2.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.8.2.1
	netbsd-1-3-PATCH002:1.8.2.1
	netbsd-1-3-PATCH001:1.8.2.1
	netbsd-1-3-RELEASE:1.8.2.1
	netbsd-1-3-BETA:1.8.2.1
	netbsd-1-3:1.8.0.2
	netbsd-1-3-base:1.8
	cjs-build-against-obj-dir:1.7.0.2
	netbsd-1-2-PATCH001:1.2
	netbsd-1-2-RELEASE:1.2
	netbsd-1-2-BETA:1.2
	netbsd-1-2-base:1.2
	netbsd-1-2:1.2.0.4
	netbsd-1-1-PATCH001:1.1.2.1
	netbsd-1-1-RELEASE:1.1.2.1
	netbsd-1-1:1.1.0.2;
locks; strict;
comment	@# @;


1.12
date	2010.07.05.21.27.56;	author mrg;	state dead;
branches;
next	1.11;

1.11
date	99.03.19.22.54.41;	author thorpej;	state Exp;
branches;
next	1.10;

1.10
date	98.10.31.09.22.29;	author matt;	state Exp;
branches;
next	1.9;

1.9
date	97.10.22.16.03.51;	author lukem;	state Exp;
branches;
next	1.8;

1.8
date	97.05.31.21.21.49;	author cjs;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	97.05.29.15.13.16;	author cjs;	state Exp;
branches;
next	1.6;

1.6
date	97.05.26.03.57.32;	author cjs;	state Exp;
branches;
next	1.5;

1.5
date	97.05.09.07.50.12;	author mycroft;	state Exp;
branches;
next	1.4;

1.4
date	96.10.18.05.36.59;	author thorpej;	state Exp;
branches;
next	1.3;

1.3
date	96.10.18.05.27.47;	author thorpej;	state Exp;
branches;
next	1.2;

1.2
date	95.12.12.08.04.49;	author ragge;	state Exp;
branches;
next	1.1;

1.1
date	95.10.15.19.40.08;	author ragge;	state dead;
branches
	1.1.2.1;
next	;

1.8.2.1
date	97.11.09.00.59.41;	author lukem;	state Exp;
branches;
next	;

1.1.2.1
date	95.10.15.19.40.08;	author ragge;	state Exp;
branches;
next	;


desc
@@


1.12
log
@delete all the a.out csu code.
@
text
@#	$NetBSD: Makefile,v 1.11 1999/03/19 22:54:41 thorpej Exp $

.include "${.CURDIR}/../common_aout/Makefile.inc"
@


1.11
log
@Ajust for new location of a.out crt0 Makefile fragment.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 1998/10/31 09:22:29 matt Exp $
@


1.10
log
@Enable shared libraries.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 1997/10/27 01:03:45 lukem Exp $
d3 1
a3 1
.include "${.CURDIR}/../Makefile.csu.aout"
@


1.9
log
@* use CPPFLAGS instead of CFLAGS for -D and -I options
* use COPTS instead of CFLAGS for -fPIC et al
* use ${COMPILE.c} instead of ${CC} ${CFLAGS} -c
* use FILES and FILESDIR to install pc532 objects (instead of install: rule) -
  this makes it consistent with the other a.out ports (arm32, i386, m68k, sparc)
@
text
@d1 1
a1 2
#	$NetBSD: Makefile,v 1.8 1997/05/31 21:21:49 cjs Exp $
#	from: @@(#)Makefile	5.6 (Berkeley) 5/22/91
d3 1
a3 26
CPPFLAGS+=	-DLIBC_SCCS -I${.CURDIR}/..
OBJS=		crt0.o gcrt0.o scrt0.o
CLEANFILES+=	core a.out

all: ${OBJS}

crt0.o: crt0.c
	${COMPILE.c} -DCRT0 -UDYNAMIC ${.ALLSRC}
	${LD} -x -r ${.TARGET}
	mv a.out ${.TARGET}

gcrt0.o: crt0.c
	${COMPILE.c} -DMCRT0 ${.ALLSRC} -o ${.TARGET}
	${LD} -x -r ${.TARGET}
	mv a.out ${.TARGET}

scrt0.o: crt0.c
	${COMPILE.c} -DSCRT0 ${.ALLSRC} -o ${.TARGET}
	${LD} -x -r ${.TARGET}
	mv a.out ${.TARGET}

install:
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
	    ${DESTDIR}/usr/lib

.include <bsd.prog.mk>
@


1.8
log
@Back out BUILDDIR and NOINSTALL changes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 1997/05/09 07:50:12 mycroft Exp $
d4 1
a4 1
CFLAGS+=	-DLIBC_SCCS -I${.CURDIR}/..
@


1.8.2.1
log
@sync with trunk (approved by thorpej)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 1997/10/22 16:03:51 lukem Exp $
d4 1
a4 1
CPPFLAGS+=	-DLIBC_SCCS -I${.CURDIR}/..
@


1.7
log
@These makefiles need to include bsd.own.mk early-on so that they
know BUILDDIR and OBJDIR.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 1997/05/26 03:57:32 cjs Exp $
a7 2
.include	<bsd.own.mk>	# for OBJDIR and BUILDDIR

a13 7
.if defined(OBJDIR)
	@@echo install -d ${BUILDDIR}${LIBDIR}
	@@install -d ${BUILDDIR}${LIBDIR}
	@@echo ${BUILDDIR}${LIBDIR}/${.TARGET} '->' `pwd`/${.TARGET};
	@@rm -f ${BUILDDIR}${LIBDIR}/${.TARGET};
	@@ln -s `pwd`/${.TARGET} ${BUILDDIR}${LIBDIR}/${.TARGET};
.endif
a18 7
.if defined(OBJDIR)
	@@echo install -d ${BUILDDIR}${LIBDIR}
	@@install -d ${BUILDDIR}${LIBDIR}
	@@echo ${BUILDDIR}${LIBDIR}/${.TARGET} '->' `pwd`/${.TARGET};
	@@rm -f ${BUILDDIR}${LIBDIR}/${.TARGET};
	@@ln -s `pwd`/${.TARGET} ${BUILDDIR}${LIBDIR}/${.TARGET};
.endif
a23 7
.if defined(OBJDIR)
	@@echo install -d ${BUILDDIR}${LIBDIR}
	@@install -d ${BUILDDIR}${LIBDIR}
	@@echo ${BUILDDIR}${LIBDIR}/${.TARGET} '->' `pwd`/${.TARGET};
	@@rm -f ${BUILDDIR}${LIBDIR}/${.TARGET};
	@@ln -s `pwd`/${.TARGET} ${BUILDDIR}${LIBDIR}/${.TARGET};
.endif
@


1.6
log
@These updates to the build allow building against include files
and libs in the object tree, if you use a separate object tree,
while maintaining backward compatability with other build methods.
See the notes in src/share/mk/bsd.README for full details. Note
that the `make includes' target now only installs the include files
in the build directory (if you use one--otherwise they go in DESTDIR
just like before); `make install' will install include files in
DESTDIR.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 1997/05/09 07:50:12 mycroft Exp $
d7 2
@


1.5
log
@Eliminate bogus redefinitions of standard targets.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 1996/10/18 05:36:59 thorpej Exp $
d14 7
d26 7
d38 7
@


1.4
log
@RCS id police.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 1996/10/18 05:27:47 thorpej Exp $
a27 2

depend lint tags:
@


1.3
log
@Use ${INSTALL}.
@
text
@d1 1
a2 1
#	$Id: Makefile,v 1.2 1995/12/12 08:04:49 ragge Exp $
@


1.2
log
@Really needed files, forgot them in -current after 1.1.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.1.2.1 1995/10/15 19:40:08 ragge Exp $
d26 1
a26 1
	install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
@


1.1
log
@file Makefile was initially added on branch netbsd-1-1.
@
text
@d1 31
@


1.1.2.1
log
@lib/csu checked in.
@
text
@a0 31
#	from: @@(#)Makefile	5.6 (Berkeley) 5/22/91
#	$Id: Makefile,v 1.15 1995/06/05 01:57:04 pk Exp $

CFLAGS+=	-DLIBC_SCCS -I${.CURDIR}/..
OBJS=		crt0.o gcrt0.o scrt0.o
CLEANFILES+=	core a.out

all: ${OBJS}

crt0.o: crt0.c
	${COMPILE.c} -DCRT0 -UDYNAMIC ${.ALLSRC}
	${LD} -x -r ${.TARGET}
	mv a.out ${.TARGET}

gcrt0.o: crt0.c
	${COMPILE.c} -DMCRT0 ${.ALLSRC} -o ${.TARGET}
	${LD} -x -r ${.TARGET}
	mv a.out ${.TARGET}

scrt0.o: crt0.c
	${COMPILE.c} -DSCRT0 ${.ALLSRC} -o ${.TARGET}
	${LD} -x -r ${.TARGET}
	mv a.out ${.TARGET}

install:
	install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
	    ${DESTDIR}/usr/lib

depend lint tags:

.include <bsd.prog.mk>
@
