altosuilib: Remove GrabNDrag.java
[fw/altos] / altosuilib / Makefile.am
index b4c4f79..c00144f 100644 (file)
@@ -9,18 +9,15 @@ SRC=.
 altosuilibdir = $(datadir)/java
 
 altosuilib_JAVA = \
-       GrabNDrag.java \
        AltosDevice.java \
        AltosDeviceDialog.java \
-       AltosFlightDisplay.java \
-       AltosFontListener.java \
        AltosPositionListener.java \
+       AltosUIAccelCal.java \
        AltosUIConfigure.java \
        AltosUIAxis.java \
        AltosUIDataMissing.java \
        AltosUIDataPoint.java \
        AltosUIDataSet.java \
-       AltosUIGraph.java \
        AltosUIGrapher.java \
        AltosUIDialog.java \
        AltosUIEnable.java \
@@ -30,34 +27,68 @@ altosuilib_JAVA = \
        AltosUIMarker.java \
        AltosUIPreferencesBackend.java \
        AltosUIPreferences.java \
-       AltosUISeries.java \
-       AltosUIVersion.java \
+       AltosUIFlightSeries.java \
+       AltosUIGraph.java \
+       AltosGraph.java \
+       AltosShapeListener.java \
        AltosUSBDevice.java \
-       AltosSiteMap.java \
-       AltosSiteMapCache.java \
-       AltosSiteMapPreload.java \
-       AltosSiteMapTile.java \
-       AltosSiteMapImage.java \
        AltosVoice.java \
        AltosDisplayThread.java \
        AltosDeviceUIDialog.java \
-       AltosFreqList.java \
        AltosSerial.java \
        AltosSerialInUseException.java \
        AltosConfigFreqUI.java \
        AltosScanUI.java \
+       AltosEepromDelete.java \
+       AltosEepromGrapher.java \
+       AltosEepromManage.java \
+       AltosEepromMonitorUI.java \
+       AltosEepromSelect.java \
+       AltosCSVUI.java \
+       AltosDataChooser.java \
+       AltosLights.java \
+       AltosLed.java \
+       AltosFlashUI.java \
+       AltosRomconfigUI.java \
+       AltosInfoTable.java \
+       AltosFlightInfoTableModel.java \
+       AltosFlightStatsTable.java \
        AltosBTDevice.java \
        AltosBTDeviceIterator.java \
        AltosBTManage.java \
-       AltosBTKnown.java
-
+       AltosBTKnown.java \
+       AltosUILineStyle.java \
+       AltosUIMap.java \
+       AltosUIMapPreload.java \
+       AltosUIFlightTab.java \
+       AltosUIIndicator.java \
+       AltosUIUnitsIndicator.java \
+       AltosUIVoltageIndicator.java \
+       AltosUIFreqList.java \
+       AltosUITelemetryList.java \
+       AltosUIRateList.java \
+       AltosUIImage.java \
+       AltosUITimeSeries.java \
+       OSXAdapter.java
 
 JAR=altosuilib_$(ALTOSUILIB_VERSION).jar
 
+# Icons
+ICONDIR=$(top_srcdir)/icon
+
+ICONS= $(ICONDIR)/redled.png $(ICONDIR)/redoff.png \
+       $(ICONDIR)/greenled.png $(ICONDIR)/greenoff.png \
+       $(ICONDIR)/grayon.png $(ICONDIR)/grayled.png
+
+# icon base names for jar
+ICONJAR= -C $(ICONDIR) redled.png -C $(ICONDIR) redoff.png \
+       -C $(ICONDIR) greenled.png -C $(ICONDIR) greenoff.png \
+       -C $(ICONDIR) grayon.png -C $(ICONDIR) grayled.png
+
 all-local: $(JAR)
 
 clean-local:
-       -rm -rf $(JAVAROOT) $(JAR)
+       -rm -rf $(JAVAROOT) altosuilib_*.jar
 
 install-altosuilibJAVA: $(JAR)
        @$(NORMAL_INSTALL)
@@ -68,5 +99,5 @@ install-altosuilibJAVA: $(JAR)
 $(JAVAROOT):
        mkdir -p $(JAVAROOT)
 
-$(JAR): classaltosuilib.stamp
-       jar cf $@ -C $(JAVAROOT) .
+$(JAR): classaltosuilib.stamp $(ICONS)
+       jar cf $@ $(ICONJAR) -C $(JAVAROOT) .