mirror of
https://github.com/openharmony/third_party_backends.git
synced 2026-08-26 11:39:38 -04:00
d8d4f75572
Newer automake versions have the dist target depend on BUILT_SOURCES so that variable should not heavy build dependencies. This fixes the dist target sufficiently, for CI purposes at least, in that it leads to inclusion of the same list of files. Note that CI does not build anything in the japi/ directory.
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
## 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.
|
|
#
|
|
|
|
JAVAROOT=.
|
|
MY_CLASSPATH=.
|
|
JAVAH=javah -jni -cp $(MY_CLASSPATH)
|
|
|
|
# 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):$(V_REV)
|
|
|
|
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 = README.JAVA
|
|
|
|
lib_LTLIBRARIES = libsanej.la
|
|
|
|
libsanej_la_SOURCES = Sane.c
|
|
libsanej_la_LIBADD = $(LIBSANE)
|
|
|
|
# Explicit dependencies
|
|
nodist_libsanej_la_SOURCES: Sane.h
|
|
Sane.h: classnoinst.stamp
|
|
$(JAVAH) Sane
|
|
|
|
CLEANFILES = Sane.h
|