Commit | Line | Data |
---|---|---|
2b6f8df9 MD |
1 | if BUILD_JNI_INTERFACE |
2 | ||
41ba5806 | 3 | AM_CPPFLAGS = -I$(top_srcdir)/include |
378fa1c7 | 4 | |
69400ac4 | 5 | lib_LTLIBRARIES = liblttng-ust-java.la |
a58ac6c8 AM |
6 | liblttng_ust_java_la_SOURCES = LTTngUst.c org_lttng_ust_LTTngUst.h lttng_ust_java.h |
7 | dist_noinst_DATA = LTTngUst.java | |
69400ac4 | 8 | liblttng_ust_java_la_LIBADD = -lc -L$(top_builddir)/liblttng-ust/.libs -llttng-ust |
378fa1c7 | 9 | |
a58ac6c8 | 10 | all: LTTngUst.class org_lttng_ust_LTTngUst.h |
378fa1c7 PMF |
11 | |
12 | clean-local: | |
a58ac6c8 AM |
13 | rm org_lttng_ust_LTTngUst.h |
14 | rm -rf org/ | |
378fa1c7 | 15 | |
a58ac6c8 AM |
16 | LTTngUst.class: LTTngUst.java |
17 | javac -d "$(builddir)" "$(srcdir)/LTTngUst.java" | |
378fa1c7 | 18 | |
a58ac6c8 AM |
19 | org_lttng_ust_LTTngUst.h: LTTngUst.class |
20 | javah org.lttng.ust.LTTngUst | |
2b6f8df9 MD |
21 | |
22 | endif |