[complement-svn] SF.net SVN: complement: [1454] trunk/complement/explore/Makefiles/ut
Status: Pre-Alpha
Brought to you by:
complement
From: <com...@us...> - 2006-12-14 11:03:38
|
Revision: 1454 http://svn.sourceforge.net/complement/?rev=1454&view=rev Author: complement Date: 2006-12-14 03:03:35 -0800 (Thu, 14 Dec 2006) Log Message: ----------- test: build few application in the same catalog Added Paths: ----------- trunk/complement/explore/Makefiles/ut/app2/ trunk/complement/explore/Makefiles/ut/app2/Makefile trunk/complement/explore/Makefiles/ut/app2/Makefile.inc trunk/complement/explore/Makefiles/ut/app2/test.cc trunk/complement/explore/Makefiles/ut/app2/test2.cc trunk/complement/explore/Makefiles/ut/app2/test3.cc Property changes on: trunk/complement/explore/Makefiles/ut/app2 ___________________________________________________________________ Name: svn:ignore + obj Added: trunk/complement/explore/Makefiles/ut/app2/Makefile =================================================================== --- trunk/complement/explore/Makefiles/ut/app2/Makefile (rev 0) +++ trunk/complement/explore/Makefiles/ut/app2/Makefile 2006-12-14 11:03:35 UTC (rev 1454) @@ -0,0 +1,42 @@ +# -*- Makefile -*- Time-stamp: <06/11/13 23:03:45 ptr> + +SRCROOT := ../../.. + +EXTRA_POST := checks +EXTRA_POST_DBG := checks-dbg +EXTRA_POST_STLDBG := checks-stldbg + +include Makefile.inc +include ${SRCROOT}/Makefiles/top.mak + +ifndef WITHOUT_STLPORT +LDFLAGS += -Wl,-rpath=${STLPORT_LIB_DIR} +endif + +checks: + file ${PRG} | grep ELF >/dev/null || exit 1 + file ${test2_PRG} | grep ELF >/dev/null || exit 1 + file ${test3_PRG} | grep ELF >/dev/null || exit 1 + @echo + @echo release ok + @echo + +checks-dbg: + file ${PRG_DBG} | grep ELF >/dev/null || exit 1 + file ${test2_PRG_DBG} | grep ELF >/dev/null || exit 1 + file ${test3_PRG_DBG} | grep ELF >/dev/null || exit 1 + @echo + @echo dbg ok + @echo + +ifndef WITHOUT_STLPORT +checks-stldbg: + file ${PRG_STLDBG} | grep ELF >/dev/null || exit 1 + file ${test2_PRG_STLDBG} | grep ELF >/dev/null || exit 1 + file ${test3_PRG_STLDBG} | grep ELF >/dev/null || exit 1 + @echo + @echo stldbg ok + @echo +endif + +PHONY += checks checks-dbg checks-stldbg Added: trunk/complement/explore/Makefiles/ut/app2/Makefile.inc =================================================================== --- trunk/complement/explore/Makefiles/ut/app2/Makefile.inc (rev 0) +++ trunk/complement/explore/Makefiles/ut/app2/Makefile.inc 2006-12-14 11:03:35 UTC (rev 1454) @@ -0,0 +1,8 @@ +# -*- makefile -*- Time-stamp: <04/01/12 15:37:40 ptr> + +PRGNAME = test +PRGNAMES = test2 test3 +#SRC_C = test.c +SRC_CC = test.cc +test2_SRC_CC = test2.cc +test3_SRC_CC = test3.cc Added: trunk/complement/explore/Makefiles/ut/app2/test.cc =================================================================== --- trunk/complement/explore/Makefiles/ut/app2/test.cc (rev 0) +++ trunk/complement/explore/Makefiles/ut/app2/test.cc 2006-12-14 11:03:35 UTC (rev 1454) @@ -0,0 +1,4 @@ +int main() +{ + return 0; +} Added: trunk/complement/explore/Makefiles/ut/app2/test2.cc =================================================================== --- trunk/complement/explore/Makefiles/ut/app2/test2.cc (rev 0) +++ trunk/complement/explore/Makefiles/ut/app2/test2.cc 2006-12-14 11:03:35 UTC (rev 1454) @@ -0,0 +1,4 @@ +int main() +{ + return 2; +} Added: trunk/complement/explore/Makefiles/ut/app2/test3.cc =================================================================== --- trunk/complement/explore/Makefiles/ut/app2/test3.cc (rev 0) +++ trunk/complement/explore/Makefiles/ut/app2/test3.cc 2006-12-14 11:03:35 UTC (rev 1454) @@ -0,0 +1,4 @@ +int main() +{ + return 3; +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |