opr: Add UUID handling functions
[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\uuid.h
21
22 $(DESTDIR)\include\opr\time.h: opr_time.h
23         $(COPY) $** $@
24
25 LIBFILE = $(DESTDIR)\lib\opr.lib
26
27 LIBOBJS = \
28         $(OUT)\assert.obj \
29         $(OUT)\casestrcpy.obj \
30         $(OUT)\rbtree.obj \
31         $(OUT)\uuid.obj \
32         $(OUT)\AFS_component_version_number.obj
33
34 $(LIBOBJS): $(INCFILES)
35
36 !if !defined(NMAKE)
37 NTMAKE = nmake /nologo /f ntmakefile
38 !endif
39
40 $(LIBFILE): $(LIBOBJS)
41         $(LIBARCH)
42
43 install_headers: $(INCFILES)
44
45 install: install_headers $(LIBFILE)
46
47 clean::
48         $(DEL) $(INCFILES)
49         $(DEL) $(LIBFILE)