LIBS= -L../lib -lsms -lgdb -lkrb -ldes -lcom_err
-all: sms_update.o update_server
+all: sms_update.o update_server sms_untar
update_server: ${SOBJS}
cc ${CFLAGS} -o update_server ${SOBJS} ${LIBS}
sms_update.o: ${COBJS}
ld -r -o sms_update.o ${COBJS}
+sms_untar: sms_untar.c
+ cc -o sms_untar sms_untar.c
+
clean:
-rm -f ${COBJS} ${SOBJS}
-rm -f update_server sms_update.o
+ -rm -f sms_untar
-rm -f core a.out *~ \#*
install: update_server
install -s update_server ${DESTDIR}/usr/etc/update_server
+ install -s sms_untar ${DESTDIR}/etc/sms_untar
lint:
lint ${LINTFLAGS} ${SSRCS}