]> sigrok.org Git - sigrok-androidutils.git/blob - Makefile.am
Add some missing license headers.
[sigrok-androidutils.git] / Makefile.am
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 ##
19
20 SUBDIRS = lib
21
22 dist_pkgdata_DATA = device_filter.xml
23
24 jardir = $(prefix)/jar
25 jar_DATA = $(UTILS_JAR) $(ANTTASKS_JAR)
26
27 UTILS_JAR = sigrok-androidutils.jar
28
29 ANTTASKS_JAR = ant/sigrok-androidutils-anttasks.jar
30
31 ANTFLAGS = -Dandroid.sdk=$(ANDROID_SDK) -Dandroid.platform=$(ANDROID_PLATFORM)
32
33 EXTRA_DIST = build.xml src ant/src ant/resources
34
35 $(UTILS_JAR): always
36         @ant $(ANTFLAGS) utils
37
38 $(ANTTASKS_JAR): always
39         @ant anttasks
40
41 clean-local:
42         -rm -rf build ant/build
43         -rm -f $(UTILS_JAR) $(ANTTASKS_JAR)
44
45 .PHONY: always
46
47 always:
48