head	1.18;
access;
symbols
	netbsd-11-0-RC4:1.18
	netbsd-11-0-RC3:1.18
	netbsd-11-0-RC2:1.18
	netbsd-11-0-RC1:1.18
	perseant-exfatfs-base-20250801:1.18
	netbsd-11:1.18.0.110
	netbsd-11-base:1.18
	netbsd-10-1-RELEASE:1.18
	perseant-exfatfs-base-20240630:1.18
	perseant-exfatfs:1.18.0.108
	perseant-exfatfs-base:1.18
	netbsd-8-3-RELEASE:1.18
	netbsd-9-4-RELEASE:1.18
	netbsd-10-0-RELEASE:1.18
	netbsd-10-0-RC6:1.18
	netbsd-10-0-RC5:1.18
	netbsd-10-0-RC4:1.18
	netbsd-10-0-RC3:1.18
	netbsd-10-0-RC2:1.18
	netbsd-10-0-RC1:1.18
	netbsd-10:1.18.0.106
	netbsd-10-base:1.18
	netbsd-9-3-RELEASE:1.18
	cjep_sun2x-base1:1.18
	cjep_sun2x:1.18.0.104
	cjep_sun2x-base:1.18
	cjep_staticlib_x-base1:1.18
	netbsd-9-2-RELEASE:1.18
	cjep_staticlib_x:1.18.0.102
	cjep_staticlib_x-base:1.18
	netbsd-9-1-RELEASE:1.18
	phil-wifi-20200421:1.18
	phil-wifi-20200411:1.18
	is-mlppp:1.18.0.100
	is-mlppp-base:1.18
	phil-wifi-20200406:1.18
	netbsd-8-2-RELEASE:1.18
	netbsd-9-0-RELEASE:1.18
	netbsd-9-0-RC2:1.18
	netbsd-9-0-RC1:1.18
	phil-wifi-20191119:1.18
	netbsd-9:1.18.0.98
	netbsd-9-base:1.18
	phil-wifi-20190609:1.18
	netbsd-8-1-RELEASE:1.18
	netbsd-8-1-RC1:1.18
	pgoyette-compat-merge-20190127:1.18
	pgoyette-compat-20190127:1.18
	pgoyette-compat-20190118:1.18
	pgoyette-compat-1226:1.18
	pgoyette-compat-1126:1.18
	pgoyette-compat-1020:1.18
	pgoyette-compat-0930:1.18
	pgoyette-compat-0906:1.18
	netbsd-7-2-RELEASE:1.18
	pgoyette-compat-0728:1.18
	netbsd-8-0-RELEASE:1.18
	phil-wifi:1.18.0.96
	phil-wifi-base:1.18
	pgoyette-compat-0625:1.18
	netbsd-8-0-RC2:1.18
	pgoyette-compat-0521:1.18
	pgoyette-compat-0502:1.18
	pgoyette-compat-0422:1.18
	netbsd-8-0-RC1:1.18
	pgoyette-compat-0415:1.18
	pgoyette-compat-0407:1.18
	pgoyette-compat-0330:1.18
	pgoyette-compat-0322:1.18
	pgoyette-compat-0315:1.18
	netbsd-7-1-2-RELEASE:1.18
	pgoyette-compat:1.18.0.94
	pgoyette-compat-base:1.18
	netbsd-7-1-1-RELEASE:1.18
	matt-nb8-mediatek:1.18.0.92
	matt-nb8-mediatek-base:1.18
	perseant-stdc-iso10646:1.18.0.90
	perseant-stdc-iso10646-base:1.18
	netbsd-8:1.18.0.88
	netbsd-8-base:1.18
	prg-localcount2-base3:1.18
	prg-localcount2-base2:1.18
	prg-localcount2-base1:1.18
	prg-localcount2:1.18.0.86
	prg-localcount2-base:1.18
	pgoyette-localcount-20170426:1.18
	bouyer-socketcan-base1:1.18
	pgoyette-localcount-20170320:1.18
	netbsd-7-1:1.18.0.84
	netbsd-7-1-RELEASE:1.18
	netbsd-7-1-RC2:1.18
	netbsd-7-nhusb-base-20170116:1.18
	bouyer-socketcan:1.18.0.82
	bouyer-socketcan-base:1.18
	pgoyette-localcount-20170107:1.18
	netbsd-7-1-RC1:1.18
	pgoyette-localcount-20161104:1.18
	netbsd-7-0-2-RELEASE:1.18
	localcount-20160914:1.18
	netbsd-7-nhusb:1.18.0.80
	netbsd-7-nhusb-base:1.18
	pgoyette-localcount-20160806:1.18
	pgoyette-localcount-20160726:1.18
	pgoyette-localcount:1.18.0.78
	pgoyette-localcount-base:1.18
	netbsd-7-0-1-RELEASE:1.18
	netbsd-7-0:1.18.0.76
	netbsd-7-0-RELEASE:1.18
	netbsd-7-0-RC3:1.18
	netbsd-7-0-RC2:1.18
	netbsd-7-0-RC1:1.18
	netbsd-5-2-3-RELEASE:1.18
	netbsd-5-1-5-RELEASE:1.18
	netbsd-6-0-6-RELEASE:1.18
	netbsd-6-1-5-RELEASE:1.18
	netbsd-7:1.18.0.74
	netbsd-7-base:1.18
	yamt-pagecache-base9:1.18
	yamt-pagecache-tag8:1.18
	netbsd-6-1-4-RELEASE:1.18
	netbsd-6-0-5-RELEASE:1.18
	tls-earlyentropy:1.18.0.72
	tls-earlyentropy-base:1.18
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.18
	riastradh-drm2-base3:1.18
	netbsd-6-1-3-RELEASE:1.18
	netbsd-6-0-4-RELEASE:1.18
	netbsd-5-2-2-RELEASE:1.18
	netbsd-5-1-4-RELEASE:1.18
	netbsd-6-1-2-RELEASE:1.18
	netbsd-6-0-3-RELEASE:1.18
	netbsd-5-2-1-RELEASE:1.18
	netbsd-5-1-3-RELEASE:1.18
	netbsd-6-1-1-RELEASE:1.18
	riastradh-drm2-base2:1.18
	riastradh-drm2-base1:1.18
	riastradh-drm2:1.18.0.66
	riastradh-drm2-base:1.18
	netbsd-6-1:1.18.0.70
	netbsd-6-0-2-RELEASE:1.18
	netbsd-6-1-RELEASE:1.18
	netbsd-6-1-RC4:1.18
	netbsd-6-1-RC3:1.18
	agc-symver:1.18.0.68
	agc-symver-base:1.18
	netbsd-6-1-RC2:1.18
	netbsd-6-1-RC1:1.18
	yamt-pagecache-base8:1.18
	netbsd-5-2:1.18.0.64
	netbsd-6-0-1-RELEASE:1.18
	yamt-pagecache-base7:1.18
	netbsd-5-2-RELEASE:1.18
	netbsd-5-2-RC1:1.18
	matt-nb6-plus-nbase:1.18
	yamt-pagecache-base6:1.18
	netbsd-6-0:1.18.0.62
	netbsd-6-0-RELEASE:1.18
	netbsd-6-0-RC2:1.18
	tls-maxphys:1.18.0.60
	tls-maxphys-base:1.18
	matt-nb6-plus:1.18.0.58
	matt-nb6-plus-base:1.18
	netbsd-6-0-RC1:1.18
	yamt-pagecache-base5:1.18
	yamt-pagecache-base4:1.18
	netbsd-6:1.18.0.56
	netbsd-6-base:1.18
	netbsd-5-1-2-RELEASE:1.18
	netbsd-5-1-1-RELEASE:1.18
	yamt-pagecache-base3:1.18
	yamt-pagecache-base2:1.18
	yamt-pagecache:1.18.0.54
	yamt-pagecache-base:1.18
	cherry-xenmp:1.18.0.52
	cherry-xenmp-base:1.18
	bouyer-quota2-nbase:1.18
	bouyer-quota2:1.18.0.50
	bouyer-quota2-base:1.18
	matt-mips64-premerge-20101231:1.18
	matt-nb5-mips64-premerge-20101231:1.18
	matt-nb5-pq3:1.18.0.48
	matt-nb5-pq3-base:1.18
	netbsd-5-1:1.18.0.46
	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.44
	netbsd-5-0-1-RELEASE:1.18
	jym-xensuspend-nbase:1.18
	netbsd-5-0:1.18.0.42
	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.40
	jym-xensuspend-base:1.18
	netbsd-5-0-RC1:1.18
	netbsd-5:1.18.0.38
	netbsd-5-base:1.18
	matt-mips64-base2:1.18
	matt-mips64:1.18.0.36
	mjf-devfs2:1.18.0.34
	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.32
	wrstuden-revivesa-base:1.18
	yamt-pf42:1.18.0.30
	yamt-pf42-base:1.18
	keiichi-mipv6:1.18.0.28
	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.26
	netbsd-4-0-RELEASE:1.18
	cube-autoconf:1.18.0.24
	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.22
	matt-armv6-base:1.18
	matt-mips64-base:1.18
	hpcarm-cleanup:1.18.0.20
	hpcarm-cleanup-base:1.18
	netbsd-3-1-1-RELEASE:1.18
	netbsd-3-0-3-RELEASE:1.18
	wrstuden-fixsa:1.18.0.18
	wrstuden-fixsa-base:1.18
	abandoned-netbsd-4-base:1.18
	abandoned-netbsd-4:1.18.0.12
	netbsd-3-1:1.18.0.14
	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.16
	netbsd-4-base:1.18
	netbsd-3-0-1-RELEASE:1.18
	netbsd-3-0:1.18.0.10
	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.8
	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.6
	netbsd-3-base:1.18
	netbsd-2-0-1-RELEASE:1.18
	netbsd-2:1.18.0.4
	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.2
	netbsd-2-0-base:1.18
	netbsd-1-6-PATCH002-RELEASE:1.16
	netbsd-1-6-PATCH002:1.16
	netbsd-1-6-PATCH002-RC4:1.16
	netbsd-1-6-PATCH002-RC3:1.16
	netbsd-1-6-PATCH002-RC2:1.16
	netbsd-1-6-PATCH002-RC1:1.16
	netbsd-1-6-PATCH001:1.16
	netbsd-1-6-PATCH001-RELEASE:1.16
	netbsd-1-6-PATCH001-RC3:1.16
	netbsd-1-6-PATCH001-RC2:1.16
	netbsd-1-6-PATCH001-RC1:1.16
	fvdl_fs64_base:1.17
	netbsd-1-6-RELEASE:1.16
	netbsd-1-6-RC3:1.16
	netbsd-1-6-RC2:1.16
	netbsd-1-6-RC1:1.16
	netbsd-1-6:1.16.0.2
	netbsd-1-6-base:1.16
	netbsd-1-5-PATCH003:1.13.6.1
	netbsd-1-5-PATCH002:1.13.6.1
	netbsd-1-5-PATCH001:1.13.6.1
	netbsd-1-5-RELEASE:1.13
	netbsd-1-5-BETA2:1.13
	netbsd-1-5-BETA:1.13
	netbsd-1-4-PATCH003:1.11
	netbsd-1-5-ALPHA2:1.13
	netbsd-1-5:1.13.0.6
	netbsd-1-5-base:1.13
	minoura-xpg4dl:1.13.0.4
	minoura-xpg4dl-base:1.13
	netbsd-1-4-PATCH002:1.11
	wrstuden-devbsize-19991221:1.13
	wrstuden-devbsize:1.12.0.2
	wrstuden-devbsize-base:1.13
	comdex-fall-1999:1.13.0.2
	comdex-fall-1999-base:1.13
	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.5
	netbsd-1-3-PATCH003-CANDIDATE2:1.5
	netbsd-1-3-PATCH003-CANDIDATE1:1.5
	netbsd-1-3-PATCH003-CANDIDATE0:1.5
	netbsd-1-3-PATCH002:1.5
	netbsd-1-3-PATCH001:1.5
	netbsd-1-3-RELEASE:1.5
	netbsd-1-3-BETA:1.5
	netbsd-1-3:1.5.0.2
	netbsd-1-3-base:1.5
	netbsd-1-2-PATCH001:1.4
	netbsd-1-2-RELEASE:1.4
	netbsd-1-2-BETA:1.4
	netbsd-1-2:1.4.0.6
	netbsd-1-2-base:1.4
	netbsd-1-1-PATCH001:1.4
	netbsd-1-1-RELEASE:1.4
	netbsd-1-1:1.4.0.2
	netbsd-1-1-base:1.4
	netbsd-1-0-PATCH06:1.1
	netbsd-1-0-PATCH05:1.1
	netbsd-1-0-PATCH04:1.1
	netbsd-1-0-PATCH03:1.1
	netbsd-1-0-PATCH02:1.1
	netbsd-1-0-PATCH1:1.1
	netbsd-1-0-PATCH0:1.1
	netbsd-1-0-RELEASE:1.1
	netbsd-1-0:1.1.0.2
	netbsd-1-0-base:1.1;
