]> sigrok.org Git - sigrok-androidutils.git/blame - Makefile.am
Random whitespace fixes (tabs vs. spaces).
[sigrok-androidutils.git] / Makefile.am
CommitLineData
5de7ce63
UH
1##
2## This file is part of the sigrok-androidutils project.
3##
4## Copyright (C) 2014 Marcus Comstedt <marcus@mc.pp.se>
5##
6## This program is free software: you can redistribute it and/or modify
7## it under the terms of the GNU General Public License as published by
8## the Free Software Foundation, either version 3 of the License, or
9## (at your option) any later version.
10##
11## This program is distributed in the hope that it will be useful,
12## but WITHOUT ANY WARRANTY; without even the implied warranty of
13## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14## GNU General Public License for more details.
15##
16## You should have received a copy of the GNU General Public License
17## along with this program. If not, see <http://www.gnu.org/licenses/>.
18##
ea3ce762 19
32aa2c6e
UH
20lib_LTLIBRARIES = libsigrokandroidutils.la
21
22libsigrokandroidutils_la_CXXFLAGS = \
23 -fno-exceptions
24
25libsigrokandroidutils_la_SOURCES = \
26 lib/jvm_glue.cpp \
27 lib/envsetup.cpp
28
29pkgconfigdir = $(libdir)/pkgconfig
30pkgconfig_DATA = lib/libsigrokandroidutils.pc
31
32library_includedir = $(includedir)/libsigrokandroidutils
33library_include_HEADERS = lib/libsigrokandroidutils.h
34noinst_HEADERS = lib/libsigrokandroidutils-internal.h
2b68989a 35
70c9d937 36dist_pkgdata_DATA = device_filter.xml
5d83f11e
MC
37
38jardir = $(prefix)/jar
39jar_DATA = $(UTILS_JAR) $(ANTTASKS_JAR)
40
ea3ce762
MC
41UTILS_JAR = sigrok-androidutils.jar
42
43ANTTASKS_JAR = ant/sigrok-androidutils-anttasks.jar
44
45ANTFLAGS = -Dandroid.sdk=$(ANDROID_SDK) -Dandroid.platform=$(ANDROID_PLATFORM)
46
70c9d937
MC
47EXTRA_DIST = build.xml src ant/src ant/resources
48
ea3ce762 49$(UTILS_JAR): always
4c13edc3 50 $(AM_V_GEN)ant -S -q $(ANTFLAGS) utils
ea3ce762
MC
51
52$(ANTTASKS_JAR): always
4c13edc3 53 $(AM_V_GEN)ant -S -q anttasks
ea3ce762 54
283c6abb
MC
55clean-local:
56 -rm -rf build ant/build
57 -rm -f $(UTILS_JAR) $(ANTTASKS_JAR)
58
ea3ce762
MC
59.PHONY: always
60
61always:
62