Add parameter -f to rm in Makefile clean target
[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 = LTTngUst.c lttng_ust_java.h
7 nodist_liblttng_ust_java_la_SOURCES = org_lttng_ust_LTTngUst.h
8 dist_noinst_DATA = LTTngUst.java
9 liblttng_ust_java_la_LIBADD = -lc -L$(top_builddir)/liblttng-ust/.libs -llttng-ust
10
11 all: LTTngUst.class org_lttng_ust_LTTngUst.h liblttng-ust-java.jar
12
13 clean-local:
14 rm -f org_lttng_ust_LTTngUst.h
15 rm -f liblttng-ust-java.jar
16 rm -rf org/
17
18 LTTngUst.c: org_lttng_ust_LTTngUst.h
19
20 LTTngUst.class: LTTngUst.java
21 javac -d "$(builddir)" "$(srcdir)/LTTngUst.java"
22
23 org_lttng_ust_LTTngUst.h: LTTngUst.class
24 javah org.lttng.ust.LTTngUst
25
26 liblttng-ust-java.jar: LTTngUst.class
27 jar cf liblttng-ust-java.jar org/*
28
29 endif
This page took 0.032063 seconds and 6 git commands to generate.