head	1.19;
access;
symbols
	perseant-exfatfs-base-20250801:1.19
	perseant-exfatfs-base-20240630:1.19
	perseant-exfatfs:1.19.0.24
	perseant-exfatfs-base:1.19
	cjep_sun2x:1.19.0.22
	cjep_sun2x-base:1.19
	cjep_staticlib_x-base1:1.19
	cjep_staticlib_x:1.19.0.20
	cjep_staticlib_x-base:1.19
	phil-wifi-20200421:1.19
	phil-wifi-20200411:1.19
	phil-wifi-20200406:1.19
	pgoyette-compat-merge-20190127:1.19
	pgoyette-compat-20190127:1.19
	pgoyette-compat-20190118:1.19
	pgoyette-compat-1226:1.19
	pgoyette-compat-1126:1.19
	pgoyette-compat-1020:1.19
	pgoyette-compat-0930:1.19
	pgoyette-compat-0906:1.19
	pgoyette-compat-0728:1.19
	pgoyette-compat-0625:1.19
	pgoyette-compat-0521:1.19
	pgoyette-compat-0502:1.19
	pgoyette-compat-0422:1.19
	pgoyette-compat-0415:1.19
	pgoyette-compat-0407:1.19
	pgoyette-compat-0330:1.19
	pgoyette-compat-0322:1.19
	pgoyette-compat-0315:1.19
	pgoyette-compat:1.19.0.18
	pgoyette-compat-base:1.19
	perseant-stdc-iso10646:1.19.0.16
	perseant-stdc-iso10646-base:1.19
	prg-localcount2-base3:1.19
	prg-localcount2-base2:1.19
	prg-localcount2-base1:1.19
	prg-localcount2:1.19.0.14
	prg-localcount2-base:1.19
	pgoyette-localcount-20170426:1.19
	bouyer-socketcan-base1:1.19
	pgoyette-localcount-20170320:1.19
	bouyer-socketcan:1.19.0.12
	bouyer-socketcan-base:1.19
	pgoyette-localcount-20170107:1.19
	pgoyette-localcount-20161104:1.19
	localcount-20160914:1.19
	pgoyette-localcount-20160806:1.19
	pgoyette-localcount-20160726:1.19
	pgoyette-localcount:1.19.0.10
	pgoyette-localcount-base:1.19
	netbsd-5-2-3-RELEASE:1.18
	netbsd-5-1-5-RELEASE:1.18
	yamt-pagecache-base9:1.19
	yamt-pagecache-tag8:1.19
	tls-earlyentropy:1.19.0.6
	tls-earlyentropy-base:1.19
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.19
	riastradh-drm2-base3:1.19
	netbsd-5-2-2-RELEASE:1.18
	netbsd-5-1-4-RELEASE:1.18
	netbsd-5-2-1-RELEASE:1.18
	netbsd-5-1-3-RELEASE:1.18
	agc-symver:1.19.0.8
	agc-symver-base:1.19
	tls-maxphys-base:1.19
	yamt-pagecache-base8:1.19
	netbsd-5-2:1.18.0.62
	yamt-pagecache-base7:1.19
	netbsd-5-2-RELEASE:1.18
	netbsd-5-2-RC1:1.18
	yamt-pagecache-base6:1.19
	yamt-pagecache-base5:1.19
	yamt-pagecache-base4:1.19
	netbsd-5-1-2-RELEASE:1.18
	netbsd-5-1-1-RELEASE:1.18
	yamt-pagecache-base3:1.19
	yamt-pagecache-base2:1.19
	yamt-pagecache:1.19.0.4
	yamt-pagecache-base:1.19
	bouyer-quota2-nbase:1.19
	bouyer-quota2:1.19.0.2
	bouyer-quota2-base:1.19
	matt-nb5-mips64-premerge-20101231:1.18
	matt-nb5-pq3:1.18.0.60
	matt-nb5-pq3-base:1.18
	netbsd-5-1:1.18.0.58
	netbsd-5-1-RELEASE:1.18
	netbsd-5-1-RC4:1.18
	matt-nb5-mips64-k15:1.18
	netbsd-5-1-RC3:1.18
	netbsd-5-1-RC2:1.18
	netbsd-5-1-RC1:1.18
	netbsd-5-0-2-RELEASE:1.18
	matt-nb5-mips64-premerge-20091211:1.18
	matt-premerge-20091211:1.18
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.18
	matt-nb4-mips64-k7-u2a-k9b:1.18
	matt-nb5-mips64-u1-k1-k5:1.18
	matt-nb5-mips64:1.18.0.56
	netbsd-5-0-1-RELEASE:1.18
	jym-xensuspend-nbase:1.18
	netbsd-5-0:1.18.0.54
	netbsd-5-0-RELEASE:1.18
	netbsd-5-0-RC4:1.18
	netbsd-5-0-RC3:1.18
	netbsd-5-0-RC2:1.18
	jym-xensuspend:1.18.0.52
	jym-xensuspend-base:1.18
	netbsd-5-0-RC1:1.18
	netbsd-5:1.18.0.50
	netbsd-5-base:1.18
	matt-mips64-base2:1.18
	matt-mips64:1.18.0.48
	mjf-devfs2:1.18.0.46
	mjf-devfs2-base:1.18
	netbsd-4-0-1-RELEASE:1.18
	wrstuden-revivesa-base-3:1.18
	wrstuden-revivesa-base-2:1.18
	wrstuden-fixsa-newbase:1.18
	wrstuden-revivesa-base-1:1.18
	yamt-pf42-base4:1.18
	yamt-pf42-base3:1.18
	hpcarm-cleanup-nbase:1.18
	yamt-pf42-baseX:1.18
	yamt-pf42-base2:1.18
	wrstuden-revivesa:1.18.0.44
	wrstuden-revivesa-base:1.18
	yamt-pf42:1.18.0.42
	yamt-pf42-base:1.18
	keiichi-mipv6:1.18.0.40
	keiichi-mipv6-base:1.18
	matt-armv6-nbase:1.18
	matt-armv6-prevmlocking:1.18
	wrstuden-fixsa-base-1:1.18
	netbsd-4-0:1.18.0.38
	netbsd-4-0-RELEASE:1.18
	cube-autoconf:1.18.0.36
	cube-autoconf-base:1.18
	netbsd-4-0-RC5:1.18
	netbsd-4-0-RC4:1.18
	netbsd-4-0-RC3:1.18
	netbsd-4-0-RC2:1.18
	netbsd-4-0-RC1:1.18
	matt-armv6:1.18.0.34
	matt-armv6-base:1.18
	matt-mips64-base:1.18
	hpcarm-cleanup:1.18.0.32
	hpcarm-cleanup-base:1.18
	netbsd-3-1-1-RELEASE:1.18
	netbsd-3-0-3-RELEASE:1.18
	wrstuden-fixsa:1.18.0.30
	wrstuden-fixsa-base:1.18
	abandoned-netbsd-4-base:1.18
	abandoned-netbsd-4:1.18.0.24
	netbsd-3-1:1.18.0.26
	netbsd-3-1-RELEASE:1.18
	netbsd-3-0-2-RELEASE:1.18
	netbsd-3-1-RC4:1.18
	netbsd-3-1-RC3:1.18
	netbsd-3-1-RC2:1.18
	netbsd-3-1-RC1:1.18
	netbsd-4:1.18.0.28
	netbsd-4-base:1.18
	netbsd-3-0-1-RELEASE:1.18
	netbsd-3-0:1.18.0.22
	netbsd-3-0-RELEASE:1.18
	netbsd-3-0-RC6:1.18
	netbsd-3-0-RC5:1.18
	netbsd-3-0-RC4:1.18
	netbsd-3-0-RC3:1.18
	netbsd-3-0-RC2:1.18
	netbsd-3-0-RC1:1.18
	netbsd-2-0-3-RELEASE:1.18
	netbsd-2-1:1.18.0.20
	netbsd-2-1-RELEASE:1.18
	netbsd-2-1-RC6:1.18
	netbsd-2-1-RC5:1.18
	netbsd-2-1-RC4:1.18
	netbsd-2-1-RC3:1.18
	netbsd-2-1-RC2:1.18
	netbsd-2-1-RC1:1.18
	netbsd-2-0-2-RELEASE:1.18
	netbsd-3:1.18.0.18
	netbsd-3-base:1.18
	netbsd-2-0-1-RELEASE:1.18
	netbsd-2:1.18.0.16
	netbsd-2-base:1.18
	netbsd-2-0-RELEASE:1.18
	netbsd-2-0-RC5:1.18
	netbsd-2-0-RC4:1.18
	netbsd-2-0-RC3:1.18
	netbsd-2-0-RC2:1.18
	netbsd-2-0-RC1:1.18
	netbsd-2-0:1.18.0.14
	netbsd-2-0-base:1.18
	netbsd-1-6-PATCH002-RELEASE:1.18
	netbsd-1-6-PATCH002:1.18
	netbsd-1-6-PATCH002-RC4:1.18
	netbsd-1-6-PATCH002-RC3:1.18
	netbsd-1-6-PATCH002-RC2:1.18
	netbsd-1-6-PATCH002-RC1:1.18
	netbsd-1-6-PATCH001:1.18
	netbsd-1-6-PATCH001-RELEASE:1.18
	netbsd-1-6-PATCH001-RC3:1.18
	netbsd-1-6-PATCH001-RC2:1.18
	netbsd-1-6-PATCH001-RC1:1.18
	fvdl_fs64_base:1.18
	netbsd-1-6-RELEASE:1.18
	netbsd-1-6-RC3:1.18
	netbsd-1-6-RC2:1.18
	netbsd-1-6-RC1:1.18
	netbsd-1-6:1.18.0.12
	netbsd-1-6-base:1.18
	netbsd-1-5-PATCH003:1.18
	netbsd-1-5-PATCH002:1.18
	netbsd-1-5-PATCH001:1.18
	netbsd-1-5-RELEASE:1.18
	netbsd-1-5-BETA2:1.18
	netbsd-1-5-BETA:1.18
	netbsd-1-4-PATCH003:1.18
	netbsd-1-5-ALPHA2:1.18
	netbsd-1-5:1.18.0.10
	netbsd-1-5-base:1.18
	minoura-xpg4dl:1.18.0.8
	minoura-xpg4dl-base:1.18
	netbsd-1-4-PATCH002:1.18
	wrstuden-devbsize-19991221:1.18
	wrstuden-devbsize:1.18.0.6
	wrstuden-devbsize-base:1.18
	comdex-fall-1999:1.18.0.4
	comdex-fall-1999-base:1.18
	netbsd-1-4-PATCH001:1.18
	netbsd-1-4-RELEASE:1.18
	netbsd-1-4:1.18.0.2
	netbsd-1-4-base:1.18
	netbsd-1-3-PATCH003:1.14.2.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.14.2.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.14.2.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.14.2.1
	netbsd-1-3-PATCH002:1.14.2.1
	netbsd-1-3-PATCH001:1.14.2.1
	netbsd-1-3-RELEASE:1.14.2.1
	netbsd-1-3-BETA:1.14.2.1
	netbsd-1-3:1.14.0.2
	netbsd-1-3-base:1.14
	cjs-build-against-obj-dir:1.12.0.2
	netbsd-1-2-PATCH001:1.7
	netbsd-1-2-RELEASE:1.7
	netbsd-1-2-BETA:1.7
	netbsd-1-2-base:1.7
	netbsd-1-2:1.7.0.6
	netbsd-1-1-PATCH001:1.7
	netbsd-1-1-RELEASE:1.7
	netbsd-1-1:1.7.0.2
	netbsd-1-1-base:1.7
	netbsd-1-0-PATCH06:1.3
	netbsd-1-0-PATCH05:1.3
	netbsd-1-0-PATCH04:1.3
	netbsd-1-0-PATCH03:1.3
	netbsd-1-0-PATCH02:1.3
	netbsd-1-0-PATCH1:1.3
	netbsd-1-0-PATCH0:1.3
	netbsd-1-0-RELEASE:1.3
	netbsd-1-0:1.3.0.2
	netbsd-1-0-base:1.3;
