2.9 networking code

Keith Bostic keith at seismo.UUCP
Fri Dec 7 07:30:01 AEST 1984


Well, as promised to some of you... attached is a complete list of
everything (unless I forgot something) that Terry Slatterly (usna!tcs)
and I changed to get the 2.9 networking code to compile and link-load.
Not run.  Heaven only knows what that's gonna take.  Anyway, I haven't
put any of the drivers in, I was just trying to get loop-back working
first.  Currently I'm getting:

======================================================================
>>>h
17777707 002236
>>>b db
>boot

70Boot
: xp(0,0)netunix
Trap in Boot,bus error at loc 1
registers: r0=0,r1=10000,ps=140340,nps=30340

^P
======================================================================

Suggestions, comments, questions welcome.  I've included the entire
Makefile and Depend files; if you use your own, make sure you hand-edit
the routine in_ck.s into the Makefile.

Enjoy...

		Keith Bostic
			(703) 276-7900
			ARPA: keith at seismo 
			UUCP: seismo!keith

===============================================================================
*** ioconf.bak	Thu Dec  6 14:17:52 1984
--- ioconf.c	Mon Nov 12 13:01:08 1984
***************
*** 176,178
  #endif	XP_PROBE
  };
  #endif	NXP

--- 176,202 -----
  #endif	XP_PROBE
  };
  #endif	NXP
+ 
+ 
+ #ifdef UCB_NET
+ #include <sys/ubavar.h>
+ 
+ u_long	LocalAddr;		/* Internet address for this host */
+ struct uba_device ubdinit[] = {
+ 	/* driver,  unit,  ubanum,   addr,	flags*/
+ #if	NSRI > 0
+ 	{ &sridriver,   0,     0,   0167770, 0x0a000000 }, /*net 10, lh 0*/
+ #endif
+ #if	NIL > 0		/* who knows which works, if either */
+ 	{ &ildriver,	0,     0,   0164000, 0x80120000 }, /* 128.18.0.0 */
+ 	{ &ildriver,    0,    0,   0164000,  0x27000000 },  /* net 39 */
+ #endif
+ #if	NSRI > 0
+ 	{ &sridriver,   0,    0,   0167770,  0x0a000002 },  /* net 10, lh 2 */
+ #endif
+ #if	NVV > 0
+ 	{ &vvdriver,    0,    0,   0161000,  0x63000000 },  /* net 99 */
+ #endif
+ 	0
+ };
+ #endif UCB_NET
===============================================================================
*** localopts.h.bak	Thu Dec  6 14:17:12 1984
--- localopts.h	Sun Nov 11 16:26:05 1984
***************
*** 78,85
   *
   */
  /* #define MPX_FILS		/* hooks for multiplexed files */
! #define	ACCT			/* process accounting */
! #define	INSECURE		/* don't clear setuid, setgid bits on write */
  #define DIAGNOSTIC		/* misc. diagnostic loops and checks */
  /* #define DISPLAY		/* 11/70 or 45 display routine */
  /*

--- 78,85 -----
   *
   */
  /* #define MPX_FILS		/* hooks for multiplexed files */
! /* #define	ACCT			/* process accounting */
! /* #define	INSECURE		/* don't clear setuid, setgid bits on write */
  #define DIAGNOSTIC		/* misc. diagnostic loops and checks */
  /* #define DISPLAY		/* 11/70 or 45 display routine */
  /*
***************
*** 92,95
   *  UCB_NET requires that the additional files in /usr/net/sys
   *  be merged in here-- only the hooks are installed on this ifdef.
   */
! /* #define UCB_NET		/* UCB TCP/IP Kernel */

--- 92,99 -----
   *  UCB_NET requires that the additional files in /usr/net/sys
   *  be merged in here-- only the hooks are installed on this ifdef.
   */
! #define UCB_NET		/* UCB TCP/IP Kernel */
! #ifdef UCB_NET
! #	define	MENLO_KOV	/* need kernel overlay by definition */
! #endif UCB_NET
! 
===============================================================================
*** param.h.bak	Thu Dec  6 14:17:12 1984
--- param.h	Sun Nov 11 14:18:40 1984
***************
*** 1,3
  #ifndef	_WHOAMI
  #include	"whoami.h"
  #endif

--- 1,5 -----
+ #include <mods.h>
+ 
  #ifndef	_WHOAMI
  #include	"whoami.h"
  #endif
***************
*** 5,11
  #include	<signal.h>
  #endif
  #include	<sys/psw.h>
- #include	<sys/types.h>
  #include	<sys/iopage.h>
  
  #ifdef	UNIBUS_MAP

--- 7,12 -----
  #include	<signal.h>
  #endif
  #include	<sys/psw.h>
  #include	<sys/iopage.h>
  /*#include	<sys/types.h> */
  
***************
*** 7,12
  #include	<sys/psw.h>
  #include	<sys/types.h>
  #include	<sys/iopage.h>
  
  #ifdef	UNIBUS_MAP
  #define	MAXMEM	(200*16)	/* max core per process - first # is Kb */

--- 8,14 -----
  #endif
  #include	<sys/psw.h>
  #include	<sys/iopage.h>
+ /*#include	<sys/types.h> */
  
  #ifdef	UNIBUS_MAP
  #define	MAXMEM	(200*16)	/* max core per process - first # is Kb */
===============================================================================
add this routine in your net directory as in_ck.s
===============================================================================
spl = 230
spl = 230
	.globl  _in_ckbuf,_in_ckadd

/ 1's complement checksum routine.  assumes sum on entry is on logical even
/ byte boundary, even though entry address may be odd.
/
/ r2 - 1's complement sum
/ r3 - number of bytes
/ r4 - byte address

_in_ckbuf:
	clr     -(sp)                   /assume even start address
	bit     $1,r4
	beq     1f                      /if even starting address
	inc     (sp)
	clr     r0
	bisb    (r4)+,r0                /get byte at odd address
	add     r0,r2
	adc     r2
	swab    r2
	dec     r3                      /and adjust byte count
1:
	clr     r1                      /assume even byte count
	asr     r3                      /convert byte to word count
	adc     r1                      /set r1 if extra trailing odd byte
	tst     r3
	beq     4f                      /if no words left
2:
	add     (r4)+,r2                /add into checksum
	adc     r2
	sob     r3,2b                   /and process all of them
4:
	tst     r1                      /extra trailing byte?
	beq     3f                      /if not, exit
	clr     r0
	bisb    (r4)+,r0                /get that extra byte
	add     r0,r2                   /and include in the checksum
	adc     r2
3:
	tst     (sp)+
	beq     5f                      /if starting address not odd
	swab    r2
5:      rts     pc


/ 1's comp add.  sum = in_ckadd(a,b);

_in_ckadd:
	mov     2(sp),r0
	add     4(sp),r0
	adc     r0
	rts     pc
