]> andersk Git - moira.git/blobdiff - update/Makefile
add back in Kerberos changes:
[moira.git] / update / Makefile
index 1b8ff0ed9e478eb871339c2d9bab41ab5c286188..d593a769986a9faae02ae7213297197c9a58df94 100644 (file)
@@ -6,6 +6,9 @@
 #
 # Makefile for 'update' directory.
 #
+# (c) Copyright 1988 by the Massachusetts Institute of Technology.
+# For copying and distribution information, please see the file
+# <mit-copyright.h>.
 
 CC=    cc
 INCS=  -I../include
@@ -15,59 +18,51 @@ LINTFLAGS= ${INCS}
 LDFLAGS= -x
 
 # server object files
-SOBJS= dispatch.o initialize_server.o \
-       quit.o xfer_001.o misc.o inst_001.o sync.o auth_001.o \
-       exec_001.o get_file.o xfer_002.o exec_002.o
+SOBJS= update_server.o auth_001.o inst_001.o xfer_002.o exec_002.o \
+       hostname.o log.o get_file.o checksum.o
 
 # client object files
-COBJS= client2.o ticket.o send_file.o
+COBJS= client.o ticket.o send_file.o checksum.o hostname.o
 
-# common object files
-COMOBJS= log_error.o hostname.o smsu_int.o log.o checksum.o
+SSRCS= update_server.c auth_001.c inst_001.c xfer_002.c exec_002.c \
+       hostname.c log.c get_file.c checksum.c
 
-SSRCS= dispatch.c initialize_server.c \
-       quit.c xfer_001.c misc.c inst_001.c sync.c auth_001.c \
-       exec_001.c get_file.c xfer_002.c exec_002.c
+CSRCS= client.c ticket.c send_file.c checksum.c hostname.c
 
-CSRCS= client.c ticket.c send_file.c client2.c
+LIBS=  -L../lib -lsms -lgdb -lkrb -ldes -lcom_err
 
-COMSRCS= log_error.c hostname.c log.c checksum.c
+all:   sms_update.o update_server sms_untar
 
-# libmisc.a includes libcom_err.a and a working malloc()
-LIBS=  -L../lib -lgdb -lkrb -ldes -lcom_err
+update_server: ${SOBJS}
+       cc ${CFLAGS} -o update_server ${SOBJS} ${LIBS}
 
-all:   server sms_update.o test
+sms_update.o: ${COBJS}
+       ld -r -o sms_update.o ${COBJS}
 
-clean: 
-       -rm -f ${COBJS} ${SOBJS} ${COMOBJS} client.o
-       -rm -f server sms_update.o test test.o smsu_int.h
-       -rm -f core a.out *~ \#*
+sms_untar: sms_untar.c
+       cc -o sms_untar sms_untar.c
 
-lint:
-       lint ${LINTFLAGS} ${SSRCS} ${COMSRCS}
-       lint ${LINTFLAGS} ${CSRCS} ${COMSRCS}
 
-server:        ${SOBJS} ${COMOBJS}
-       rm -f server
-       ${CC} ${CFLAGS} -o server ${SOBJS} ${COMOBJS} ${LIBS}
+clean: 
+       -rm -f ${COBJS} ${SOBJS}
+       -rm -f update_server sms_update.o
+       -rm -f sms_untar
+       -rm -f core a.out *~ \#*
 
-sms_update.o:  ${COBJS} ${COMOBJS}
-       ld ${LDFLAGS} -r -o sms_update.o ${COBJS} ${COMOBJS}
-       -chmod -x sms_update.o
+install: update_server
+       install -s update_server ${DESTDIR}/usr/etc/update_server
+       install -s sms_untar ${DESTDIR}/etc/sms_untar
 
-smsu_int.o smsu_int.h: smsu_int.et
-       compile_et smsu_int
+lint:
+       lint ${LINTFLAGS} ${SSRCS}
+       lint ${LINTFLAGS} ${CSRCS}
 
-test.o: test.c
-       -rm -f test.o
-       ${CC} ${CFLAGS} -c test.c
 
-test:  test.o sms_update.o
-       rm -f test
-       ${CC} ${CFLAGS} -o test test.o sms_update.o ${LIBS}
+smskey:        smskey.c
+       ${CC} ${CFLAGS} -o smskey smskey.c -ldes
 
