|
|
1.1 root 1: #
2: # Copyright (c) 1987 Regents of the University of California.
3: # All rights reserved.
4: #
5: # Redistribution and use in source and binary forms are permitted
6: # provided that the above copyright notice and this paragraph are
7: # duplicated in all such forms and that any documentation,
8: # advertising materials, and other materials related to such
9: # distribution and use acknowledge that the software was developed
10: # by the University of California, Berkeley. The name of the
11: # University may not be used to endorse or promote products derived
12: # from this software without specific prior written permission.
13: # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14: # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15: # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
16: #
17: # @(#)Makefile 5.7 (Berkeley) 7/9/88
18: #
19: CFLAGS= -O
20: LIBC= /lib/libc.a
21: C2= /lib/c2
22: INLINE= /sys/machine/inline/inline
23: SRCS= af.c if.c input.c main.c output.c startup.c tables.c timer.c \
24: trace.c inet.c
25: OBJS= af.o if.o input.o main.o output.o startup.o tables.o timer.o \
26: trace.o inet.o
27: HDRS= af.h defs.h interface.h table.h trace.h
28:
29: all: routed
30:
31: routed: ${OBJS} ${LIBC}
32: ${CC} -o $@ ${CFLAGS} ${OBJS}
33:
34: # The following can be deleted where not appropriate to use the kernel's
35: # inline code expansions.
36: .c.o:
37: ${CC} -S ${CFLAGS} $*.c
38: ${C2} $*.s | ${INLINE} | ${AS} -o $*.o
39: rm -f $*.s
40:
41: clean: FRC
42: rm -f ${OBJS} core routed
43: (cd tools; make ${MFLAGS} clean)
44:
45: depend: FRC
46: mkdep ${CFLAGS} ${SRCS}
47: (cd tools; make ${MFLAGS} depend)
48:
49: install: FRC
50: install -s -o bin -g bin -m 755 routed ${DESTDIR}/etc/routed
51:
52: lint: FRC
53: lint ${CFLAGS} ${SRCS}
54:
55: tags: FRC
56: ctags ${HDRS} ${SRCS}
57: (cd tools; make ${MFLAGS} tags)
58:
59: FRC:
60:
61: # DO NOT DELETE THIS LINE -- mkdep uses it.
62: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
63:
64: af.o: af.c defs.h /usr/include/sys/types.h /usr/include/sys/socket.h
65: af.o: /usr/include/net/route.h /usr/include/netinet/in.h
66: af.o: /usr/include/protocols/routed.h /usr/include/stdio.h /usr/include/netdb.h
67: af.o: trace.h interface.h table.h af.h
68: if.o: if.c defs.h /usr/include/sys/types.h /usr/include/sys/socket.h
69: if.o: /usr/include/net/route.h /usr/include/netinet/in.h
70: if.o: /usr/include/protocols/routed.h /usr/include/stdio.h /usr/include/netdb.h
71: if.o: trace.h interface.h table.h af.h
72: input.o: input.c defs.h /usr/include/sys/types.h /usr/include/sys/socket.h
73: input.o: /usr/include/net/route.h /usr/include/netinet/in.h
74: input.o: /usr/include/protocols/routed.h /usr/include/stdio.h
75: input.o: /usr/include/netdb.h trace.h interface.h table.h af.h
76: input.o: /usr/include/sys/syslog.h
77: main.o: main.c defs.h /usr/include/sys/types.h /usr/include/sys/socket.h
78: main.o: /usr/include/net/route.h /usr/include/netinet/in.h
79: main.o: /usr/include/protocols/routed.h /usr/include/stdio.h
80: main.o: /usr/include/netdb.h trace.h interface.h table.h af.h
81: main.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
82: main.o: /usr/include/sys/ttydev.h /usr/include/sys/time.h /usr/include/time.h
83: main.o: /usr/include/net/if.h /usr/include/net/if_arp.h
84: main.o: /usr/include/sys/errno.h /usr/include/sys/signal.h
85: main.o: /usr/include/machine/trap.h /usr/include/sys/syslog.h
86: output.o: output.c defs.h /usr/include/sys/types.h /usr/include/sys/socket.h
87: output.o: /usr/include/net/route.h /usr/include/netinet/in.h
88: output.o: /usr/include/protocols/routed.h /usr/include/stdio.h
89: output.o: /usr/include/netdb.h trace.h interface.h table.h af.h
90: startup.o: startup.c defs.h /usr/include/sys/types.h /usr/include/sys/socket.h
91: startup.o: /usr/include/net/route.h /usr/include/netinet/in.h
92: startup.o: /usr/include/protocols/routed.h /usr/include/stdio.h
93: startup.o: /usr/include/netdb.h trace.h interface.h table.h af.h
94: startup.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
95: startup.o: /usr/include/sys/ttydev.h /usr/include/net/if.h
96: startup.o: /usr/include/net/if_arp.h /usr/include/syslog.h
97: tables.o: tables.c defs.h /usr/include/sys/types.h /usr/include/sys/socket.h
98: tables.o: /usr/include/net/route.h /usr/include/netinet/in.h
99: tables.o: /usr/include/protocols/routed.h /usr/include/stdio.h
100: tables.o: /usr/include/netdb.h trace.h interface.h table.h af.h
101: tables.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
102: tables.o: /usr/include/sys/ttydev.h /usr/include/errno.h
103: tables.o: /usr/include/sys/syslog.h
104: timer.o: timer.c defs.h /usr/include/sys/types.h /usr/include/sys/socket.h
105: timer.o: /usr/include/net/route.h /usr/include/netinet/in.h
106: timer.o: /usr/include/protocols/routed.h /usr/include/stdio.h
107: timer.o: /usr/include/netdb.h trace.h interface.h table.h af.h
108: trace.o: trace.c defs.h /usr/include/sys/types.h /usr/include/sys/socket.h
109: trace.o: /usr/include/net/route.h /usr/include/netinet/in.h
110: trace.o: /usr/include/protocols/routed.h /usr/include/stdio.h
111: trace.o: /usr/include/netdb.h trace.h interface.h table.h af.h
112: trace.o: /usr/include/sys/file.h /usr/include/sys/stat.h
113: trace.o: /usr/include/sys/signal.h /usr/include/machine/trap.h
114: inet.o: inet.c defs.h /usr/include/sys/types.h /usr/include/sys/socket.h
115: inet.o: /usr/include/net/route.h /usr/include/netinet/in.h
116: inet.o: /usr/include/protocols/routed.h /usr/include/stdio.h
117: inet.o: /usr/include/netdb.h trace.h interface.h table.h af.h
118:
119: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.