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