summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-07-24 18:09:29 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-07-24 18:09:29 (GMT)
commitf6e73393afbe7ce8d1a5c5fc55565582cb8906cc (patch)
treeb50fe99468a518e705d9ef3b8a1ae1638a07b3dc /Swiften
parent0dd979a856719f16925f84d6be532bd31044fa82 (diff)
downloadswift-contrib-f6e73393afbe7ce8d1a5c5fc55565582cb8906cc.zip
swift-contrib-f6e73393afbe7ce8d1a5c5fc55565582cb8906cc.tar.bz2
Update the build system.
Coverage now works better. Some files are cleaned by default (without the need of CLEANFILES).
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/Examples/EchoBot/Makefile.inc2
-rw-r--r--Swiften/LinkLocal/Makefile.inc4
-rw-r--r--Swiften/Makefile.inc1
-rw-r--r--Swiften/QA/ClientTest/Makefile.inc2
-rw-r--r--Swiften/QA/NetworkTest/Makefile.inc2
5 files changed, 5 insertions, 6 deletions
diff --git a/Swiften/Examples/EchoBot/Makefile.inc b/Swiften/Examples/EchoBot/Makefile.inc
index 09c63d5..beab023 100644
--- a/Swiften/Examples/EchoBot/Makefile.inc
+++ b/Swiften/Examples/EchoBot/Makefile.inc
@@ -4,7 +4,7 @@ ECHOBOT_SOURCES += \
ECHOBOT_OBJECTS = \
$(ECHOBOT_SOURCES:.cpp=.o)
-CLEANFILES += $(ECHOBOT_OBJECTS) $(ECHOBOT_TARGET)
+CLEANFILES += $(ECHOBOT_TARGET)
DEPS += $(ECHOBOT_SOURCES:.cpp=.dep)
EXAMPLES_TARGETS += $(ECHOBOT_TARGET)
diff --git a/Swiften/LinkLocal/Makefile.inc b/Swiften/LinkLocal/Makefile.inc
index 093ac70..902fa7a 100644
--- a/Swiften/LinkLocal/Makefile.inc
+++ b/Swiften/LinkLocal/Makefile.inc
@@ -1,9 +1,7 @@
SWIFTEN_SOURCES += \
- Swiften/LinkLocal/BonjourQuery.cpp \
Swiften/LinkLocal/DNSSDBrowseQuery.cpp \
Swiften/LinkLocal/DNSSDPublishQuery.cpp \
Swiften/LinkLocal/DNSSDServiceFactory.cpp \
- Swiften/LinkLocal/BonjourQuerier.cpp \
Swiften/LinkLocal/PlatformDNSSDServiceFactory.cpp \
Swiften/LinkLocal/DNSSDService.cpp \
Swiften/LinkLocal/LinkLocalRoster.cpp \
@@ -16,6 +14,8 @@ SWIFTEN_SOURCES += \
ifeq ($(HAVE_BONJOUR),yes)
SWIFTEN_SOURCES += \
+ Swiften/LinkLocal/BonjourQuery.cpp \
+ Swiften/LinkLocal/BonjourQuerier.cpp \
Swiften/LinkLocal/AppleDNSSDService.cpp
endif
ifeq ($(HAVE_AVAHI),yes)
diff --git a/Swiften/Makefile.inc b/Swiften/Makefile.inc
index 57ff329..d7c3340 100644
--- a/Swiften/Makefile.inc
+++ b/Swiften/Makefile.inc
@@ -41,7 +41,6 @@ SWIFTEN_HEADERS += \
TARGETS += $(SWIFTEN_TARGET)
INSTALL_TARGETS += install-swiften
UNITTEST_LIBS += $(SWIFTEN_TARGET)
-CLEANFILES += $(SWIFTEN_TARGET) $(SWIFTEN_OBJECTS)
DEPS += \
$(SWIFTEN_SOURCES:.cpp=.dep)
//TODO: Add objective stuff
diff --git a/Swiften/QA/ClientTest/Makefile.inc b/Swiften/QA/ClientTest/Makefile.inc
index 16a87cf..b9ab167 100644
--- a/Swiften/QA/ClientTest/Makefile.inc
+++ b/Swiften/QA/ClientTest/Makefile.inc
@@ -6,7 +6,7 @@ CLIENTTEST_OBJECTS = \
TEST_TARGETS += ClientTest
-CLEANFILES += $(CLIENTTEST_OBJECTS) $(CLIENTTEST_TARGET)
+CLEANFILES += $(CLIENTTEST_TARGET)
DEPS += $(CLIENTTEST_SOURCES:.cpp=.dep)
$(CLIENTTEST_TARGET): $(SWIFTEN_TARGET) $(CLIENTTEST_OBJECTS) $(BUNDLED_LIBS)
diff --git a/Swiften/QA/NetworkTest/Makefile.inc b/Swiften/QA/NetworkTest/Makefile.inc
index 5ac14c0..b263cdb 100644
--- a/Swiften/QA/NetworkTest/Makefile.inc
+++ b/Swiften/QA/NetworkTest/Makefile.inc
@@ -8,7 +8,7 @@ NETWORKTEST_OBJECTS = \
TEST_TARGETS += NetworkTest
-CLEANFILES += $(NETWORKTEST_OBJECTS) $(NETWORKTEST_TARGET)
+CLEANFILES += $(NETWORKTEST_TARGET)
DEPS += $(NETWORKTEST_SOURCES:.cpp=.dep)
$(NETWORKTEST_TARGET): $(SWIFTEN_TARGET) $(CPPUNIT_TARGET) $(NETWORKTEST_OBJECTS) $(BUNDLED_LIBS)