mirror of
https://github.com/reactos/reactos.git
synced 2024-09-21 02:01:15 +00:00
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
|
# -*- Makefile -*- Time-stamp: <06/11/13 23:03:45 ptr>
|
||
|
|
||
|
SRCROOT := ../../..
|
||
|
|
||
|
# EXTRA_POST := check-release-shared
|
||
|
# EXTRA_POST_DBG := check-dbg-shared
|
||
|
# EXTRA_POST_STLDBG := check-stldbg-shared
|
||
|
|
||
|
include Makefile.inc
|
||
|
include ${SRCROOT}/Makefiles/gmake/top.mak
|
||
|
|
||
|
ifndef WITHOUT_STLPORT
|
||
|
LDFLAGS += -Wl,-rpath=${STLPORT_LIB_DIR}
|
||
|
endif
|
||
|
|
||
|
check: check-release-shared check-dbg-shared check-stldbg-shared
|
||
|
|
||
|
check-release-shared: release-shared
|
||
|
@echo Running 2 test cases...
|
||
|
@file ${test2_PRG} | grep ELF >/dev/null || exit 1
|
||
|
@file ${test3_PRG} | grep ELF >/dev/null || exit 1
|
||
|
@echo "*** No errors detected"
|
||
|
|
||
|
check-dbg-shared: dbg-shared
|
||
|
@echo Running 2 test cases...
|
||
|
@file ${test2_PRG_DBG} | grep ELF >/dev/null || exit 1
|
||
|
@file ${test3_PRG_DBG} | grep ELF >/dev/null || exit 1
|
||
|
@echo "*** No errors detected"
|
||
|
|
||
|
ifndef WITHOUT_STLPORT
|
||
|
check-stldbg-shared: stldbg-shared
|
||
|
@echo Running 2 test cases...
|
||
|
@file ${test2_PRG_STLDBG} | grep ELF >/dev/null || exit 1
|
||
|
@file ${test3_PRG_STLDBG} | grep ELF >/dev/null || exit 1
|
||
|
@echo "*** No errors detected"
|
||
|
endif
|
||
|
|
||
|
PHONY += check check-release-shared check-dbg-shared check-stldbg-shared
|