summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatthew Johnson <mjj29@hecate.trinhall.cam.ac.uk>2006-12-29 16:20:11 +0000
committerMatthew Johnson <mjj29@hecate.trinhall.cam.ac.uk>2006-12-29 16:20:11 +0000
commite2106153f398c586f3393e8b24bbc1659ee47acf (patch)
tree7c26733aa7755b28e6f08bdaa85a1aa4ac1cf4e8 /Makefile
parent129eed36e2cc5e55c2a2ab057e2eccbe0e23c395 (diff)
low-level & p2p documentation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ce038bf..4963af2 100644
--- a/Makefile
+++ b/Makefile
@@ -108,6 +108,9 @@ bin/%: %.sh .bin
testrun: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar
$(JAVA) $(JFLAGS) $(CPFLAG) $(CLASSPATH):$(JAVAUNIXJARDIR)/unix.jar:$(JAVAUNIXJARDIR)/hexdump.jar:$(JAVAUNIXJARDIR)/debug-$(DEBUG).jar:libdbus-java-$(VERSION).jar:dbus-java-test-$(VERSION).jar org.freedesktop.dbus.test.test
+low-level-run: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar
+ $(JAVA) $(JFLAGS) $(CPFLAG) $(CLASSPATH):$(JAVAUNIXJARDIR)/unix.jar:$(JAVAUNIXJARDIR)/hexdump.jar:$(JAVAUNIXJARDIR)/debug-$(DEBUG).jar:libdbus-java-$(VERSION).jar:dbus-java-test-$(VERSION).jar org.freedesktop.dbus.test.test_low_level
+
cross-test-server: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar
$(JAVA) $(JFLAGS) $(CPFLAG) $(CLASSPATH):$(JAVAUNIXJARDIR)/unix.jar:$(JAVAUNIXJARDIR)/hexdump.jar:$(JAVAUNIXJARDIR)/debug-$(DEBUG).jar:libdbus-java-$(VERSION).jar:dbus-java-test-$(VERSION).jar org.freedesktop.dbus.test.cross_test_server
@@ -132,6 +135,14 @@ profilerun: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar
viewer: libdbus-java-$(VERSION).jar dbus-java-viewer-$(VERSION).jar
$(JAVA) $(JFLAGS) $(CPFLAG) $(CLASSPATH):$(JAVAUNIXJARDIR)/unix.jar:$(JAVAUNIXJARDIR)/hexdump.jar:$(JAVAUNIXJARDIR)/debug-$(DEBUG).jar:libdbus-java-$(VERSION).jar:dbus-java-viewer-$(VERSION).jar org.freedesktop.dbus.viewer.DBusViewer
+low-level: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar
+ ( PASS=false; \
+ dbus-daemon --config-file=tmp-session.conf --print-pid --print-address=5 --fork >pid 5>address ; \
+ export DBUS_SESSION_BUS_ADDRESS=$$(cat address) ;\
+ $(MAKE) low-level-run ; \
+ kill $$(cat pid) )
+
+
check: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar
( PASS=false; \
dbus-daemon --config-file=tmp-session.conf --print-pid --print-address=5 --fork >pid 5>address ; \