summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-06-16 19:57:48 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-06-16 19:57:48 (GMT)
commita2e0cf9108081663607706f661f411a5fcf86e1d (patch)
tree65f2a01f8d91c6d8a87f4720512534caa2430010 /Makefile
parent9bc8ddaf40d73647944592385bf56ece41046846 (diff)
downloadswift-contrib-a2e0cf9108081663607706f661f411a5fcf86e1d.zip
swift-contrib-a2e0cf9108081663607706f661f411a5fcf86e1d.tar.bz2
Make Swift compilation optional.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d46ffb4..f94111c 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,9 @@ include 3rdParty/ZLib/Makefile.inc
include 3rdParty/Expat/Makefile.inc
include 3rdParty/SQLite/Makefile.inc
include Swiften/Makefile.inc
+ifeq ($(BUILD_SWIFT),yes)
include Swift/Makefile.inc
+endif
include QA/Makefile.inc
################################################################################
@@ -53,6 +55,13 @@ include QA/Makefile.inc
.PHONY: all
all: $(TARGETS)
+.PHONY: install
+install: install-dirs $(INSTALL_TARGETS)
+
+.PHONY: install-dirs
+install-dirs:
+ install -d $(includedir) $(libdir)
+
.PHONY: coverage
coverage:
tools/coverage/GenerateCoverageResults.sh