diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-10-06 14:00:40 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-10-06 14:00:40 +0200 |
commit | 6e9c41a892ed0e0da326e0278b3221ce3f5713b8 (patch) | |
tree | 2e301d871bbeeb44aa57ff9cc070fcf3be484487 /japi/Makefile.am |
Initial import of sane-backends version 1.0.24-1.2
Diffstat (limited to 'japi/Makefile.am')
-rw-r--r-- | japi/Makefile.am | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/japi/Makefile.am b/japi/Makefile.am new file mode 100644 index 0000000..5d66e82 --- /dev/null +++ b/japi/Makefile.am @@ -0,0 +1,47 @@ +## Makefile.am -- an automake template for Makefile.in file +## Copyright (C) 2009 Chris Bagwell and Sane Developers. +## +## This file is part of the "Sane" build infra-structure. See +## included LICENSE file for license information. + +# +# Makefile for a Java project with native methods. +# + +V_MAJOR = @V_MAJOR@ +V_MINOR = @V_MINOR@ +V_REV = @V_REV@ + +JAVAROOT=. +CLASSPATH_ENV=. +JAVAH=javah -jni -cp $(CLASSPATH_ENV) + +# We'll need something in 'configure' for the Java includes. +AM_CPPFLAGS = -I. -I$(srcdir) -I$(top_builddir)/include \ + -I$(top_srcdir)/include -I${JDK_HOME}/include \ + -I${JDK_HOME}/include/genunix +AM_LDFLAGS = @STRICT_LDFLAGS@ -version-number $(V_MAJOR):$(V_MINOR):$(VREV) + +JAVA_SRC = SaneDevice.java SaneOption.java SaneRange.java\ + Sane.java SaneParameters.java ScanIt.java \ + ImageCanvas.java ImageCanvasClient.java \ + Test.java Jscanimage.java + +dist_noinst_JAVA = $(JAVA_SRC) + +LIBSANE = ../backend/libsane.la + +EXTRA_DIST = Makefile.in README.JAVA + +lib_LTLIBRARIES = libsanej.la + +BUILT_SOURCES = Sane.h +CLEANFILES = Sane.h +nodist_libsanej_la_SOURCES = Sane.h +libsanej_la_SOURCES = Sane.c +libsanej_la_LIBADD = $(LIBSANE) + +# Make sure that java classes get created before create Sane.h +Sane.h: classdist_noinst.stamp + $(JAVAH) Sane + |