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