opr: Add Bob Jenkins's hash 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
20 LIBFILE = $(DESTDIR)\lib\opr.lib
21
22 LIBOBJS = \
23         $(OUT)\assert.obj \
24         $(OUT)\casestrcpy.obj \
25         $(OUT)\rbtree.obj \
26         $(OUT)\AFS_component_version_number.obj
27
28 $(LIBOBJS): $(INCFILES)
29
30 !if !defined(NMAKE)
31 NTMAKE = nmake /nologo /f ntmakefile
32 !endif
33
34 $(LIBFILE): $(LIBOBJS)
35         $(LIBARCH)
36
37 install_headers: $(INCFILES)
38
39 install: install_headers $(LIBFILE)
40
41 clean::
42         $(DEL) $(INCFILES)
43         $(DEL) $(LIBFILE)