1 # Copyright 2000, International Business Machines Corporation and others.
4 # This software has been released under the terms of the IBM Public
5 # License. For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
8 AFSDEV_AUXCDEFINES = -DAFS_PTHREAD_ENV -DRXDEBUG
10 RELDIR=tests\rpctestlib
11 !INCLUDE $(AFSROOT)\src\config\NTMakefile.$(SYS_NAME)
12 !INCLUDE $(AFSROOT)\src\config\NTMakefile.version
16 ############################################################################
17 # Build rpc_test.lib and xmpl_driver.exe
19 EXEFILE = $(OUT)\xmpl_driver.exe
20 LIBFILE = $(OUT)\rpc_test.lib
22 RTL = $(AFSROOT)\tests\rpctestlib
23 RX = $(AFSROOT)\src\rx
24 VICED = $(AFSROOT)\src\viced
25 UTIL = $(AFSROOT)\src\util
26 FSINT = $(AFSROOT)\src\fsint
28 HEADERS = $(RTL)\rpc_test_procs.h
30 RXOBJS = $(OUT)\xdr_int64.obj \
33 RTLOBJS= $(OUT)\rpc_test_procs.obj $(OUT)\rpc_test_cb_procs.obj
35 FSINTOBJS = $(OUT)\afsaux.obj $(OUT)\afscbint.ss.obj $(OUT)\afsint.cs.obj \
36 $(OUT)\afscbint.xdr.obj $(OUT)\afsint.xdr.obj
38 LIBOBJS = $(RTLOBJS) $(FSINTOBJS) $(RXOBJS)
40 EXEOBJS = $(OUT)\rpc_test_main.obj
44 $(RTLOBJS) $(OUT)\rpc_test_main.obj: $(RTL)\$$(@B).c $(HEADERS)
47 $(RXOBJS): $(RX)\$$(@B).c
50 $(FSINTOBJS): $(FSINT)\$$(@B).C
51 $(C2OBJ) -I$(FSINT) $**
53 $(LIBFILE): $(LIBOBJS)
57 $(DESTDIR)\lib\afsauthent.lib \
58 $(DESTDIR)\lib\afsrpc.lib \
59 $(DESTDIR)\lib\afs\afscmd.lib \
60 $(DESTDIR)\lib\afs\afsaudit.lib \
61 $(DESTDIR)\lib\afs\afscom_err.lib \
62 $(DESTDIR)\lib\afs\afsreg.lib \
63 $(DESTDIR)\lib\afs\afsprocmgmt.lib \
64 $(DESTDIR)\lib\afs\afseventlog.lib \
65 $(DESTDIR)\lib\afs\mtafsutil.lib \
66 $(DESTDIR)\lib\afs\mtafsvol.lib \
67 $(DESTDIR)\lib\afs\mtafsvldb.lib \
68 $(DESTDIR)\lib\afspthread.lib \
69 $(DESTDIR)\lib\afsroken.lib
71 $(EXEFILE): $(EXEOBJS) $(EXELIBS) $(LIBFILE)
73 $(_VC_MANIFEST_EMBED_EXE)
81 $(ECHO) "(mkdir: no target)"
83 -$(DEL) $(EXEFILE) $(LIBFILE) $(LIBOBJS) $(EXEOBJS)