Add top-level Makefile
authorKalle Vahlman <kalle.vahlman@movial.com>
Mon, 3 Nov 2008 13:04:42 +0000 (15:04 +0200)
committerKalle Vahlman <kalle.vahlman@movial.com>
Mon, 3 Nov 2008 13:04:42 +0000 (15:04 +0200)
Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..765eac0
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,31 @@
+PLUGINS=xpcom-dbusservice
+LIBRARIES=jscorebus
+
+about:
+       @echo
+       @echo "This is the Browser D-Bus Bridge"
+       @echo "Originally developed by Movial"
+       @echo
+       @echo "The following build targets are available:"
+       @echo "  xpcom              The XPCOM D-Bus service"
+       @echo "  jscore             The JavaScriptCore (WebKit) D-Bus library"
+       @echo "  all                Build all above targets"
+       @echo "  install            Install all built targets"
+       @echo
+
+build: jscore xpcom
+
+jscore-print:
+       @echo
+       @echo Building JSCoreBus:
+jscore: jscore-print jscorebus-shared
+
+xpcom-print:
+       @echo
+       @echo Building XPCOM D-Bus service:
+xpcom: xpcom-print xpcom-dbusservice-plugin
+
+include build/project.mk
+
+.PHONY: build all jscorebus xpcom-dbusservice
+