source: trunk/athena/bin/finger/Makefile @ 2156

Revision 2156, 2.3 KB checked in by epeisach, 35 years ago (diff)
Fixed depend line & ran depend.
Line 
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#
35DESTDIR=
36CFLAGS = -O
37CONFDIR = ${DESTDIR}/usr/athena
38BINDIR = ${DESTDIR}/bin
39
40LIBS =  -lhesiod -lzephyr -lcom_err -lkrb -ldes
41
42SRCS =  finger.c hespwnam.c
43
44OBJECTS = finger.o hespwnam.o
45
46all:    finger
47
48finger: ${OBJECTS}
49        cc ${CFLAGS} -o finger ${OBJECTS} ${LIBS}
50
51finger.o:       finger.c
52        cc -c ${CFLAGS} finger.c
53
54hespwnam.o:     hespwnam.c
55        cc -c ${CFLAGS} hespwnam.c
56
57lint:
58        lint -I../../include *.c
59
60clean: 
61        rm -f *.o *~ *.BAK
62        rm -f finger
63
64install:        finger
65        install -c -s -m 755 finger ${DESTDIR}/usr/athena/finger
66
67depend:
68        makedepend ${CFLAGS} ${SRCS}
69
70# DO NOT DELETE THIS LINE -- make depend depends on it.
71
72finger.o: finger.c /usr/include/sys/file.h /usr/include/sys/types.h
73finger.o: /usr/include/sys/stat.h /usr/include/utmp.h
74finger.o: /usr/include/sys/signal.h /usr/include/pwd.h /usr/include/stdio.h
75finger.o: /usr/include/lastlog.h /usr/include/ctype.h /usr/include/sys/time.h
76finger.o: /usr/include/sys/time.h /usr/include/sys/socket.h
77finger.o: /usr/include/netinet/in.h /usr/include/netdb.h
78finger.o: /usr/include/hesiod.h /usr/include/zephyr/zephyr.h
79finger.o: /usr/include/zephyr/mit-copyright.h
80finger.o: /usr/include/zephyr/zephyr_err.h /usr/include/zephyr/zephyr_conf.h
81finger.o: /usr/include/errno.h /usr/include/krb.h
82finger.o: /usr/include/mit-copyright.h /usr/include/des.h
83finger.o: /usr/include/des_conf.h
84hespwnam.o: hespwnam.c /usr/include/stdio.h /usr/include/pwd.h
85hespwnam.o: /usr/include/mit-copyright.h
Note: See TracBrowser for help on using the repository browser.