Fix mutex assertion
[openafs.git] / src / opr / NTMakefile
1 # Copyright 2011, Your File System Inc
2 # All rights reserved
3 #
4 # This software has been released under the terms of the BSD License
5 # For details, see the LICENSE file in the top level source directory
6
7 RELDIR=opr
8 !include ..\config\NTMakefile.$(SYS_NAME)
9 !include ..\config\NTMakefile.version
10
11 INCFILEDIR = $(DESTDIR)\include\afs
12
13 INCFILES = \
14         $(INCFILEDIR)\opr.h \
15         $(INCFILEDIR)\opr_assert.h \
16         $(DESTDIR)\include\opr\jhash.h \
17         $(DESTDIR)\include\opr\queue.h \
18         $(DESTDIR)\include\opr\rbtree.h \
19         $(DESTDIR)\include\opr\time.h \
20         $(DESTDIR)\include\opr\lock.h \
21         $(DESTDIR)\include\opr\lockstub.h \
22         $(DESTDIR)\include\opr\uuid.h
23
24 $(DESTDIR)\include\opr\time.h: opr_time.h
25         $(COPY) $** $@
26
27 $(DESTDIR)\include\opr\lock.h: opr_lock.h
28         $(COPY) $** $@
29
30 LIBFILE = $(DESTDIR)\lib\opr.lib
31
32 LIBOBJS = \
33         $(OUT)\assert.obj \
34         $(OUT)\casestrcpy.obj \
35         $(OUT)\rbtree.obj \
36         $(OUT)\uuid.obj \
37         $(OUT)\AFS_component_version_number.obj
38
39 $(LIBOBJS): $(INCFILES)
40
41 !if !defined(NMAKE)
42 NTMAKE = nmake /nologo /f ntmakefile
43 !endif
44
45 $(LIBFILE): $(LIBOBJS)
46         $(LIBARCH)
47
48 install_headers: $(INCFILES)
49
50 install: install_headers $(LIBFILE)
51
52 clean::
53         $(DEL) $(INCFILES)
54         $(DEL) $(LIBFILE)