reactos/lib/3rdparty/stlport/build/test/unit/CC.mak
Amine Khaldi 4efda499f7 [CMAKE]
Jerome Gardou:
- Add STLport 5.2.1 (yes, STLport, the c++ stl implementation) to build. For now, it works only in user mode.
- Link some c++ executables to it
- sol.exe : one step towards a complete and modern OS.
- Dedicated to Amine for his patience and his help.
- Might Break Things! (tm)

svn path=/branches/cmake-bringup/; revision=49046
2010-10-07 22:09:31 +00:00

46 lines
1.2 KiB
Makefile

# -*- Makefile -*- Time-stamp: <08/06/12 16:25:17 ptr>
SRCROOT := ../..
COMPILER_NAME := CC
-include ${SRCROOT}/Makefiles/gmake/config.mak
ALL_TAGS = release-shared check-release
CHECK_TAGS = check-release
ifndef WITHOUT_STLPORT
ALL_TAGS += stldbg-shared check-stldbg
CHECK_TAGS += check-stldbg
endif
STLPORT_DIR ?= ../../..
include Makefile.inc
include ${SRCROOT}/Makefiles/gmake/top.mak
ifdef WITHOUT_STLPORT
DEFS += -DWITHOUT_STLPORT
endif
dbg-shared: DEFS += -D_STLP_DEBUG_UNINITIALIZED
ifndef WITHOUT_STLPORT
stldbg-shared: DEFS += -D_STLP_DEBUG_UNINITIALIZED
endif
ifdef STLP_BUILD_BOOST_PATH
INCLUDES += -I${STLP_BUILD_BOOST_PATH}
endif
ifndef WITHOUT_STLPORT
release-shared: LDFLAGS += -L${STLPORT_DIR}/build/lib/${OUTPUT_DIR} -Qoption ld -R${STLPORT_DIR}/build/lib/${OUTPUT_DIR}
dbg-shared: LDFLAGS += -L${STLPORT_DIR}/build/lib/${OUTPUT_DIR_DBG} -Qoption ld -R${STLPORT_DIR}/build/lib/${OUTPUT_DIR_DBG}
stldbg-shared: LDFLAGS += -L${STLPORT_DIR}/build/lib/${OUTPUT_DIR_STLDBG} -Qoption ld -R${STLPORT_DIR}/build/lib/${OUTPUT_DIR_STLDBG}
endif
check-release: release-shared
-${OUTPUT_DIR}/${PRGNAME}
ifndef WITHOUT_STLPORT
check-stldbg: stldbg-shared
-${OUTPUT_DIR_STLDBG}/${PRGNAME}
endif
check: ${CHECK_TAGS}