]>
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 | ||
be86b0c2 | 11 | SRCS= auth_002.c checksum.c client.c config.c exec_002.c \ |
12 | get_file.c hostname.c log.c send_file.c ticket.c \ | |
13 | update_server.c update_test.c xfer_002.c xfer_003.c | |
0631d2a6 | 14 | SRCDIR=${SRCTOP}/update |
15 | CODE=${SRCS} Imakefile | |
be86b0c2 | 16 | SOBJS = auth_002.o checksum.o config.o exec_002.o get_file.o \ |
17 | log.o update_server.o xfer_002.o xfer_003.o | |
18 | COBJS= checksum.o client.o send_file.o ticket.o | |
0631d2a6 | 19 | |
d8ba9128 | 20 | #ifdef HAS_VSPRINTF |
21 | DEFINES= -DHAS_VSPRINTF | |
22 | #endif | |
23 | ||
df13dda4 | 24 | all:: update_server update_test |
be86b0c2 | 25 | #ifdef SVRBUILD |
26 | all:: moira_update.o | |
0631d2a6 | 27 | #endif |
28 | ||
29 | #ifdef SVRBUILD | |
be86b0c2 | 30 | moira_update.o: ${COBJS} |
31 | ${LD} -r -o moira_update.o ${COBJS} | |
0631d2a6 | 32 | #endif |
33 | ||
ccfa535c | 34 | program(update_server, ${SOBJS},${MR_LIBDEP} ${GDB_LIBDEP}, ${CLIBS},${ETCDIR}) |
07faa290 | 35 | program(update_test, update_test.o ${COBJS}, ${MR_LIBDEP} ${GDB_LIBDEP}, ${CLIBS},${BINDIR}) |