locks; strict;
comment	@# @;


1.18
date	2003.09.30.04.20.24;	author mycroft;	state Exp;
branches;
next	1.17;

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

1.16
date	2001.12.12.01.24.15;	author tv;	state Exp;
branches;
next	1.15;

1.15
date	2001.10.31.15.57.56;	author tv;	state Exp;
branches;
next	1.14;

1.14
date	2001.01.14.06.35.57;	author christos;	state Exp;
branches;
next	1.13;

1.13
date	99.09.25.13.06.36;	author enami;	state Exp;
branches
	1.13.6.1;
next	1.12;

1.12
date	99.08.01.13.42.00;	author sommerfeld;	state Exp;
branches
	1.12.2.1;
next	1.11;

1.11
date	99.02.18.11.59.06;	author is;	state Exp;
branches;
next	1.10;

1.10
date	99.02.13.02.54.33;	author lukem;	state Exp;
branches;
next	1.9;

1.9
date	99.01.10.02.54.12;	author castor;	state Exp;
branches;
next	1.8;

1.8
date	98.12.21.07.58.52;	author mjacob;	state Exp;
branches;
next	1.7;

1.7
date	98.09.12.20.17.43;	author wrstuden;	state Exp;
branches;
next	1.6;

1.6
date	98.03.02.19.59.20;	author cgd;	state Exp;
branches;
next	1.5;

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

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

