mirror of
https://github.com/reactos/reactos.git
synced 2025-03-10 10:14:44 +00:00
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# -*- Makefile -*- Time-stamp: <08/06/12 16:09:49 ptr>
|
|
|
|
SRCROOT := ../..
|
|
COMPILER_NAME := aCC
|
|
-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 ?= ../../..
|
|
|
|
STLPORT_INCLUDE_DIR = ../../../stlport
|
|
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
|
|
|
|
INCLUDES += -I$(STLPORT_INCLUDE_DIR)
|
|
|
|
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} -Wl,+b${STLPORT_DIR}/build/lib/${OUTPUT_DIR}
|
|
dbg-shared: LDFLAGS += -L${STLPORT_DIR}/build/lib/${OUTPUT_DIR_DBG} -Wl,+b${STLPORT_DIR}/build/lib/${OUTPUT_DIR_DBG}
|
|
stldbg-shared: LDFLAGS += -L${STLPORT_DIR}/build/lib/${OUTPUT_DIR_STLDBG} -Wl,+b${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}
|
|
|