瀏覽代碼

Move conditional java targets to the top of Makefile.am.

tags/v0.99.beta17
Sam Hocevar sam 15 年之前
父節點
當前提交
f039d3e4f4
共有 1 個檔案被更改,包括 5 行新增5 行删除
  1. +5
    -5
      java/Makefile.am

+ 5
- 5
java/Makefile.am 查看文件

@@ -1,16 +1,18 @@
# $Id$

jnidir = $(libdir)/jni
libcaca_javadir = $(datadir)/java

java_jar = libjava.jar

if USE_JAVA
jni_LTLIBRARIES = libcaca-java.la
libcaca_java_DATA = $(java_jar)
noinst_DATA = examples/Driver.class examples/TrueColor.class
endif

java_src = $(wildcard $(srcdir)/org/zoy/caca/*.java)

java_jar = libjava.jar

java_jni_headers = \
org_zoy_caca_Attribute.h \
org_zoy_caca_Caca.h \
@@ -81,6 +83,7 @@ EXTRA_DIST = README

if USE_JAVA
BUILT_SOURCES = $(java_jni_headers) $(java_jni_classes)
endif

libcaca_java_la_CPPFLAGS = $(JAVA_CFLAGS)
libcaca_java_la_SOURCES = \
@@ -91,9 +94,6 @@ libcaca_java_la_SOURCES = \
# $(java_jni_headers)
libcaca_java_la_LDFLAGS = -shared $(JAVA_LIBS)
libcaca_java_la_LIBADD = ../caca/libcaca.la
libcaca_java_ladir = $(datadir)/java
libcaca_java_la_DATA = $(java_jar)
endif

examples/Driver.class: examples/Driver.java
$(JAVAC) $^


Loading…
取消
儲存