]> git.gag.com Git - fw/altos/blob - altoslib/Makefile.am
Merge branch 'master' into micropeak-logging
[fw/altos] / altoslib / Makefile.am
1 AM_JAVACFLAGS=-encoding UTF-8 -Xlint:deprecation
2
3 JAVAROOT=bin
4
5 CLASSPATH_ENV=mkdir -p $(JAVAROOT); CLASSPATH="bin:$(FREETTS)/*:/usr/share/java/*"
6
7 SRC=.
8 BIN=bin/org/altusmetrum/AltosLib
9
10 AltosLibdir = $(datadir)/java
11
12 AltosLib_JAVA = \
13         $(SRC)/AltosLib.java \
14         $(SRC)/AltosConfigData.java \
15         $(SRC)/AltosConfigValues.java \
16         $(SRC)/AltosConvert.java \
17         $(SRC)/AltosCRCException.java \
18         $(SRC)/AltosEepromChunk.java \
19         $(SRC)/AltosEepromIterable.java \
20         $(SRC)/AltosEepromLog.java \
21         $(SRC)/AltosEepromMega.java \
22         $(SRC)/AltosEepromMegaIterable.java \
23         $(SRC)/AltosEepromRecord.java \
24         $(SRC)/AltosEepromTeleScience.java \
25         $(SRC)/AltosFile.java \
26         $(SRC)/AltosFlightReader.java \
27         $(SRC)/AltosFrequency.java \
28         $(SRC)/AltosGPS.java \
29         $(SRC)/AltosGPSQuery.java \
30         $(SRC)/AltosGPSSat.java \
31         $(SRC)/AltosGreatCircle.java \
32         $(SRC)/AltosIdleMonitor.java \
33         $(SRC)/AltosIdleMonitorListener.java \
34         $(SRC)/AltosIgnite.java \
35         $(SRC)/AltosIMU.java \
36         $(SRC)/AltosIMUQuery.java \
37         $(SRC)/AltosLine.java \
38         $(SRC)/AltosLink.java \
39         $(SRC)/AltosLog.java \
40         $(SRC)/AltosMs5607.java \
41         $(SRC)/AltosMs5607Query.java \
42         $(SRC)/AltosOrderedRecord.java \
43         $(SRC)/AltosOrderedMegaRecord.java \
44         $(SRC)/AltosParse.java \
45         $(SRC)/AltosPreferences.java \
46         $(SRC)/AltosPreferencesBackend.java \
47         $(SRC)/AltosRecordCompanion.java \
48         $(SRC)/AltosRecordIterable.java \
49         $(SRC)/AltosRecord.java \
50         $(SRC)/AltosRecordNone.java \
51         $(SRC)/AltosRecordTM.java \
52         $(SRC)/AltosRecordMM.java \
53         $(SRC)/AltosReplayReader.java \
54         $(SRC)/AltosSensorMM.java \
55         $(SRC)/AltosSensorTM.java \
56         $(SRC)/AltosState.java \
57         $(SRC)/AltosTelemetry.java \
58         $(SRC)/AltosTelemetryIterable.java \
59         $(SRC)/AltosTelemetryMap.java \
60         $(SRC)/AltosTelemetryReader.java \
61         $(SRC)/AltosTelemetryRecordCompanion.java \
62         $(SRC)/AltosTelemetryRecordConfiguration.java \
63         $(SRC)/AltosTelemetryRecordGeneral.java \
64         $(SRC)/AltosTelemetryRecord.java \
65         $(SRC)/AltosTelemetryRecordLegacy.java \
66         $(SRC)/AltosTelemetryRecordLocation.java \
67         $(SRC)/AltosTelemetryRecordRaw.java \
68         $(SRC)/AltosTelemetryRecordSatellite.java \
69         $(SRC)/AltosTelemetryRecordSensor.java \
70         $(SRC)/AltosTelemetryRecordMegaSensor.java \
71         $(SRC)/AltosTelemetryRecordMegaData.java \
72         $(SRC)/AltosMs5607.java \
73         $(SRC)/AltosIMU.java \
74         $(SRC)/AltosMag.java \
75         $(SRC)/AltosUnits.java \
76         $(SRC)/AltosDistance.java \
77         $(SRC)/AltosHeight.java \
78         $(SRC)/AltosSpeed.java \
79         $(SRC)/AltosAccel.java \
80         $(SRC)/AltosPyro.java
81
82 JAR=AltosLib.jar
83
84 all-local: $(JAR)
85
86 clean-local:
87         -rm -rf bin $(JAR)
88
89 install-AltosLibJAVA: $(JAR)
90         @$(NORMAL_INSTALL)
91         test -z "$(AltosLibdir)" || $(MKDIR_P) "$(DESTDIR)$(AltosLibdir)"
92         echo " $(INSTALL_DATA)" "$<" "'$(DESTDIR)$(AltosLibdir)/$(JAR)"; \
93         $(INSTALL_DATA) "$<" "$(DESTDIR)$(AltosLibdir)"
94
95 bin:
96         mkdir -p bin
97
98 $(JAR): classAltosLib.stamp
99         jar cf $@ -C bin org