bbd7d307f51aa2ccc5068b077230a224264f3866
[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\queue.h
17
18 LIBFILE = $(DESTDIR)\lib\opr.lib
19
20 LIBOBJS = \
21         $(OUT)\assert.obj \
22         $(OUT)\casestrcpy.obj \
23         $(OUT)\AFS_component_version_number.obj
24
25 $(LIBOBJS): $(INCFILES)
26
27 !if !defined(NMAKE)
28 NTMAKE = nmake /nologo /f ntmakefile
29 !endif
30
31 $(LIBFILE): $(LIBOBJS)
32         $(LIBARCH)
33
34 install_headers: $(INCFILES)
35
36 install: install_headers $(LIBFILE)
37
38 clean::
39         $(DEL) $(INCFILES)
40         $(DEL) $(LIBFILE)