Make lttng-ust robust against -finstrument-functions.
[lttng-ust.git] / liblttng-ust-java / Makefile.am
CommitLineData
2b6f8df9
MD
1if BUILD_JNI_INTERFACE
2
41ba5806 3AM_CPPFLAGS = -I$(top_srcdir)/include
378fa1c7 4
69400ac4 5lib_LTLIBRARIES = liblttng-ust-java.la
a58ac6c8
AM
6liblttng_ust_java_la_SOURCES = LTTngUst.c org_lttng_ust_LTTngUst.h lttng_ust_java.h
7dist_noinst_DATA = LTTngUst.java
69400ac4 8liblttng_ust_java_la_LIBADD = -lc -L$(top_builddir)/liblttng-ust/.libs -llttng-ust
378fa1c7 9
3077257a 10all: LTTngUst.class org_lttng_ust_LTTngUst.h liblttng-ust-java.jar
378fa1c7
PMF
11
12clean-local:
3077257a
AM
13 rm org_lttng_ust_LTTngUst.h
14 rm liblttng-ust-java.jar
a58ac6c8 15 rm -rf org/
378fa1c7 16
a58ac6c8
AM
17LTTngUst.class: LTTngUst.java
18 javac -d "$(builddir)" "$(srcdir)/LTTngUst.java"
378fa1c7 19
a58ac6c8
AM
20org_lttng_ust_LTTngUst.h: LTTngUst.class
21 javah org.lttng.ust.LTTngUst
2b6f8df9 22
3077257a
AM
23liblttng-ust-java.jar: LTTngUst.class
24 jar cf liblttng-ust-java.jar org/*
25
2b6f8df9 26endif
This page took 0.035623 seconds and 4 git commands to generate.