938a36920be17bf0a3e3e4001922c6aa928bea11
[openafs.git] / src / butm / NTMakefile
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3
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
7
8 RELDIR=butm
9 !INCLUDE ..\config\NTMakefile.$(SYS_NAME)
10 !INCLUDE ..\config\NTMakefile.version
11
12 ############################################################################
13 # install headers
14 INCFILES =\
15         $(DESTDIR)\include\afs\butm_prototypes.h
16
17 ############################################################################
18 # Definitions for building a static library
19
20 LIBFILE = $(DESTDIR)\lib\afs\afsbutm.lib
21
22 LIBOBJS =\
23         $(OUT)\file_tm.obj \
24         $(OUT)\AFS_component_version_number.obj
25
26 $(LIBFILE): $(LIBOBJS) 
27         $(LIBARCH) 
28
29 ############################################################################
30 # Install target; primary makefile target
31
32 install: $(INCFILES) $(LIBFILE) $(OUT)\test_ftm.exe
33
34
35 ############################################################################
36 # Local clean target; augments predefined clean target
37
38 clean::
39         $(DEL) test_ftm.exe 
40
41 ############################################################################
42 # Auxiliary build targets not built by default; e.g. test programs
43
44 TESTLIBS = $(DESTDIR)\lib\afslwp.lib \
45         $(DESTDIR)\lib\afs\afscom_err.lib \
46         $(DESTDIR)\lib\afs\afsusd.lib \
47         $(DESTDIR)\lib\afs\afsutil.lib \
48         $(DESTDIR)\lib\afs\afsbubasics.lib
49
50 $(OUT)\test_ftm.exe: $(OUT)\test_ftm.obj $(LIBFILE) $(TESTLIBS)
51         $(EXECONLINK)
52         $(_VC_MANIFEST_EMBED_EXE)
53         $(CODESIGN_USERLAND)
54
55 mkdir:
56