File: Makefile.am

package info (click to toggle)
altos 1.6.8-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 63,748 kB
  • ctags: 36,577
  • sloc: ansic: 92,100; java: 36,273; makefile: 6,495; xml: 3,096; sh: 1,971; pascal: 1,581
file content (72 lines) | stat: -rw-r--r-- 2,457 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
SUBDIRS=ao-tools src doc icon altoslib libaltos altosuilib altosui micropeak ao-utils altosdroid telegps

EXTRA_DIST = ChangeLog

MAINTAINERCLEANFILES = ChangeLog

.PHONY: ChangeLog

all: pdclib/Makefile
all-recursive: pdclib/Makefile

pdclib/Makefile:
	git submodule update

ChangeLog:
	(GIT_DIR=$(top_srcdir)/.git git log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || \
	(touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)

dist-hook: ChangeLog

fat:
	cd src && $(MAKE) all
	cd doc && $(MAKE) all
	cd libaltos && $(MAKE) fat
	cd altoslib && $(MAKE) all
	cd altosuilib && $(MAKE) all
	cd icon && $(MAKE) fat
	cd altosui && $(MAKE) fat
	cd micropeak && $(MAKE) fat
	cd telegps && $(MAKE) fat

fat_linux = \
	altosui/Altos-Linux-$(VERSION).sh altosui/Altos-Linux-$(VERSION).tar.bz2 \
	telegps/TeleGPS-Linux-$(VERSION).sh telegps/TeleGPS-Linux-$(VERSION).tar.bz2 \
	micropeak/MicroPeak-Linux-$(VERSION).sh micropeak/MicroPeak-Linux-$(VERSION).tar.bz2

fat_mac = \
	altosui/Altos-Mac-$(VERSION).dmg \
	telegps/TeleGPS-Mac-$(VERSION).dmg \
	micropeak/MicroPeak-Mac-$(VERSION).dmg

fat_windows = \
	altosui/Altos-Windows-$(VERSION_DASH).exe \
	telegps/TeleGPS-Windows-$(VERSION_DASH).exe \
	micropeak/MicroPeak-Windows-$(VERSION_DASH).exe

fat_android = \
	altosdroid/bin/AltosDroid-debug.apk \
	altosdroid/bin/AltosDroid-release.apk

fat_altos = \
	src/easymega-v1.0/easymega-v1.0-$(VERSION).ihx \
	src/easymini-v1.0/easymini-v1.0-$(VERSION).ihx \
	src/telebt-v1.0/telebt-v1.0-$(VERSION).ihx \
	src/telebt-v3.0/telebt-v3.0-$(VERSION).ihx \
	src/teledongle-v0.2/teledongle-v0.2-$(VERSION).ihx \
	src/teledongle-v3.0/teledongle-v3.0-$(VERSION).ihx \
	src/telegps-v1.0/telegps-v1.0-$(VERSION).ihx \
	src/telemega-v1.0/telemega-v1.0-$(VERSION).ihx \
	src/telemega-v2.0/telemega-v2.0-$(VERSION).ihx \
	src/telemetrum-v1.0/telemetrum-v1.0-$(VERSION).ihx \
	src/telemetrum-v1.1/telemetrum-v1.1-$(VERSION).ihx \
	src/telemetrum-v1.2/telemetrum-v1.2-$(VERSION).ihx \
	src/telemetrum-v2.0/telemetrum-v2.0-$(VERSION).ihx \
	src/telemini-v1.0/telemini-v1.0-$(VERSION).ihx

keithp-fat: fat
	ssh keithp.com mkdir -p public_html/altos-$(VERSION)
	scp -p $(fat_linux) $(fat_mac) $(fat_windows) $(fat_android) $(fat_altos) keithp.com:public_html/altos-$(VERSION)

set-java-versions:
	$(top_srcdir)/fix-java-versions org.altusmetrum.altoslib=$(ALTOSLIB_VERSION) org.altusmetrum.altosuilib=$(ALTOSUILIB_VERSION)