Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / dir / 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=dir
9 !INCLUDE ..\config\NTMakefile.$(SYS_NAME)
10 !INCLUDE ..\config\NTMakefile.version
11
12 ############################################################################
13 # Definitions for installing header files
14
15 INCFILEDIR = $(DESTDIR)\include\afs
16
17 INCFILES =\
18 $(INCFILEDIR)\dir.h
19
20
21 ############################################################################
22 # build afsdir.lib
23
24 DIR_LIBFILE = $(DESTDIR)\lib\afs\afsdir.lib
25
26 DIR_LIBOBJS =\
27 $(OUT)\buffer.obj \
28 $(OUT)\dir.obj \
29 $(OUT)\salvage.obj \
30 $(OUT)\AFS_component_version_number.obj
31
32 $(DIR_LIBFILE): $(DIR_LIBOBJS)
33 $(LIBARCH)
34
35
36 ############################################################################
37 # build mtafsdir.lib
38
39 MT_DIR_LIBFILE = $(DESTDIR)\lib\afs\mtafsdir.lib
40
41 MT_DIR_LIBOBJS =\
42 $(OUT)\buffer_mt.obj \
43 $(OUT)\dir_mt.obj \
44 $(OUT)\salvage_mt.obj \
45 $(OUT)\AFS_component_version_number.obj
46
47 $(OUT)\buffer_mt.obj:buffer.c
48 $(C2OBJ) $** -DAFS_PTHREAD_ENV
49
50 $(OUT)\dir_mt.obj:dir.c
51 $(C2OBJ) $** -DAFS_PTHREAD_ENV
52
53 $(OUT)\salvage_mt.obj:salvage.c
54 $(C2OBJ) $** -DAFS_PTHREAD_ENV
55
56 $(MT_DIR_LIBFILE): $(MT_DIR_LIBOBJS)
57 $(LIBARCH)
58
59
60 ############################################################################
61 # make and install library.
62 install: $(DIR_LIBFILE) $(MT_DIR_LIBFILE) $(INCFILES)
63
64
65 ############################################################################
66 # Local clean target; augments predefined clean target
67
68 clean::
69
70 mkdir:
71