dist_noinst_DATA = LTTngUst.java
liblttng_ust_java_la_LIBADD = -lc -L$(top_builddir)/liblttng-ust/.libs -llttng-ust
-all: LTTngUst.class org_lttng_ust_LTTngUst.h liblttng-ust-java.jar
+all: LTTngUst.class org_lttng_ust_LTTngUst.h
clean-local:
- rm org_lttng_ust_LTTngUst.h
- rm liblttng-ust-java.jar
+ rm org_lttng_ust_LTTngUst.h
rm -rf org/
LTTngUst.class: LTTngUst.java
org_lttng_ust_LTTngUst.h: LTTngUst.class
javah org.lttng.ust.LTTngUst
-liblttng-ust-java.jar: LTTngUst.class
- jar cf liblttng-ust-java.jar org/*
-
endif
dependency: gcj-4.4-jdk
./configure --with-java-jdk=/usr/lib/jvm/java-gcj --with-jni-interface
-
-
-After building, you can use the liblttng-ust-java.jar file in a Java project.
-It requires the liblttng-ust-java.so* files (which get installed when doing
-`make install') so make sure those are in the linker's library path.