]> andersk Git - moira.git/blame - update/Makefile
Initial revision
[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
2ad0a777 32LIBS= -L../lib -lmoira -lgdb -lkrb -ldes -lcom_err
de56407f 33
dcea94dc 34all: moira_update.o update_server
de56407f 35
6933d1a5 36update_server: ${SOBJS}
37 cc ${CFLAGS} -o update_server ${SOBJS} ${LIBS}
6643f7ba 38
2ad0a777 39moira_update.o: ${COBJS}
40 ld -r -o moira_update.o ${COBJS}
6643f7ba 41
de56407f 42
43clean:
6933d1a5 44 -rm -f ${COBJS} ${SOBJS}
2ad0a777 45 -rm -f update_server moira_update.o
de56407f 46 -rm -f core a.out *~ \#*
47
98de09c0 48install: update_server
a7ef7615 49 install -c -s update_server ${DESTDIR}/usr/etc/update_server
7eef31e6 50
de56407f 51lint:
6933d1a5 52 lint ${LINTFLAGS} ${SSRCS}
53 lint ${LINTFLAGS} ${CSRCS}
de56407f 54
d7bd457d 55smskey: smskey.c
56 ${CC} ${CFLAGS} -o smskey smskey.c -ldes
57
6933d1a5 58depend:
050550ba 59 mkdep ${CFLAGS} ${SSRCS} ${CSRCS}
60
61# DO NOT DELETE THIS LINE -- mkdep uses it.
6933d1a5 62
98de09c0 63update_server.o: update_server.c ../include/mit-copyright.h
050550ba 64update_server.o: /usr/include/stdio.h ../include/gdb.h
65update_server.o: /usr/include/sys/types.h /usr/include/sys/time.h
66update_server.o: /usr/include/sys/time.h /usr/include/errno.h
2ad0a777 67update_server.o: /usr/include/strings.h ../include/moira.h ../include/mr_et.h
050550ba 68update_server.o: /usr/include/sys/file.h /usr/include/sys/ioctl.h
69update_server.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
70update_server.o: ../include/update.h
98de09c0 71auth_001.o: auth_001.c ../include/mit-copyright.h /usr/include/stdio.h
72auth_001.o: /usr/include/strings.h ../include/gdb.h /usr/include/sys/types.h
050550ba 73auth_001.o: /usr/include/sys/time.h /usr/include/sys/time.h ../include/krb.h
74auth_001.o: ../include/des.h ../include/krb_et.h /usr/include/netinet/in.h
75auth_001.o: /usr/include/errno.h
98de09c0 76inst_001.o: inst_001.c ../include/mit-copyright.h /usr/include/stdio.h
77inst_001.o: ../include/gdb.h /usr/include/sys/types.h /usr/include/sys/time.h
050550ba 78inst_001.o: /usr/include/sys/time.h
98de09c0 79xfer_002.o: xfer_002.c ../include/mit-copyright.h /usr/include/stdio.h
80xfer_002.o: ../include/gdb.h /usr/include/sys/types.h /usr/include/sys/time.h
050550ba 81xfer_002.o: /usr/include/sys/time.h /usr/include/ctype.h
82xfer_002.o: /usr/include/sys/param.h /usr/include/machine/machparam.h
83xfer_002.o: /usr/include/sys/signal.h /usr/include/sys/file.h
2ad0a777 84xfer_002.o: /usr/include/strings.h ../include/moira.h ../include/mr_et.h
98de09c0 85exec_002.o: exec_002.c ../include/mit-copyright.h /usr/include/stdio.h
050550ba 86exec_002.o: /usr/include/sys/wait.h /usr/include/sys/signal.h
87exec_002.o: ../include/gdb.h /usr/include/sys/types.h /usr/include/sys/time.h
2ad0a777 88exec_002.o: /usr/include/sys/time.h ../include/moira.h ../include/mr_et.h
b29ec86e 89exec_002.o: ../include/update.h
98de09c0 90hostname.o: hostname.c ../include/mit-copyright.h /usr/include/stdio.h
91hostname.o: /usr/include/sys/types.h /usr/include/netinet/in.h
92hostname.o: /usr/include/netdb.h /usr/include/ctype.h /usr/include/strings.h
93log.o: log.c ../include/mit-copyright.h /usr/include/stdio.h
b29ec86e 94log.o: ../include/com_err.h /usr/include/varargs.h ../include/update.h
050550ba 95log.o: ../include/krb.h ../include/des.h
98de09c0 96get_file.o: get_file.c ../include/mit-copyright.h /usr/include/stdio.h
97get_file.o: ../include/gdb.h /usr/include/sys/types.h /usr/include/sys/time.h
050550ba 98get_file.o: /usr/include/sys/time.h /usr/include/ctype.h
99get_file.o: /usr/include/sys/param.h /usr/include/machine/machparam.h
100get_file.o: /usr/include/sys/signal.h /usr/include/sys/file.h
2ad0a777 101get_file.o: ../include/moira.h ../include/mr_et.h ../include/update.h
98de09c0 102checksum.o: checksum.c ../include/mit-copyright.h /usr/include/stdio.h
103checksum.o: /usr/include/sys/file.h
104client.o: client.c ../include/mit-copyright.h /usr/include/stdio.h
105client.o: /usr/include/strings.h ../include/gdb.h /usr/include/sys/types.h
050550ba 106client.o: /usr/include/sys/time.h /usr/include/sys/time.h
107client.o: /usr/include/sys/param.h /usr/include/machine/machparam.h
108client.o: /usr/include/sys/signal.h /usr/include/sys/wait.h
109client.o: /usr/include/sys/socket.h ../include/update.h /usr/include/errno.h
2ad0a777 110client.o: ../include/dcm.h ../include/moira.h ../include/mr_et.h
111client.o: ../include/moira_site.h ../include/krb.h ../include/des.h
98de09c0 112ticket.o: ticket.c ../include/mit-copyright.h /usr/include/stdio.h
050550ba 113ticket.o: ../include/krb.h ../include/des.h /usr/include/sys/types.h
6933d1a5 114ticket.o: /usr/include/sys/stat.h /usr/include/strings.h ../include/update.h
b29ec86e 115ticket.o: ../include/com_err.h ../include/krb_et.h
98de09c0 116send_file.o: send_file.c ../include/mit-copyright.h /usr/include/stdio.h
b29ec86e 117send_file.o: ../include/com_err.h ../include/gdb.h /usr/include/sys/types.h
050550ba 118send_file.o: /usr/include/sys/time.h /usr/include/sys/time.h ../include/dcm.h
2ad0a777 119send_file.o: ../include/moira.h ../include/mr_et.h /usr/include/sys/file.h
6933d1a5 120send_file.o: /usr/include/sys/stat.h ../include/update.h
98de09c0 121checksum.o: checksum.c ../include/mit-copyright.h /usr/include/stdio.h
122checksum.o: /usr/include/sys/file.h
123hostname.o: hostname.c ../include/mit-copyright.h /usr/include/stdio.h
124hostname.o: /usr/include/sys/types.h /usr/include/netinet/in.h
125hostname.o: /usr/include/netdb.h /usr/include/ctype.h /usr/include/strings.h
This page took 0.088779 seconds and 5 git commands to generate.