locks; strict;
comment	@# @;


1.19
date	2010.07.05.21.27.56;	author mrg;	state dead;
branches;
next	1.18;

1.18
date	99.03.19.22.54.40;	author thorpej;	state Exp;
branches;
next	1.17;

1.17
date	97.10.27.01.03.56;	author lukem;	state Exp;
branches;
next	1.16;

1.16
date	97.10.24.00.35.23;	author lukem;	state Exp;
branches;
next	1.15;

1.15
date	97.10.22.16.02.08;	author lukem;	state Exp;
branches;
next	1.14;

1.14
date	97.06.12.12.18.11;	author veego;	state Exp;
branches
	1.14.2.1;
next	1.13;

1.13
date	97.05.31.21.21.44;	author cjs;	state Exp;
branches;
next	1.12;

1.12
date	97.05.29.15.57.45;	author veego;	state Exp;
branches;
next	1.11;

1.11
date	97.05.29.15.13.04;	author cjs;	state Exp;
branches;
next	1.10;

1.10
date	97.05.26.03.56.45;	author cjs;	state Exp;
branches;
next	1.9;

1.9
date	96.10.18.05.36.52;	author thorpej;	state Exp;
branches;
next	1.8;

1.8
date	96.10.18.05.27.42;	author thorpej;	state Exp;
branches;
next	1.7;

