head	1.27;
access;
symbols
	perseant-exfatfs-base-20250801:1.27
	perseant-exfatfs-base-20240630:1.27
	perseant-exfatfs:1.27.0.24
	perseant-exfatfs-base:1.27
	cjep_sun2x:1.27.0.22
	cjep_sun2x-base:1.27
	cjep_staticlib_x-base1:1.27
	cjep_staticlib_x:1.27.0.20
	cjep_staticlib_x-base:1.27
	phil-wifi-20200421:1.27
	phil-wifi-20200411:1.27
	phil-wifi-20200406:1.27
	pgoyette-compat-merge-20190127:1.27
	pgoyette-compat-20190127:1.27
	pgoyette-compat-20190118:1.27
	pgoyette-compat-1226:1.27
	pgoyette-compat-1126:1.27
	pgoyette-compat-1020:1.27
	pgoyette-compat-0930:1.27
	pgoyette-compat-0906:1.27
	pgoyette-compat-0728:1.27
	pgoyette-compat-0625:1.27
	pgoyette-compat-0521:1.27
	pgoyette-compat-0502:1.27
	pgoyette-compat-0422:1.27
	pgoyette-compat-0415:1.27
	pgoyette-compat-0407:1.27
	pgoyette-compat-0330:1.27
	pgoyette-compat-0322:1.27
	pgoyette-compat-0315:1.27
	pgoyette-compat:1.27.0.18
	pgoyette-compat-base:1.27
	perseant-stdc-iso10646:1.27.0.16
	perseant-stdc-iso10646-base:1.27
	prg-localcount2-base3:1.27
	prg-localcount2-base2:1.27
	prg-localcount2-base1:1.27
	prg-localcount2:1.27.0.14
	prg-localcount2-base:1.27
	pgoyette-localcount-20170426:1.27
	bouyer-socketcan-base1:1.27
	pgoyette-localcount-20170320:1.27
	bouyer-socketcan:1.27.0.12
	bouyer-socketcan-base:1.27
	pgoyette-localcount-20170107:1.27
	pgoyette-localcount-20161104:1.27
	localcount-20160914:1.27
	pgoyette-localcount-20160806:1.27
	pgoyette-localcount-20160726:1.27
	pgoyette-localcount:1.27.0.10
	pgoyette-localcount-base:1.27
	netbsd-5-2-3-RELEASE:1.26
	netbsd-5-1-5-RELEASE:1.26
	yamt-pagecache-base9:1.27
	yamt-pagecache-tag8:1.27
	tls-earlyentropy:1.27.0.6
	tls-earlyentropy-base:1.27
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.27
	riastradh-drm2-base3:1.27
	netbsd-5-2-2-RELEASE:1.26
	netbsd-5-1-4-RELEASE:1.26
	netbsd-5-2-1-RELEASE:1.26
	netbsd-5-1-3-RELEASE:1.26
	agc-symver:1.27.0.8
	agc-symver-base:1.27
	tls-maxphys-base:1.27
	yamt-pagecache-base8:1.27
	netbsd-5-2:1.26.0.62
	yamt-pagecache-base7:1.27
	netbsd-5-2-RELEASE:1.26
	netbsd-5-2-RC1:1.26
	yamt-pagecache-base6:1.27
	yamt-pagecache-base5:1.27
	yamt-pagecache-base4:1.27
	netbsd-5-1-2-RELEASE:1.26
	netbsd-5-1-1-RELEASE:1.26
	yamt-pagecache-base3:1.27
	yamt-pagecache-base2:1.27
	yamt-pagecache:1.27.0.4
	yamt-pagecache-base:1.27
	bouyer-quota2-nbase:1.27
	bouyer-quota2:1.27.0.2
	bouyer-quota2-base:1.27
	matt-nb5-mips64-premerge-20101231:1.26
	matt-nb5-pq3:1.26.0.60
	matt-nb5-pq3-base:1.26
	netbsd-5-1:1.26.0.58
	netbsd-5-1-RELEASE:1.26
	netbsd-5-1-RC4:1.26
	matt-nb5-mips64-k15:1.26
	netbsd-5-1-RC3:1.26
	netbsd-5-1-RC2:1.26
	netbsd-5-1-RC1:1.26
	netbsd-5-0-2-RELEASE:1.26
	matt-nb5-mips64-premerge-20091211:1.26
	matt-premerge-20091211:1.26
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.26
	matt-nb4-mips64-k7-u2a-k9b:1.26
	matt-nb5-mips64-u1-k1-k5:1.26
	matt-nb5-mips64:1.26.0.56
	netbsd-5-0-1-RELEASE:1.26
	jym-xensuspend-nbase:1.26
	netbsd-5-0:1.26.0.54
	netbsd-5-0-RELEASE:1.26
	netbsd-5-0-RC4:1.26
	netbsd-5-0-RC3:1.26
	netbsd-5-0-RC2:1.26
	jym-xensuspend:1.26.0.52
	jym-xensuspend-base:1.26
	netbsd-5-0-RC1:1.26
	netbsd-5:1.26.0.50
	netbsd-5-base:1.26
	matt-mips64-base2:1.26
	matt-mips64:1.26.0.48
	mjf-devfs2:1.26.0.46
	mjf-devfs2-base:1.26
	netbsd-4-0-1-RELEASE:1.26
	wrstuden-revivesa-base-3:1.26
	wrstuden-revivesa-base-2:1.26
	wrstuden-fixsa-newbase:1.26
	wrstuden-revivesa-base-1:1.26
	yamt-pf42-base4:1.26
	yamt-pf42-base3:1.26
	hpcarm-cleanup-nbase:1.26
	yamt-pf42-baseX:1.26
	yamt-pf42-base2:1.26
	wrstuden-revivesa:1.26.0.44
	wrstuden-revivesa-base:1.26
	yamt-pf42:1.26.0.42
	yamt-pf42-base:1.26
	keiichi-mipv6:1.26.0.40
	keiichi-mipv6-base:1.26
	matt-armv6-nbase:1.26
	matt-armv6-prevmlocking:1.26
	wrstuden-fixsa-base-1:1.26
	netbsd-4-0:1.26.0.38
	netbsd-4-0-RELEASE:1.26
	cube-autoconf:1.26.0.36
	cube-autoconf-base:1.26
	netbsd-4-0-RC5:1.26
	netbsd-4-0-RC4:1.26
	netbsd-4-0-RC3:1.26
	netbsd-4-0-RC2:1.26
	netbsd-4-0-RC1:1.26
	matt-armv6:1.26.0.34
	matt-armv6-base:1.26
	matt-mips64-base:1.26
	hpcarm-cleanup:1.26.0.32
	hpcarm-cleanup-base:1.26
	netbsd-3-1-1-RELEASE:1.26
	netbsd-3-0-3-RELEASE:1.26
	wrstuden-fixsa:1.26.0.30
	wrstuden-fixsa-base:1.26
	abandoned-netbsd-4-base:1.26
	abandoned-netbsd-4:1.26.0.24
	netbsd-3-1:1.26.0.26
	netbsd-3-1-RELEASE:1.26
	netbsd-3-0-2-RELEASE:1.26
	netbsd-3-1-RC4:1.26
	netbsd-3-1-RC3:1.26
	netbsd-3-1-RC2:1.26
	netbsd-3-1-RC1:1.26
	netbsd-4:1.26.0.28
	netbsd-4-base:1.26
	netbsd-3-0-1-RELEASE:1.26
	netbsd-3-0:1.26.0.22
	netbsd-3-0-RELEASE:1.26
	netbsd-3-0-RC6:1.26
	netbsd-3-0-RC5:1.26
	netbsd-3-0-RC4:1.26
	netbsd-3-0-RC3:1.26
	netbsd-3-0-RC2:1.26
	netbsd-3-0-RC1:1.26
	netbsd-2-0-3-RELEASE:1.26
	netbsd-2-1:1.26.0.20
	netbsd-2-1-RELEASE:1.26
	netbsd-2-1-RC6:1.26
	netbsd-2-1-RC5:1.26
	netbsd-2-1-RC4:1.26
	netbsd-2-1-RC3:1.26
	netbsd-2-1-RC2:1.26
	netbsd-2-1-RC1:1.26
	netbsd-2-0-2-RELEASE:1.26
	netbsd-3:1.26.0.18
	netbsd-3-base:1.26
	netbsd-2-0-1-RELEASE:1.26
	netbsd-2:1.26.0.16
	netbsd-2-base:1.26
	netbsd-2-0-RELEASE:1.26
	netbsd-2-0-RC5:1.26
	netbsd-2-0-RC4:1.26
	netbsd-2-0-RC3:1.26
	netbsd-2-0-RC2:1.26
	netbsd-2-0-RC1:1.26
	netbsd-2-0:1.26.0.14
	netbsd-2-0-base:1.26
	netbsd-1-6-PATCH002-RELEASE:1.26
	netbsd-1-6-PATCH002:1.26
	netbsd-1-6-PATCH002-RC4:1.26
	netbsd-1-6-PATCH002-RC3:1.26
	netbsd-1-6-PATCH002-RC2:1.26
	netbsd-1-6-PATCH002-RC1:1.26
	netbsd-1-6-PATCH001:1.26
	netbsd-1-6-PATCH001-RELEASE:1.26
	netbsd-1-6-PATCH001-RC3:1.26
	netbsd-1-6-PATCH001-RC2:1.26
	netbsd-1-6-PATCH001-RC1:1.26
	fvdl_fs64_base:1.26
	netbsd-1-6-RELEASE:1.26
	netbsd-1-6-RC3:1.26
	netbsd-1-6-RC2:1.26
	netbsd-1-6-RC1:1.26
	netbsd-1-6:1.26.0.12
	netbsd-1-6-base:1.26
	netbsd-1-5-PATCH003:1.26
	netbsd-1-5-PATCH002:1.26
	netbsd-1-5-PATCH001:1.26
	netbsd-1-5-RELEASE:1.26
	netbsd-1-5-BETA2:1.26
	netbsd-1-5-BETA:1.26
	netbsd-1-4-PATCH003:1.26
	netbsd-1-5-ALPHA2:1.26
	netbsd-1-5:1.26.0.10
	netbsd-1-5-base:1.26
	minoura-xpg4dl:1.26.0.8
	minoura-xpg4dl-base:1.26
	netbsd-1-4-PATCH002:1.26
	wrstuden-devbsize-19991221:1.26
	wrstuden-devbsize:1.26.0.6
	wrstuden-devbsize-base:1.26
	comdex-fall-1999:1.26.0.4
	comdex-fall-1999-base:1.26
	netbsd-1-4-PATCH001:1.26
	netbsd-1-4-RELEASE:1.26
	netbsd-1-4:1.26.0.2
	netbsd-1-4-base:1.26
	netbsd-1-3-PATCH003:1.21.2.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.21.2.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.21.2.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.21.2.1
	netbsd-1-3-PATCH002:1.21.2.1
	netbsd-1-3-PATCH001:1.21.2.1
	netbsd-1-3-RELEASE:1.21.2.1
	netbsd-1-3-BETA:1.21.2.1
	netbsd-1-3:1.21.0.2
	netbsd-1-3-base:1.21
	cjs-build-against-obj-dir:1.20.0.2
	netbsd-1-2-PATCH001:1.16
	netbsd-1-2-RELEASE:1.16
	netbsd-1-2-BETA:1.16
	netbsd-1-2-base:1.16
	netbsd-1-2:1.16.0.6
	netbsd-1-1-PATCH001:1.16
	netbsd-1-1-RELEASE:1.16
	netbsd-1-1:1.16.0.2
	netbsd-1-1-base:1.16
	netbsd-1-0-PATCH06:1.12
	netbsd-1-0-PATCH05:1.12
	netbsd-1-0-PATCH04:1.12
	netbsd-1-0-PATCH03:1.12
	netbsd-1-0-PATCH02:1.12
	netbsd-1-0-PATCH1:1.12
	netbsd-1-0-PATCH0:1.12
	netbsd-1-0-RELEASE:1.12
	netbsd-1-0:1.12.0.2
	netbsd-1-0-base:1.12
	netbsd-0-9-RELEASE:1.4
	netbsd-0-9-BETA:1.4
	netbsd-0-9-ALPHA2:1.4
	netbsd-0-9-ALPHA:1.4
	netbsd-0-9:1.4.0.2
	netbsd-0-9-base:1.4
	netbsd-0-8:1.2
	netbsd-alpha-1:1.2
	patchkit-0-2-2:1.1.1.1
	WFJ-386bsd-01:1.1.1.1
	WFJ-920714:1.1.1;
