# nfs-instbin.mk - generated from nfs-instbin.conf by crunchgen 0.2

LIBS=-L/usr/lib  -ledit -lutil -ltermcap -lcrypt -ll -lm
CRUNCHED_OBJS= ifconfig.lo init.lo hostname.lo mount_nfs.lo ping.lo reboot.lo route.lo sed.lo sh.lo test.lo update.lo rresolve.lo
SUBMAKE_TARGETS= ifconfig_make init_make hostname_make mount_nfs_make ping_make reboot_make route_make sed_make sh_make test_make update_make rresolve_make

nfs-instbin: nfs-instbin.o $(CRUNCHED_OBJS)
	$(CC) -static -o nfs-instbin nfs-instbin.o $(CRUNCHED_OBJS) $(LIBS)
	strip nfs-instbin
all: objs exe
objs: $(SUBMAKE_TARGETS)
exe: nfs-instbin
clean:
	rm -f nfs-instbin *.lo *.o *_stub.c

# -------- ifconfig

ifconfig_SRCDIR=/afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/sbin/ifconfig
ifconfig_OBJS= ifconfig.o
ifconfig_make:
	(cd $(ifconfig_SRCDIR); make $(ifconfig_OBJS))

ifconfig_OBJPATHS= /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/sbin/ifconfig/ifconfig.o
ifconfig_stub.c:
	echo "int _crunched_ifconfig_stub(int argc, char **argv, char **envp){return main(argc,argv,envp);}" >ifconfig_stub.c
ifconfig.lo: ifconfig_stub.o $(ifconfig_OBJPATHS)
	ld -dc -r -o ifconfig.lo ifconfig_stub.o $(ifconfig_OBJPATHS)
	crunchide -k __crunched_ifconfig_stub ifconfig.lo

# -------- init

init_SRCDIR=/afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/sbin/init
init_OBJS= init.o
init_make:
	(cd $(init_SRCDIR); make $(init_OBJS))

init_OBJPATHS= /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/sbin/init/init.o
init_stub.c:
	echo "int _crunched_init_stub(int argc, char **argv, char **envp){return main(argc,argv,envp);}" >init_stub.c
init.lo: init_stub.o $(init_OBJPATHS)
	ld -dc -r -o init.lo init_stub.o $(init_OBJPATHS)
	crunchide -k __crunched_init_stub init.lo

# -------- hostname

hostname_SRCDIR=/afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/hostname
hostname_OBJS= hostname.o
hostname_make:
	(cd $(hostname_SRCDIR); make $(hostname_OBJS))

hostname_OBJPATHS= /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/hostname/hostname.o
hostname_stub.c:
	echo "int _crunched_hostname_stub(int argc, char **argv, char **envp){return main(argc,argv,envp);}" >hostname_stub.c
hostname.lo: hostname_stub.o $(hostname_OBJPATHS)
	ld -dc -r -o hostname.lo hostname_stub.o $(hostname_OBJPATHS)
	crunchide -k __crunched_hostname_stub hostname.lo

# -------- mount_nfs

mount_nfs_SRCDIR=/afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/sbin/mount_nfs
mount_nfs_OBJS= mount_nfs.o getmntopts.o
mount_nfs_make:
	(cd $(mount_nfs_SRCDIR); make $(mount_nfs_OBJS))

mount_nfs_OBJPATHS= /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/sbin/mount_nfs/mount_nfs.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/sbin/mount_nfs/getmntopts.o
mount_nfs_stub.c:
	echo "int _crunched_mount_nfs_stub(int argc, char **argv, char **envp){return main(argc,argv,envp);}" >mount_nfs_stub.c
mount_nfs.lo: mount_nfs_stub.o $(mount_nfs_OBJPATHS)
	ld -dc -r -o mount_nfs.lo mount_nfs_stub.o $(mount_nfs_OBJPATHS)
	crunchide -k __crunched_mount_nfs_stub mount_nfs.lo

# -------- ping

ping_SRCDIR=/afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/sbin/ping
ping_OBJS= ping.o
ping_make:
	(cd $(ping_SRCDIR); make $(ping_OBJS))

ping_OBJPATHS= /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/sbin/ping/ping.o
ping_stub.c:
	echo "int _crunched_ping_stub(int argc, char **argv, char **envp){return main(argc,argv,envp);}" >ping_stub.c
ping.lo: ping_stub.o $(ping_OBJPATHS)
	ld -dc -r -o ping.lo ping_stub.o $(ping_OBJPATHS)
	crunchide -k __crunched_ping_stub ping.lo

# -------- reboot

reboot_SRCDIR=/afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/sbin/reboot
reboot_OBJS= reboot.o
reboot_make:
	(cd $(reboot_SRCDIR); make $(reboot_OBJS))

reboot_OBJPATHS= /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/sbin/reboot/reboot.o
reboot_stub.c:
	echo "int _crunched_reboot_stub(int argc, char **argv, char **envp){return main(argc,argv,envp);}" >reboot_stub.c