1.7
date	95.09.29.11.23.18;	author pk;	state Exp;
branches;
next	1.6;

1.6
date	95.06.05.01.57.17;	author pk;	state Exp;
branches;
next	1.5;

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

1.4
date	95.01.07.23.10.44;	author mycroft;	state Exp;
branches;
next	1.3;

1.3
date	94.05.14.06.33.14;	author cgd;	state Exp;
branches;
next	1.2;

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

1.1
date	93.11.25.23.22.41;	author paulus;	state Exp;
branches;
next	;

1.14.2.1
date	97.11.09.00.59.26;	author lukem;	state Exp;
branches;
next	;


desc
@@


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

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


1.18
log
@Ajust for new location of a.out crt0 Makefile fragment.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 1997/10/27 01:03:56 lukem Exp $
@


1.17
log
@use a common Makefile.csu.aout for the a.out ports
@
text
@d1 1
a1 1
#	$NetBSD$
d3 1
a3 1
.include "${.CURDIR}/../Makefile.csu.aout"
@


1.16
log
@use ${.CURDIR}/${SRCS} instead of ${.ALLSRC} (from i386/Makefile)
@
text
@d1 1
a1 2
#	$NetBSD: Makefile,v 1.24 1997/10/23 21:42:54 christos Exp $
#	from: @@(#)Makefile	5.5 (Berkeley) 5/21/91
d3 1
a3 38
CPPFLAGS+=	-DLIBC_SCCS -I${.CURDIR}/..
OBJS=		crt0.o gcrt0.o scrt0.o
SRCS=		crt0.c