locks; strict;
comment	@# @;


1.27
date	2010.07.05.21.27.56;	author mrg;	state dead;
branches;
next	1.26;

1.26
date	99.03.19.22.54.40;	author thorpej;	state Exp;
branches;
next	1.25;

1.25
date	97.10.27.01.03.52;	author lukem;	state Exp;
branches;
next	1.24;

1.24
date	97.10.23.21.42.54;	author christos;	state Exp;
branches;
next	1.23;

1.23
date	97.10.22.16.01.50;	author lukem;	state Exp;
branches;
next	1.22;

1.22
date	97.10.21.23.59.18;	author lukem;	state Exp;
branches;
next	1.21;

1.21
date	97.05.31.21.21.42;	author cjs;	state Exp;
branches
	1.21.2.1;
next	1.20;

1.20
date	97.05.26.03.56.38;	author cjs;	state Exp;
branches;
next	1.19;

1.19
date	97.03.24.22.11.50;	author christos;	state Exp;
branches;
next	1.18;

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

1.17
date	96.10.18.05.27.41;	author thorpej;	state Exp;
branches;
next	1.16;

1.16
date	95.09.29.11.23.15;	author pk;	state Exp;
branches;
next	1.15;

1.15
date	95.06.05.01.57.04;	author pk;	state Exp;
branches;
next	1.14;

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