1.3
date	95.03.01.18.29.04;	author glass;	state Exp;
branches;
next	1.2;

1.2
date	95.01.07.23.14.00;	author mycroft;	state Exp;
branches;
next	1.1;

1.1
date	94.01.14.05.24.33;	author cgd;	state Exp;
branches;
next	;

1.13.6.1
date	2001.04.25.09.53.48;	author he;	state Exp;
branches;
next	;

1.12.2.1
date	99.12.27.18.30.20;	author wrstuden;	state Exp;
branches;
next	;


desc
@@


1.18
log
@Maybe I'm just slow, but having diffs in the wrong direction confuses me...
@
text
@#	$NetBSD: Makefile,v 1.17 2002/09/18 05:41:53 lukem Exp $

NOMAN=		# defined
LDSTATIC=	-static		# only static compilation makes sense here

PROG=		doexec

.include <bsd.own.mk>		# May define DESTDIR in mk.conf..
.if defined(DESTDIR)
LDLIBS+=	-lgcc -lc -lgcc ${LIBCRTEND}
GOODAOUT_LIB=	-nostdlib -L${DESTDIR}/usr/lib ${LDSTATIC} \
		${LIBCRT0} ${LIBCRTBEGIN}
.else
GOODAOUT_LIB=	${LDSTATIC}
.endif

