1 # -*- Makefile -*- Time-stamp: <08/06/12 16:41:21 ptr>
5 -include ${SRCROOT}/Makefiles
/gmake
/config.mak
6 ALL_TAGS
= release-shared check-release
7 CHECK_TAGS
= check-release
9 ALL_TAGS
+= stldbg-shared check-stldbg
10 CHECK_TAGS
+= check-stldbg
12 STLPORT_DIR ?
= ..
/..
/..
15 include ${SRCROOT}/Makefiles
/gmake
/top.mak
18 DEFS
+= -DWITHOUT_STLPORT
21 dbg-shared
: DEFS
+= -D_STLP_DEBUG_UNINITIALIZED
22 ifndef WITHOUT_STLPORT
23 stldbg-shared
: DEFS
+= -D_STLP_DEBUG_UNINITIALIZED
26 ifdef STLP_BUILD_BOOST_PATH
27 INCLUDES
+= -I
${STLP_BUILD_BOOST_PATH}
30 ifndef WITHOUT_STLPORT
31 release-shared
: LDFLAGS
+= -L
${STLPORT_DIR}/build
/lib
/${OUTPUT_DIR} -Wl
,-R
${STLPORT_DIR}/build
/lib
/${OUTPUT_DIR}
32 dbg-shared
: LDFLAGS
+= -L
${STLPORT_DIR}/build
/lib
/${OUTPUT_DIR_DBG} -Wl
,-R
${STLPORT_DIR}/build
/lib
/${OUTPUT_DIR_DBG}
33 stldbg-shared
: LDFLAGS
+= -L
${STLPORT_DIR}/build
/lib
/${OUTPUT_DIR_STLDBG} -Wl
,-R
${STLPORT_DIR}/build
/lib
/${OUTPUT_DIR_STLDBG}
35 ifeq ($(OSNAME
),linux
)
36 ifeq ($(CXX_VERSION_MAJOR
),8)
37 ifeq ($(CXX_VERSION_MINOR
),0)
39 release-shared
: LDLIBS
= -lpthread
-lstlport
40 stldbg-shared
: LDLIBS
= -lpthread
-lstlportstlg
41 dbg-shared
: LDLIBS
= -lpthread
-lstlportg
44 release-shared
: LDLIBS
= -lpthread
-lstlport
-lcprts
-lunwind
45 stldbg-shared
: LDLIBS
= -lpthread
-lstlportstlg
-lcprts
-lunwind
46 dbg-shared
: LDLIBS
= -lpthread
-lstlportg
-lcprts
-lunwind
49 ifeq ($(CXX_VERSION_MAJOR
),9)
51 release-shared
: LDLIBS
= -lpthread
-lstlport
-lcprts
-lunwind
52 stldbg-shared
: LDLIBS
= -lpthread
-lstlportstlg
-lcprts
-lunwind
53 dbg-shared
: LDLIBS
= -lpthread
-lstlportg
-lcprts
-lunwind
56 release-shared
: LDLIBS
= -lpthread
-lstlport
57 stldbg-shared
: LDLIBS
= -lpthread
-lstlportstlg
58 dbg-shared
: LDLIBS
= -lpthread
-lstlportg
65 check-release
: release-shared
66 -${OUTPUT_DIR}/${PRGNAME}
68 ifndef WITHOUT_STLPORT
69 check-stldbg
: stldbg-shared
70 -${OUTPUT_DIR_STLDBG}/${PRGNAME}