-SRCS=  ${SSRCS} ${CSRCS} ${COMSRCS}
-depend:        smsu_int.h
+SRCS=  ${SSRCS} ${CSRCS}
+depend:
        -rm -f eddep makedep
        ${CC} -M ${CFLAGS} ${SRCS} | \
        sed -e 's; ./; ;' \
@@ -85,86 +80,78 @@ depend:     smsu_int.h
        cp Makefile Makefile.bak
        ed - Makefile < eddep
        rm -f eddep makedep
-#
+
 # the last line in the makefile should be...
 # DO NOT DELETE THIS LINE
 
-dispatch.o: dispatch.c /usr/include/stdio.h ../include/gdb.h
-dispatch.o: /usr/include/sys/types.h /usr/include/sys/time.h
-dispatch.o: /usr/include/time.h /usr/include/errno.h /usr/include/strings.h
-dispatch.o: ../include/update.h sms_update_int.h smsu_int.h kludge.h
-initialize_server.o: initialize_server.c /usr/include/stdio.h ../include/gdb.h
-initialize_server.o: /usr/include/sys/types.h /usr/include/sys/time.h
-initialize_server.o: /usr/include/time.h
-quit.o: quit.c /usr/include/stdio.h ../include/gdb.h /usr/include/sys/types.h
-quit.o: /usr/include/sys/time.h /usr/include/time.h
-xfer_001.o: xfer_001.c /usr/include/stdio.h /usr/include/strings.h
-xfer_001.o: ../include/gdb.h /usr/include/sys/types.h /usr/include/sys/time.h
-xfer_001.o: /usr/include/time.h /usr/include/ctype.h /usr/include/sys/param.h
-xfer_001.o: /usr/include/machine/machparam.h /usr/include/signal.h
-xfer_001.o: /usr/include/sys/types.h /usr/include/sys/file.h smsu_int.h
-xfer_001.o: kludge.h
-misc.o: misc.c /usr/include/stdio.h ../include/gdb.h /usr/include/sys/types.h
-misc.o: /usr/include/sys/time.h /usr/include/time.h sms_update_int.h kludge.h
-misc.o: /usr/include/sys/param.h /usr/include/machine/machparam.h
-misc.o: /usr/include/signal.h /usr/include/sys/types.h smsu_int.h
-inst_001.o: inst_001.c /usr/include/stdio.h ../include/gdb.h
-inst_001.o: /usr/include/sys/types.h /usr/include/sys/time.h
-inst_001.o: /usr/include/time.h kludge.h sms_update_int.h
-sync.o: sync.c /usr/include/stdio.h ../include/gdb.h /usr/include/sys/types.h
-sync.o: /usr/include/sys/time.h /usr/include/time.h kludge.h smsu_int.h
-auth_001.o: auth_001.c /usr/include/stdio.h /usr/include/strings.h
-auth_001.o: ../include/gdb.h /usr/include/sys/types.h /usr/include/sys/time.h
-auth_001.o: /usr/include/time.h smsu_int.h kludge.h /usr/include/krb.h
-auth_001.o: /usr/include/des.h /usr/include/netinet/in.h /usr/include/errno.h
-exec_001.o: exec_001.c /usr/include/stdio.h ../include/gdb.h
-exec_001.o: /usr/include/sys/types.h /usr/include/sys/time.h
-exec_001.o: /usr/include/time.h sms_update_int.h kludge.h smsu_int.h
-get_file.o: get_file.c /usr/include/stdio.h ../include/gdb.h
-get_file.o: /usr/include/sys/types.h /usr/include/sys/time.h
-get_file.o: /usr/include/time.h /usr/include/ctype.h /usr/include/sys/param.h
-get_file.o: /usr/include/machine/machparam.h /usr/include/signal.h
-get_file.o: /usr/include/sys/types.h /usr/include/sys/file.h
-get_file.o: ../include/update.h smsu_int.h kludge.h
-xfer_002.o: xfer_002.c /usr/include/stdio.h ../include/gdb.h
-xfer_002.o: /usr/include/sys/types.h /usr/include/sys/time.h
+update_server.o: update_server.c ../include/mit-copyright.h
+update_server.o: /usr/include/stdio.h ../include/gdb.h /usr/include/sys/types.h
+update_server.o: /usr/include/sys/time.h /usr/include/time.h
+update_server.o: /usr/include/errno.h /usr/include/strings.h ../include/sms.h
+update_server.o: ../include/sms_et.h /usr/include/sys/file.h
+update_server.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
+update_server.o: /usr/include/sys/ttydev.h update.h kludge.h
+auth_001.o: auth_001.c ../include/mit-copyright.h /usr/include/stdio.h
+auth_001.o: /usr/include/strings.h ../include/gdb.h /usr/include/sys/types.h
+auth_001.o: /usr/include/sys/time.h /usr/include/time.h kludge.h
+auth_001.o: /usr/include/krb.h ../include/mit-copyright.h /usr/include/des.h
+auth_001.o: ../include/mit-copyright.h /usr/include/des_conf.h
+auth_001.o: ../include/mit-copyright.h /usr/include/netinet/in.h
+auth_001.o: /usr/include/errno.h
+inst_001.o: inst_001.c ../include/mit-copyright.h /usr/include/stdio.h
+inst_001.o: ../include/gdb.h /usr/include/sys/types.h /usr/include/sys/time.h
+inst_001.o: /usr/include/time.h kludge.h
+xfer_002.o: xfer_002.c ../include/mit-copyright.h /usr/include/stdio.h
+xfer_002.o: ../include/gdb.h /usr/include/sys/types.h /usr/include/sys/time.h
 xfer_002.o: /usr/include/time.h /usr/include/ctype.h /usr/include/sys/param.h
 xfer_002.o: /usr/include/machine/machparam.h /usr/include/signal.h
