Changeset 4229 for libcaca


Ignore:
Timestamp:
Jan 6, 2010, 1:10:31 AM (10 years ago)
Author:
Sam Hocevar
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/java/Makefile.am

    r4225 r4229  
    22
    33jnidir = $(libdir)/jni
     4libcaca_javadir = $(datadir)/java
     5
     6java_jar = libjava.jar
    47
    58if USE_JAVA
    69jni_LTLIBRARIES = libcaca-java.la
     10libcaca_java_DATA = $(java_jar)
    711noinst_DATA = examples/Driver.class examples/TrueColor.class
    812endif
    913
    1014java_src = $(wildcard $(srcdir)/org/zoy/caca/*.java)
    11 
    12 java_jar = libjava.jar
    1315
    1416java_jni_headers =         \
     
    8284if USE_JAVA
    8385BUILT_SOURCES = $(java_jni_headers) $(java_jni_classes)
     86endif
    8487
    8588libcaca_java_la_CPPFLAGS = $(JAVA_CFLAGS)
     
    9295libcaca_java_la_LDFLAGS = -shared $(JAVA_LIBS)
    9396libcaca_java_la_LIBADD = ../caca/libcaca.la
    94 libcaca_java_ladir = $(datadir)/java
    95 libcaca_java_la_DATA = $(java_jar)
    96 endif
    9797
    9898examples/Driver.class: examples/Driver.java
Note: See TracChangeset for help on using the changeset viewer.