mirror of
https://github.com/reactos/reactos.git
synced 2025-03-10 10:14:44 +00:00
36 lines
1 KiB
Makefile
36 lines
1 KiB
Makefile
![]() |
!if !EXIST(..\..\Makefiles\nmake\config.mak)
|
||
|
!error No config file found, please run 'configure --help' first.
|
||
|
!endif
|
||
|
|
||
|
!include ..\..\Makefiles\nmake\config.mak
|
||
|
|
||
|
!ifndef COMPILER_NAME
|
||
|
!error No compiler set, please run 'configure --help' first and chose a compiler.
|
||
|
!endif
|
||
|
|
||
|
!if ("$(COMPILER_NAME)" != "evc3" && \
|
||
|
"$(COMPILER_NAME)" != "evc4" && \
|
||
|
"$(COMPILER_NAME)" != "evc8" && \
|
||
|
"$(COMPILER_NAME)" != "evc9")
|
||
|
!error You pick the wrong makefile, please rerun configure script and follow the instructions.
|
||
|
!endif
|
||
|
|
||
|
SRCROOT=../..
|
||
|
STLPORT_DIR=../../..
|
||
|
CROSS_COMPILING=1
|
||
|
|
||
|
!include Makefile.inc
|
||
|
|
||
|
INCLUDES=$(INCLUDES) /I "$(STLPORT_INCLUDE_DIR)" /I "cppunit" /I "$(STLPORT_DIR)/src/" /FI "warning_disable.h"
|
||
|
|
||
|
DEFS_REL = /D_STLP_USE_DYNAMIC_LIB
|
||
|
DEFS_DBG = /D_STLP_USE_DYNAMIC_LIB
|
||
|
DEFS_STLDBG = /D_STLP_USE_DYNAMIC_LIB
|
||
|
DEFS_STATIC_REL = /D_STLP_USE_STATIC_LIB
|
||
|
DEFS_STATIC_DBG = /D_STLP_USE_STATIC_LIB
|
||
|
DEFS_STATIC_STLDBG = /D_STLP_USE_STATIC_LIB
|
||
|
|
||
|
LDSEARCH=$(LDSEARCH) /LIBPATH:$(STLPORT_LIB_DIR)
|
||
|
|
||
|
!include $(SRCROOT)/Makefiles/nmake/top.mak
|