~ubuntu-branches/ubuntu/maverick/zeromq/maverick

« back to all changes in this revision

Viewing changes to bindings/java/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Adrian von Bidder
  • Date: 2010-03-17 10:43:40 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100317104340-un1ne0oqe16w8eaq
Tags: 2.0.6beta.dfsg-1
* New upstream version.
  - Source doesn't include non-C/C++ language bindings anymore.
  - New versioning: 2.0.6 is official upstream version which is a beta.
* Repacked orig tar: removed non-free RFC documents (closes: #567513)
* Improved/corrected description and copyright file, added bzip2 build
  dependency.  Thanks to feedback from zeromq mailing list.
* Disable OpenPGM on non-x86 architectures (closes: #567848)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# We do not want to install Jzmq.class file
2
 
# user has to copy it to the right location.
3
 
#jzmqdir = /tmp
4
 
 
5
 
jarfile = Zmq.jar
6
 
jardir = $(datadir)/java
7
 
 
8
 
$(jarfile): $(dist_noinst_JAVA)
9
 
        $(JAR) cf $(JARFLAGS) $@ org/zmq/*.class
10
 
 
11
 
jar_DATA = $(jarfile)
12
 
 
13
 
dist_noinst_JAVA = \
14
 
        org/zmq/Context.java \
15
 
        org/zmq/Socket.java
16
 
 
17
 
lib_LTLIBRARIES = libjzmq.la
18
 
libjzmq_la_SOURCES = \
19
 
        Context.cpp \
20
 
    org_zmq_Context.h \
21
 
        Socket.cpp \
22
 
    org_zmq_Socket.h
23
 
 
24
 
libjzmq_la_CXXFLAGS = @JAVA_INCLUDE@ -I$(top_srcdir)/bindings/c -Wall
25
 
libjzmq_la_LDFLAGS = -version-info @JLTVER@
26
 
libjzmq_la_LIBADD = $(top_builddir)/src/libzmq.la
27
 
 
28
 
BUILT_SOURCES = \
29
 
    org/zmq/Context.class \
30
 
    org_zmq_Context.h \
31
 
        org/zmq/Socket.class \
32
 
    org_zmq_Socket.h
33
 
 
34
 
CLEANFILES = \
35
 
        org/zmq/Context.class \
36
 
        org_zmq_Context.h \
37
 
        org/zmq/Socket.class \
38
 
        org_zmq_Socket.h \
39
 
        Zmq.jar
40
 
 
41
 
$(srcdir)/Context.cpp: org_zmq_Context.h
42
 
 
43
 
org_zmq_Context.h: org/zmq/Context.class
44
 
        $(CLASSPATH_ENV) $(JAVAH) -jni -classpath . org.zmq.Context
45
 
 
46
 
./org/zmq/Context.class: classdist_noinst.stamp
47
 
 
48
 
$(srcdir)/Socket.cpp: org_zmq_Socket.h
49
 
 
50
 
org_zmq_Socket.h: org/zmq/Socket.class
51
 
        $(CLASSPATH_ENV) $(JAVAH) -jni -classpath . org.zmq.Socket
52
 
 
53
 
./org/zmq/Socket.class: classdist_noinst.stamp
54
 
 
55
 
dist-hook:
56
 
        -rm $(distdir)/*.h
57