1.13
date	95.01.07.23.10.42;	author mycroft;	state Exp;
branches;
next	1.12;

1.12
date	94.05.14.06.33.05;	author cgd;	state Exp;
branches;
next	1.11;

1.11
date	94.02.10.01.10.06;	author cgd;	state Exp;
branches;
next	1.10;

1.10
date	93.11.04.10.51.39;	author pk;	state Exp;
branches;
next	1.9;

1.9
date	93.10.24.01.34.24;	author pk;	state Exp;
branches;
next	1.8;

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

1.7
date	93.08.10.08.35.59;	author deraadt;	state Exp;
branches;
next	1.6;

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

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

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

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

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

1.1
date	93.03.21.09.45.37;	author cgd;	state Exp;
branches
	1.1.1.1;
next	;

1.21.2.1
date	97.11.09.00.59.23;	author lukem;	state Exp;
branches;
next	;

1.1.1.1
date	93.03.21.09.45.37;	author cgd;	state Exp;
branches;
next	;


desc
@@


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

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


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


1.25
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.24
log
@Revert previous change ${.ALLSRC} will contain .h files etc.
@
text
@d1 1
a1 2
#	$NetBSD: Makefile,v 1.23 1997/10/22 16:01:50 lukem 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.23
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.22 1997/10/21 23:59:18 lukem 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.22
log
@use CPPFLAGS instead of CFLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 1997/05/31 21:21:42 cjs Exp $
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.21
log
@Back out BUILDDIR and NOINSTALL changes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 1997/03/24 22:11:50 christos Exp $
d4 1
a4 1
CFLAGS+=	-DLIBC_SCCS -I${.CURDIR}/..
@


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


