head     1.3;
access   ;
symbols  ;
locks    ; strict;
comment  @# @;


1.3
date     86.03.10.15.14.59;  author root;  state Exp;
branches ;
next     1.2;

1.2
date     86.03.10.15.11.52;  author root;  state Exp;
branches ;
next     1.1;

1.1
date     86.03.03.10.04.21;  author root;  state Exp;
branches ;
next     ;


desc
@@


1.3
log
@corrected dumb spelling error in DEFINCLUDES
@
text
@#
# $Header: Makefile,v 1.2 86/03/10 15:11:52 root Exp $
#
# $Log:	Makefile,v $
# Revision 1.2  86/03/10  15:11:52  root
# added dependencies
# 
# Revision 1.1  86/03/03  10:04:21  root
# Initial revision
# 
#
#	Makefile (Berkeley) 6/12/83
#
ALL=	routed
OBJS=	af.o if.o input.o main.o output.o startup.o tables.o timer.o \
	trace.o
CFLAGS=	-O
DESTDIR=
LDFLAGS=

all:	${ALL}

routed: ${OBJS}
	${CC} -o routed ${LDFLAGS} ${OBJS}

install: routed
	install -s routed ${DESTDIR}/etc

clean:
	rm -f routed *.o core a.out t.c linterrs typescript errs rslts

#
# stuf included by def.h:
#
DEFINCLUDES=\
	/usr/include/sys/types.h \
	/usr/include/sys/socket.h \
	/usr/include/net/route.h \
	/usr/include/netinet/in.h \
	/usr/include/stdio.h \
	/usr/include/netdb.h \
	protocol.h \
	trace.h \
	interface.h \
	table.h \
	af.h
af.o:		af.c
af.o:		defs.h $(DEFINCLUDES)
if.o:		if.c
if.o:		defs.h $(DEFINCLUDES)
input.o:	input.c
input.o:	defs.h $(DEFINCLUDES)
main.o:		main.c
main.o:		defs.h $(DEFINCLUDES)
main.o:		/usr/include/sys/ioctl.h
main.o:		/usr/include/sys/time.h
main.o:		/usr/include/net/if.h
main.o:		/usr/include/errno.h
main.o:		/usr/include/nlist.h
main.o:		/usr/include/signal.h
output.o:	output.c
output.o:	defs.h $(DEFINCLUDES)
startup.o:	startup.c
startup.o:	defs.h $(DEFINCLUDES)
startup.o:	/usr/include/net/if.h
startup.o:	/usr/include/nlist.h
tables.o:	tables.c
tables.o:	defs.h $(DEFINCLUDES)
tables.o:	/usr/include/sys/ioctl.h
tables.o:	/usr/include/errno.h
timer.o:	timer.c
timer.o:	defs.h $(DEFINCLUDES)
trace.o:	trace.c
trace.o:	defs.h $(DEFINCLUDES)
@


1.2
log
@added dependencies
@
text
@d2 1
a2 1
# $Header: Makefile,v 1.1 86/03/03 10:04:21 root Exp $
d5 3
d35 1
a35 1
DEFINECLUDES=\
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# $Header$
d4 4
a7 1
# $Log$
d27 45
a71 1
	rm -f routed *.o core a.out t.c linterrs typescript errs
@
