mirror of
https://github.com/reactos/reactos.git
synced 2025-03-10 10:14:44 +00:00
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
![]() |
!if EXIST(..\..\Makefiles\nmake\config.mak)
|
||
|
!include ..\..\Makefiles\nmake\config.mak
|
||
|
!endif
|
||
|
|
||
|
|
||
|
!ifndef COMPILER_NAME
|
||
|
!error No compiler set, please run 'configure --help' first and chose a compiler.
|
||
|
!endif
|
||
|
|
||
|
!if (("$(COMPILER_NAME)" != "vc6") && \
|
||
|
("$(COMPILER_NAME)" != "vc70") && \
|
||
|
("$(COMPILER_NAME)" != "vc71") && \
|
||
|
("$(COMPILER_NAME)" != "vc8") && \
|
||
|
("$(COMPILER_NAME)" != "vc9") && \
|
||
|
("$(COMPILER_NAME)" != "icl"))
|
||
|
!error '$(COMPILER_NAME)' not supported by this make file, please rerun 'configure' script and follow instructions.
|
||
|
!endif
|
||
|
|
||
|
SRCROOT=../..
|
||
|
STLPORT_DIR=../../..
|
||
|
|
||
|
!include Makefile.inc
|
||
|
|
||
|
!ifndef WITHOUT_STLPORT
|
||
|
INCLUDES=$(INCLUDES) /I$(STLPORT_INCLUDE_DIR) /I$(STLPORT_DIR)/src /FI warning_disable.h
|
||
|
!else
|
||
|
INCLUDES=$(INCLUDES) /I$(STLPORT_DIR)/src /FI warning_disable.h
|
||
|
DEFS=/DWITHOUT_STLPORT
|
||
|
!endif
|
||
|
|
||
|
!if ("$(COMPILER_NAME)" != "icl")
|
||
|
# Important in a number of builds.
|
||
|
OPT = /Zm800
|
||
|
!endif
|
||
|
|
||
|
DEFS_DBG=/D_STLP_DEBUG_UNINITIALIZED
|
||
|
DEFS_STLDBG=/D_STLP_DEBUG_UNINITIALIZED
|
||
|
DEFS_STATIC_DBG=/D_STLP_DEBUG_UNINITIALIZED
|
||
|
DEFS_STATIC_STLDBG=/D_STLP_DEBUG_UNINITIALIZED
|
||
|
|
||
|
LDSEARCH=$(LDSEARCH) /LIBPATH:$(STLPORT_LIB_DIR)
|
||
|
|
||
|
!include $(SRCROOT)/Makefiles/nmake/top.mak
|