1.20
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
@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
a26 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.19
log
@Makefile cleanups:
use INCS variable to install includes and FILES to install objects.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 1996/10/18 05:36:50 thorpej Exp $
d8 2
d17 7
d30 7
d43 7
@


1.18
log
@RCS id police.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 1996/10/18 05:27:41 thorpej Exp $
a27 4
install:
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
	    ${DESTDIR}/usr/lib

d37 3
@


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


1.16
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.15
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.14 1995/06/03 13:16:07 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.14
log
@Factor out common code.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.13 1995/01/07 23:10:42 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.13
log
@Patch from Giles Lean to make compilation flags more consistent.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.12 1994/05/14 06:33:05 cgd Exp $
d4 1
a4 1
CFLAGS+=	-DLIBC_SCCS -DDYNAMIC
@


1.12
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.11 1994/02/10 01:10:06 cgd Exp $
d11 1
a11 1
	${CC} ${CFLAGS} -c -DCRT0 ${.ALLSRC}
d16 1
a16 1
	${CC} ${CFLAGS} -c -DMCRT0 ${.ALLSRC} -o ${.TARGET}
@


1.11
log
@kill bogus install -d's.  the one for /usr/include/rpcsvc is still here.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.10 1993/11/04 10:51:39 pk 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.10
log
@Can get rid of local symbols with "ld -x -r" again.
Made LDSO #ifdef DEBUG.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.9 1993/10/24 01:34:24 pk Exp $
a28 1
	install -d -o ${BINOWN} -g ${BINGRP} -m 0755 ${DESTDIR}/usr/lib
