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