summaryrefslogtreecommitdiff
path: root/bindings/java/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/java/Makefile.am')
-rw-r--r--bindings/java/Makefile.am22
1 files changed, 18 insertions, 4 deletions
diff --git a/bindings/java/Makefile.am b/bindings/java/Makefile.am
index e3d678f..f2da01c 100644
--- a/bindings/java/Makefile.am
+++ b/bindings/java/Makefile.am
@@ -12,15 +12,18 @@ jar_DATA = $(jarfile)
dist_noinst_JAVA = \
org/zmq/Context.java \
- org/zmq/Socket.java
+ org/zmq/Socket.java \
+ org/zmq/Poller.java
lib_LTLIBRARIES = libjzmq.la
libjzmq_la_SOURCES = \
Context.cpp \
- Socket.cpp
+ Socket.cpp \
+ Poller.cpp
nodist_libjzmq_la_SOURCES = \
org_zmq_Context.h \
- org_zmq_Socket.h
+ org_zmq_Socket.h \
+ org_zmq_Poller.h
libjzmq_la_CXXFLAGS = @JAVA_INCLUDE@ -I$(top_srcdir)/bindings/c -Wall
libjzmq_la_LDFLAGS = -version-info @JLTVER@
@@ -30,13 +33,17 @@ BUILT_SOURCES = \
org/zmq/Context.class \
org_zmq_Context.h \
org/zmq/Socket.class \
- org_zmq_Socket.h
+ org_zmq_Socket.h \
+ org/zmq/Poller.class \
+ org_zmq_Poller.h
CLEANFILES = \
org/zmq/Context.class \
org_zmq_Context.h \
org/zmq/Socket.class \
org_zmq_Socket.h \
+ org/zmq/Poller.class \
+ org_zmq_Poller.h \
Zmq.jar
$(srcdir)/Context.cpp: org_zmq_Context.h
@@ -53,6 +60,13 @@ org_zmq_Socket.h: org/zmq/Socket.class
./org/zmq/Socket.class: classdist_noinst.stamp
+$(srcdir)/Poller.cpp: org_zmq_Poller.h
+
+org_zmq_Poller.h: org/zmq/Poller.class
+ $(CLASSPATH_ENV) $(JAVAH) -jni -classpath . org.zmq.Poller
+
+./org/zmq/Poller.class: classdist_noinst.stamp
+
dist-hook:
-rm $(distdir)/*.h