|
|
1.1 root 1: #
2: # Copyright (c) 1987 Regents of the University of California.
3: # All rights reserved. The Berkeley software License Agreement
4: # specifies the terms and conditions for redistribution.
5: #
6: # @(#)Makefile 4.4 (Berkeley) 6/19/87
7: #
8: CFLAGS= -O
9: LIBC= /lib/libc.a
10: SRCS= enroll.c lib.c xget.c xsend.c
11: OBJS= enroll.o lib.o xget.o xsend.o
12:
13: all: enroll xsend xget
14:
15: enroll: enroll.o lib.o ${LIBC}
16: ${CC} enroll.o lib.o -lmp -o $@
17:
18: xget: xget.o lib.o ${LIBC}
19: ${CC} xget.o lib.o -lmp -o $@
20:
21: xsend: xsend.o lib.o ${LIBC}
22: ${CC} xsend.o lib.o -lmp -o $@
23:
24: clean: FRC
25: rm -f ${OBJS} core enroll xsend xget
26:
27: depend: FRC
28: mkdep ${CFLAGS} ${SRCS}
29:
30: install: FRC
31: install -s -o bin -g bin -m 755 enroll ${DESTDIR}/usr/bin/enroll
32: install -s -o bin -g bin -m 755 xget ${DESTDIR}/usr/bin/xget
33: install -s -o bin -g bin -m 755 xsend ${DESTDIR}/usr/bin/xsend
34:
35: lint: FRC
36: lint ${CFLAGS} enroll.c lib.c
37: lint ${CFLAGS} xget.c lib.c
38: lint ${CFLAGS} xsend.c lib.c
39:
40: tags: FRC
41: ctags enroll.c lib.c
42: ctags -a xget.c
43: ctags -a xsend.c
44: sort -o tags tags
45:
46: FRC:
47:
48: # DO NOT DELETE THIS LINE -- mkdep uses it.
49: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
50:
51: enroll.o: enroll.c xmail.h /usr/include/stdio.h /usr/include/mp.h
52: enroll.o: /usr/include/pwd.h /usr/include/sys/types.h
53: lib.o: lib.c xmail.h /usr/include/stdio.h /usr/include/mp.h
54: xget.o: xget.c xmail.h /usr/include/stdio.h /usr/include/mp.h
55: xget.o: /usr/include/sys/types.h /usr/include/sys/dir.h /usr/include/ctype.h
56: xget.o: /usr/include/pwd.h /usr/include/sys/stat.h
57: xsend.o: xsend.c xmail.h /usr/include/stdio.h /usr/include/mp.h
58: xsend.o: /usr/include/sys/types.h /usr/include/pwd.h /usr/include/sys/stat.h
59: xsend.o: /usr/include/sys/dir.h
60:
61: # 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.