1 | # Makefile for Hesiod/Zephyr client finger |
---|
2 | # |
---|
3 | # MIT Project Athena |
---|
4 | # |
---|
5 | # $Source: /afs/dev.mit.edu/source/repository/athena/bin/finger/Makefile,v $ |
---|
6 | # $Header: /afs/dev.mit.edu/source/repository/athena/bin/finger/Makefile,v 1.8 1989-10-18 13:21:16 epeisach Exp $ |
---|
7 | # $Author: epeisach $ |
---|
8 | # $Log: not supported by cvs2svn $ |
---|
9 | # Revision 1.7 89/02/22 16:51:28 epeisach |
---|
10 | # Install options to strip and set permissions added. |
---|
11 | # |
---|
12 | # Revision 1.6 87/12/04 11:36:25 shanzer |
---|
13 | # Added -ldes to the list of libriaries.. |
---|
14 | # |
---|
15 | # Revision 1.5 87/08/27 16:56:33 ambar |
---|
16 | # fixed clean target. |
---|
17 | # |
---|
18 | # Revision 1.5 87/08/27 16:41:44 ambar |
---|
19 | # fixed clean target |
---|
20 | # |
---|
21 | # Revision 1.4 87/08/21 18:30:58 ambar |
---|
22 | # typo fix |
---|
23 | # |
---|
24 | # Revision 1.3 87/08/21 18:28:18 ambar |
---|
25 | # changed the name of the hesiod file. |
---|
26 | # |
---|
27 | # Revision 1.2 87/08/20 16:11:21 ambar |
---|
28 | # |
---|
29 | # oops: excess backslash removed. |
---|
30 | # |
---|
31 | # Revision 1.1 87/08/20 16:02:51 ambar |
---|
32 | # Initial revision |
---|
33 | # |
---|
34 | # |
---|
35 | DESTDIR= |
---|
36 | CFLAGS = -O |
---|
37 | CONFDIR = ${DESTDIR}/usr/athena |
---|
38 | BINDIR = ${DESTDIR}/bin |
---|
39 | |
---|
40 | LIBS = -lhesiod -lzephyr -lcom_err -lkrb -ldes |
---|
41 | |
---|
42 | SRCS = finger.c hespwnam.c |
---|
43 | |
---|
44 | OBJECTS = finger.o hespwnam.o |
---|
45 | |
---|
46 | all: finger |
---|
47 | |
---|
48 | finger: ${OBJECTS} |
---|
49 | cc ${CFLAGS} -o finger ${OBJECTS} ${LIBS} |
---|
50 | |
---|
51 | finger.o: finger.c |
---|
52 | cc -c ${CFLAGS} finger.c |
---|
53 | |
---|
54 | hespwnam.o: hespwnam.c |
---|
55 | cc -c ${CFLAGS} hespwnam.c |
---|
56 | |
---|
57 | lint: |
---|
58 | lint -I../../include *.c |
---|
59 | |
---|
60 | clean: |
---|
61 | rm -f *.o *~ *.BAK |
---|
62 | rm -f finger |
---|
63 | |
---|
64 | install: finger |
---|
65 | install -c -s -m 755 finger ${DESTDIR}/usr/athena/finger |
---|
66 | |
---|
67 | depend: |
---|
68 | makedepend ${CFLAGS} ${SRCS} |
---|
69 | |
---|
70 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
---|
71 | |
---|
72 | finger.o: finger.c /usr/include/sys/file.h /usr/include/sys/types.h |
---|
73 | finger.o: /usr/include/sys/stat.h /usr/include/utmp.h |
---|
74 | finger.o: /usr/include/sys/signal.h /usr/include/pwd.h /usr/include/stdio.h |
---|
75 | finger.o: /usr/include/lastlog.h /usr/include/ctype.h /usr/include/sys/time.h |
---|
76 | finger.o: /usr/include/sys/time.h /usr/include/sys/socket.h |
---|
77 | finger.o: /usr/include/netinet/in.h /usr/include/netdb.h |
---|
78 | finger.o: /usr/include/hesiod.h /usr/include/zephyr/zephyr.h |
---|
79 | finger.o: /usr/include/zephyr/mit-copyright.h |
---|
80 | finger.o: /usr/include/zephyr/zephyr_err.h /usr/include/zephyr/zephyr_conf.h |
---|
81 | finger.o: /usr/include/errno.h /usr/include/krb.h |
---|
82 | finger.o: /usr/include/mit-copyright.h /usr/include/des.h |
---|
83 | finger.o: /usr/include/des_conf.h |
---|
84 | hespwnam.o: hespwnam.c /usr/include/stdio.h /usr/include/pwd.h |
---|
85 | hespwnam.o: /usr/include/mit-copyright.h |
---|