From d7bd457dfda8c861785d0a7d9c66dc2f76116ab7 Mon Sep 17 00:00:00 2001 From: spook Date: Mon, 24 Aug 1987 08:01:56 +0000 Subject: [PATCH] Added smskey. --- update/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/update/Makefile b/update/Makefile index 418ca779..00c8b989 100644 --- a/update/Makefile +++ b/update/Makefile @@ -33,10 +33,9 @@ CSRCS= client.c ticket.c send_file.c client2.c COMSRCS= log_error.c hostname.c log.c checksum.c -# libmisc.a includes libcom_err.a and a working malloc() LIBS= -L../lib -lgdb -lkrb -ldes -lcom_err -all: server sms_update.o test +all: server sms_update.o test smskey clean: -rm -f ${COBJS} ${SOBJS} ${COMOBJS} client.o @@ -47,15 +46,20 @@ install: # This is probably wrong.. install server ../bin/update_server install test ../bin/update_test + install smskey ../bin/smskey lint: lint ${LINTFLAGS} ${SSRCS} ${COMSRCS} lint ${LINTFLAGS} ${CSRCS} ${COMSRCS} + lint ${LINTFLAGS} smskey.c server: ${SOBJS} ${COMOBJS} rm -f server ${CC} ${CFLAGS} -o server ${SOBJS} ${COMOBJS} ${LIBS} +smskey: smskey.c + ${CC} ${CFLAGS} -o smskey smskey.c -ldes + sms_update.o: ${COBJS} ${COMOBJS} ld ${LDFLAGS} -r -o sms_update.o ${COBJS} ${COMOBJS} -chmod -x sms_update.o @@ -71,7 +75,7 @@ test: test.o sms_update.o rm -f test ${CC} ${CFLAGS} -o test test.o sms_update.o ${LIBS} -SRCS= ${SSRCS} ${CSRCS} ${COMSRCS} +SRCS= ${SSRCS} ${CSRCS} ${COMSRCS} smskey.c depend: smsu_int.h -rm -f eddep makedep ${CC} -M ${CFLAGS} ${SRCS} | \ @@ -148,7 +152,6 @@ 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 @@ -172,4 +175,7 @@ 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 +log.o: /usr/include/syslog.h checksum.o: checksum.c /usr/include/stdio.h /usr/include/sys/file.h +smskey.o: smskey.c /usr/include/stdio.h /usr/include/sys/file.h +smskey.o: /usr/include/des.h -- 2.45.2