]>
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 \ |
0631d2a6 | 13 | update_server.c xfer_002.c |
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 \ | |
17 | hostname.o log.o get_file.o checksum.o | |
18 | COBJS= client.o ticket.o send_file.o checksum.o hostname.o | |
19 | ||
d8ba9128 | 20 | #ifdef HAS_VSPRINTF |
21 | DEFINES= -DHAS_VSPRINTF | |
22 | #endif | |
23 | ||
0631d2a6 | 24 | #ifdef SVRBUILD |
25 | all:: update_server moira_update.o | |
26 | #else | |
27 | all:: update_server | |
28 | #endif | |
29 | ||
30 | #ifdef SVRBUILD | |
31 | moira_update.o: ${COBJS} | |
32 | ${LD} -r -o moira_update.o ${COBJS} | |
33 | #endif | |
34 | ||
35 | program(update_server, ${SOBJS},${MR_LIBDEP} ${GDB_LIBDEP}, ${CLIBS}, ${PROGDIR}) |