]> andersk Git - moira.git/blame - update/Makefile
fixed gramattical error
[moira.git] / update / Makefile
CommitLineData
de56407f 1#
2# $Source$
3# $Header$
4#
5
6#
7# Makefile for 'update' directory.
8#
546bc43b 9# (c) Copyright 1988 by the Massachusetts Institute of Technology.
10# For copying and distribution information, please see the file
11# <mit-copyright.h>.
de56407f 12
13CC= cc
14INCS= -I../include
15DEFS=
16CFLAGS= -g ${INCS} ${DEFS}
17LINTFLAGS= ${INCS}
18LDFLAGS= -x
19
20# server object files
6933d1a5 21SOBJS= update_server.o auth_001.o inst_001.o xfer_002.o exec_002.o \
22 hostname.o log.o get_file.o checksum.o
de56407f 23
24# client object files
6643f7ba 25COBJS= client.o ticket.o send_file.o checksum.o hostname.o
de56407f 26
6933d1a5 27SSRCS= update_server.c auth_001.c inst_001.c xfer_002.c exec_002.c \
28 hostname.c log.c get_file.c checksum.c
de56407f 29
6643f7ba 30CSRCS= client.c ticket.c send_file.c checksum.c hostname.c
de56407f 31
6933d1a5 32LIBS= -L../lib -lsms -lgdb -lkrb -ldes -lcom_err
de56407f 33
6933d1a5 34all: sms_update.o update_server
de56407f 35
6933d1a5 36update_server: ${SOBJS}
37 cc ${CFLAGS} -o update_server ${SOBJS} ${LIBS}
6643f7ba 38
39sms_update.o: ${COBJS}
40 ld -r -o sms_update.o ${COBJS}
41
de56407f 42
43clean:
6933d1a5 44 -rm -f ${COBJS} ${SOBJS}
45 -rm -f update_server sms_update.o
de56407f 46 -rm -f core a.out *~ \#*
47
7eef31e6 48install:
6933d1a5 49 install update_server ../bin/update_server
7eef31e6 50
de56407f 51lint:
6933d1a5 52 lint ${LINTFLAGS} ${SSRCS}
53 lint ${LINTFLAGS} ${CSRCS}
de56407f 54
de56407f 55
d7bd457d 56smskey: smskey.c
57 ${CC} ${CFLAGS} -o smskey smskey.c -ldes
58
6933d1a5 59SRCS= ${SSRCS} ${CSRCS}
60depend:
de56407f 61 -rm -f eddep makedep
62 ${CC} -M ${CFLAGS} ${SRCS} | \
63 sed -e 's; ./; ;' \
64 -e ':loop' \
65 -e 's/\.\.\/[^ /]*\/\.\./../' \
66 -e 't loop' | \
67 awk ' { if ($$1 != prev) { print rec; rec = $$0; prev = $$1; } \
68 else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
69 else rec = rec " " $$2 } } \
70 END { print rec } ' > makedep
71 echo '/^# DO NOT DELETE THIS LINE/+1,$$d' >eddep
72 echo '$$r makedep' >>eddep
73 echo 'w' >>eddep
74 -rm -f Makefile.bak
75 cp Makefile Makefile.bak
76 ed - Makefile < eddep
77 rm -f eddep makedep
6933d1a5 78
de56407f 79# the last line in the makefile should be...
80# DO NOT DELETE THIS LINE
6933d1a5 81
82update_server.o: update_server.c /usr/include/stdio.h ../include/gdb.h
83update_server.o: /usr/include/sys/types.h /usr/include/sys/time.h
84update_server.o: /usr/include/time.h /usr/include/errno.h
85update_server.o: /usr/include/strings.h ../include/sms.h ../include/sms_et.h
86update_server.o: /usr/include/sys/file.h /usr/include/sys/ioctl.h
87update_server.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h update.h
88update_server.o: kludge.h
89auth_001.o: auth_001.c /usr/include/stdio.h /usr/include/strings.h
90auth_001.o: ../include/gdb.h /usr/include/sys/types.h /usr/include/sys/time.h
91auth_001.o: /usr/include/time.h kludge.h /usr/include/krb.h
92auth_001.o: ../include/mit-copyright.h /usr/include/des.h
93auth_001.o: ../include/mit-copyright.h /usr/include/des_conf.h
94auth_001.o: ../include/mit-copyright.h /usr/include/netinet/in.h
95auth_001.o: /usr/include/errno.h
96inst_001.o: inst_001.c /usr/include/stdio.h ../include/gdb.h
97inst_001.o: /usr/include/sys/types.h /usr/include/sys/time.h
98inst_001.o: /usr/include/time.h kludge.h
99xfer_002.o: xfer_002.c /usr/include/stdio.h ../include/gdb.h
100xfer_002.o: /usr/include/sys/types.h /usr/include/sys/time.h
101xfer_002.o: /usr/include/time.h /usr/include/ctype.h /usr/include/sys/param.h
102xfer_002.o: /usr/include/machine/machparam.h /usr/include/signal.h
103xfer_002.o: /usr/include/sys/types.h /usr/include/sys/file.h
104xfer_002.o: /usr/include/strings.h ../include/sms.h ../include/sms_et.h
105xfer_002.o: kludge.h
106exec_002.o: exec_002.c /usr/include/stdio.h /usr/include/sys/wait.h
107exec_002.o: /usr/include/signal.h ../include/gdb.h /usr/include/sys/types.h
108exec_002.o: /usr/include/sys/time.h /usr/include/time.h ../include/sms.h
109exec_002.o: ../include/sms_et.h update.h kludge.h
110hostname.o: hostname.c /usr/include/stdio.h /usr/include/sys/types.h
111hostname.o: /usr/include/netinet/in.h /usr/include/netdb.h /usr/include/ctype.h
112hostname.o: /usr/include/strings.h
113log.o: log.c /usr/include/stdio.h ../include/com_err.h
114log.o: ../include/mit-sipb-copyright.h /usr/include/varargs.h update.h
115log.o: /usr/include/krb.h ../include/mit-copyright.h /usr/include/des.h
116log.o: ../include/mit-copyright.h /usr/include/des_conf.h
117log.o: ../include/mit-copyright.h
118get_file.o: get_file.c /usr/include/stdio.h ../include/gdb.h
119get_file.o: /usr/include/sys/types.h /usr/include/sys/time.h
120get_file.o: /usr/include/time.h /usr/include/ctype.h /usr/include/sys/param.h
121get_file.o: /usr/include/machine/machparam.h /usr/include/signal.h
122get_file.o: /usr/include/sys/types.h /usr/include/sys/file.h ../include/sms.h
123get_file.o: ../include/sms_et.h update.h kludge.h
124checksum.o: checksum.c /usr/include/stdio.h /usr/include/sys/file.h
125client.o: client.c /usr/include/stdio.h /usr/include/strings.h ../include/gdb.h
126client.o: /usr/include/sys/types.h /usr/include/sys/time.h /usr/include/time.h
127client.o: /usr/include/sys/param.h /usr/include/machine/machparam.h
128client.o: /usr/include/signal.h /usr/include/sys/types.h
129client.o: /usr/include/sys/wait.h ../include/update.h /usr/include/errno.h
130client.o: ../include/dcm.h ../include/sms.h ../include/sms_et.h
131client.o: /usr/include/krb.h ../include/mit-copyright.h /usr/include/des.h
132client.o: ../include/mit-copyright.h /usr/include/des_conf.h
133client.o: ../include/mit-copyright.h
134ticket.o: ticket.c /usr/include/stdio.h /usr/include/krb.h
135ticket.o: ../include/mit-copyright.h /usr/include/des.h
136ticket.o: ../include/mit-copyright.h /usr/include/des_conf.h
137ticket.o: ../include/mit-copyright.h /usr/include/sys/types.h
138ticket.o: /usr/include/sys/stat.h /usr/include/strings.h ../include/update.h
139ticket.o: ../include/com_err.h ../include/mit-sipb-copyright.h
140send_file.o: send_file.c /usr/include/stdio.h ../include/com_err.h
141send_file.o: ../include/mit-sipb-copyright.h ../include/gdb.h
142send_file.o: /usr/include/sys/types.h /usr/include/sys/time.h
143send_file.o: /usr/include/time.h ../include/dcm.h ../include/sms.h
144send_file.o: ../include/sms_et.h /usr/include/sys/file.h
145send_file.o: /usr/include/sys/stat.h ../include/update.h
146checksum.o: checksum.c /usr/include/stdio.h /usr/include/sys/file.h
147hostname.o: hostname.c /usr/include/stdio.h /usr/include/sys/types.h
148hostname.o: /usr/include/netinet/in.h /usr/include/netdb.h /usr/include/ctype.h
149hostname.o: /usr/include/strings.h
This page took 0.072248 seconds and 5 git commands to generate.