]> andersk Git - moira.git/blame - update/Makefile
removed lists for caching access control
[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
47323920 34all: sms_update.o update_server sms_untar
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
47323920 42sms_untar: sms_untar.c
43 cc -o sms_untar sms_untar.c
44
de56407f 45
46clean:
6933d1a5 47 -rm -f ${COBJS} ${SOBJS}
48 -rm -f update_server sms_update.o
47323920 49 -rm -f sms_untar
de56407f 50 -rm -f core a.out *~ \#*
51
98de09c0 52install: update_server
53 install -s update_server ${DESTDIR}/usr/etc/update_server
47323920 54 install -s sms_untar ${DESTDIR}/etc/sms_untar
7eef31e6 55
de56407f 56lint:
6933d1a5 57 lint ${LINTFLAGS} ${SSRCS}
58 lint ${LINTFLAGS} ${CSRCS}
de56407f 59
de56407f 60
d7bd457d 61smskey: smskey.c
62 ${CC} ${CFLAGS} -o smskey smskey.c -ldes
63
6933d1a5 64SRCS= ${SSRCS} ${CSRCS}
65depend:
de56407f 66 -rm -f eddep makedep
67 ${CC} -M ${CFLAGS} ${SRCS} | \
68 sed -e 's; ./; ;' \
69 -e ':loop' \
70 -e 's/\.\.\/[^ /]*\/\.\./../' \
71 -e 't loop' | \
72 awk ' { if ($$1 != prev) { print rec; rec = $$0; prev = $$1; } \
73 else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
74 else rec = rec " " $$2 } } \
75 END { print rec } ' > makedep
76 echo '/^# DO NOT DELETE THIS LINE/+1,$$d' >eddep
77 echo '$$r makedep' >>eddep
78 echo 'w' >>eddep
79 -rm -f Makefile.bak
80 cp Makefile Makefile.bak
81 ed - Makefile < eddep
82 rm -f eddep makedep
6933d1a5 83
de56407f 84# the last line in the makefile should be...
85# DO NOT DELETE THIS LINE
6933d1a5 86
98de09c0 87update_server.o: update_server.c ../include/mit-copyright.h
88update_server.o: /usr/include/stdio.h ../include/gdb.h /usr/include/sys/types.h
89update_server.o: /usr/include/sys/time.h /usr/include/time.h
90update_server.o: /usr/include/errno.h /usr/include/strings.h ../include/sms.h
94529549 91update_server.o: /usr/include/sms_et.h /usr/include/sys/file.h
98de09c0 92update_server.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
b29ec86e 93update_server.o: /usr/include/sys/ttydev.h ../include/update.h
98de09c0 94auth_001.o: auth_001.c ../include/mit-copyright.h /usr/include/stdio.h
95auth_001.o: /usr/include/strings.h ../include/gdb.h /usr/include/sys/types.h
b29ec86e 96auth_001.o: /usr/include/sys/time.h /usr/include/time.h ../include/krb.h
97auth_001.o: ../include/mit-copyright.h ../include/des.h
98auth_001.o: ../include/mit-copyright.h ../include/krb_et.h
99auth_001.o: /usr/include/netinet/in.h /usr/include/errno.h
98de09c0 100inst_001.o: inst_001.c ../include/mit-copyright.h /usr/include/stdio.h
101inst_001.o: ../include/gdb.h /usr/include/sys/types.h /usr/include/sys/time.h
b29ec86e 102inst_001.o: /usr/include/time.h
98de09c0 103xfer_002.o: xfer_002.c ../include/mit-copyright.h /usr/include/stdio.h
104xfer_002.o: ../include/gdb.h /usr/include/sys/types.h /usr/include/sys/time.h
6933d1a5 105xfer_002.o: /usr/include/time.h /usr/include/ctype.h /usr/include/sys/param.h
106xfer_002.o: /usr/include/machine/machparam.h /usr/include/signal.h
107xfer_002.o: /usr/include/sys/types.h /usr/include/sys/file.h
94529549 108xfer_002.o: /usr/include/strings.h ../include/sms.h /usr/include/sms_et.h
98de09c0 109exec_002.o: exec_002.c ../include/mit-copyright.h /usr/include/stdio.h
110exec_002.o: /usr/include/sys/wait.h /usr/include/signal.h ../include/gdb.h
111exec_002.o: /usr/include/sys/types.h /usr/include/sys/time.h
94529549 112exec_002.o: /usr/include/time.h ../include/sms.h /usr/include/sms_et.h
b29ec86e 113exec_002.o: ../include/update.h
98de09c0 114hostname.o: hostname.c ../include/mit-copyright.h /usr/include/stdio.h
115hostname.o: /usr/include/sys/types.h /usr/include/netinet/in.h
116hostname.o: /usr/include/netdb.h /usr/include/ctype.h /usr/include/strings.h
117log.o: log.c ../include/mit-copyright.h /usr/include/stdio.h
b29ec86e 118log.o: ../include/com_err.h /usr/include/varargs.h ../include/update.h
119log.o: ../include/krb.h ../include/mit-copyright.h ../include/des.h
120log.o: ../include/mit-copyright.h
98de09c0 121get_file.o: get_file.c ../include/mit-copyright.h /usr/include/stdio.h
122get_file.o: ../include/gdb.h /usr/include/sys/types.h /usr/include/sys/time.h
6933d1a5 123get_file.o: /usr/include/time.h /usr/include/ctype.h /usr/include/sys/param.h
124get_file.o: /usr/include/machine/machparam.h /usr/include/signal.h
125get_file.o: /usr/include/sys/types.h /usr/include/sys/file.h ../include/sms.h
b29ec86e 126get_file.o: /usr/include/sms_et.h ../include/update.h
98de09c0 127checksum.o: checksum.c ../include/mit-copyright.h /usr/include/stdio.h
128checksum.o: /usr/include/sys/file.h
129client.o: client.c ../include/mit-copyright.h /usr/include/stdio.h
130client.o: /usr/include/strings.h ../include/gdb.h /usr/include/sys/types.h
131client.o: /usr/include/sys/time.h /usr/include/time.h /usr/include/sys/param.h
132client.o: /usr/include/machine/machparam.h /usr/include/signal.h
133client.o: /usr/include/sys/types.h /usr/include/sys/wait.h ../include/update.h
134client.o: /usr/include/errno.h ../include/dcm.h ../include/sms.h
b29ec86e 135client.o: /usr/include/sms_et.h ../include/krb.h ../include/mit-copyright.h
136client.o: ../include/des.h ../include/mit-copyright.h
98de09c0 137ticket.o: ticket.c ../include/mit-copyright.h /usr/include/stdio.h
b29ec86e 138ticket.o: ../include/krb.h ../include/mit-copyright.h ../include/des.h
6933d1a5 139ticket.o: ../include/mit-copyright.h /usr/include/sys/types.h
140ticket.o: /usr/include/sys/stat.h /usr/include/strings.h ../include/update.h
b29ec86e 141ticket.o: ../include/com_err.h ../include/krb_et.h
98de09c0 142send_file.o: send_file.c ../include/mit-copyright.h /usr/include/stdio.h
b29ec86e 143send_file.o: ../include/com_err.h ../include/gdb.h /usr/include/sys/types.h
144send_file.o: /usr/include/sys/time.h /usr/include/time.h ../include/dcm.h
145send_file.o: ../include/sms.h /usr/include/sms_et.h /usr/include/sys/file.h
6933d1a5 146send_file.o: /usr/include/sys/stat.h ../include/update.h
98de09c0 147checksum.o: checksum.c ../include/mit-copyright.h /usr/include/stdio.h
148checksum.o: /usr/include/sys/file.h
149hostname.o: hostname.c ../include/mit-copyright.h /usr/include/stdio.h
150hostname.o: /usr/include/sys/types.h /usr/include/netinet/in.h
151hostname.o: /usr/include/netdb.h /usr/include/ctype.h /usr/include/strings.h
This page took 0.089568 seconds and 5 git commands to generate.