1# -*- Makefile -*- Time-stamp: <08/06/12 16:25:17 ptr> 2 3SRCROOT := ../.. 4COMPILER_NAME := CC 5-include ${SRCROOT}/Makefiles/gmake/config.mak 6ALL_TAGS = release-shared check-release 7CHECK_TAGS = check-release 8ifndef WITHOUT_STLPORT 9ALL_TAGS += stldbg-shared check-stldbg 10CHECK_TAGS += check-stldbg 11endif 12STLPORT_DIR ?= ../../.. 13 14include Makefile.inc 15include ${SRCROOT}/Makefiles/gmake/top.mak 16 17ifdef WITHOUT_STLPORT 18DEFS += -DWITHOUT_STLPORT 19endif 20 21dbg-shared: DEFS += -D_STLP_DEBUG_UNINITIALIZED 22ifndef WITHOUT_STLPORT 23stldbg-shared: DEFS += -D_STLP_DEBUG_UNINITIALIZED 24endif 25 26ifdef STLP_BUILD_BOOST_PATH 27INCLUDES += -I${STLP_BUILD_BOOST_PATH} 28endif 29 30ifndef WITHOUT_STLPORT 31release-shared: LDFLAGS += -L${STLPORT_DIR}/build/lib/${OUTPUT_DIR} -Qoption ld -R${STLPORT_DIR}/build/lib/${OUTPUT_DIR} 32dbg-shared: LDFLAGS += -L${STLPORT_DIR}/build/lib/${OUTPUT_DIR_DBG} -Qoption ld -R${STLPORT_DIR}/build/lib/${OUTPUT_DIR_DBG} 33stldbg-shared: LDFLAGS += -L${STLPORT_DIR}/build/lib/${OUTPUT_DIR_STLDBG} -Qoption ld -R${STLPORT_DIR}/build/lib/${OUTPUT_DIR_STLDBG} 34endif 35 36check-release: release-shared 37 -${OUTPUT_DIR}/${PRGNAME} 38 39ifndef WITHOUT_STLPORT 40check-stldbg: stldbg-shared 41 -${OUTPUT_DIR_STLDBG}/${PRGNAME} 42endif 43 44check: ${CHECK_TAGS} 45 46