RP=		./${PROG}
TD=		${.CURDIR}/tests
OD=		${.CURDIR}/good

TESTSCRIPTS=	empty nonexistshell devnullscript badinterplen goodscript \
		scriptarg scriptarg-nospace

all:		${PROG} goodaout truncaout ${TESTSCRIPTS}

.for x in ${TESTSCRIPTS}
${x}: ${TD}/${x}
	cp ${TD}/${x} .
	chmod +x ${x}
.endfor

CLEANFILES+=	goodaout truncaout ${TESTSCRIPTS}

regress:	test-empty test-nonexist \
		test-nonexistshell test-devnullscript test-badinterplen \
		test-goodscript test-scriptarg test-scriptarg-nospace \
		test-goodaout test-truncaout

test-empty:	${PROG} empty
	${RP} empty | diff ${OD}/empty -

test-nonexist:	${PROG}
	${RP} ${TD}/nonexistent | diff ${OD}/nonexistent -

test-nonexistshell: ${PROG} nonexistshell
	${RP} nonexistshell | diff ${OD}/nonexistshell -

test-devnullscript: ${PROG} devnullscript
	${RP} devnullscript | diff ${OD}/devnullscript -

test-badinterplen: ${PROG} badinterplen
	${RP} badinterplen | diff ${OD}/badinterplen -

