head	1.4;
access;
symbols
	perseant-exfatfs-base-20250801:1.4
	perseant-exfatfs-base-20240630:1.4
	perseant-exfatfs:1.4.0.144
	perseant-exfatfs-base:1.4
	bouyer-sunxi-drm:1.4.0.142
	bouyer-sunxi-drm-base:1.4
	cjep_sun2x:1.4.0.140
	cjep_sun2x-base:1.4
	cjep_staticlib_x-base1:1.4
	cjep_staticlib_x:1.4.0.138
	cjep_staticlib_x-base:1.4
	thorpej-futex-base:1.4
	bouyer-xenpvh-base2:1.4
	phil-wifi-20200421:1.4
	bouyer-xenpvh-base1:1.4
	phil-wifi-20200411:1.4
	bouyer-xenpvh:1.4.0.136
	bouyer-xenpvh-base:1.4
	phil-wifi-20200406:1.4
	ad-namecache-base3:1.4
	ad-namecache-base2:1.4
	ad-namecache-base1:1.4
	ad-namecache:1.4.0.134
	ad-namecache-base:1.4
	isaki-audio2:1.4.0.132
	isaki-audio2-base:1.4
	pgoyette-compat-merge-20190127:1.4
	pgoyette-compat-20190127:1.4
	pgoyette-compat-20190118:1.4
	pgoyette-compat-1226:1.4
	pgoyette-compat-1126:1.4
	pgoyette-compat-1020:1.4
	pgoyette-compat-0930:1.4
	pgoyette-compat-0906:1.4
	pgoyette-compat-0728:1.4
	pgoyette-compat-0625:1.4
	pgoyette-compat-0521:1.4
	pgoyette-compat-0502:1.4
	pgoyette-compat-0422:1.4
	pgoyette-compat-0415:1.4
	pgoyette-compat-0407:1.4
	pgoyette-compat-0330:1.4
	pgoyette-compat-0322:1.4
	pgoyette-compat-0315:1.4
	pgoyette-compat:1.4.0.12
	pgoyette-compat-base:1.4
	perseant-stdc-iso10646:1.4.0.130
	perseant-stdc-iso10646-base:1.4
	prg-localcount2-base3:1.4
	prg-localcount2-base2:1.4
	prg-localcount2-base1:1.4
	prg-localcount2:1.4.0.128
	prg-localcount2-base:1.4
	pgoyette-localcount-20170426:1.4
	bouyer-socketcan-base1:1.4
	pgoyette-localcount-20170320:1.4
	bouyer-socketcan:1.4.0.126
	bouyer-socketcan-base:1.4
	pgoyette-localcount-20170107:1.4
	pgoyette-localcount-20161104:1.4
	localcount-20160914:1.4
	pgoyette-localcount-20160806:1.4
	pgoyette-localcount-20160726:1.4
	pgoyette-localcount:1.4.0.124
	pgoyette-localcount-base:1.4
	netbsd-5-2-3-RELEASE:1.4
	netbsd-5-1-5-RELEASE:1.4
	yamt-pagecache-base9:1.4
	yamt-pagecache-tag8:1.4
	tls-earlyentropy:1.4.0.122
	tls-earlyentropy-base:1.4
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.4
	riastradh-drm2-base3:1.4
	netbsd-5-2-2-RELEASE:1.4
	netbsd-5-1-4-RELEASE:1.4
	netbsd-5-2-1-RELEASE:1.4
	netbsd-5-1-3-RELEASE:1.4
	rmind-smpnet-nbase:1.4
	rmind-smpnet:1.4.0.118
	rmind-smpnet-base:1.4
	agc-symver:1.4.0.120
	agc-symver-base:1.4
	tls-maxphys-base:1.4
	yamt-pagecache-base8:1.4
	netbsd-5-2:1.4.0.116
	yamt-pagecache-base7:1.4
	netbsd-5-2-RELEASE:1.4
	netbsd-5-2-RC1:1.4
	yamt-pagecache-base6:1.4
	yamt-pagecache-base5:1.4
	yamt-pagecache-base4:1.4
	netbsd-5-1-2-RELEASE:1.4
	netbsd-5-1-1-RELEASE:1.4
	jmcneill-usbmp:1.4.0.114
	jmcneill-usbmp-base:1.4
	jmcneill-audiomp3:1.4.0.112
	jmcneill-audiomp3-base:1.4
	yamt-pagecache-base3:1.4
	yamt-pagecache-base2:1.4
	yamt-pagecache:1.4.0.110
	yamt-pagecache-base:1.4
	rmind-uvmplock-nbase:1.4
	jym-xensuspend-nbase:1.4
	bouyer-quota2-nbase:1.4
	bouyer-quota2:1.4.0.108
	bouyer-quota2-base:1.4
	jruoho-x86intr:1.4.0.106
	jruoho-x86intr-base:1.4
	matt-nb5-pq3:1.4.0.104
	matt-nb5-pq3-base:1.4
	netbsd-5-1:1.4.0.102
	netbsd-5-1-RELEASE:1.4
	yamt-nfs-mp-base11:1.4
	netbsd-5-1-RC4:1.4
	uebayasi-xip-base2:1.4
	yamt-nfs-mp-base10:1.4
	netbsd-5-1-RC3:1.4
	netbsd-5-1-RC2:1.4
	netbsd-5-1-RC1:1.4
	rmind-uvmplock:1.4.0.100
	rmind-uvmplock-base:1.4
	yamt-nfs-mp-base9:1.4
	uebayasi-xip:1.4.0.98
	uebayasi-xip-base:1.4
	netbsd-5-0-2-RELEASE:1.4
	yamt-nfs-mp-base8:1.4
	yamt-nfs-mp-base7:1.4
	netbsd-5-0-1-RELEASE:1.4
	jymxensuspend-base:1.4
	yamt-nfs-mp-base6:1.4
	yamt-nfs-mp-base5:1.4
	yamt-nfs-mp-base4:1.4
	yamt-nfs-mp-base3:1.4
	netbsd-5-0:1.4.0.96
	netbsd-5-0-RELEASE:1.4
	netbsd-5-0-RC4:1.4
	netbsd-5-0-RC3:1.4
	netbsd-5-0-RC2:1.4
	jym-xensuspend:1.4.0.94
	jym-xensuspend-base:1.4
	netbsd-5-0-RC1:1.4
	haad-dm-base2:1.4
	haad-nbase2:1.4
	ad-audiomp2:1.4.0.92
	ad-audiomp2-base:1.4
	netbsd-5:1.4.0.90
	netbsd-5-base:1.4
	haad-dm-base1:1.4
	haad-dm:1.4.0.88
	haad-dm-base:1.4
	simonb-wapbl-nbase:1.4
	yamt-pf42-base4:1.4
	simonb-wapbl:1.4.0.86
	simonb-wapbl-base:1.4
	yamt-pf42-base3:1.4
	hpcarm-cleanup-nbase:1.4
	yamt-pf42-base2:1.4
	yamt-nfs-mp-base2:1.4
	yamt-nfs-mp:1.4.0.84
	yamt-nfs-mp-base:1.4
	yamt-pf42:1.4.0.82
	yamt-pf42-base:1.4
	ad-socklock-base1:1.4
	yamt-lazymbuf-base15:1.4
	yamt-lazymbuf-base14:1.4
	keiichi-mipv6-nbase:1.4
	mjf-devfs2:1.4.0.80
	mjf-devfs2-base:1.4
	keiichi-mipv6:1.4.0.78
	keiichi-mipv6-base:1.4
	bouyer-xeni386-merge1:1.4
	vmlocking2-base3:1.4
	bouyer-xeni386-nbase:1.4
	yamt-kmem-base3:1.4
	cube-autoconf:1.4.0.76
	cube-autoconf-base:1.4
	yamt-kmem-base2:1.4
	bouyer-xeni386:1.4.0.74
	bouyer-xeni386-base:1.4
	yamt-kmem:1.4.0.72
	yamt-kmem-base:1.4
	vmlocking2-base2:1.4
	reinoud-bufcleanup-nbase:1.4
	vmlocking2:1.4.0.70
	vmlocking2-base1:1.4
	jmcneill-base:1.4
	mjf-devfs:1.4.0.68
	mjf-devfs-base:1.4
	bouyer-xenamd64-base2:1.4
	vmlocking-nbase:1.4
	yamt-x86pmap-base4:1.4
	bouyer-xenamd64:1.4.0.66
	bouyer-xenamd64-base:1.4
	yamt-x86pmap-base3:1.4
	yamt-x86pmap-base2:1.4
	yamt-x86pmap:1.4.0.64
	yamt-x86pmap-base:1.4
	jmcneill-pm:1.4.0.62
	jmcneill-pm-base:1.4
	hpcarm-cleanup:1.4.0.60
	hpcarm-cleanup-base:1.4
	mjf-ufs-trans-base:1.4
	yamt-idlelwp-base8:1.4
	ppcoea-renovation:1.4.0.58
	ppcoea-renovation-base:1.4
	reinoud-bufcleanup-base:1.4
	vmlocking:1.4.0.56
	vmlocking-base:1.4
	ad-audiomp:1.4.0.54
	ad-audiomp-base:1.4
	yamt-idlelwp:1.4.0.52
	post-newlock2-merge:1.4
	newlock2-nbase:1.4
	yamt-splraiseipl-base5:1.4
	yamt-splraiseipl-base4:1.4
	yamt-splraiseipl-base3:1.4
	yamt-splraiseipl-base2:1.4
	yamt-splraiseipl:1.4.0.50
	yamt-splraiseipl-base:1.4
	newlock2:1.4.0.48
	newlock2-base:1.4
	yamt-pdpolicy-base8:1.4
	yamt-pdpolicy-base7:1.4
	yamt-pdpolicy-base6:1.4
	gdamore-uart:1.4.0.46
	gdamore-uart-base:1.4
	simonb-timcounters-final:1.4
	yamt-pdpolicy-base5:1.4
	elad-kernelauth-nbase:1.4
	yamt-pdpolicy-base4:1.4
	yamt-pdpolicy-base3:1.4
	yamt-pdpolicy-base2:1.4
	yamt-pdpolicy:1.4.0.44
	yamt-pdpolicy-base:1.4
	yamt-uio_vmspace-base5:1.4
	simonb-timecounters:1.4.0.42
	simonb-timecounters-base:1.4
	rpaulo-netinet-merge-pcb:1.4.0.40
	rpaulo-netinet-merge-pcb-base:1.4
	yamt-uio_vmspace:1.4.0.38
	yamt-readahead-base3:1.4
	yamt-readahead-base2:1.4
	yamt-readahead:1.4.0.36
	yamt-readahead-base:1.4
	yamt-vop-base3:1.4
	yamt-vop-base2:1.4
	thorpej-vnode-attr:1.4.0.34
	thorpej-vnode-attr-base:1.4
	yamt-vop:1.4.0.32
	yamt-vop-base:1.4
	yamt-lazymbuf:1.4.0.30
	yamt-km-base4:1.4
	yamt-km-base3:1.4
	yamt-km-base2:1.4
	yamt-km:1.4.0.28
	yamt-km-base:1.4
	kent-audio2:1.4.0.26
	kent-audio2-base:1.4
	ktrace-lwp:1.4.0.24
	ktrace-lwp-base:1.4
	nathanw_sa_before_merge:1.4
	gmcgarry_ctxsw:1.4.0.22
	gmcgarry_ctxsw_base:1.4
	gmcgarry_ucred:1.4.0.20
	gmcgarry_ucred_base:1.4
	nathanw_sa_base:1.4
	gehenna-devsw:1.4.0.18
	gehenna-devsw-base:1.4
	eeh-devprop:1.4.0.16
	eeh-devprop-base:1.4
	newlock:1.4.0.14
	newlock-base:1.4
	ifpoll-base:1.4
	thorpej-mips-cache:1.4.0.10
	thorpej-mips-cache-base:1.4
	thorpej-devvp:1.4.0.8
	thorpej-devvp-base:1.4
	kqueue:1.4.0.6
	kqueue-base:1.4
	thorpej_scsipi_beforemerge:1.4
	sommerfeld_i386mpnext:1.4
	thorpej_scsipi_nbase:1.4
	chs-ubc2-newbase:1.4
	fvdl-softdep-base:1.4
	thorpej_scsipi:1.4.0.4
	thorpej_scsipi_base:1.4
	thorpej-signal:1.4.0.2
	thorpej-signal-base:1.4
	marc-pcmcia-base:1.4
	netbsd-1-0-base:1.3;
