]>
Commit | Line | Data |
---|---|---|
0631d2a6 | 1 | # $Header$ |
2 | # | |
3 | # Copyright 1990 by the Massachusetts Institute of Technology. | |
4 | # | |
5 | # For copying and distribution information, | |
6 | # please see the file <mit-copyright.h>. | |
7 | # | |
8 | # Imakefile for update. | |
9 | # | |
10 | ||
11 | SRCS= auth_001.c checksum.c client.c exec_002.c get_file.c \ | |
5feeb4c5 | 12 | hostname.c inst_001.c log.c send_file.c ticket.c \ |
9a33e2fd | 13 | update_server.c xfer_002.c xfer_003.c config.c update_test.c |
0631d2a6 | 14 | SRCDIR=${SRCTOP}/update |
15 | CODE=${SRCS} Imakefile | |
16 | SOBJS= update_server.o auth_001.o inst_001.o xfer_002.o exec_002.o \ | |
9a33e2fd | 17 | xfer_003.o log.o get_file.o checksum.o config.o |
df13dda4 | 18 | COBJS= ticket.o send_file.o checksum.o |
0631d2a6 | 19 | |
d8ba9128 | 20 | #ifdef HAS_VSPRINTF |
21 | DEFINES= -DHAS_VSPRINTF | |
22 | #endif | |
23 | ||
0631d2a6 | 24 | #ifdef SVRBUILD |
df13dda4 | 25 | all:: update_server moira_update.o update_test |
0631d2a6 | 26 | #else |
df13dda4 | 27 | all:: update_server update_test |
0631d2a6 | 28 | #endif |
29 | ||
30 | #ifdef SVRBUILD | |
df13dda4 | 31 | moira_update.o: ${COBJS} client.o |
32 | ${LD} -r -o moira_update.o ${COBJS} client.o | |
0631d2a6 | 33 | #endif |
34 | ||
ccfa535c | 35 | program(update_server, ${SOBJS},${MR_LIBDEP} ${GDB_LIBDEP}, ${CLIBS},${ETCDIR}) |
9a33e2fd | 36 | test_program(update_test, ${COBJS}, ${CLIBS}) |