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)\lwp.h $(INCDIR)\rx\rx.h
22 $(LIBDIR)\afs\afsint.lib \
23 $(LIBDIR)\afs\afscmd.lib \
25 $(LIBDIR)\afslwp.lib \
26 $(LIBDIR)\afs\afspioctl.lib \
27 $(LIBDIR)\afs\afsutil.lib \
28 $(LIBDIR)\afs\afsreg.lib
32 $(INCDIR)\afs\xstat_fs.h \
33 $(INCDIR)\afs\xstat_cm.h \
34 $(LIBDIR)\afs_xstat_fs.lib \
35 $(LIBDIR)\afs_xstat_cm.lib \
36 $(BINDIR)\xstat_fs_test.exe \
37 $(BINDIR)\xstat_cm_test.exe
40 # File Server data collection
42 FSINCLS= $(INCDIR)\xstat_fs.h $(RPCINCLS)
47 $(LIBDIR)\afs_xstat_fs.lib: $(OUT)\xstat_fs.obj $(OUT)\xstat_fs_callback.obj $(OUT)\AFS_component_version_number.obj
50 $(OUT)\xstat_fs_test.res: xstat_fs_test.rc AFS_component_version_number.h
52 $(BINDIR)\xstat_fs_test.exe: $(OUT)\xstat_fs_test.obj $(OUT)\xstat_fs_test.res $(LIBDIR)\afs_xstat_fs.lib $(LIBS)
53 $(EXECONLINK) rpcrt4.lib
54 $(_VC_MANIFEST_EMBED_EXE)
59 # Cache Manager data collection
61 CMINCLS=$(INCDIR)\xstat_cm.h $(RPCINCLS)
63 $(LIBDIR)\afs_xstat_cm.lib: $(OUT)\xstat_cm.obj $(OUT)\AFS_component_version_number.obj
66 $(OUT)\xstat_cm_test.res: xstat_cm_test.rc AFS_component_version_number.h
68 $(BINDIR)\xstat_cm_test.exe: $(OUT)\xstat_cm_test.obj $(OUT)\xstat_cm_test.res $(LIBDIR)\afs_xstat_cm.lib $(LIBS)
70 $(_VC_MANIFEST_EMBED_EXE)
78 $(DEL) -f $(OUT)\*.obj
79 $(DEL) -f $(OUT)\*.res
80 $(DEL) -f $(OUT)\*.pdb
81 $(DEL) -f $(OUT)\*.ilk
82 $(DEL) -f $(INCDIR)\afs\xstat_fs.h
83 $(DEL) -f $(INCDIR)\afs\xstat_cm.h
84 $(DEL) -f $(LIBDIR)\afs_xstat_fs.lib
85 $(DEL) -f $(LIBDIR)\afs_xstat_cm.lib
86 $(DEL) -f $(BINDIR)\xstat_cm_test.exe
87 $(DEL) -f $(BINDIR)\xstat_fs_test.exe
88 $(DEL) -f AFS_component_version_number.?