locks; strict;
comment	@# @;


1.4
date	94.08.29.23.12.26;	author mycroft;	state dead;
branches;
next	1.3;

1.3
date	94.06.24.07.47.57;	author jtc;	state Exp;
branches;
next	1.2;

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

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


desc
@@


1.4
log
@Clean up deleted files.
@
text
@#	$Id: Makefile,v 1.3 1994/06/24 07:47:57 jtc Exp mycroft $

PROG=	sh
NOMAN=
SRCS=	alias.c builtins.c cd.c echo.c error.c eval.c exec.c expand.c \
	input.c jobs.c mail.c main.c memalloc.c miscbltin.c \
	mystring.c nodes.c options.c parser.c redir.c show.c \
	syntax.c trap.c output.c var.c #histedit.c
OBJS+=	init.o arith.o arith_lex.o
LDADD+=	-ll #-ledit -ltermcap
DPADD+=	${LIBL} #${LIBEDIT} ${LIBTERMCAP}
LFLAGS=	-8	# 8-bit lex scanner for arithmetic
SRCDIR=	${.CURDIR}/../../../../../bin/sh
CFLAGS+=-DSHELL -I. -I${SRCDIR} -DNO_HISTORY

BINDIR=/bin

.PATH:	${SRCDIR} ${SRCDIR}/bltin

