0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-09 22:58:03 +08:00
libzmq/java/Makefile.am

73 lines
1.7 KiB
Makefile
Raw Normal View History

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 \
org/zmq/Socket.java \
org/zmq/Message.java
lib_LTLIBRARIES = libjzmq.la
libjzmq_la_SOURCES = \
Context.cpp \
org_zmq_Context.h \
Socket.cpp \
org_zmq_Socket.h \
Message.cpp \
org_zmq_Message.h
libjzmq_la_CXXFLAGS = -I$(top_builddir)/src/libzmq \
@JAVA_INCLUDE@ -I$(top_builddir)/include -I$(top_srcdir)/libjzmq -Wall -I /usr/lib/jvm/java-6-openjdk/include
libjzmq_la_LDFLAGS = -version-info 0:0:0
libjzmq_la_LIBADD = $(top_builddir)/src/libzmq.la
BUILT_SOURCES = \
org/zmq/Context.class \
org_zmq_Context.h \
org/zmq/Socket.class \
org_zmq_Socket.h \
org/zmq/Message.class \
org_zmq_Message.h
CLEANFILES = \
org/zmq/Context.class \
org_zmq_Context.h \
org/zmq/Socket.class \
org_zmq_Socket.h \
org/zmq/Message.class \
org_zmq_Message.h \
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
$(srcdir)/Message.cpp: org_zmq_Message.h
org_zmq_Message.h: org/zmq/Message.class
$(CLASSPATH_ENV) $(JAVAH) -jni -classpath . org.zmq.Message
./org/zmq/Message.class: classdist_noinst.stamp
dist-hook:
-rm $(distdir)/*.h