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