[complement-svn] SF.net SVN: complement: [1442] trunk/complement/explore/Makefiles
Status: Pre-Alpha
Brought to you by:
complement
From: <com...@us...> - 2006-12-12 08:21:50
|
Revision: 1442 http://svn.sourceforge.net/complement/?rev=1442&view=rev Author: complement Date: 2006-12-12 00:21:49 -0800 (Tue, 12 Dec 2006) Log Message: ----------- unit tests for make system Added Paths: ----------- trunk/complement/explore/Makefiles/ut/ trunk/complement/explore/Makefiles/ut/so1/ trunk/complement/explore/Makefiles/ut/so1/Makefile trunk/complement/explore/Makefiles/ut/so1/Makefile.inc trunk/complement/explore/Makefiles/ut/so1/test_c.cc trunk/complement/explore/Makefiles/ut/so1/test_cc.cc Property changes on: trunk/complement/explore/Makefiles/ut/so1 ___________________________________________________________________ Name: svn:ignore + obj Added: trunk/complement/explore/Makefiles/ut/so1/Makefile =================================================================== --- trunk/complement/explore/Makefiles/ut/so1/Makefile (rev 0) +++ trunk/complement/explore/Makefiles/ut/so1/Makefile 2006-12-12 08:21:49 UTC (rev 1442) @@ -0,0 +1,18 @@ +# -*- Makefile -*- Time-stamp: <06/11/10 16:23:01 ptr> + +SRCROOT := ../../.. +EXTRA_POST := checks + +include Makefile.inc +include ${SRCROOT}/Makefiles/top.mak + +INCLUDES += -I./include + +checks: + file ${SO_NAME_OUTxxx} | grep ELF >/dev/null || exit 1 + file ${SO_NAME_OUTxx} | grep link >/dev/null || exit 1 + file ${SO_NAME_OUTx} | grep link >/dev/null || exit 1 + file ${SO_NAME_OUT} | grep link >/dev/null || exit 1 + +PHONY += checks + Added: trunk/complement/explore/Makefiles/ut/so1/Makefile.inc =================================================================== --- trunk/complement/explore/Makefiles/ut/so1/Makefile.inc (rev 0) +++ trunk/complement/explore/Makefiles/ut/so1/Makefile.inc 2006-12-12 08:21:49 UTC (rev 1442) @@ -0,0 +1,8 @@ +# -*- Makefile -*- Time-stamp: <06/11/29 01:59:50 ptr> + +LIBNAME = test +MAJOR = 0 +MINOR = 1 +PATCH = 2 +SRC_CC = test_cc.cc +SRC_C = test_c.c Added: trunk/complement/explore/Makefiles/ut/so1/test_c.cc =================================================================== --- trunk/complement/explore/Makefiles/ut/so1/test_c.cc (rev 0) +++ trunk/complement/explore/Makefiles/ut/so1/test_c.cc 2006-12-12 08:21:49 UTC (rev 1442) @@ -0,0 +1,4 @@ +int g() +{ + return 0; +} Added: trunk/complement/explore/Makefiles/ut/so1/test_cc.cc =================================================================== --- trunk/complement/explore/Makefiles/ut/so1/test_cc.cc (rev 0) +++ trunk/complement/explore/Makefiles/ut/so1/test_cc.cc 2006-12-12 08:21:49 UTC (rev 1442) @@ -0,0 +1,4 @@ +int f() +{ + return 0; +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |