|
|
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.6 (Berkeley) 6/29/88
18: #
19: CFLAGS= -O
20: LIBC= /lib/libc.a
21: SRCS= main.c tftp.c tftpsubs.c
22: OBJS= main.o tftp.o tftpsubs.o
23:
24: all: tftp
25:
26: tftp: ${OBJS} ${LIBC}
27: ${CC} -o $@ ${CFLAGS} ${OBJS}
28:
29: clean: FRC
30: rm -f ${OBJS} core tftp
31:
32: depend: FRC
33: mkdep ${CFLAGS} ${SRCS}
34:
35: install: FRC
36: install -s -o bin -g bin -m 755 tftp ${DESTDIR}/usr/ucb/tftp
37:
38: lint: FRC
39: lint ${CFLAGS} ${SRCS}
40:
41: tags: FRC
42: ctags ${SRCS}
43:
44: FRC:
45:
46: # DO NOT DELETE THIS LINE -- mkdep uses it.
47: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
48:
49: main.o: main.c /usr/include/sys/types.h /usr/include/sys/socket.h
50: main.o: /usr/include/sys/file.h /usr/include/netinet/in.h /usr/include/signal.h
51: main.o: /usr/include/machine/trap.h /usr/include/stdio.h /usr/include/errno.h
52: main.o: /usr/include/setjmp.h /usr/include/ctype.h /usr/include/netdb.h
53: tftp.o: tftp.c /usr/include/sys/types.h /usr/include/sys/socket.h
54: tftp.o: /usr/include/sys/time.h /usr/include/time.h /usr/include/netinet/in.h
55: tftp.o: /usr/include/arpa/tftp.h /usr/include/signal.h
56: tftp.o: /usr/include/machine/trap.h /usr/include/stdio.h /usr/include/errno.h
57: tftp.o: /usr/include/setjmp.h
58: tftpsubs.o: tftpsubs.c /usr/include/sys/types.h /usr/include/sys/socket.h
59: tftpsubs.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
60: tftpsubs.o: /usr/include/sys/ttydev.h /usr/include/netinet/in.h
61: tftpsubs.o: /usr/include/arpa/tftp.h /usr/include/stdio.h
62:
63: # 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.