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