test-goodscript: ${PROG} goodscript
	${RP} goodscript | diff ${OD}/goodscript -

test-scriptarg: ${PROG} scriptarg
	${RP} scriptarg 2>&1 | diff ${OD}/scriptarg -

test-scriptarg-nospace: ${PROG} scriptarg-nospace
	${RP} scriptarg-nospace 2>&1 | diff ${OD}/scriptarg-nospace -

goodaout: ${TD}/goodaout.c
	${LINK.c} ${GOODAOUT_LIB} -o ${.TARGET} ${TD}/goodaout.c ${LDLIBS}

test-goodaout: ${PROG} goodaout
	${RP} goodaout | diff ${OD}/goodaout -

truncaout: goodaout
	/bin/rm -rf truncaout
	dd if=goodaout of=truncaout bs=16 count=1
	chmod a+x truncaout

test-truncaout: ${PROG} truncaout
	${RP} truncaout | diff ${OD}/truncaout -

.include <bsd.prog.mk>
@


1.17
log
@some makefile de-linting
- list NOxxx and LDSTATIC= assignments before everything else
  (especially <bsd.own.mk>)
- ensure <bsd.own.mk> is included before NETBSDSRCDIR is used
- add missing RCSids
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2001/12/12 01:24:15 tv Exp $
d40 1
a40 1
	${RP} empty | diff - ${OD}/empty
d43 1
a43 1
	${RP} ${TD}/nonexistent | diff - ${OD}/nonexistent
d46 1
a46 1
	${RP} nonexistshell | diff - ${OD}/nonexistshell
d49 1
a49 1
	${RP} devnullscript | diff - ${OD}/devnullscript
d52 1
a52 1
	${RP} badinterplen | diff - ${OD}/badinterplen
d55 1
a55 1
	${RP} goodscript | diff - ${OD}/goodscript
d58 1
a58 1
	${RP} scriptarg 2>&1 | diff - ${OD}/scriptarg
d61 1
a61 1
	${RP} scriptarg-nospace 2>&1 | diff - ${OD}/scriptarg-nospace
