windows-nt/Source/XPSP1/NT/windows/winstate/cobra/tools/utiltool/utiltool.mk

62 lines
1.9 KiB
Makefile
Raw Normal View History

2020-09-26 03:20:57 -05:00
# general build settings
MAJORCOMP=winstate
!ifndef WINSTATE_DIR
WINSTATE_DIR=winstate
! IF EXIST(..\..\..\projroot.inc)
! include ..\..\..\projroot.inc
! ELSEIF EXIST(..\..\..\..\projroot.inc)
! include ..\..\..\..\projroot.inc
! ENDIF
!endif
OUR_PROJECT_ROOT=$(PROJECT_ROOT)\$(WINSTATE_DIR)
COBRA_ROOT=$(OUR_PROJECT_ROOT)\cobra
TARGETPATH=$(COBRA_ROOT)\bin\$(_OBJ_DIR)
# compiler options
USE_MSVCRT=1
# include path
INCLUDES=$(COBRA_ROOT)\inc; \
$(COBRA_ROOT)\utils\inc; \
$(BASE_INC_PATH); \
$(WINDOWS_INC_PATH); \
$(ADMIN_INC_PATH); \
# SDK link libraries
TARGETLIBS=$(TARGETLIBS) \
$(SDK_LIB_PATH)\kernel32.lib \
$(SDK_LIB_PATH)\user32.lib \
$(SDK_LIB_PATH)\gdi32.lib \
$(SDK_LIB_PATH)\advapi32.lib \
$(SDK_LIB_PATH)\version.lib \
$(SDK_LIB_PATH)\imagehlp.lib \
$(SDK_LIB_PATH)\shell32.lib \
$(SDK_LIB_PATH)\ole32.lib \
$(SDK_LIB_PATH)\comdlg32.lib \
$(SDK_LIB_PATH)\comctl32.lib \
$(SDK_LIB_PATH)\uuid.lib \
$(SDK_LIB_PATH)\winmm.lib \
$(SDK_LIB_PATH)\mpr.lib \
$(SDK_LIB_PATH)\userenv.lib \
$(SHELL_LIB_PATH)\shell32p.lib \
$(SDK_LIB_PATH)\netapi32.lib \
$(SDK_LIB_PATH)\setupapi.lib \
$(COBRA_ROOT)\utils\log\$(O)\log.obj \
$(COBRA_ROOT)\lib\$(O)\utils.lib \
$(COBRA_ROOT)\utils\pch\$(O)\pch.obj
# LINT options, do not end in a semicolon
LINT_TYPE=all
LINT_EXT=lnt
LINT_ERRORS_TO_IGNORE=$(LINT_ERRORS_TO_IGNORE);43;729;730;534;526;552;714;715;749;750;751;752;753;754;755;756;757;758;759;765;768;769;
LINT_OPTS=-v -cmsc -zero +fcu +fwu +fan +fas +fpc +fie -e$(LINT_ERRORS_TO_IGNORE:;= -e)
LINT_OPTS=$(LINT_OPTS:-e =)