1 # -*- Makefile -*- Time-stamp: <06/11/13 23:03:45 ptr>
5 # EXTRA_POST := check-release-shared
6 # EXTRA_POST_DBG := check-dbg-shared
7 # EXTRA_POST_STLDBG := check-stldbg-shared
10 include ${SRCROOT}/Makefiles
/gmake
/top.mak
12 ifndef WITHOUT_STLPORT
13 LDFLAGS
+= -Wl
,-rpath
=${STLPORT_LIB_DIR}
16 check: check-release-shared check-dbg-shared check-stldbg-shared
18 check-release-shared
: release-shared
19 @echo Running
2 test cases...
20 @file
${test2_PRG} | grep ELF
>/dev
/null || exit
1
21 @file
${test3_PRG} | grep ELF
>/dev
/null || exit
1
22 @echo
"*** No errors detected"
24 check-dbg-shared
: dbg-shared
25 @echo Running
2 test cases...
26 @file
${test2_PRG_DBG} | grep ELF
>/dev
/null || exit
1
27 @file
${test3_PRG_DBG} | grep ELF
>/dev
/null || exit
1
28 @echo
"*** No errors detected"
30 ifndef WITHOUT_STLPORT
31 check-stldbg-shared
: stldbg-shared
32 @echo Running
2 test cases...
33 @file
${test2_PRG_STLDBG} | grep ELF
>/dev
/null || exit
1
34 @file
${test3_PRG_STLDBG} | grep ELF
>/dev
/null || exit
1
35 @echo
"*** No errors detected"
38 PHONY
+= check check-release-shared check-dbg-shared check-stldbg-shared