2009-08-31 13:11:46 +02:00
|
|
|
# We do not want to install Jzmq.class file
|
|
|
|
# user has to copy it to the right location.
|
|
|
|
#jzmqdir = /tmp
|
|
|
|
|
|
|
|
jarfile = Zmq.jar
|
|
|
|
jardir = $(datadir)/java
|
|
|
|
|
|
|
|
$(jarfile): $(dist_noinst_JAVA)
|
|
|
|
$(JAR) cf $(JARFLAGS) $@ org/zmq/*.class
|
|
|
|
|
|
|
|
jar_DATA = $(jarfile)
|
|
|
|
|
|
|
|
dist_noinst_JAVA = \
|
|
|
|
org/zmq/Context.java \
|
2010-02-26 17:28:09 +01:00
|
|
|
org/zmq/Socket.java \
|
|
|
|
org/zmq/Poller.java
|
2009-08-31 13:11:46 +02:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = libjzmq.la
|
|
|
|
libjzmq_la_SOURCES = \
|
|
|
|
Context.cpp \
|
2010-02-26 17:28:09 +01:00
|
|
|
Socket.cpp \
|
|
|
|
Poller.cpp
|
2010-02-16 00:11:38 +01:00
|
|
|
nodist_libjzmq_la_SOURCES = \
|
|
|
|
org_zmq_Context.h \
|
2010-02-26 17:28:09 +01:00
|
|
|
org_zmq_Socket.h \
|
|
|
|
org_zmq_Poller.h
|
2009-08-31 13:11:46 +02:00
|
|
|
|
2009-09-17 10:49:02 +02:00
|
|
|
libjzmq_la_CXXFLAGS = @JAVA_INCLUDE@ -I$(top_srcdir)/bindings/c -Wall
|
2009-09-08 14:54:04 +02:00
|
|
|
libjzmq_la_LDFLAGS = -version-info @JLTVER@
|
2009-08-31 13:11:46 +02:00
|
|
|
libjzmq_la_LIBADD = $(top_builddir)/src/libzmq.la
|
|
|
|
|
|
|
|
BUILT_SOURCES = \
|
2010-02-16 00:11:38 +01:00
|
|
|
org/zmq/Context.class \
|
|
|
|
org_zmq_Context.h \
|
2009-08-31 13:11:46 +02:00
|
|
|
org/zmq/Socket.class \
|
2010-02-26 17:28:09 +01:00
|
|
|
org_zmq_Socket.h \
|
|
|
|
org/zmq/Poller.class \
|
|
|
|
org_zmq_Poller.h
|
2009-08-31 13:11:46 +02:00
|
|
|
|
|
|
|
CLEANFILES = \
|
|
|
|
org/zmq/Context.class \
|
|
|
|
org_zmq_Context.h \
|
|
|
|
org/zmq/Socket.class \
|
|
|
|
org_zmq_Socket.h \
|
2010-02-26 17:28:09 +01:00
|
|
|
org/zmq/Poller.class \
|
|
|
|
org_zmq_Poller.h \
|
2009-08-31 13:11:46 +02:00
|
|
|
Zmq.jar
|
|
|
|
|
|
|
|
$(srcdir)/Context.cpp: org_zmq_Context.h
|
|
|
|
|
|
|
|
org_zmq_Context.h: org/zmq/Context.class
|
|
|
|
$(CLASSPATH_ENV) $(JAVAH) -jni -classpath . org.zmq.Context
|
|
|
|
|
|
|
|
./org/zmq/Context.class: classdist_noinst.stamp
|
|
|
|
|
|
|
|
$(srcdir)/Socket.cpp: org_zmq_Socket.h
|
|
|
|
|
|
|
|
org_zmq_Socket.h: org/zmq/Socket.class
|
|
|
|
$(CLASSPATH_ENV) $(JAVAH) -jni -classpath . org.zmq.Socket
|
|
|
|
|
|
|
|
./org/zmq/Socket.class: classdist_noinst.stamp
|
|
|
|
|
2010-02-26 17:28:09 +01:00
|
|
|
$(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
|
|
|
|
|
2009-08-31 13:11:46 +02:00
|
|
|
dist-hook:
|
|
|
|
-rm $(distdir)/*.h
|
|
|
|
|