Project

General

Profile

Bug #1176 » 0001-Fix-java-stamp-build-dependency.patch

Mathieu Desnoyers, 02/14/2019 03:12 PM

View differences:

liblttng-ust-java-agent/java/lttng-ust-agent-common/Makefile.am
# to generate the jni header file.
AM_JAVACFLAGS = -h $(jnioutdir)
else
context-jni-header.stamp: $(dist_noinst_JAVA)
context-jni-header.stamp: $(classes)
$(JAVAH) -classpath $(CLASSPATH):$(srcdir) -d $(jnioutdir) $(JAVAHFLAGS) org.lttng.ust.agent.context.LttngContextApi && \
echo "Context API JNI header generated" > context-jni-header.stamp
liblttng-ust-java-agent/java/lttng-ust-agent-jul/Makefile.am
# to generate the jni header file.
AM_JAVACFLAGS = -h $(juljniout)
else
jul-jni-header.stamp: $(dist_noinst_JAVA)
jul-jni-header.stamp: $(classes)
$(JAVAH) -classpath $(CLASSPATH):$(srcdir) -d $(juljniout) $(JAVAHFLAGS) org.lttng.ust.agent.jul.LttngJulApi && \
echo "JUL JNI header generated" > jul-jni-header.stamp
liblttng-ust-java-agent/java/lttng-ust-agent-log4j/Makefile.am
# to generate the jni header file.
AM_JAVACFLAGS = -h $(log4jjniout)
else
log4j-jni-header.stamp: $(dist_noinst_JAVA)
log4j-jni-header.stamp: $(classes)
$(JAVAH) -classpath $(CLASSPATH):$(srcdir) -d $(log4jjniout) $(JAVAHFLAGS) org.lttng.ust.agent.log4j.LttngLog4jApi && \
echo "Log4j JNI header generated" > log4j-jni-header.stamp
(1-1/2)