all: ${OBJS}

crt0.o: ${SRCS}
	@@echo "${COMPILE.c} -DCRT0 -DDYNAMIC ${.CURDIR}/${SRCS} -o ${.TARGET}"
	@@${COMPILE.c} -DCRT0 -DDYNAMIC ${.CURDIR}/${SRCS} -o ${.TARGET}.o
	@@${LD} -x -r -o ${.TARGET} ${.TARGET}.o
	@@rm -f ${.TARGET}.o

gcrt0.o: ${SRCS}
	@@echo "${COMPILE.c} -DMCRT0 ${.CURDIR}/${SRCS} -o ${.TARGET}"
	@@${COMPILE.c} -DMCRT0 ${.CURDIR}/${SRCS} -o ${.TARGET}.o
	@@${LD} -x -r -o ${.TARGET} ${.TARGET}.o
	@@rm -f ${.TARGET}.o

scrt0.o: ${SRCS}
	@@echo "${COMPILE.c} -DSCRT0 ${.CURDIR}/${SRCS} -o ${.TARGET}"
	@@${COMPILE.c} -DSCRT0 ${.CURDIR}/${SRCS} -o ${.TARGET}.o
	@@${LD} -x -r -o ${.TARGET} ${.TARGET}.o
	@@rm -f ${.TARGET}.o