d67 1
a67 1
	${RP} goodaout | diff - ${OD}/goodaout
d75 1
a75 1
	${RP} truncaout | diff - ${OD}/truncaout
@


1.16
log
@MKfoo=no -> NOfoo
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2001/10/31 15:57:56 tv Exp $
a2 1
PROG=		doexec
d5 2
@


1.15
log
@Simplify a bunch of explicit ${.OBJDIR} references to make these more like
the rest of the tree.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2001/01/14 06:35:57 christos Exp $
d3 3
a5 4
PROG=	doexec
MKMAN=	no

LDSTATIC= -static		# only static compilation makes sense here
d9 3
a11 3
LDLIBS+= -lgcc -lc -lgcc ${LIBCRTEND}
GOODAOUT_LIB= -nostdlib -L${DESTDIR}/usr/lib ${LDSTATIC} 
GOODAOUT_LIB+= ${LIBCRT0} ${LIBCRTBEGIN}
d13 1
a13 1
GOODAOUT_LIB= ${LDSTATIC}
d16 3
a18 3
RP=	./${PROG}
TD=	${.CURDIR}/tests
OD=	${.CURDIR}/good
d20 2
a21 2
TESTSCRIPTS=empty nonexistshell devnullscript badinterplen goodscript \
	scriptarg scriptarg-nospace
d23 1
a23 1
all:	${PROG} goodaout truncaout ${TESTSCRIPTS}
d31 1
a31 1
CLEANFILES+= goodaout truncaout ${TESTSCRIPTS}
@


1.14
log
@remove duplicate target empty.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 1999/09/25 13:06:36 enami Exp $
d17 1
a17 1
RP=	${.OBJDIR}/${PROG}
d28 2
a29 2
	cp ${TD}/${x} ${.OBJDIR}
	chmod +x ${.OBJDIR}/${x}
d40 1
a40 1
	${RP} ${.OBJDIR}/empty | diff - ${OD}/empty
d46 1
a46 1
	${RP} ${.OBJDIR}/nonexistshell | diff - ${OD}/nonexistshell
d49 1
a49 1
	${RP} ${.OBJDIR}/devnullscript | diff - ${OD}/devnullscript
d52 1
a52 1
	${RP} ${.OBJDIR}/badinterplen | diff - ${OD}/badinterplen
d55 1
a55 1
	${RP} ${.OBJDIR}/goodscript | diff - ${OD}/goodscript
d58 1
a58 1
	${RP} ${.OBJDIR}/scriptarg 2>&1 | diff - ${OD}/scriptarg
d61 1
a61 1
	${RP} ${.OBJDIR}/scriptarg-nospace 2>&1 | diff - ${OD}/scriptarg-nospace
d67 1
a67 1
	${RP} ${.OBJDIR}/goodaout | diff - ${OD}/goodaout
d71 1
a71 1
	dd if=${.OBJDIR}/goodaout of=truncaout bs=16 count=1
d75 1
a75 1
	${RP} ${.OBJDIR}/truncaout | diff - ${OD}/truncaout
@


1.13
log
@Specify libgcc_spec after lib_spec when DESTDIR is defined to keep
consistency with the case DESTDIR is not define.  This is part of PR#8369.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 1999/08/01 13:42:00 sommerfeld Exp $
a37 4

empty:	${TD}/empty
	cp ${TD}/empty ${.OBJDIR}/empty
	chmod +x ${.OBJDIR}/empty
@


1.13.6.1
log
@Pull up revision 1.14 (requested by chris):
  Remove duplicate ``empty'' target definition.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 1999/09/25 13:06:36 enami Exp $
d38 4
@


1.12
log
@Let builder define DESTDIR in mk.conf or
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 1999/02/18 11:59:06 is Exp $
d10 1
a10 1
LDLIBS+= -lgcc -lc ${LIBCRTEND}
@


