Revert "Fix: Make the JNI interface actually work"
[lttng-ust.git] / liblttng-ust-java / Makefile.am
1 if BUILD_JNI_INTERFACE
2
3 AM_CPPFLAGS = -I$(top_srcdir)/include
4
5 lib_LTLIBRARIES = liblttng-ust-java.la
6 liblttng_ust_java_la_SOURCES = LTTNG_UST.c LTTNG_UST.h lttng_ust_java.h
7 dist_noinst_DATA = LTTNG_UST.java
8 liblttng_ust_java_la_LIBADD = -lc -L$(top_builddir)/liblttng-ust/.libs -llttng-ust
9
10 all: LTTNG_UST.class LTTNG_UST.h
11
12 clean-local:
13 rm -rf LTTNG_UST.h LTTNG_UST.class
14
15 LTTNG_UST.class: LTTNG_UST.java
16 javac -d "$(builddir)" "$(srcdir)/LTTNG_UST.java"
17
18 LTTNG_UST.h: LTTNG_UST.class
19 javah -classpath ./ -jni LTTNG_UST
20
21 endif
This page took 0.029277 seconds and 4 git commands to generate.