1 # Copyright (c) 2011 Kernel Drivers, LLC.
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions
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
12 # this list of conditions and the following disclaimer in the
14 # and/or other materials provided with the distribution.
15 # - Neither the name of Kernel Drivers, LLC nor the names of its
17 # used to endorse or promote products derived from this software without
18 # specific prior written permission from Kernel Drivers, LLC.
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.
32 # include the primary makefile
33 RELDIR=WINNT\afsrdr\tools\authgroup
34 !INCLUDE ..\..\..\..\config\NTMakefile.$(SYS_NAME)
35 !INCLUDE ..\..\..\..\config\NTMakefile.version
37 ############################################################################
42 OBJSTATUS = ..\..\build\$(CPU)\objstatus.exe
45 $(OUT)\ObjectStatus.obj
47 $(OBJSTATUSOBJS): $$(@B).cpp
48 $(C2OBJ) -I..\..\common $**
50 ############################################################################
52 $(OBJSTATUS) : $(OBJSTATUSOBJS) $(OUT)\objstatus.res
53 $(EXECONLINK) $(LINKOPTS) advapi32.lib kernel32.lib user32.lib Shlwapi.lib
54 $(_VC_MANIFEST_EMBED_EXE)
58 install : $(OBJSTATUS)
60 ############################################################################
65 $(OUT)\objstatus.res : objstatus.rc AFS_component_version_number.h