CLEANFILES+=\
	builtins.c builtins.h init.c mkinit mknodes mksyntax \
	nodes.c nodes.h syntax.c syntax.h token.def y.tab.h

.depend parser.o: token.def
token.def: mktokens
	sh ${SRCDIR}/mktokens

builtins.h builtins.c: ${SRCDIR}/mkbuiltins ${SRCDIR}/builtins.def
	cd ${SRCDIR}; sh mkbuiltins -h ${.OBJDIR}

init.c: mkinit ${SRCS}
	./mkinit '${CC} -c ${CFLAGS} init.c' ${.ALLSRC}
	touch ${.TARGET}

mkinit: ${LIBCRT0} ${SRCDIR}/mkinit.c ${LIBC} ${DPADD}
	${CC} ${CFLAGS} ${LDFLAGS} ${LDSTATIC} ${SRCDIR}/mkinit.c -o $@@ ${LDADD}

nodes.c nodes.h: mknodes ${SRCDIR}/nodetypes ${SRCDIR}/nodes.c.pat
	./mknodes ${SRCDIR}/nodetypes ${SRCDIR}/nodes.c.pat

mknodes: ${LIBCRT0} ${SRCDIR}/mknodes.c ${LIBC} ${DPADD}
	${CC} ${CFLAGS} ${LDFLAGS} ${LDSTATIC} ${SRCDIR}/mknodes.c -o $@@ ${LDADD}

