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 # Makefile for the module providing the client side of the File Server
9 # and Cache Manager extended statistics gathering.
12 !INCLUDE ..\config\NTMakefile.$(SYS_NAME)
13 !INCLUDE ..\config\NTMakefile.version
15 LIBDIR = $(DESTDIR)\lib
16 INCDIR = $(DESTDIR)\include
17 BINDIR = $(DESTDIR)\bin
19 RPCINCLS=$(INCDIR)\rx\rx.h
22 $(LIBDIR)\afs\mtafsint.lib \
23 $(LIBDIR)\afs\afscmd.lib \
24 $(LIBDIR)\afsrpc.lib \
25 $(LIBDIR)\afshcrypto.lib \
26 $(LIBDIR)\afspthread.lib \
27 $(LIBDIR)\afs\afspioctl.lib \
28 $(LIBDIR)\afs\mtafsutil.lib \
29 $(LIBDIR)\afs\afsreg.lib \
30 $(LIBDIR)\afsroken.lib \
34 $(INCDIR)\afs\xstat_fs.h \
35 $(INCDIR)\afs\xstat_cm.h \
36 $(LIBDIR)\afs_xstat_fs.lib \
37 $(LIBDIR)\afs_xstat_cm.lib \
38 $(BINDIR)\xstat_fs_test.exe \
39 $(BINDIR)\xstat_cm_test.exe
42 # File Server data collection
44 FSINCLS= $(INCDIR)\xstat_fs.h $(RPCINCLS)
49 $(LIBDIR)\afs_xstat_fs.lib: $(OUT)\xstat_fs.obj $(OUT)\xstat_fs_callback.obj $(OUT)\AFS_component_version_number.obj
52 $(OUT)\xstat_fs_test.res: xstat_fs_test.rc AFS_component_version_number.h
54 $(BINDIR)\xstat_fs_test.exe: $(OUT)\xstat_fs_test.obj $(OUT)\xstat_fs_test.res $(LIBDIR)\afs_xstat_fs.lib $(LIBS)
55 $(EXECONLINK) rpcrt4.lib
56 $(_VC_MANIFEST_EMBED_EXE)
62 # Cache Manager data collection
64 CMINCLS=$(INCDIR)\xstat_cm.h $(RPCINCLS)
66 $(LIBDIR)\afs_xstat_cm.lib: $(OUT)\xstat_cm.obj $(OUT)\AFS_component_version_number.obj
69 $(OUT)\xstat_cm_test.res: xstat_cm_test.rc AFS_component_version_number.h
71 $(BINDIR)\xstat_cm_test.exe: $(OUT)\xstat_cm_test.obj $(OUT)\xstat_cm_test.res $(LIBDIR)\afs_xstat_cm.lib $(LIBS)
73 $(_VC_MANIFEST_EMBED_EXE)
82 $(DEL) -f $(OUT)\*.obj
83 $(DEL) -f $(OUT)\*.res
84 $(DEL) -f $(OUT)\*.pdb
85 $(DEL) -f $(OUT)\*.ilk
86 $(DEL) -f $(INCDIR)\afs\xstat_fs.h
87 $(DEL) -f $(INCDIR)\afs\xstat_cm.h
88 $(DEL) -f $(LIBDIR)\afs_xstat_fs.lib
89 $(DEL) -f $(LIBDIR)\afs_xstat_cm.lib
90 $(DEL) -f $(BINDIR)\xstat_cm_test.exe
91 $(DEL) -f $(BINDIR)\xstat_fs_test.exe
92 $(DEL) -f AFS_component_version_number.?