@


1.9
log
@`ld -x -r crt0.o' defines __DYNAMIC as data. This we cannot use.
Disabled until I sort it out.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.8 1993/10/23 00:47:15 pk Exp $
d12 2
a13 2
#	${LD} -x -r ${.TARGET}
#	mv a.out ${.TARGET}
@


1.8
log
@Enabled __DYNAMIC.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.7 1993/08/10 08:35:59 deraadt Exp $
d12 2
a13 2
	${LD} -x -r ${.TARGET}
	mv a.out ${.TARGET}
@


1.7
log
@8 spaces -> a tab
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.6 1993/08/09 04:49:39 mycroft Exp $
d4 1
a4 1
CFLAGS+=	-DLIBC_SCCS
@


1.6
log
@Clean up automatic creation of /usr/lib.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.5 1993/08/01 05:41:42 mycroft Exp $
d29 1
a29 1
        install -d -o ${BINOWN} -g ${BINGRP} -m 0755 ${DESTDIR}/usr/lib
@


1.5
log
@Add RCS identifiers.
@
text
@d2 1
a2 1
#	$Id: $
d29 1
a29 8
	@@if [ ! -d ${DESTDIR}/usr/lib ]; then \
                /bin/rm -f ${DESTDIR}/usr/lib ; \
                mkdir -p ${DESTDIR}/usr/lib ; \
                chown root.wheel ${DESTDIR}/usr/lib ; \
                chmod 755 ${DESTDIR}/usr/lib ; \
        else \
                true ; \
        fi
@


1.4
log
@Use ${COPY}, not -c for install.
@
text
@d1 2
a2 1
#	@@(#)Makefile	5.6 (Berkeley) 5/22/91
d4 2
a5 2
CFLAGS+= -DLIBC_SCCS
OBJS=	crt0.o gcrt0.o
@


1.3
log
@Use global value of CFLAGS.
@
text
@d36 1
a36 1
	install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
@


1.2
log
@make sure directory to install stuff exists before installing,
and copy libs rather than mv'ing them, on install
@
text
@d3 1
a3 1
CFLAGS=	-O -DLIBC_SCCS
d23 1
a23 1
	${CC} -c ${DEFS} ${.IMPSRC}
@


1.1
log
@Initial revision
@
text
@d28 9
a36 1
	install -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
@


1.1.1.1
log
@initial import of 386bsd-0.1 sources
@
text
@@
