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 |
2ac85198 MD |
6 | liblttng_ust_java_la_SOURCES = LTTNG_UST.c LTTNG_UST.h lttng_ust_java.h |
7 | dist_noinst_DATA = LTTNG_UST.java | |
69400ac4 | 8 | liblttng_ust_java_la_LIBADD = -lc -L$(top_builddir)/liblttng-ust/.libs -llttng-ust |
378fa1c7 | 9 | |
2ac85198 | 10 | all: LTTNG_UST.class LTTNG_UST.h |
378fa1c7 PMF |
11 | |
12 | clean-local: | |
2ac85198 | 13 | rm -rf LTTNG_UST.h LTTNG_UST.class |
378fa1c7 | 14 | |
2ac85198 MD |
15 | LTTNG_UST.class: LTTNG_UST.java |
16 | javac -d "$(builddir)" "$(srcdir)/LTTNG_UST.java" | |
378fa1c7 | 17 | |
2ac85198 MD |
18 | LTTNG_UST.h: LTTNG_UST.class |
19 | javah -jni LTTNG_UST | |
2b6f8df9 MD |
20 | |
21 | endif |