.if make(depend)
CPPFLAGS+= -DDYNAMIC
.endif

afterdepend: .depend
	@@(TMP=/tmp/_depend$$$$; \
		sed -e 's/^\([^\.]*\).o[ ]*:/\1.o g\1.o s\1.o:/' \
		< .depend > $$TMP; \
	mv $$TMP .depend)

FILES=${OBJS}
FILESDIR=/usr/lib

.include <bsd.prog.mk>
@


1.15
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 1
#	$NetBSD: Makefile,v 1.14 1997/06/12 12:18:11 veego Exp $
d11 2
a12 2
	@@echo "${COMPILE.c} -DCRT0 -DDYNAMIC ${.ALLSRC} -o ${.TARGET}"
	@@${COMPILE.c} -DCRT0 -DDYNAMIC ${.ALLSRC} -o ${.TARGET}.o
d17 2
a18 2
	@@echo "${COMPILE.c} -DMCRT0 ${.ALLSRC} -o ${.TARGET}"
	@@${COMPILE.c} -DMCRT0 ${.ALLSRC} -o ${.TARGET}.o
d23 2
a24 2
	@@echo "${COMPILE.c} -DSCRT0 ${.ALLSRC} -o ${.TARGET}"
	@@${COMPILE.c} -DSCRT0 ${.ALLSRC} -o ${.TARGET}.o
@


1.14
log
@Use FILES and FILESDIR instead of install:
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 1997/05/31 21:21:44 cjs Exp $
d4 1
a4 1
CFLAGS+=	-DLIBC_SCCS -I${.CURDIR}/..
d11 3
a13 3
	@@echo "${COMPILE.c} -DCRT0 -DDYNAMIC ${.CURDIR}/${SRCS} -o ${.TARGET}"
	@@${COMPILE.c} -DCRT0 -DDYNAMIC ${.CURDIR}/${SRCS} -o ${.TARGET}.o
	@@${LD} -x -r ${.TARGET}.o -o ${.TARGET}
d17 3
a19 3
	@@echo "${COMPILE.c} -DMCRT0 ${.CURDIR}/${SRCS} -o ${.TARGET}"
	@@${COMPILE.c} -DMCRT0 ${.CURDIR}/${SRCS} -o ${.TARGET}.o
	@@${LD} -x -r ${.TARGET}.o -o ${.TARGET}
d23 3
a25 3
	@@echo "${COMPILE.c} -DSCRT0 ${.CURDIR}/${SRCS} -o ${.TARGET}"
	@@${COMPILE.c} -DSCRT0 ${.CURDIR}/${SRCS} -o ${.TARGET}.o
	@@${LD} -x -r ${.TARGET}.o -o ${.TARGET}
@


1.14.2.1
log
@sync with trunk (approved by thorpej)
@
text
@d1 2
a2 1
#	$NetBSD: Makefile,v 1.17 1997/10/27 01:03:56 lukem Exp $
d4 38
a41 1
.include "${.CURDIR}/../Makefile.csu.aout"
@


