1# -*- Makefile -*- Time-stamp: <06/11/13 23:03:45 ptr> 2 3SRCROOT := ../../.. 4 5EXTRA_POST := checks 6EXTRA_POST_DBG := checks-dbg 7EXTRA_POST_STLDBG := checks-stldbg 8 9include Makefile.inc 10include ${SRCROOT}/Makefiles/gmake/top.mak 11 12ifndef WITHOUT_STLPORT 13LDFLAGS += -Wl,-rpath=${STLPORT_LIB_DIR} 14endif 15 16checks: 17 file ${PRG} | grep ELF >/dev/null || exit 1 18 file ${test2_PRG} | grep ELF >/dev/null || exit 1 19 file ${test3_PRG} | grep ELF >/dev/null || exit 1 20 @echo 21 @echo release ok 22 @echo 23 24checks-dbg: 25 file ${PRG_DBG} | grep ELF >/dev/null || exit 1 26 file ${test2_PRG_DBG} | grep ELF >/dev/null || exit 1 27 file ${test3_PRG_DBG} | grep ELF >/dev/null || exit 1 28 @echo 29 @echo dbg ok 30 @echo 31 32ifndef WITHOUT_STLPORT 33checks-stldbg: 34 file ${PRG_STLDBG} | grep ELF >/dev/null || exit 1 35 file ${test2_PRG_STLDBG} | grep ELF >/dev/null || exit 1 36 file ${test3_PRG_STLDBG} | grep ELF >/dev/null || exit 1 37 @echo 38 @echo stldbg ok 39 @echo 40endif 41 42PHONY += checks checks-dbg checks-stldbg 43