summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-07-11 19:07:14 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-07-11 20:43:11 (GMT)
commite1cc40f06af44243e288f5df2aafe292dd82a02a (patch)
tree6dd6c6914de91563cc0021a72c0a4b2961bb21f4
parent198ae87df42ff1107368e7c472a619e7573e3357 (diff)
downloadswift-contrib-e1cc40f06af44243e288f5df2aafe292dd82a02a.zip
swift-contrib-e1cc40f06af44243e288f5df2aafe292dd82a02a.tar.bz2
Added Limber module.
-rw-r--r--Limber/Makefile.inc15
-rw-r--r--Limber/main.cpp3
-rw-r--r--Makefile3
-rw-r--r--Makefile.config.in1
-rw-r--r--configure.in2
5 files changed, 24 insertions, 0 deletions
diff --git a/Limber/Makefile.inc b/Limber/Makefile.inc
new file mode 100644
index 0000000..1214311
--- /dev/null
+++ b/Limber/Makefile.inc
@@ -0,0 +1,15 @@
+LIMBER_TARGET = Limber/limber
+LIMBER_SOURCES = \
+ Limber/main.cpp
+LIMBER_OBJECTS = \
+ $(LIMBER_SOURCES:.cpp=.o) \
+
+.PHONY: limber
+limber: $(LIMBER_TARGET)
+
+$(LIMBER_TARGET): $(LIMBER_OBJECTS)
+
+TARGETS += $(LIMBER_TARGET)
+CLEANFILES += $(LIMBER_OBJECTS)
+DEPS += \
+ $(LIMBER_SOURCES:.cpp=.dep) \
diff --git a/Limber/main.cpp b/Limber/main.cpp
new file mode 100644
index 0000000..8a3b3be
--- /dev/null
+++ b/Limber/main.cpp
@@ -0,0 +1,3 @@
+int main(int argc, char* argv[]) {
+ return 0;
+}
diff --git a/Makefile b/Makefile
index 7a03078..77bc33d 100644
--- a/Makefile
+++ b/Makefile
@@ -41,6 +41,9 @@ include Swiften/Makefile.inc
ifeq ($(BUILD_SWIFT),yes)
include Swift/Makefile.inc
endif
+ifeq ($(BUILD_LIMBER),yes)
+include Limber/Makefile.inc
+endif
include QA/Makefile.inc
################################################################################
# Main targets
diff --git a/Makefile.config.in b/Makefile.config.in
index 7124484..bf85659 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -25,5 +25,6 @@ HAVE_OPENSSL=@CONFIG_HAVE_OPENSSL@
WIN32=@CONFIG_WIN32@
MACOSX=@CONFIG_MACOSX@
BUILD_SWIFT=@BUILD_SWIFT@
+BUILD_LIMBER=@BUILD_LIMBER@
QMAKE=@QMAKE@
ARCH=@ARCH@
diff --git a/configure.in b/configure.in
index 7810384..0fbbaa6 100644
--- a/configure.in
+++ b/configure.in
@@ -58,6 +58,7 @@ case $host in
esac
AC_CHECK_FILE([Swift/Makefile.inc], [BUILD_SWIFT="yes"], [BUILD_SWIFT="no"])
+AC_CHECK_FILE([Limber/Makefile.inc], [BUILD_LIMBER="yes"], [BUILD_LIMBER="no"])
################################################################################
# Configure options
@@ -228,6 +229,7 @@ AC_SUBST(USE_BUNDLED_EXPAT)
AC_SUBST(CONFIG_HAVE_LIBXML)
AC_SUBST(QMAKE)
AC_SUBST(BUILD_SWIFT)
+AC_SUBST(BUILD_LIMBER)
AC_SUBST(ARCH)
AC_CONFIG_FILES([Makefile.config])