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