-xfer_002.o: /usr/include/sys/types.h /usr/include/sys/file.h smsu_int.h
-xfer_002.o: kludge.h /usr/include/strings.h
-exec_002.o: exec_002.c /usr/include/stdio.h /usr/include/sys/wait.h
-exec_002.o: ../include/gdb.h /usr/include/sys/types.h /usr/include/sys/time.h
-exec_002.o: /usr/include/time.h ../include/update.h sms_update_int.h kludge.h
-exec_002.o: smsu_int.h
-client.o: client.c /usr/include/stdio.h ../include/gdb.h
-client.o: /usr/include/sys/types.h /usr/include/sys/time.h /usr/include/time.h
-client.o: /usr/include/sys/stat.h /usr/include/sys/file.h
-client.o: /usr/include/sys/param.h /usr/include/machine/machparam.h
-client.o: /usr/include/signal.h /usr/include/sys/types.h ../include/update.h
-client.o: /usr/include/errno.h sms_update_int.h smsu_int.h /usr/include/krb.h
-client.o: /usr/include/des.h kludge.h
-stubs.o: stubs.c ../include/update.h
-ticket.o: ticket.c /usr/include/stdio.h /usr/include/krb.h /usr/include/des.h
-ticket.o: /usr/include/sys/types.h /usr/include/sys/stat.h
-ticket.o: /usr/include/strings.h sms_update_int.h ../include/com_err.h
-ticket.o: ../include/mit-sipb-copyright.h kludge.h
-send_file.o: send_file.c /usr/include/stdio.h ../include/com_err.h
-send_file.o: ../include/mit-sipb-copyright.h ../include/gdb.h
-send_file.o: /usr/include/sys/types.h /usr/include/sys/time.h
-send_file.o: /usr/include/time.h smsu_int.h /usr/include/sys/file.h
-send_file.o: ../include/update.h sms_update_int.h kludge.h
-client2.o: client2.c /usr/include/stdio.h /usr/include/strings.h
-client2.o: ../include/gdb.h /usr/include/sys/types.h /usr/include/sys/time.h
-client2.o: /usr/include/time.h /usr/include/sys/stat.h /usr/include/sys/file.h
-client2.o: /usr/include/sys/param.h /usr/include/machine/machparam.h
-client2.o: /usr/include/signal.h /usr/include/sys/types.h ../include/update.h
-client2.o: /usr/include/errno.h sms_update_int.h smsu_int.h /usr/include/krb.h
-client2.o: /usr/include/des.h kludge.h
-log_error.o: log_error.c /usr/include/stdio.h /usr/include/syslog.h
-hostname.o: hostname.c /usr/include/stdio.h /usr/include/sys/types.h
-hostname.o: /usr/include/netinet/in.h /usr/include/netdb.h /usr/include/ctype.h
-hostname.o: /usr/include/strings.h
-log.o: log.c /usr/include/stdio.h ../include/com_err.h
-log.o: ../include/mit-sipb-copyright.h /usr/include/varargs.h
-log.o: ../include/update.h /usr/include/krb.h /usr/include/des.h
-checksum.o: checksum.c /usr/include/stdio.h /usr/include/sys/file.h
+xfer_002.o: /usr/include/sys/types.h /usr/include/sys/file.h
+xfer_002.o: /usr/include/strings.h ../include/sms.h ../include/sms_et.h
+xfer_002.o: kludge.h
+exec_002.o: exec_002.c ../include/mit-copyright.h /usr/include/stdio.h
+exec_002.o: /usr/include/sys/wait.h /usr/include/signal.h ../include/gdb.h
+exec_002.o: /usr/include/sys/types.h /usr/include/sys/time.h
+exec_002.o: /usr/include/time.h ../include/sms.h ../include/sms_et.h update.h
+exec_002.o: kludge.h
+hostname.o: hostname.c ../include/mit-copyright.h /usr/include/stdio.h
+hostname.o: /usr/include/sys/types.h /usr/include/netinet/in.h
+hostname.o: /usr/include/netdb.h /usr/include/ctype.h /usr/include/strings.h
+log.o: log.c ../include/mit-copyright.h /usr/include/stdio.h
+log.o: ../include/com_err.h ../include/mit-sipb-copyright.h
+log.o: /usr/include/varargs.h update.h /usr/include/krb.h
+log.o: ../include/mit-copyright.h /usr/include/des.h ../include/mit-copyright.h
+log.o: /usr/include/des_conf.h ../include/mit-copyright.h
+get_file.o: get_file.c ../include/mit-copyright.h /usr/include/stdio.h
+get_file.o: ../include/gdb.h /usr/include/sys/types.h /usr/include/sys/time.h
+get_file.o: /usr/include/time.h /usr/include/ctype.h /usr/include/sys/param.h
+get_file.o: /usr/include/machine/machparam.h /usr/include/signal.h
+get_file.o: /usr/include/sys/types.h /usr/include/sys/file.h ../include/sms.h
+get_file.o: ../include/sms_et.h update.h kludge.h
+checksum.o: checksum.c ../include/mit-copyright.h /usr/include/stdio.h
+checksum.o: /usr/include/sys/file.h
+client.o: client.c ../include/mit-copyright.h /usr/include/stdio.h
+client.o: /usr/include/strings.h ../include/gdb.h /usr/include/sys/types.h
+client.o: /usr/include/sys/time.h /usr/include/time.h /usr/include/sys/param.h
+client.o: /usr/include/machine/machparam.h /usr/include/signal.h
+client.o: /usr/include/sys/types.h /usr/include/sys/wait.h ../include/update.h
+client.o: /usr/include/errno.h ../include/dcm.h ../include/sms.h
+client.o: ../include/sms_et.h /usr/include/krb.h ../include/mit-copyright.h
+client.o: /usr/include/des.h ../include/mit-copyright.h /usr/include/des_conf.h
+client.o: ../include/mit-copyright.h
+ticket.o: ticket.c ../include/mit-copyright.h /usr/include/stdio.h
+ticket.o: /usr/include/krb.h ../include/mit-copyright.h /usr/include/des.h
+ticket.o: ../include/mit-copyright.h /usr/include/des_conf.h
+ticket.o: ../include/mit-copyright.h /usr/include/sys/types.h
+ticket.o: /usr/include/sys/stat.h /usr/include/strings.h ../include/update.h
+ticket.o: ../include/com_err.h ../include/mit-sipb-copyright.h
+send_file.o: send_file.c ../include/mit-copyright.h /usr/include/stdio.h
+send_file.o: ../include/com_err.h ../include/mit-sipb-copyright.h
+send_file.o: ../include/gdb.h /usr/include/sys/types.h /usr/include/sys/time.h
+send_file.o: /usr/include/time.h ../include/dcm.h ../include/sms.h
+send_file.o: ../include/sms_et.h /usr/include/sys/file.h
+send_file.o: /usr/include/sys/stat.h ../include/update.h
+checksum.o: checksum.c ../include/mit-copyright.h /usr/include/stdio.h
+checksum.o: /usr/include/sys/file.h
+hostname.o: hostname.c ../include/mit-copyright.h /usr/include/stdio.h
+hostname.o: /usr/include/sys/types.h /usr/include/netinet/in.h
+hostname.o: /usr/include/netdb.h /usr/include/ctype.h /usr/include/strings.h
This page took 0.04299 seconds and 4 git commands to generate.