syntax.c syntax.h: mksyntax
	./mksyntax

mksyntax: ${LIBCRT0} ${SRCDIR}/mksyntax.c ${SRCDIR}/parser.h ${LIBC} ${DPADD}
	${CC} ${CFLAGS} ${LDFLAGS} ${LDSTATIC} ${SRCDIR}/mksyntax.c -o $@@ ${LDADD}

.include <bsd.prog.mk>
@


1.3
log
@Track changes in "real" /bin/sh: builtins was renamed builtins.def.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.2 1994/05/14 22:28:13 cgd Exp $
@


1.2
log
@update for new sh; use NO_HISTORY, etc... still need to trim 90K+...
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.1 1994/04/18 08:47:36 cgd Exp $
d28 1
a28 1
builtins.h builtins.c: ${SRCDIR}/mkbuiltins ${SRCDIR}/builtins
@


1.1
log
@A place to build binaries for floppies.  always static, always OMAGIC.
note that some have been rewritten (echo, umount) and some are compiled
with options that make them smaller.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9 1993/12/28 10:59:05 davidb Exp $
d5 1
a5 1
SRCS=	builtins.c cd.c dirent.c echo.c error.c eval.c exec.c expand.c \
d8 5
a12 2
	syntax.c trap.c output.c var.c
OBJS+=	init.o
d14 1
a14 1
CFLAGS+=-DSHELL -I. -I${SRCDIR}
d22 1
a22 1
	nodes.c nodes.h syntax.c syntax.h token.def
d29 1
a29 1
	cd ${SRCDIR}; sh mkbuiltins ${.OBJDIR}
d35 3
d41 3
a46 8
.include <bsd.prog.mk>

mkinit: ${LIBCRT0} ${SRCDIR}/mkinit.c ${LIBC} ${DPADD}
	${CC} ${CFLAGS} ${LDFLAGS} ${LDSTATIC} ${SRCDIR}/mkinit.c -o $@@ ${LDADD}

mknodes: ${LIBCRT0} ${SRCDIR}/mknodes.c ${LIBC} ${DPADD}
	${CC} ${CFLAGS} ${LDFLAGS} ${LDSTATIC} ${SRCDIR}/mknodes.c -o $@@ ${LDADD}

d49 2
@
