Commit | Line | Data |
---|---|---|
2b6f8df9 MD |
1 | if BUILD_JNI_INTERFACE |
2 | ||
41ba5806 | 3 | AM_CPPFLAGS = -I$(top_srcdir)/include |
378fa1c7 PMF |
4 | |
5 | lib_LTLIBRARIES = libustjava.la | |
2b6f8df9 | 6 | libustjava_la_SOURCES = UST.c UST.h ust_java.h |
41ba5806 | 7 | dist_noinst_DATA = UST.java |
378fa1c7 PMF |
8 | libustjava_la_LIBADD = -lc -L$(top_builddir)/libust/.libs -lust |
9 | ||
5ab4c5cb | 10 | all: UST.class UST.h |
378fa1c7 PMF |
11 | |
12 | clean-local: | |
13 | rm -rf UST.h UST.class | |
14 | ||
15 | UST.class: UST.java | |
41ba5806 | 16 | javac -d "$(builddir)" "$(srcdir)/UST.java" |
378fa1c7 | 17 | |
2b6f8df9 | 18 | UST.h: UST.class |
5ab4c5cb | 19 | javah -jni UST |
2b6f8df9 MD |
20 | |
21 | endif |