===============================================================================
*** mbuf11.c.bak	Thu Dec  6 15:46:50 1984
--- mbuf11.c	Wed Dec  5 17:10:29 1984
***************
*** 381,387
  register struct mbuf *m;
  char *s;
  {
! 	extern enprint;
  	register char *ba;
  	int col,i,bc;
  

--- 381,387 -----
  register struct mbuf *m;
  char *s;
  {
! 	extern nprint;
  	register char *ba;
  	int col,i,bc;
  
***************
*** 385,391
  	register char *ba;
  	int col,i,bc;
  
! 	if (enprint == 0) return;
  	MAPSAVE();
  	nprintf("MB %s\n",s);
  	for (;;) {

--- 385,391 -----
  	register char *ba;
  	int col,i,bc;
  
! 	if (nprint == 0) return;
  	MAPSAVE();
  	nprintf("MB %s\n",s);
  	for (;;) {
===============================================================================
*** socket.c.bak	Thu Dec  6 15:47:00 1984
--- socket.c	Wed Dec  5 17:27:33 1984
***************
*** 630,637
  
  	/* routing table update calls */
  	case SIOCADDRT:
! 	case SIOCDELRT:
! 	case SIOCCHGRT: {
  		struct rtentry route;
  		if (!suser())
  			return;

--- 630,636 -----
  
  	/* routing table update calls */
  	case SIOCADDRT:
! 	case SIOCDELRT: {
  		struct rtentry route;
  		if (!suser())
  			return;
===============================================================================
*** syslocal.c.bak	Thu Dec  6 15:47:13 1984
--- syslocal.c	Wed Dec  5 18:34:05 1984
***************
*** 32,37
  #include "../net/in_systm.h"
  #endif
  
  /*
   * These routines implement local system calls
   */

--- 32,39 -----
  #include "../net/in_systm.h"
  #endif
  
+ int	selwait;	/* undefined as delivered */
+ 
  /*
   * These routines implement local system calls
   */
***************
*** 562,568
  char *fmt;
  unsigned x1;
  {
! 	if (enprint)
  		prf(fmt, &x1, 4);
  }
  

--- 564,570 -----
  char *fmt;
  unsigned x1;
  {
! 	if (nprint)
  		prf(fmt, &x1, 4);
  }
  
===============================================================================
*** ioctl.h.bak	Thu Dec  6 15:49:45 1984
--- ioctl.h	Wed Dec  5 17:45:34 1984
***************
*** 137,142
  #define	SIOCGPGRP	(('s'<<8)|9)	/* get process group */
  #define	SIOCADDRT	(('s'<<8)|10)	/* add a routing table entry */
  #define	SIOCDELRT	(('s'<<8)|11)	/* delete a routing table entry */
! #define	SIOCCHGRT	(('s'<<8)|12)	/* change a routing table entry */
  #endif
  #endif	_IOCTL_

--- 137,150 -----
  #define	SIOCGPGRP	(('s'<<8)|9)	/* get process group */
  #define	SIOCADDRT	(('s'<<8)|10)	/* add a routing table entry */
  #define	SIOCDELRT	(('s'<<8)|11)	/* delete a routing table entry */
! /*#define	SIOCCHGRT	(('s'<<8)|12)	/* change a routing table entry */
! #define SIOCSIFADDR	(('s'<<8)|12)	/* set ifnet address */
! #define SIOCGIFADDR	(('s'<<8)|13)	/* get ifnet address */
! #define SIOCSIFDSTADDR	(('s'<<8)|14)	/* set p-p address */
! #define SIOCGIFDSTADDR	(('s'<<8)|15)	/* get p-p address */
! #define SIOCSIFFLAGS	(('s'<<8)|16)	/* set ifnet flags */
! #define SIOCGIFFLAGS	(('s'<<8)|17)	/* fet ifnet flags */
! #define SIOCGIFCONF	(('s'<<8)|20)	/* get ifnet list */
  #endif
  #endif	_IOCTL_
  
***************
*** 140,142
  #define	SIOCCHGRT	(('s'<<8)|12)	/* change a routing table entry */
  #endif
  #endif	_IOCTL_

--- 147,150 -----
  #define SIOCGIFCONF	(('s'<<8)|20)	/* get ifnet list */
  #endif
  #endif	_IOCTL_
+ 
===============================================================================
Depend
===============================================================================
#	This is an extension of Makefile that is used by the "make depend"
#	command.  This is the list of files for which dependencies
#	will be generated in the Makefile.  It should not include files
#	whose dependencies are explicitly listed in the Makefile.
#	If you need to add drivers or other local files,
#	add them to the OPTIONAL line (below) and then "make depend".
#	There is no need to delete unused drivers from this list.

OPTIONAL=

#  Other files may be included in the OPTIONAL listing; some possiblities
#  are listed here.  See also the Others subdirectory of ../dev.
#OPTIONAL= ../sys/enable34.c ../dev/bk.c ../dev/cat.c ../dev/cr.c ../dev/dvhp.c\
	   ../dev/rf.c

CONFFILES = c.c ioconf.c

SYSFILES = ../sys/acct.c ../sys/alloc.c ../sys/clock.c ../sys/fio.c \
	../sys/iget.c ../sys/ioctl.c ../sys/machdep.c ../sys/main.c \
	../sys/malloc.c ../sys/nami.c ../sys/pipe.c ../sys/prf.c \
	../sys/prim.c ../sys/rdwri.c ../sys/sig.c ../sys/slp.c ../sys/subr.c \
	../sys/sys1.c ../sys/sys2.c ../sys/sys3.c ../sys/sys4.c \
	../sys/sysent.c ../sys/syslocal.c ../sys/text.c \
	../sys/trap.c ../sys/ureg.c ../sys/mbuf11.c ../sys/socketsubr.c \
	../sys/socket.c ../sys/ipc.c ../sys/proto.c ../sys/mbuf.c

DEVFILES = ../dev/bio.c ../dev/dh.c ../dev/dkbad.c ../dev/dkleave.c \
	../dev/dn.c ../dev/dsort.c ../dev/dz.c ../dev/hk.c \
	../dev/hp.c ../dev/hs.c ../dev/ht.c ../dev/kl.c ../dev/lp.c \
	../dev/mem.c ../dev/partab.c ../dev/rk.c ../dev/rl.c ../dev/rm.c \
	../dev/rp.c ../dev/sys.c ../dev/tm.c ../dev/ts.c ../dev/tty.c \
	../dev/ttynew.c ../dev/ttyold.c ../dev/xp.c ../dev/vp.c

NETFILES = ../net/af.c ../net/if.c ../net/if_loop.c ../net/in.c \
	../net/in_cksum.c ../net/in_pcb.c ../net/ip_icmp.c \
	../net/ip_input.c ../net/ip_output.c ../net/raw_cb.c \
	../net/raw_ip.c ../net/raw_usrreq.c ../net/tcp_debug.c \
	../net/tcp_input.c ../net/tcp_output.c ../net/tcp_subr.c \
	../net/tcp_timer.c ../net/tcp_usrreq.c ../net/udp_usrreq.c \
	../net/route.c

depend:
	grep '^#include' ${CONFFILES} ${SYSFILES} ${DEVFILES} ${OPTIONAL} \
	${NETFILES} | \
	sed \
		-e '/".*"/s|:[^"]*"\([^"]*\)".*|: \1|' \
		-e '/<.*>/s|:[^<]*<\([^>]*\)>.*|: $${I}/\1|' | \
	awk -F: '{if ($$1 != cfil) { if (cfil != "") \
			{ \
			print rec; \
			printf "\t$${C} %s\n", cfil; \
			printf "\t$${E} %s\n", cfil; \
			printf "\t$${A} %s\n", cfil; \
			printf "\t-rm %s\n\n", cfil; \
			} \
		    printf "%s: %s\n", $$1, $$1; cfil = $$1; rec = $$0; next} \
		else { if (length(rec $$2) > 80) {print rec; rec = $$0;} \
			else rec = rec $$2 } } \
		END { \
			printf "\t$${C} %s\n", cfil; \
			printf "\t$${E} %s\n", cfil; \
			printf "\t$${A} %s\n", cfil; \
			printf "\t-rm %s\n\n", cfil; \
		    }' | \
	sed \
		-e '/^\.\.\/[^ 	/]*\/\([^. 	/]*\.\)/s//\1/' \
		-e '/\.c:/s//.o:/' \
		-e '/^	$${[EA]/s|../[^/]*/||' \
		-e '/^	$${E/s| \([^/]*\)\.c| \1.s|' \
		-e '/^	$${A} /s|{A} \([^/]*\)\.c|{A} \1.o \1.s|' \
		-e '/^	-rm /s|../[^/]*/||' \
		-e '/^	-rm /s| \([^/]*\)\.c| \1.s|' \
		>makedep
	echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
	echo '$$r makedep' >>eddep
	echo 'w' >>eddep
	cp Makefile Makefile.bak
	ed - Makefile < eddep
	rm eddep makedep
	echo '# DEPENDENCIES MUST END HERE' >> Makefile
	echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
	echo '# see make depend above' >> Makefile
===============================================================================
Makefile
===============================================================================
#	Makefile for Berkeley UNIX kernel, overlay version
#
#	Makefile Configuration:
#		First, edit the Depend file to include any optional
#		device drivers you need to include.
#		Then check the global definitions, MAXUSERS, and include file
#		search paths below.
#		INCLUDE is the directory with the normal complement of
#		include files, normally /usr/include.
#		Finally, run "make depend" and stand back.
#
#	After having made a unix binary the first time, the overlay
#	structure specified below will probably have to change.
#	The base segment must be between 8194 and 16384 inclusive,
#	and each overlay (7 maximum) must be <= 8192.

# global definitions
DEFS =	-DKERNEL -Dpdp11

# maxusers is used to scale the size of kernel data structures.
MAXUSERS=4

# SPLFIX should be one of :splfix.movb, :splfix.mtps or :splfix.spl
SPLFIX=	:splfix.spl

# include file search path
INCLUDE= /usr/include

CPPFLAGS= ${DEFS} -I. -I${INCLUDE}
CFLAGS=	-O ${CPPFLAGS}
CC =	cc -V
CPP =	/lib/cpp -P
AS =	as -V
LD =	ld

#  shorthand to avoid running make out of space
C =	${CC} -S ${CFLAGS}
E =	ed - < ${SPLFIX}
A =	${AS} - -o
I =	${INCLUDE}

OFILE =	unix

# original
# move nami.o into the base segment if possible
#OV1 =	proto.o af.o if.o if_loop.o in.o in_cksum.o in_pcb.o ip_icmp.o ip_input.o \
#	ip_output.o raw_cb.o raw_ip.o raw_usrreq.o tcp_debug.o \
#	tcp_input.o tcp_output.o tcp_subr.o tcp_timer.o tcp_usrreq.o \
#	udp_usrreq.o route.o in_ck.o
#OV2 =	text.o ureg.o malloc.o sys1.o main.o mem.o \
#	mbuf11.o socketsubr.o mbuf.o ipc.o socket.o
#OV3 =	bio.o dkbad.o dkleave.o subr.o rm.o machdep.o sys3.o syslocal.o
#OV4 =	ttynew.o tty.o prim.o kl.o partab.o
#OV5 =	acct.o prf.o ioctl.o sys.o ttyold.o rk.o dz.o tm.o lp.o
#OV6 =	ts.o xp.o dh.o hs.o sys2.o sys4.o fio.o pipe.o alloc.o iget.o
#OV7 =	nami.o ht.o rp.o hk.o rl.o vp.o
#BASE =	sig.o slp.o sysent.o clock.o trap.o rdwri.o dsort.o

# move nami.o into the base segment if possible
OV1 =	proto.o af.o if.o if_loop.o in.o in_cksum.o in_pcb.o in_ck.o \
	ipc.o prf.o
OV2 =	tcp_debug.o tcp_input.o tcp_output.o 
OV3 =	tcp_usrreq.o udp_usrreq.o route.o tcp_timer.o tcp_subr.o sig.o
OV4 =	mbuf.o mbuf11.o socket.o socketsubr.o acct.o ioctl.o
OV5 =	ip_icmp.o ip_input.o \
	ip_output.o raw_cb.o raw_ip.o raw_usrreq.o ttyold.o
BASE =	main.o slp.o sysent.o clock.o trap.o rdwri.o dsort.o \
	nami.o ht.o rp.o hk.o rl.o vp.o iget.o pipe.o\
	sys2.o text.o alloc.o ureg.o sys1.o ts.o xp.o dh.o hs.o \
	sys.o rk.o dz.o tm.o lp.o ttynew.o tty.o prim.o kl.o partab.o \
	bio.o dkbad.o dkleave.o subr.o rm.o machdep.o sys3.o syslocal.o \
	sys4.o fio.o malloc.o mem.o

#   boot.o must be loaded in the base well above 0 data
CONFOBJ = l.o mch.o c.o ioconf.o boot.o 

#	l.o MUST be loaded first, param.o MUST be loaded last
${OFILE}: ${OV1} ${OV2} ${OV3} ${OV4} ${OV5} ${OV6} ${OV7} \
		${BASE} ${CONFOBJ} param.o Makefile checksys
	sh newvers.sh
	${CC} -c vers.c
	${LD} -X -i -o ${OFILE} \
		${CONFOBJ}\
		-Z ${OV1} -Z ${OV2} -Z ${OV3} -Z ${OV4}\
		-Z ${OV5} -Z ${OV6} -Z ${OV7}\
		-L ${BASE} vers.o param.o
	size ${OFILE}
	./checksys ${OFILE}

.PRECIOUS: whoami.h param.h Makefile ../sys/sig.c

whoami.h:  localopts.h
#	touch whoami.h

param.h: whoami.h $I/signal.h $I/sys/psw.h \
	$I/sys/types.h 
#	touch param.h

mch.o:	assym.s ../sys/mch.s whoami.h dz.h ht.h tm.h \
	$I/a.out.h $I/sys/cpu.m $I/sys/trap.h \
	$I/sys/reboot.h $I/sys/iopage.m \
	$I/sys/koverlay.h
	${CPP} ${CPPFLAGS} ../sys/mch.s >mch.i
	${AS} -o mch.o assym.s mch.i
	-rm mch.i

l.o:	l.s whoami.h $I/a.out.h \
	$I/sys/trap.h $I/sys/koverlay.h \
	dh.h dn.h dz.h hk.h hp.h hs.h ht.h kl.h lp.h \
	rk.h rl.h rm.h rp.h tm.h ts.h vp.h xp.h
	${CPP} ${CPPFLAGS} l.s >l.i
	${AS} -o l.o l.i
	-rm l.i

boot.o:	boot.s whoami.h
	${CPP} ${CPPFLAGS} boot.s >boot.i
	${AS} -o boot.o boot.i
	-rm boot.i

assym.s: genassym.c param.h dz.h \
	$I/sys/user.h  $I/sys/vm.h $I/sys/proc.h \
	$I/sys/dir.h $I/sys/inode.h $I/sys/seg.h
	cc ${CFLAGS} genassym.c; ./a.out >assym.s; rm -f a.out

param.o: param.c param.h Makefile $I/sys/proc.h \
	$I/sys/text.h $I/sys/file.h $I/sys/inode.h \
	$I/sys/dir.h $I/sys/buf.h $I/sys/tty.h \
	$I/sys/conf.h $I/sys/user.h $I/sys/filsys.h \
	$I/sys/mount.h $I/sys/acct.h $I/sys/systm.h \
	$I/sys/map.h
	${CC} -S -DMAXUSERS=${MAXUSERS} ${CFLAGS} param.c
	ed - param.s <:comm-to-bss
	${AS} -o param.o param.s
	-rm param.s

checksys: checksys.c
	${CC} -I. -I${INCLUDE} -O -o checksys checksys.c

../sys/sig.c: ../sys/sigjcl.c ../sys/signojcl.c
	touch ../sys/sig.c

sig.o: param.h $I/sys/systm.h $I/sys/dir.h \
	$I/sys/user.h $I/sys/proc.h $I/sys/inode.h \
	$I/sys/reg.h $I/sys/text.h $I/sys/seg.h \
	$I/sys/vm.h

depend:
	@make -f Depend depend

clean:
	rm -f *.o *.i

# DO NOT DELETE THIS LINE

c.o: c.c
c.o: param.h ${I}/sys/systm.h ${I}/sys/buf.h ${I}/sys/tty.h ${I}/sys/conf.h
c.o: ${I}/sys/proc.h ${I}/sys/text.h ${I}/sys/dir.h ${I}/sys/user.h
c.o: ${I}/sys/file.h ${I}/sys/inode.h ${I}/sys/acct.h ${I}/sys/map.h
c.o: ${I}/sys/filsys.h ${I}/sys/mount.h bk.h dh.h dn.h dz.h hk.h hp.h hs.h ht.h
c.o: lp.h rk.h rl.h rm.h rp.h tm.h ts.h vp.h xp.h
	${C} c.c
	${E} c.s
	${A} c.o c.s
	-rm c.s

ioconf.o: ioconf.c
ioconf.o: param.h ${I}/sys/systm.h hk.h hp.h hs.h rk.h rl.h rm.h rp.h xp.h
ioconf.o: ${I}/sys/hpreg.h ${I}/sys/ubavar.h
	${C} ioconf.c
	${E} ioconf.s
	${A} ioconf.o ioconf.s
	-rm ioconf.s

acct.o: ../sys/acct.c
acct.o: param.h ${I}/sys/systm.h ${I}/sys/acct.h ${I}/sys/dir.h
acct.o: ${I}/sys/user.h ${I}/sys/inode.h ${I}/sys/proc.h ${I}/sys/seg.h
	${C} ../sys/acct.c
	${E} acct.s
	${A} acct.o acct.s
	-rm acct.s

alloc.o: ../sys/alloc.c
alloc.o: param.h ${I}/sys/systm.h ${I}/sys/filsys.h ${I}/sys/mount.h
alloc.o: ${I}/sys/fblk.h ${I}/sys/conf.h ${I}/sys/buf.h ${I}/sys/inode.h
alloc.o: ${I}/sys/ino.h ${I}/sys/dir.h ${I}/sys/user.h ${I}/sys/quota.h
	${C} ../sys/alloc.c
	${E} alloc.s
	${A} alloc.o alloc.s
	-rm alloc.s

clock.o: ../sys/clock.c
clock.o: param.h ${I}/sys/systm.h ${I}/sys/callout.h ${I}/sys/seg.h
clock.o: ${I}/sys/dir.h ${I}/sys/user.h ${I}/sys/proc.h ${I}/sys/reg.h
clock.o: ${I}/sys/text.h ${I}/sys/vm.h
	${C} ../sys/clock.c
	${E} clock.s
	${A} clock.o clock.s
	-rm clock.s

fio.o: ../sys/fio.c
fio.o: param.h ${I}/sys/systm.h ${I}/sys/dir.h ${I}/sys/user.h
fio.o: ${I}/sys/filsys.h ${I}/sys/file.h ${I}/sys/conf.h ${I}/sys/inode.h
fio.o: ${I}/sys/reg.h ${I}/sys/acct.h
	${C} ../sys/fio.c
	${E} fio.s
	${A} fio.o fio.s
	-rm fio.s

iget.o: ../sys/iget.c
iget.o: param.h ${I}/sys/systm.h ${I}/sys/dir.h ${I}/sys/user.h
iget.o: ${I}/sys/inode.h ${I}/sys/ino.h ${I}/sys/filsys.h
iget.o: ${I}/sys/mount.h ${I}/sys/conf.h ${I}/sys/buf.h ${I}/sys/quota.h
iget.o: ${I}/sys/inline.h
	${C} ../sys/iget.c
	${E} iget.s
	${A} iget.o iget.s
	-rm iget.s

ioctl.o: ../sys/ioctl.c
ioctl.o: param.h ${I}/sys/systm.h ${I}/sys/dir.h ${I}/sys/user.h
ioctl.o: ${I}/sys/tty.h ${I}/sys/proc.h ${I}/sys/mx.h ${I}/sys/inode.h
ioctl.o: ${I}/sys/file.h ${I}/sys/reg.h ${I}/sys/conf.h
	${C} ../sys/ioctl.c
	${E} ioctl.s
	${A} ioctl.o ioctl.s
	-rm ioctl.s

machdep.o: ../sys/machdep.c
machdep.o: param.h ${I}/sys/systm.h ${I}/sys/acct.h ${I}/sys/dir.h
machdep.o: ${I}/sys/user.h ${I}/sys/inode.h ${I}/sys/proc.h
machdep.o: ${I}/sys/seg.h ${I}/sys/map.h ${I}/sys/reg.h ${I}/sys/buf.h
machdep.o: ${I}/sys/tty.h ${I}/sys/reboot.h ${I}/sys/uba.h
machdep.o: ${I}/sys/iopage.h
	${C} ../sys/machdep.c
	${E} machdep.s
	${A} machdep.o machdep.s
	-rm machdep.s

main.o: ../sys/main.c
main.o: param.h ${I}/sys/systm.h ${I}/sys/dir.h ${I}/sys/user.h
main.o: ${I}/sys/filsys.h ${I}/sys/mount.h ${I}/sys/map.h ${I}/sys/proc.h
main.o: ${I}/sys/inode.h ${I}/sys/seg.h ${I}/sys/conf.h ${I}/sys/buf.h
	${C} ../sys/main.c
	${E} main.s
	${A} main.o main.s
	-rm main.s

malloc.o: ../sys/malloc.c
malloc.o: param.h ${I}/sys/systm.h ${I}/sys/map.h ${I}/sys/vm.h
	${C} ../sys/malloc.c
	${E} malloc.s
	${A} malloc.o malloc.s
	-rm malloc.s

nami.o: ../sys/nami.c
nami.o: param.h ${I}/sys/systm.h ${I}/sys/inode.h ${I}/sys/filsys.h
nami.o: ${I}/sys/mount.h ${I}/sys/dir.h ${I}/sys/user.h ${I}/sys/buf.h
nami.o: ${I}/sys/quota.h ${I}/sys/seg.h
	${C} ../sys/nami.c
	${E} nami.s
	${A} nami.o nami.s
	-rm nami.s

pipe.o: ../sys/pipe.c
pipe.o: param.h ${I}/sys/systm.h ${I}/sys/dir.h ${I}/sys/user.h
pipe.o: ${I}/sys/inode.h ${I}/sys/file.h ${I}/sys/reg.h ${I}/sys/inline.h
	${C} ../sys/pipe.c
	${E} pipe.s
	${A} pipe.o pipe.s
	-rm pipe.s

prf.o: ../sys/prf.c
prf.o: param.h ${I}/sys/systm.h ${I}/sys/filsys.h ${I}/sys/mount.h
prf.o: ${I}/sys/seg.h ${I}/sys/buf.h ${I}/sys/conf.h ${I}/sys/inline.h
prf.o: ${I}/sys/reboot.h
	${C} ../sys/prf.c
	${E} prf.s
	${A} prf.o prf.s
	-rm prf.s

prim.o: ../sys/prim.c
prim.o: param.h dh.h dz.h ${I}/sys/tty.h ${I}/sys/systm.h ${I}/sys/conf.h
prim.o: ${I}/sys/buf.h ${I}/sys/seg.h ${I}/sys/map.h ${I}/sys/uba.h
	${C} ../sys/prim.c
	${E} prim.s
	${A} prim.o prim.s
	-rm prim.s

rdwri.o: ../sys/rdwri.c
rdwri.o: param.h ${I}/sys/systm.h ${I}/sys/inode.h ${I}/sys/dir.h
rdwri.o: ${I}/sys/user.h ${I}/sys/buf.h ${I}/sys/conf.h
	${C} ../sys/rdwri.c
	${E} rdwri.s
	${A} rdwri.o rdwri.s
	-rm rdwri.s

sig.o: ../sys/sig.c
sig.o: whoami.h
	${C} ../sys/sig.c
	${E} sig.s
	${A} sig.o sig.s
	-rm sig.s

slp.o: ../sys/slp.c
slp.o: param.h ${I}/sys/systm.h ${I}/sys/dir.h ${I}/sys/user.h
slp.o: ${I}/sys/proc.h ${I}/sys/text.h ${I}/sys/map.h ${I}/sys/file.h
slp.o: ${I}/sys/inode.h ${I}/sys/buf.h ${I}/sys/seg.h ${I}/sys/vm.h
slp.o: ${I}/sys/inline.h
	${C} ../sys/slp.c
	${E} slp.s
	${A} slp.o slp.s
	-rm slp.s

subr.o: ../sys/subr.c
subr.o: param.h ${I}/sys/systm.h ${I}/sys/conf.h ${I}/sys/inode.h
subr.o: ${I}/sys/dir.h ${I}/sys/user.h ${I}/sys/buf.h ${I}/sys/quota.h
	${C} ../sys/subr.c
	${E} subr.s
	${A} subr.o subr.s
	-rm subr.s

sys1.o: ../sys/sys1.c
sys1.o: param.h ${I}/sys/systm.h ${I}/sys/map.h ${I}/sys/dir.h
sys1.o: ${I}/sys/user.h ${I}/sys/proc.h ${I}/sys/buf.h ${I}/sys/reg.h
sys1.o: ${I}/sys/inode.h ${I}/sys/seg.h ${I}/sys/acct.h ${I}/sys/file.h
sys1.o: ${I}/wait.h
	${C} ../sys/sys1.c
	${E} sys1.s
	${A} sys1.o sys1.s
	-rm sys1.s

sys2.o: ../sys/sys2.c
sys2.o: param.h ${I}/sys/systm.h ${I}/sys/dir.h ${I}/sys/user.h
sys2.o: ${I}/sys/reg.h ${I}/sys/file.h ${I}/sys/inode.h ${I}/sys/quota.h
sys2.o: ${I}/sys/proc.h ${I}/sys/inline.h
	${C} ../sys/sys2.c
	${E} sys2.s
	${A} sys2.o sys2.s
	-rm sys2.s

sys3.o: ../sys/sys3.c
sys3.o: param.h ${I}/sys/systm.h ${I}/sys/ino.h ${I}/sys/reg.h
sys3.o: ${I}/sys/buf.h ${I}/sys/filsys.h ${I}/sys/mount.h ${I}/sys/dir.h
sys3.o: ${I}/sys/user.h ${I}/sys/inode.h ${I}/sys/file.h ${I}/sys/conf.h
sys3.o: ${I}/sys/stat.h ${I}/sys/inline.h
	${C} ../sys/sys3.c
	${E} sys3.s
	${A} sys3.o sys3.s
	-rm sys3.s

sys4.o: ../sys/sys4.c
sys4.o: param.h ${I}/sys/systm.h ${I}/sys/dir.h ${I}/sys/user.h
sys4.o: ${I}/sys/reg.h ${I}/sys/inode.h ${I}/sys/proc.h ${I}/sys/timeb.h
sys4.o: ${I}/sys/quota.h ${I}/sys/reboot.h ${I}/sys/filsys.h
	${C} ../sys/sys4.c
	${E} sys4.s
	${A} sys4.o sys4.s
	-rm sys4.s

sysent.o: ../sys/sysent.c
sysent.o: param.h ${I}/sys/systm.h ${I}/sys/quota.h
	${C} ../sys/sysent.c
	${E} sysent.s
	${A} sysent.o sysent.s
	-rm sysent.s

syslocal.o: ../sys/syslocal.c
syslocal.o: param.h ${I}/sys/dir.h ${I}/sys/proc.h ${I}/sys/seg.h
syslocal.o: ${I}/sys/user.h ${I}/sys/systm.h ${I}/sys/inode.h
syslocal.o: ${I}/sys/ino.h ${I}/sys/file.h ${I}/sys/conf.h
syslocal.o: ${I}/sys/quota.h ${I}/sys/qstat.h ${I}/sys/buf.h
syslocal.o: ${I}/sys/tty.h ${I}/sys/autoconfig.h ${I}/sys/mbuf.h
syslocal.o: ${I}/sys/protosw.h ${I}/sys/socket.h ${I}/sys/socketvar.h
syslocal.o: ${I}/sys/ubavar.h ${I}/sys/map.h ../net/if.h
syslocal.o: ../net/in_systm.h
	${C} ../sys/syslocal.c
	${E} syslocal.s
	${A} syslocal.o syslocal.s
	-rm syslocal.s

text.o: ../sys/text.c
text.o: param.h ${I}/sys/systm.h ${I}/sys/map.h ${I}/sys/dir.h
text.o: ${I}/sys/user.h ${I}/sys/proc.h ${I}/sys/text.h ${I}/sys/inode.h
text.o: ${I}/sys/buf.h ${I}/sys/seg.h
	${C} ../sys/text.c
	${E} text.s
	${A} text.o text.s
	-rm text.s

trap.o: ../sys/trap.c
trap.o: param.h ${I}/sys/systm.h ${I}/sys/dir.h ${I}/sys/user.h
trap.o: ${I}/sys/proc.h ${I}/sys/reg.h ${I}/sys/seg.h ${I}/sys/vm.h
trap.o: ${I}/sys/trap.h ${I}/sys/inline.h ${I}/sys/iopage.h
	${C} ../sys/trap.c
	${E} trap.s
	${A} trap.o trap.s
	-rm trap.s

ureg.o: ../sys/ureg.c
ureg.o: param.h ${I}/sys/systm.h ${I}/sys/dir.h ${I}/sys/user.h
ureg.o: ${I}/sys/proc.h ${I}/sys/text.h ${I}/sys/seg.h
	${C} ../sys/ureg.c
	${E} ureg.s
	${A} ureg.o ureg.s
	-rm ureg.s

mbuf11.o: ../sys/mbuf11.c
mbuf11.o: param.h ${I}/sys/seg.h ${I}/sys/mbuf.h ../net/in_systm.h
	${C} ../sys/mbuf11.c
	${E} mbuf11.s
	${A} mbuf11.o mbuf11.s
	-rm mbuf11.s

socketsubr.o: ../sys/socketsubr.c
socketsubr.o: param.h ${I}/sys/systm.h ${I}/sys/dir.h ${I}/sys/user.h
socketsubr.o: ${I}/sys/proc.h ${I}/sys/file.h ${I}/sys/inode.h
socketsubr.o: ${I}/sys/buf.h ${I}/sys/seg.h ${I}/sys/mbuf.h
socketsubr.o: ${I}/sys/protosw.h ${I}/sys/socket.h ${I}/sys/socketvar.h
socketsubr.o: ../net/in.h ../net/in_systm.h
	${C} ../sys/socketsubr.c
	${E} socketsubr.s
	${A} socketsubr.o socketsubr.s
	-rm socketsubr.s

socket.o: ../sys/socket.c
socket.o: param.h ${I}/sys/systm.h ${I}/sys/dir.h ${I}/sys/user.h
socket.o: ${I}/sys/proc.h ${I}/sys/file.h ${I}/sys/inode.h ${I}/sys/buf.h
socket.o: ${I}/sys/mbuf.h ${I}/sys/protosw.h ${I}/sys/socket.h
socket.o: ${I}/sys/socketvar.h ${I}/sys/stat.h ${I}/sys/ioctl.h
socket.o: ../net/in.h ../net/in_systm.h ../net/route.h
	${C} ../sys/socket.c
	${E} socket.s
	${A} socket.o socket.s
	-rm socket.s

ipc.o: ../sys/ipc.c
ipc.o: param.h ${I}/sys/systm.h ${I}/sys/dir.h ${I}/sys/user.h
ipc.o: ${I}/sys/proc.h ${I}/sys/file.h ${I}/sys/inode.h ${I}/sys/buf.h
ipc.o: ${I}/sys/mbuf.h ${I}/sys/protosw.h ${I}/sys/socket.h
ipc.o: ${I}/sys/socketvar.h ../net/in.h ../net/in_systm.h
	${C} ../sys/ipc.c
	${E} ipc.s
	${A} ipc.o ipc.s
	-rm ipc.s

proto.o: ../sys/proto.c
proto.o: param.h ${I}/sys/socket.h ${I}/sys/protosw.h ${I}/sys/mbuf.h
proto.o: ../net/in.h ../net/in_systm.h ../net/pup.h
	${C} ../sys/proto.c
	${E} proto.s
	${A} proto.o proto.s
	-rm proto.s

mbuf.o: ../sys/mbuf.c
mbuf.o: param.h ${I}/sys/dir.h ${I}/sys/user.h ${I}/sys/proc.h
mbuf.o: ${I}/sys/mbuf.h ../net/in_systm.h
	${C} ../sys/mbuf.c
	${E} mbuf.s
	${A} mbuf.o mbuf.s
	-rm mbuf.s

bio.o: ../dev/bio.c
bio.o: param.h ${I}/sys/systm.h ${I}/sys/dir.h ${I}/sys/user.h
bio.o: ${I}/sys/buf.h ${I}/sys/conf.h ${I}/sys/proc.h ${I}/sys/seg.h
bio.o: ${I}/sys/vm.h ${I}/sys/uba.h
	${C} ../dev/bio.c
	${E} bio.s
	${A} bio.o bio.s
	-rm bio.s

dh.o: ../dev/dh.c
dh.o: dh.h param.h ${I}/sys/conf.h ${I}/sys/systm.h ${I}/sys/dir.h
dh.o: ${I}/sys/user.h ${I}/sys/file.h ${I}/sys/tty.h ${I}/sys/dhreg.h
dh.o: ${I}/sys/uba.h
	${C} ../dev/dh.c
	${E} dh.s
	${A} dh.o dh.s
	-rm dh.s

dkbad.o: ../dev/dkbad.c
dkbad.o: param.h ${I}/sys/buf.h ${I}/sys/dkbad.h
	${C} ../dev/dkbad.c
	${E} dkbad.s
	${A} dkbad.o dkbad.s
	-rm dkbad.s

dkleave.o: ../dev/dkleave.c
dkleave.o: param.h ${I}/sys/buf.h
	${C} ../dev/dkleave.c
	${E} dkleave.s
	${A} dkleave.o dkleave.s
	-rm dkleave.s

dn.o: ../dev/dn.c
dn.o: dn.h param.h ${I}/sys/dir.h ${I}/sys/user.h ${I}/sys/dnreg.h
	${C} ../dev/dn.c
	${E} dn.s
	${A} dn.o dn.s
	-rm dn.s

dsort.o: ../dev/dsort.c
dsort.o: param.h ${I}/sys/systm.h ${I}/sys/buf.h
	${C} ../dev/dsort.c
	${E} dsort.s
	${A} dsort.o dsort.s
	-rm dsort.s

dz.o: ../dev/dz.c
dz.o: dz.h param.h ${I}/sys/systm.h ${I}/sys/dir.h ${I}/sys/user.h
dz.o: ${I}/sys/tty.h ${I}/sys/file.h ${I}/sys/conf.h ${I}/sys/dzreg.h
dz.o: ${I}/sys/pdma.h
	${C} ../dev/dz.c
	${E} dz.s
	${A} dz.o dz.s
	-rm dz.s

hk.o: ../dev/hk.c
hk.o: hk.h param.h ${I}/sys/systm.h ${I}/sys/buf.h ${I}/sys/conf.h
hk.o: ${I}/sys/dir.h ${I}/sys/user.h ${I}/sys/uba.h ${I}/sys/inline.h
hk.o: ${I}/sys/hkreg.h ${I}/sys/dkbad.h
	${C} ../dev/hk.c
	${E} hk.s
	${A} hk.o hk.s
	-rm hk.s

hp.o: ../dev/hp.c
hp.o: hp.h param.h ${I}/sys/systm.h ${I}/sys/buf.h ${I}/sys/conf.h
hp.o: ${I}/sys/dir.h ${I}/sys/user.h ${I}/sys/seg.h ${I}/sys/hpreg.h
hp.o: ${I}/sys/inline.h ${I}/sys/uba.h
	${C} ../dev/hp.c
	${E} hp.s
	${A} hp.o hp.s
	-rm hp.s

hs.o: ../dev/hs.c
hs.o: hs.h param.h ${I}/sys/systm.h ${I}/sys/buf.h ${I}/sys/conf.h
hs.o: ${I}/sys/dir.h ${I}/sys/user.h ${I}/sys/seg.h ${I}/sys/hsreg.h
	${C} ../dev/hs.c
	${E} hs.s
	${A} hs.o hs.s
	-rm hs.s

ht.o: ../dev/ht.c
ht.o: ht.h param.h ${I}/sys/systm.h ${I}/sys/buf.h ${I}/sys/conf.h
ht.o: ${I}/sys/dir.h ${I}/sys/file.h ${I}/sys/user.h ${I}/sys/htreg.h
ht.o: ${I}/sys/mtio.h
	${C} ../dev/ht.c
	${E} ht.s
	${A} ht.o ht.s
	-rm ht.s

kl.o: ../dev/kl.c
kl.o: kl.h param.h ${I}/sys/conf.h ${I}/sys/dir.h ${I}/sys/user.h
kl.o: ${I}/sys/tty.h ${I}/sys/systm.h ${I}/sys/klreg.h
	${C} ../dev/kl.c
	${E} kl.s
	${A} kl.o kl.s
	-rm kl.s

lp.o: ../dev/lp.c
lp.o: lp.h param.h ${I}/sys/systm.h ${I}/sys/dir.h ${I}/sys/user.h
lp.o: ${I}/sys/tty.h ${I}/sys/lpreg.h
	${C} ../dev/lp.c
	${E} lp.s
	${A} lp.o lp.s
	-rm lp.s

mem.o: ../dev/mem.c
mem.o: param.h ${I}/sys/dir.h ${I}/sys/user.h ${I}/sys/conf.h
mem.o: ${I}/sys/seg.h
	${C} ../dev/mem.c
	${E} mem.s
	${A} mem.o mem.s
	-rm mem.s

partab.o: ../dev/partab.c
partab.o: param.h
	${C} ../dev/partab.c
	${E} partab.s
	${A} partab.o partab.s
	-rm partab.s

rk.o: ../dev/rk.c
rk.o: rk.h param.h ${I}/sys/systm.h ${I}/sys/buf.h ${I}/sys/conf.h
rk.o: ${I}/sys/dir.h ${I}/sys/user.h ${I}/sys/rkreg.h
	${C} ../dev/rk.c
	${E} rk.s
	${A} rk.o rk.s
	-rm rk.s

rl.o: ../dev/rl.c
rl.o: rl.h param.h ${I}/sys/buf.h ${I}/sys/dir.h ${I}/sys/user.h
rl.o: ${I}/sys/systm.h ${I}/sys/conf.h ${I}/sys/rlreg.h
	${C} ../dev/rl.c
	${E} rl.s
	${A} rl.o rl.s
	-rm rl.s

rm.o: ../dev/rm.c
rm.o: rm.h param.h ${I}/sys/systm.h ${I}/sys/buf.h ${I}/sys/conf.h
rm.o: ${I}/sys/dir.h ${I}/sys/user.h ${I}/sys/hpreg.h ${I}/sys/inline.h
rm.o: ${I}/sys/seg.h ${I}/sys/uba.h
	${C} ../dev/rm.c
	${E} rm.s
	${A} rm.o rm.s
	-rm rm.s

rp.o: ../dev/rp.c
rp.o: rp.h param.h ${I}/sys/systm.h ${I}/sys/buf.h ${I}/sys/dir.h
rp.o: ${I}/sys/conf.h ${I}/sys/user.h ${I}/sys/rpreg.h
	${C} ../dev/rp.c
	${E} rp.s
	${A} rp.o rp.s
	-rm rp.s

sys.o: ../dev/sys.c
sys.o: param.h ${I}/sys/conf.h ${I}/sys/dir.h ${I}/sys/user.h
sys.o: ${I}/sys/tty.h ${I}/sys/proc.h
	${C} ../dev/sys.c
	${E} sys.s
	${A} sys.o sys.s
	-rm sys.s

tm.o: ../dev/tm.c
tm.o: tm.h param.h ${I}/sys/buf.h ${I}/sys/dir.h ${I}/sys/conf.h
tm.o: ${I}/sys/file.h ${I}/sys/user.h ${I}/sys/systm.h ${I}/sys/tmreg.h
tm.o: ${I}/sys/mtio.h
	${C} ../dev/tm.c
	${E} tm.s
	${A} tm.o tm.s
	-rm tm.s

ts.o: ../dev/ts.c
ts.o: ts.h param.h ${I}/sys/buf.h ${I}/sys/dir.h ${I}/sys/conf.h
ts.o: ${I}/sys/file.h ${I}/sys/user.h ${I}/sys/tsreg.h ${I}/sys/mtio.h
	${C} ../dev/ts.c
	${E} ts.s
	${A} ts.o ts.s
	-rm ts.s

tty.o: ../dev/tty.c
tty.o: param.h ${I}/sys/systm.h ${I}/sys/dir.h ${I}/sys/user.h
tty.o: ${I}/sys/tty.h ${I}/sys/proc.h ${I}/sys/mx.h ${I}/sys/inode.h
tty.o: ${I}/sys/file.h ${I}/sys/reg.h ${I}/sys/conf.h ${I}/sys/buf.h bk.h
	${C} ../dev/tty.c
	${E} tty.s
	${A} tty.o tty.s
	-rm tty.s

ttynew.o: ../dev/ttynew.c
ttynew.o: param.h ${I}/sys/systm.h ${I}/sys/dir.h ${I}/sys/user.h
ttynew.o: ${I}/sys/tty.h ${I}/sys/proc.h ${I}/sys/mx.h ${I}/sys/inode.h
ttynew.o: ${I}/sys/file.h ${I}/sys/reg.h ${I}/sys/conf.h ${I}/sys/buf.h
	${C} ../dev/ttynew.c
	${E} ttynew.s
	${A} ttynew.o ttynew.s
	-rm ttynew.s

ttyold.o: ../dev/ttyold.c
ttyold.o: param.h ${I}/sys/systm.h ${I}/sys/dir.h ${I}/sys/user.h
ttyold.o: ${I}/sys/tty.h ${I}/sys/proc.h ${I}/sys/mx.h ${I}/sys/inode.h
ttyold.o: ${I}/sys/file.h ${I}/sys/reg.h ${I}/sys/conf.h ${I}/sys/buf.h
	${C} ../dev/ttyold.c
	${E} ttyold.s
	${A} ttyold.o ttyold.s
	-rm ttyold.s

xp.o: ../dev/xp.c
xp.o: xp.h param.h ${I}/sys/systm.h ${I}/sys/buf.h ${I}/sys/conf.h
xp.o: ${I}/sys/dir.h ${I}/sys/user.h ${I}/sys/seg.h ${I}/sys/hpreg.h
xp.o: ${I}/sys/inline.h ${I}/sys/uba.h
	${C} ../dev/xp.c
	${E} xp.s
	${A} xp.o xp.s
	-rm xp.s

vp.o: ../dev/vp.c
vp.o: vp.h param.h ${I}/sys/dir.h ${I}/sys/user.h ${I}/sys/buf.h
vp.o: ${I}/sys/proc.h ${I}/sys/vcmd.h
	${C} ../dev/vp.c
	${E} vp.s
	${A} vp.o vp.s
	-rm vp.s

af.o: ../net/af.c
af.o: param.h ${I}/sys/mbuf.h ${I}/sys/protosw.h ${I}/sys/socket.h
af.o: ${I}/sys/socketvar.h ../net/af.h
	${C} ../net/af.c
	${E} af.s
	${A} af.o af.s
	-rm af.s

if.o: ../net/if.c
if.o: param.h ${I}/sys/systm.h ${I}/sys/socket.h ${I}/sys/protosw.h
if.o: ${I}/sys/ioctl.h ${I}/sys/dir.h ${I}/sys/user.h ${I}/errno.h
if.o: ../net/in.h ../net/in_systm.h ../net/if.h ../net/af.h
	${C} ../net/if.c
	${E} if.s
	${A} if.o if.s
	-rm if.s

if_loop.o: ../net/if_loop.c
if_loop.o: param.h ${I}/sys/systm.h ${I}/sys/mbuf.h ${I}/sys/socket.h
if_loop.o: ../net/in.h ../net/in_systm.h ../net/if.h ../net/ip.h
if_loop.o: ../net/ip_var.h ../net/route.h ${I}/errno.h
	${C} ../net/if_loop.c
	${E} if_loop.s
	${A} if_loop.o if_loop.s
	-rm if_loop.s

in.o: ../net/in.c
in.o: param.h ${I}/sys/mbuf.h ${I}/sys/protosw.h ${I}/sys/socket.h
in.o: ${I}/sys/socketvar.h ../net/in.h ../net/in_systm.h ../net/if.h
in.o: ../net/route.h ../net/af.h
	${C} ../net/in.c
	${E} in.s
	${A} in.o in.s
	-rm in.s

in_ck.o: ../net/in_ck.s
	${A} in_ck.o ../net/in_ck.s

in_cksum.o: ../net/in_cksum.c
in_cksum.o: param.h ${I}/sys/mbuf.h ../net/in.h ../net/in_systm.h
in_cksum.o: ${I}/sys/types.h
	${C} ../net/in_cksum.c
	${E} in_cksum.s
	${A} in_cksum.o in_cksum.s
	-rm in_cksum.s

in_pcb.o: ../net/in_pcb.c
in_pcb.o: param.h ${I}/sys/systm.h ${I}/sys/dir.h ${I}/sys/user.h
in_pcb.o: ${I}/sys/mbuf.h ${I}/sys/socket.h ${I}/sys/socketvar.h
in_pcb.o: ../net/in.h ../net/in_systm.h ../net/if.h ../net/route.h
in_pcb.o: ../net/in_pcb.h ${I}/sys/protosw.h
	${C} ../net/in_pcb.c
	${E} in_pcb.s
	${A} in_pcb.o in_pcb.s
	-rm in_pcb.s

ip_icmp.o: ../net/ip_icmp.c
ip_icmp.o: param.h ${I}/sys/systm.h ${I}/sys/mbuf.h ${I}/sys/protosw.h
ip_icmp.o: ${I}/sys/socket.h ../net/in.h ../net/in_systm.h ../net/ip.h
ip_icmp.o: ../net/ip_icmp.h
	${C} ../net/ip_icmp.c
	${E} ip_icmp.s
	${A} ip_icmp.o ip_icmp.s
	-rm ip_icmp.s

ip_input.o: ../net/ip_input.c
ip_input.o: param.h ${I}/sys/systm.h ${I}/sys/mbuf.h ${I}/sys/protosw.h
ip_input.o: ${I}/sys/socket.h ../net/in.h ../net/in_systm.h ../net/if.h
ip_input.o: ../net/ip.h ../net/ip_var.h ../net/ip_icmp.h ../net/tcp.h
ip_input.o: ${I}/errno.h
	${C} ../net/ip_input.c
	${E} ip_input.s
	${A} ip_input.o ip_input.s
	-rm ip_input.s

ip_output.o: ../net/ip_output.c
ip_output.o: param.h ${I}/sys/mbuf.h ${I}/sys/socket.h
ip_output.o: ${I}/sys/socketvar.h ../net/in.h ../net/in_systm.h
ip_output.o: ../net/if.h ../net/ip.h ../net/ip_var.h ../net/route.h
ip_output.o: ${I}/errno.h
	${C} ../net/ip_output.c
	${E} ip_output.s
	${A} ip_output.o ip_output.s
	-rm ip_output.s

raw_cb.o: ../net/raw_cb.c
raw_cb.o: param.h ${I}/sys/systm.h ${I}/sys/mbuf.h ${I}/sys/socket.h
raw_cb.o: ${I}/sys/socketvar.h ../net/in.h ../net/in_systm.h ../net/if.h
raw_cb.o: ../net/raw_cb.h ../net/pup.h ${I}/errno.h
	${C} ../net/raw_cb.c
	${E} raw_cb.s
	${A} raw_cb.o raw_cb.s
	-rm raw_cb.s

raw_ip.o: ../net/raw_ip.c
raw_ip.o: param.h ${I}/sys/mbuf.h ${I}/sys/socket.h ${I}/sys/protosw.h
raw_ip.o: ${I}/sys/socketvar.h ../net/if.h ../net/in.h ../net/in_systm.h
raw_ip.o: ../net/ip.h ../net/ip_var.h ../net/raw_cb.h ../net/route.h
raw_ip.o: ${I}/errno.h
	${C} ../net/raw_ip.c
	${E} raw_ip.s
	${A} raw_ip.o raw_ip.s
	-rm raw_ip.s

raw_usrreq.o: ../net/raw_usrreq.c
raw_usrreq.o: param.h ${I}/sys/mbuf.h ${I}/sys/protosw.h
raw_usrreq.o: ${I}/sys/socket.h ${I}/sys/socketvar.h ../net/in.h
raw_usrreq.o: ../net/in_systm.h ../net/if.h ../net/raw_cb.h ${I}/errno.h
	${C} ../net/raw_usrreq.c
	${E} raw_usrreq.s
	${A} raw_usrreq.o raw_usrreq.s
	-rm raw_usrreq.s

tcp_debug.o: ../net/tcp_debug.c
tcp_debug.o: param.h ${I}/sys/systm.h ${I}/sys/mbuf.h ${I}/sys/socket.h
tcp_debug.o: ${I}/sys/socketvar.h ${I}/sys/protosw.h ../net/in.h
tcp_debug.o: ../net/route.h ../net/in_pcb.h ../net/in_systm.h ../net/if.h
tcp_debug.o: ../net/ip.h ../net/ip_var.h ../net/tcp.h ../net/tcp_fsm.h
tcp_debug.o: ../net/tcp_seq.h ../net/tcp_timer.h ../net/tcp_var.h
tcp_debug.o: ../net/tcpip.h ../net/tcp_debug.h ${I}/errno.h
	${C} ../net/tcp_debug.c
	${E} tcp_debug.s
	${A} tcp_debug.o tcp_debug.s
	-rm tcp_debug.s

tcp_input.o: ../net/tcp_input.c
tcp_input.o: param.h ${I}/sys/systm.h ${I}/sys/seg.h ${I}/sys/mbuf.h
tcp_input.o: ${I}/sys/protosw.h ${I}/sys/socket.h ${I}/sys/socketvar.h
tcp_input.o: ../net/in.h ../net/route.h ../net/in_pcb.h ../net/in_systm.h
tcp_input.o: ../net/if.h ../net/ip.h ../net/ip_var.h ../net/tcp.h
tcp_input.o: ../net/tcp_fsm.h ../net/tcp_seq.h ../net/tcp_timer.h
tcp_input.o: ../net/tcp_var.h ../net/tcpip.h ../net/tcp_debug.h
tcp_input.o: ${I}/errno.h
	${C} ../net/tcp_input.c
	${E} tcp_input.s
	${A} tcp_input.o tcp_input.s
	-rm tcp_input.s

tcp_output.o: ../net/tcp_output.c
tcp_output.o: param.h ${I}/sys/systm.h ${I}/sys/seg.h ${I}/sys/mbuf.h
tcp_output.o: ${I}/sys/protosw.h ${I}/sys/socket.h ${I}/sys/socketvar.h
tcp_output.o: ../net/in.h ../net/route.h ../net/in_pcb.h
tcp_output.o: ../net/in_systm.h ../net/ip.h ../net/ip_var.h ../net/tcp.h
tcp_output.o: ../net/tcp_fsm.h ../net/tcp_seq.h ../net/tcp_timer.h
tcp_output.o: ../net/tcp_var.h ../net/tcpip.h ../net/tcp_debug.h
tcp_output.o: ${I}/errno.h
	${C} ../net/tcp_output.c
	${E} tcp_output.s
	${A} tcp_output.o tcp_output.s
	-rm tcp_output.s

tcp_subr.o: ../net/tcp_subr.c
tcp_subr.o: param.h ${I}/sys/systm.h ${I}/sys/mbuf.h ${I}/sys/socket.h
tcp_subr.o: ${I}/sys/socketvar.h ${I}/sys/protosw.h ../net/in.h
tcp_subr.o: ../net/route.h ../net/in_pcb.h ../net/in_systm.h ../net/if.h
tcp_subr.o: ../net/ip.h ../net/ip_var.h ../net/ip_icmp.h ../net/tcp.h
tcp_subr.o: ../net/tcp_fsm.h ../net/tcp_seq.h ../net/tcp_timer.h
tcp_subr.o: ../net/tcp_var.h ../net/tcpip.h ${I}/errno.h
	${C} ../net/tcp_subr.c
	${E} tcp_subr.s
	${A} tcp_subr.o tcp_subr.s
	-rm tcp_subr.s

tcp_timer.o: ../net/tcp_timer.c
tcp_timer.o: param.h ${I}/sys/systm.h ${I}/sys/mbuf.h ${I}/sys/socket.h
tcp_timer.o: ${I}/sys/socketvar.h ${I}/sys/protosw.h ../net/in.h
tcp_timer.o: ../net/route.h ../net/in_pcb.h ../net/in_systm.h ../net/if.h
tcp_timer.o: ../net/ip.h ../net/ip_var.h ../net/tcp.h ../net/tcp_fsm.h
tcp_timer.o: ../net/tcp_seq.h ../net/tcp_timer.h ../net/tcp_var.h
tcp_timer.o: ../net/tcpip.h ${I}/errno.h
	${C} ../net/tcp_timer.c
	${E} tcp_timer.s
	${A} tcp_timer.o tcp_timer.s
	-rm tcp_timer.s

tcp_usrreq.o: ../net/tcp_usrreq.c
tcp_usrreq.o: param.h ${I}/sys/systm.h ${I}/sys/mbuf.h ${I}/sys/socket.h
tcp_usrreq.o: ${I}/sys/socketvar.h ${I}/sys/protosw.h ../net/in.h
tcp_usrreq.o: ../net/route.h ../net/in_pcb.h ../net/in_systm.h
tcp_usrreq.o: ../net/if.h ../net/ip.h ../net/ip_var.h ../net/tcp.h
tcp_usrreq.o: ../net/tcp_fsm.h ../net/tcp_seq.h ../net/tcp_timer.h
tcp_usrreq.o: ../net/tcp_var.h ../net/tcpip.h ../net/tcp_debug.h
tcp_usrreq.o: ${I}/errno.h
	${C} ../net/tcp_usrreq.c
	${E} tcp_usrreq.s
	${A} tcp_usrreq.o tcp_usrreq.s
	-rm tcp_usrreq.s

udp_usrreq.o: ../net/udp_usrreq.c
udp_usrreq.o: param.h ${I}/sys/dir.h ${I}/sys/user.h ${I}/sys/mbuf.h
udp_usrreq.o: ${I}/sys/protosw.h ${I}/sys/socket.h ${I}/sys/socketvar.h
udp_usrreq.o: ../net/in.h ../net/if.h ../net/route.h ../net/in_pcb.h
udp_usrreq.o: ../net/in_systm.h ../net/ip.h ../net/ip_var.h
udp_usrreq.o: ../net/ip_icmp.h ../net/udp.h ../net/udp_var.h ${I}/errno.h
	${C} ../net/udp_usrreq.c
	${E} udp_usrreq.s
	${A} udp_usrreq.o udp_usrreq.s
	-rm udp_usrreq.s

route.o: ../net/route.c
route.o: param.h ${I}/sys/systm.h ${I}/sys/mbuf.h ${I}/sys/protosw.h
route.o: ${I}/sys/socket.h ${I}/sys/ioctl.h ../net/in.h ../net/in_systm.h
	${C} ../net/route.c
	${E} route.s
	${A} route.o route.s
	-rm route.s

# DEPENDENCIES MUST END HERE
# IF YOU PUT STUFF HERE IT WILL GO AWAY
# see make depend above
===============================================================================



More information about the Comp.bugs.2bsd mailing list