1.12.2.1
log
@Pull up to last week's -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 1999/09/25 13:06:36 enami Exp $
d10 1
a10 1
LDLIBS+= -lgcc -lc -lgcc ${LIBCRTEND}
@


1.11
log
@Copy test scripts to objdir and make them executable, to be sure
they are. We don't chmod +x them in-place because the src directory
tree might be read-only.
Fixes PR 6554, but differently.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 1999/02/13 02:54:33 lukem Exp $
d8 2
a9 1
.if (defined(DESTDIR))
@


1.10
log
@convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 1999/01/10 02:54:12 castor Exp $
d20 12
a31 2
all:	${PROG} goodaout truncaout
CLEANFILES+= goodaout truncaout
d38 6
a43 2
test-empty:	${PROG} ${TD}/empty
	${RP} ${TD}/empty | diff - ${OD}/empty
d48 2
a49 2
test-nonexistshell: ${PROG} ${TD}/nonexistshell
	${RP} ${TD}/nonexistshell | diff - ${OD}/nonexistshell
d51 2
a52 2
test-devnullscript: ${PROG} ${TD}/devnullscript
	${RP} ${TD}/devnullscript | diff - ${OD}/devnullscript
d54 2
a55 2
test-badinterplen: ${PROG} ${TD}/badinterplen
	${RP} ${TD}/badinterplen | diff - ${OD}/badinterplen
d57 2
a58 2
test-goodscript: ${PROG} ${TD}/goodscript
	${RP} ${TD}/goodscript | diff - ${OD}/goodscript
d60 2
a61 2
test-scriptarg: ${PROG} ${TD}/scriptarg
	${RP} ${TD}/scriptarg 2>&1 | diff - ${OD}/scriptarg
d63 2
a64 2
test-scriptarg-nospace: ${PROG} ${TD}/scriptarg-nospace
	${RP} ${TD}/scriptarg-nospace 2>&1 | diff - ${OD}/scriptarg-nospace
@


1.9
log
@Fix type for LIBCRTEND and order other startup routines to come before
the main test.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 1998/09/12 20:17:43 wrstuden Exp $
d4 1
a4 1
NOMAN=	noman, no way, man
@


1.8
log
@This should be noninvasive, and allows my builds to finally work on alpha
(DESTDIR being set case...).
@
text
@d9 3
a11 2
LDLIBS+= ${LIBCRT0} -lgcc -lc ${LIBCRTBEGIN} ${LIBCRTENT}
GOODAOUT_LIB= -nostdlib -L${DESTDIR}/usr/lib ${LDSTATIC}
@


1.7
log
@Make this cross-compile right.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 1998/03/02 19:59:20 cgd Exp $
d9 1
a9 1
LDLIBS+= ${LIBCRT0} -lgcc -lc
@


1.6
log
@note that only static compilation makes sense here
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 1997/05/07 16:01:49 mycroft Exp $
d8 7
d52 1
a52 1
	${LINK.c} ${LDSTATIC} -o ${.TARGET} ${TD}/goodaout.c ${LDLIBS}
@


1.5
log
@Use proginstall:: to disable installing PROG.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 1995/04/20 22:43:03 cgd Exp $
d6 1
a6 1
LDSTATIC= -static
@


1.4
log
@RCS Id conventions
@
text
@d1 1
a1 1
#	$NetBSD$
a13 2

install:
@


1.3
log
@remove extra tab
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.2 1995/01/07 23:14:00 mycroft Exp $
@


1.2
log
@Patch from Giles Lean to make compilation flags more consistent.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.1 1994/01/14 05:24:33 cgd Exp $
d56 1
a56 1
	
@


1.1
log
@add some regression tests for execve()
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.3 1993/10/06 21:58:09 cgd Exp $
d47 1
a47 1
	${CC} ${LDFLAGS} ${LDSTATIC} ${CFLAGS} -o ${.TARGET} ${TD}/goodaout.c
@
