projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add TRACEPOINT_EVENT java instrumentation wrapper
[lttng-ust.git]
/
java
/
Makefile.am
diff --git
a/java/Makefile.am
b/java/Makefile.am
index fa536287827edd13db88a8bc8d0209309a92ba7e..cb2c1b8931f2cef8a399857b32e13104bc489349 100644
(file)
--- a/
java/Makefile.am
+++ b/
java/Makefile.am
@@
-1,15
+1,21
@@
-AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_builddir)/libust
+if BUILD_JNI_INTERFACE
+
+AM_CPPFLAGS = -I$(top_srcdir)/include
lib_LTLIBRARIES = libustjava.la
lib_LTLIBRARIES = libustjava.la
-libustjava_la_SOURCES = UST.c UST.h
-noinst_DATA = UST.java
+libustjava_la_SOURCES = UST.c UST.h
ust_java.h
+
dist_
noinst_DATA = UST.java
libustjava_la_LIBADD = -lc -L$(top_builddir)/libust/.libs -lust
libustjava_la_LIBADD = -lc -L$(top_builddir)/libust/.libs -lust
-all: UST.class
+all: UST.class
UST.h
clean-local:
rm -rf UST.h UST.class
UST.class: UST.java
clean-local:
rm -rf UST.h UST.class
UST.class: UST.java
- javac UST.java
+ javac -d "$(builddir)" "$(srcdir)/UST.java"
+
+UST.h: UST.class
+ javah -jni UST
+endif
This page took
0.024155 seconds
and
4
git commands to generate.