Date: Wednesday, November 9, 2005 @ 14:36:54
Author: gilles
Path: /cvsroot/carob/carob
Modified: .cdtproject (1.1 -> 1.2) Makefile (1.8 -> 1.9)
Added new file TestOnValidConnection.o
Modified clean target to be able to clean only tests or doc or lib (clean
target now depends on them)
-------------+
.cdtproject | 7 +++++++
Makefile | 16 +++++++++-------
2 files changed, 16 insertions(+), 7 deletions(-)
Index: carob/.cdtproject
diff -u carob/.cdtproject:1.1 carob/.cdtproject:1.2
--- carob/.cdtproject:1.1 Mon Sep 19 10:05:27 2005
+++ carob/.cdtproject Wed Nov 9 14:36:54 2005
@@ -44,6 +44,13 @@
<stopOnError>false</stopOnError>
<useDefaultCommand>true</useDefaultCommand>
</target>
+<target name="clean-test" targetID="org.eclipse.cdt.make.MakeTargetBuilder"
path="">
+<buildCommand>make</buildCommand>
+<buildArguments/>
+<buildTarget>clean-test</buildTarget>
+<stopOnError>false</stopOnError>
+<useDefaultCommand>true</useDefaultCommand>
+</target>
</buildTargets>
</item>
<item id="scannerConfiguration">
Index: carob/Makefile
diff -u carob/Makefile:1.8 carob/Makefile:1.9
--- carob/Makefile:1.8 Fri Nov 4 11:27:44 2005
+++ carob/Makefile Wed Nov 9 14:36:54 2005
@@ -51,6 +51,7 @@
${SRCDIR}/SelectRequest.o\
${SRCDIR}/DriverResultSet.o\
${SRCDIR}/Field.o\
+ ${SRCDIR}/Statement.o\
${SRCDIR}/BigDecimal.o\
${SRCDIR}/SQLDataSerialization.o
CFLAGS = -g3 -Wall -I${INCDIR}
@@ -61,7 +62,8 @@
#Test
LIB_CPPUNIT = cppunit
-TEST_OBJS = ${TESTDIR}/TestBeginCommitRollback.o\
+TEST_OBJS = ${TESTDIR}/TestOnValidConnection.o\
+ ${TESTDIR}/TestBeginCommitRollback.o\
${TESTDIR}/TestConnect.o\
${TESTDIR}/TestExecWriteRequest.o\
${TESTDIR}/TestExecReadRequest.o\
@@ -93,12 +95,12 @@
${COMPILER} ${TEST_CFLAGS} -o $@ -c $<
%.o: %.cpp
${COMPILER} $(CFLAGS) -o $@ -c $<
-clean:
-#objs
- ${RM} ${SRCDIR}/*.o
-#test
- ${RM} ${TESTDIR}/*.o ${TEST_EXE} ${LIB_CAROB_LIB} ${LIB_CAROB_LIB_SHORT}
-#doc
+clean: clean-lib clean-test clean-doc
+clean-lib:
+ ${RM} ${SRCDIR}/*.o ${LIB_CAROB_LIB} ${LIB_CAROB_LIB_SHORT}
+clean-test:
+ ${RM} ${TESTDIR}/*.o ${TEST_EXE}
+clean-doc:
${RMDIR} ${DOC_OUT}
doc: ${DOC_HTML}
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits