Windows: SYMSTORE the entire WINNT/afsrdr tree
[openafs.git] / src / WINNT / afsrdr / tools / objstatus / NTMakefile
1 # Copyright (c) 2011 Kernel Drivers, LLC.
2 # All rights reserved.
3 #
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions
6 # are met:
7 #
8 # - Redistributions of source code must retain the above copyright notice,
9 #   this list of conditions and the following disclaimer.
10 # - Redistributions in binary form must reproduce the above copyright
11 #   notice,
12 #   this list of conditions and the following disclaimer in the
13 #   documentation
14 #   and/or other materials provided with the distribution.
15 # - Neither the name of Kernel Drivers, LLC nor the names of its
16 #   contributors may be
17 #   used to endorse or promote products derived from this software without
18 #   specific prior written permission from Kernel Drivers, LLC.
19 #
20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
22 # TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
23 # PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
24 # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
27 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
28 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
29 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
32 # include the primary makefile
33 RELDIR=WINNT\afsrdr\tools\authgroup
34 !INCLUDE ..\..\..\..\config\NTMakefile.$(SYS_NAME)
35 !INCLUDE ..\..\..\..\config\NTMakefile.version
36
37 ############################################################################
38 #
39 # BUILD TARSETS
40 #
41
42 OBJSTATUS = ..\..\build\$(CPU)\objstatus.exe
43
44 OBJSTATUSOBJS = \
45         $(OUT)\ObjectStatus.obj
46
47 $(OBJSTATUSOBJS): $$(@B).cpp
48         $(C2OBJ)  -I..\..\common $**
49
50 ############################################################################
51
52 $(OBJSTATUS) : $(OBJSTATUSOBJS) $(OUT)\objstatus.res
53         $(EXECONLINK) $(LINKOPTS) advapi32.lib kernel32.lib user32.lib Shlwapi.lib
54         $(_VC_MANIFEST_EMBED_EXE)
55         $(EXEPREP)
56         $(CODESIGN_USERLAND)
57         $(SYMSTORE_IMPORT)
58
59 install : $(OBJSTATUS)
60
61 ############################################################################
62 #
63 # Dependencies
64 #
65
66 $(OUT)\objstatus.res : objstatus.rc AFS_component_version_number.h