reboot.lo: reboot_stub.o $(reboot_OBJPATHS)
	ld -dc -r -o reboot.lo reboot_stub.o $(reboot_OBJPATHS)
	crunchide -k __crunched_reboot_stub reboot.lo

# -------- route

route_SRCDIR=/afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/sbin/route
route_OBJS= route.o ccitt_addr.o
route_make:
	(cd $(route_SRCDIR); make $(route_OBJS))

route_OBJPATHS= /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/sbin/route/route.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/sbin/route/ccitt_addr.o
route_stub.c:
	echo "int _crunched_route_stub(int argc, char **argv, char **envp){return main(argc,argv,envp);}" >route_stub.c
route.lo: route_stub.o $(route_OBJPATHS)
	ld -dc -r -o route.lo route_stub.o $(route_OBJPATHS)
	crunchide -k __crunched_route_stub route.lo

# -------- sed

sed_SRCDIR=/afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/usr.bin/sed
sed_OBJS= compile.o main.o misc.o process.o
sed_make:
	(cd $(sed_SRCDIR); make $(sed_OBJS))

sed_OBJPATHS= /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/usr.bin/sed/compile.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/usr.bin/sed/main.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/usr.bin/sed/misc.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/usr.bin/sed/process.o
sed_stub.c:
	echo "int _crunched_sed_stub(int argc, char **argv, char **envp){return main(argc,argv,envp);}" >sed_stub.c
sed.lo: sed_stub.o $(sed_OBJPATHS)
	ld -dc -r -o sed.lo sed_stub.o $(sed_OBJPATHS)
	crunchide -k __crunched_sed_stub sed.lo

# -------- sh

sh_SRCDIR=/afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh
sh_OBJS= arith.o arith_lex.o init.o alias.o builtins.o cd.o echo.o error.o eval.o exec.o expand.o histedit.o input.o jobs.o mail.o main.o memalloc.o miscbltin.o mystring.o nodes.o options.o parser.o redir.o show.o syntax.o trap.o output.o var.o
sh_make:
	(cd $(sh_SRCDIR); make $(sh_OBJS))

sh_OBJPATHS= /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/arith.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/arith_lex.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/init.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/alias.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/builtins.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/cd.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/echo.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/error.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/eval.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/exec.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/expand.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/histedit.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/input.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/jobs.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/mail.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/main.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/memalloc.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/miscbltin.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/mystring.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/nodes.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/options.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/parser.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/redir.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/show.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/syntax.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/trap.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/output.o /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/sh/var.o
sh_stub.c:
	echo "int _crunched_sh_stub(int argc, char **argv, char **envp){return main(argc,argv,envp);}" >sh_stub.c
sh.lo: sh_stub.o $(sh_OBJPATHS)
	ld -dc -r -o sh.lo sh_stub.o $(sh_OBJPATHS)
	crunchide -k __crunched_sh_stub sh.lo

# -------- test

test_SRCDIR=/afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/test
test_OBJS= test.o
test_make:
	(cd $(test_SRCDIR); make $(test_OBJS))

test_OBJPATHS= /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/bin/test/test.o
test_stub.c:
	echo "int _crunched_test_stub(int argc, char **argv, char **envp){return main(argc,argv,envp);}" >test_stub.c
test.lo: test_stub.o $(test_OBJPATHS)
	ld -dc -r -o test.lo test_stub.o $(test_OBJPATHS)
	crunchide -k __crunched_test_stub test.lo

# -------- update

update_SRCDIR=/afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/usr.sbin/update
update_OBJS= update.o
update_make:
	(cd $(update_SRCDIR); make $(update_OBJS))

update_OBJPATHS= /afs/sipb.mit.edu/project/netbsd/release/athena-7.7.2/netbsd-1.2/src/usr.sbin/update/update.o
update_stub.c:
	echo "int _crunched_update_stub(int argc, char **argv, char **envp){return main(argc,argv,envp);}" >update_stub.c
update.lo: update_stub.o $(update_OBJPATHS)
	ld -dc -r -o update.lo update_stub.o $(update_OBJPATHS)
	crunchide -k __crunched_update_stub update.lo

# -------- rresolve

rresolve_SRCDIR=/mit/netbsd/dev/install/nfsinst/rresolve
rresolve_OBJS= rresolve.o
rresolve_make:
	(cd $(rresolve_SRCDIR); make $(rresolve_OBJS))

rresolve_OBJPATHS= /mit/netbsd/dev/install/nfsinst/rresolve/obj/rresolve.o
rresolve_stub.c:
	echo "int _crunched_rresolve_stub(int argc, char **argv, char **envp){return main(argc,argv,envp);}" >rresolve_stub.c
rresolve.lo: rresolve_stub.o $(rresolve_OBJPATHS)
	ld -dc -r -o rresolve.lo rresolve_stub.o $(rresolve_OBJPATHS)
	crunchide -k __crunched_rresolve_stub rresolve.lo

# ========
