X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/blobdiff_plain/d8ba9128875b04c4cf05e9d4ece5706ebe1ff6b6..ac5e3058126921c30f2bd755db46736ffb0abdb7:/update/Imakefile diff --git a/update/Imakefile b/update/Imakefile index 1a558be4..d1127c07 100644 --- a/update/Imakefile +++ b/update/Imakefile @@ -10,26 +10,27 @@ SRCS= auth_001.c checksum.c client.c exec_002.c get_file.c \ hostname.c inst_001.c log.c send_file.c ticket.c \ - update_server.c xfer_002.c + update_server.c xfer_002.c xfer_003.c config.c update_test.c SRCDIR=${SRCTOP}/update CODE=${SRCS} Imakefile 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 -COBJS= client.o ticket.o send_file.o checksum.o hostname.o + xfer_003.o log.o get_file.o checksum.o config.o +COBJS= ticket.o send_file.o checksum.o #ifdef HAS_VSPRINTF DEFINES= -DHAS_VSPRINTF #endif #ifdef SVRBUILD -all:: update_server moira_update.o +all:: update_server moira_update.o update_test #else -all:: update_server +all:: update_server update_test #endif #ifdef SVRBUILD -moira_update.o: ${COBJS} - ${LD} -r -o moira_update.o ${COBJS} +moira_update.o: ${COBJS} client.o + ${LD} -r -o moira_update.o ${COBJS} client.o #endif -program(update_server, ${SOBJS},${MR_LIBDEP} ${GDB_LIBDEP}, ${CLIBS}, ${PROGDIR}) +program(update_server, ${SOBJS},${MR_LIBDEP} ${GDB_LIBDEP}, ${CLIBS},${ETCDIR}) +test_program(update_test, ${COBJS}, ${CLIBS})