summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Makefile.inc')
-rw-r--r--Swiften/Makefile.inc42
1 files changed, 42 insertions, 0 deletions
diff --git a/Swiften/Makefile.inc b/Swiften/Makefile.inc
new file mode 100644
index 0000000..880887b
--- /dev/null
+++ b/Swiften/Makefile.inc
@@ -0,0 +1,42 @@
+include Swiften/Base/Makefile.inc
+include Swiften/Application/Makefile.inc
+include Swiften/EventLoop/Makefile.inc
+include Swiften/StringCodecs/Makefile.inc
+include Swiften/JID/Makefile.inc
+include Swiften/Elements/Makefile.inc
+include Swiften/Events/Makefile.inc
+include Swiften/StreamStack/Makefile.inc
+include Swiften/Serializer/Makefile.inc
+include Swiften/Parser/Makefile.inc
+include Swiften/MUC/Makefile.inc
+include Swiften/Network/Makefile.inc
+include Swiften/Client/Makefile.inc
+include Swiften/TLS/Makefile.inc
+include Swiften/SASL/Makefile.inc
+include Swiften/Compress/Makefile.inc
+include Swiften/Queries/Makefile.inc
+include Swiften/Controllers/Makefile.inc
+include Swiften/Roster/Makefile.inc
+include Swiften/Disco/Makefile.inc
+include Swiften/Presence/Makefile.inc
+include Swiften/Notifier/Makefile.inc
+
+SWIFTEN_TARGET = Swiften/Swiften.a
+SWIFTEN_OBJECTS = \
+ $(SWIFTEN_SOURCES:.cpp=.o) \
+ $(SWIFTEN_OBJECTIVE_SOURCES:.mm=.o) \
+ $(LIBIDN_OBJECTS) \
+ $(BOOST_OBJECTS) \
+ $(ZLIB_OBJECTS)
+
+TARGETS += $(SWIFTEN_TARGET)
+CLEANFILES += $(SWIFTEN_TARGET) $(SWIFTEN_OBJECTS)
+
+.PHONY: lib
+lib: $(SWIFTEN_TARGET)
+
+$(SWIFTEN_TARGET): $(SWIFTEN_OBJECTS)
+ $(QUIET_AR)$(AR) $(ARFLAGS) $@ $(SWIFTEN_OBJECTS)
+
+include Swiften/Examples/Makefile.inc
+include Swiften/QA/Makefile.inc