1.13
log
@Back out BUILDDIR and NOINSTALL changes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 1996/10/18 05:36:52 thorpej Exp $
a27 4
install:
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
	    ${DESTDIR}/usr/lib

d37 3
@


1.12
log
@Remove the install: line and use FILES and FILESDIR.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 1997/05/29 15:13:04 cjs Exp $
a7 2
.include	<bsd.own.mk>	# for OBJDIR and BUILDDIR

a14 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
a20 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
d27 4
a30 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
a40 3

FILES=${OBJS}
FILESDIR=/usr/lib
@


1.11
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.10 1997/05/26 03:56:45 cjs Exp $
a50 4
install:
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
	    ${DESTDIR}/usr/lib

d60 3
@


1.10
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.9 1996/10/18 05:36:52 thorpej Exp $
d7 2
@


1.9
log
@RCS id police.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 1996/10/18 05:27:42 thorpej Exp $
d15 7
d28 7
d41 7
@


1.8
log
@Use ${INSTALL}.
@
text
@d1 1
a2 1
#	$Id: Makefile,v 1.7 1995/09/29 11:23:18 pk Exp $
@


1.7
log
@Make `make depend' work. For this, it was necessary to remove ${.ALLSRC}
from the build rules; it has been replaced with `${.CURDIR}/${SRCS}'.
Also, avoid "a.out" like <mk/bsd.lib.mk>.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.7 1995/06/05 01:57:31 pk Exp $
d29 1
a29 1
	install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
@


1.6
log
@Build run-time code for use in static executables, called `scrt0.o'.
@
text
@d1 2
a2 2
#	from: @@(#)Makefile	5.6 (Berkeley) 5/22/91
#	$Id: Makefile,v 1.5 1995/06/03 13:16:10 pk Exp $
d6 1
a6 1
CLEANFILES+=	core a.out
d10 17
a26 14
crt0.o: crt0.c
	${COMPILE.c} -DCRT0 -DDYNAMIC ${.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}
d32 9
a40 1
depend lint tags:
@


1.5
log
@Factor out common code.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.4 1995/01/07 23:10:44 mycroft Exp $
d4 2
a5 2
CFLAGS+=	-DLIBC_SCCS -DDYNAMIC -I${.CURDIR}/..
OBJS=		crt0.o gcrt0.o
d11 1
a11 1
	${COMPILE.c} -DCRT0 ${.ALLSRC}
d17 5
@


1.4
log
@Patch from Giles Lean to make compilation flags more consistent.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.3 1994/05/14 06:33:14 cgd Exp $
d4 1
a4 1
CFLAGS+=	-DLIBC_SCCS -DDYNAMIC
@


1.3
log
@kill all gprof-related stuff; it's now in libc, and the header is elsewhere
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.2 1994/02/10 01:10:17 cgd Exp $
d11 1
a11 1
	${CC} ${CFLAGS} -c -DCRT0 ${.ALLSRC}
d16 1
a16 1
	${CC} ${CFLAGS} -c -DMCRT0 ${.ALLSRC} -o ${.TARGET}
@


1.2
log
@kill bogus install -d's.  the one for /usr/include/rpcsvc is still here.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.1 1993/11/25 23:22:41 paulus Exp $
d6 1
a6 1
CLEANFILES+=	gmon.o moncrt0.o core a.out
d15 1
a15 1
moncrt0.o: crt0.c
a16 8
	${LD} -x -r ${.TARGET}
	mv a.out ${.TARGET}

gcrt0.o: moncrt0.o gmon.o
	${LD} -x -r -o ${.TARGET} moncrt0.o gmon.o

gmon.o: gmon.c gmon.h
	${CC} ${CFLAGS} -c ${.IMPSRC}
@


1.1
log
@C-startup routines for generic m68k machines, with shared library support.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.10 1993/11/04 10:51:39 pk Exp $
a28 1
	install -d -o ${BINOWN} -g ${BINGRP} -m 0755 ${DESTDIR}/usr/lib
@
