| 1 | AUTOMAKE_OPTIONS = subdir-objects |
| 2 | ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} |
| 3 | |
| 4 | SRCTOP = ../../CCS/src |
| 5 | DTCCDIR = $(SRCTOP)/dtcc |
| 6 | CSDIR = $(DTCCDIR)/CoordinateSystems |
| 7 | JAVADIR = $(SRCTOP)/GEOTRANS3/java_gui/geotrans3/jni |
| 8 | |
| 9 | DATADIR = ../../data |
| 10 | |
| 11 | DATAFILES = \ |
| 12 | $(DATADIR)/3_param.dat \ |
| 13 | $(DATADIR)/7_param.dat \ |
| 14 | $(DATADIR)/Und_min2.5x2.5_egm2008_WGS84_TideFree_reformatted \ |
| 15 | $(DATADIR)/default.xml \ |
| 16 | $(DATADIR)/egm84.grd \ |
| 17 | $(DATADIR)/egm96.grd \ |
| 18 | $(DATADIR)/ellips.dat \ |
| 19 | $(DATADIR)/wwgrid.bin |
| 20 | |
| 21 | DTCCINCLUDES = \ |
| 22 | -I$(SRCTOP)/dtcc \ |
| 23 | -I$(SRCTOP)/CoordinateConversion \ |
| 24 | -I$(SRCTOP)/dtcc/CoordinateSystemParameters \ |
| 25 | -I$(SRCTOP)/dtcc/CoordinateTuples \ |
| 26 | -I$(SRCTOP)/dtcc/Enumerations \ |
| 27 | -I$(SRCTOP)/dtcc/Exception |
| 28 | |
| 29 | DTCCHDRS = \ |
| 30 | $(CSDIR)/albers/AlbersEqualAreaConic.h \ |
| 31 | $(CSDIR)/azeq/AzimuthalEquidistant.h \ |
| 32 | $(CSDIR)/bng/BritishNationalGrid.h \ |
| 33 | $(CSDIR)/bonne/Bonne.h \ |
| 34 | $(CSDIR)/cassini/Cassini.h \ |
| 35 | $(CSDIR)/cyleqa/CylindricalEqualArea.h \ |
| 36 | $(CSDIR)/datum/Datum.h \ |
| 37 | $(CSDIR)/datum/DatumLibraryImplementation.h \ |
| 38 | $(CSDIR)/datum/SevenParameterDatum.h \ |
| 39 | $(CSDIR)/datum/ThreeParameterDatum.h \ |
| 40 | $(CSDIR)/eckert4/Eckert4.h \ |
| 41 | $(CSDIR)/eckert6/Eckert6.h \ |
| 42 | $(CSDIR)/ellipse/Ellipsoid.h \ |
| 43 | $(CSDIR)/ellipse/EllipsoidLibraryImplementation.h \ |
| 44 | $(CSDIR)/eqdcyl/EquidistantCylindrical.h \ |
| 45 | $(CSDIR)/gars/GARS.h \ |
| 46 | $(CSDIR)/geocent/Geocentric.h \ |
| 47 | $(CSDIR)/georef/GEOREF.h \ |
| 48 | $(CSDIR)/gnomonic/Gnomonic.h \ |
| 49 | $(CSDIR)/grinten/VanDerGrinten.h \ |
| 50 | $(CSDIR)/lambert/LambertConformalConic.h \ |
| 51 | $(CSDIR)/loccart/LocalCartesian.h \ |
| 52 | $(CSDIR)/mercator/Mercator.h \ |
| 53 | $(CSDIR)/mgrs/MGRS.h \ |
| 54 | $(CSDIR)/miller/MillerCylindrical.h \ |
| 55 | $(CSDIR)/misc/CoordinateSystem.h \ |
| 56 | $(CSDIR)/mollweid/Mollweide.h \ |
| 57 | $(CSDIR)/neys/Neys.h \ |
| 58 | $(CSDIR)/nzmg/NZMG.h \ |
| 59 | $(CSDIR)/omerc/ObliqueMercator.h \ |
| 60 | $(CSDIR)/orthogr/Orthographic.h \ |
| 61 | $(CSDIR)/polarst/PolarStereographic.h \ |
| 62 | $(CSDIR)/polycon/Polyconic.h \ |
| 63 | $(CSDIR)/sinusoid/Sinusoidal.h \ |
| 64 | $(CSDIR)/stereogr/Stereographic.h \ |
| 65 | $(CSDIR)/threads/CCSThreadLock.h \ |
| 66 | $(CSDIR)/threads/CCSThreadMutex.h \ |
| 67 | $(CSDIR)/tranmerc/TransverseMercator.h \ |
| 68 | $(CSDIR)/trcyleqa/TransverseCylindricalEqualArea.h \ |
| 69 | $(CSDIR)/ups/UPS.h \ |
| 70 | $(CSDIR)/usng/USNG.h \ |
| 71 | $(CSDIR)/utm/UTM.h |
| 72 | |
| 73 | DTCCINCS = \ |
| 74 | -I$(CSDIR)/threads \ |
| 75 | -I$(CSDIR)/albers \ |
| 76 | -I$(CSDIR)/azeq \ |
| 77 | -I$(CSDIR)/bonne \ |
| 78 | -I$(CSDIR)/bng \ |
| 79 | -I$(CSDIR)/cassini \ |
| 80 | -I$(CSDIR)/cyleqa \ |
| 81 | -I$(CSDIR)/datum \ |
| 82 | -I$(CSDIR)/eckert4 \ |
| 83 | -I$(CSDIR)/eckert6 \ |
| 84 | -I$(CSDIR)/ellipse \ |
| 85 | -I$(CSDIR)/eqdcyl \ |
| 86 | -I$(CSDIR)/gars \ |
| 87 | -I$(CSDIR)/geocent \ |
| 88 | -I$(CSDIR)/geoid \ |
| 89 | -I$(CSDIR)/georef \ |
| 90 | -I$(CSDIR)/gnomonic \ |
| 91 | -I$(CSDIR)/grinten \ |
| 92 | -I$(CSDIR)/lambert \ |
| 93 | -I$(CSDIR)/loccart \ |
| 94 | -I$(CSDIR)/mercator \ |
| 95 | -I$(CSDIR)/misc \ |
| 96 | -I$(CSDIR)/mgrs \ |
| 97 | -I$(CSDIR)/miller \ |
| 98 | -I$(CSDIR)/mollweid \ |
| 99 | -I$(CSDIR)/neys \ |
| 100 | -I$(CSDIR)/nzmg \ |
| 101 | -I$(CSDIR)/omerc \ |
| 102 | -I$(CSDIR)/orthogr \ |
| 103 | -I$(CSDIR)/polarst \ |
| 104 | -I$(CSDIR)/polycon \ |
| 105 | -I$(CSDIR)/sinusoid \ |
| 106 | -I$(CSDIR)/stereogr \ |
| 107 | -I$(CSDIR)/trcyleqa \ |
| 108 | -I$(CSDIR)/tranmerc \ |
| 109 | -I$(CSDIR)/ups \ |
| 110 | -I$(CSDIR)/usng \ |
| 111 | -I$(CSDIR)/utm |
| 112 | |
| 113 | DTCCSRCS = \ |
| 114 | $(CSDIR)/threads/CCSThreadMutex.cpp \ |
| 115 | $(CSDIR)/threads/CCSThreadLock.cpp \ |
| 116 | $(CSDIR)/albers/AlbersEqualAreaConic.cpp \ |
| 117 | $(CSDIR)/azeq/AzimuthalEquidistant.cpp \ |
| 118 | $(CSDIR)/bng/BritishNationalGrid.cpp \ |
| 119 | $(CSDIR)/bonne/Bonne.cpp \ |
| 120 | $(CSDIR)/cassini/Cassini.cpp \ |
| 121 | $(CSDIR)/cyleqa/CylindricalEqualArea.cpp \ |
| 122 | $(CSDIR)/datum/Datum.cpp \ |
| 123 | $(CSDIR)/datum/DatumLibraryImplementation.cpp \ |
| 124 | $(CSDIR)/datum/SevenParameterDatum.cpp \ |
| 125 | $(CSDIR)/datum/ThreeParameterDatum.cpp \ |
| 126 | $(CSDIR)/eckert4/Eckert4.cpp \ |
| 127 | $(CSDIR)/eckert6/Eckert6.cpp \ |
| 128 | $(CSDIR)/ellipse/Ellipsoid.cpp \ |
| 129 | $(CSDIR)/ellipse/EllipsoidLibraryImplementation.cpp \ |
| 130 | $(CSDIR)/eqdcyl/EquidistantCylindrical.cpp \ |
| 131 | $(CSDIR)/gars/GARS.cpp \ |
| 132 | $(CSDIR)/geocent/Geocentric.cpp \ |
| 133 | $(CSDIR)/georef/GEOREF.cpp \ |
| 134 | $(CSDIR)/gnomonic/Gnomonic.cpp \ |
| 135 | $(CSDIR)/grinten/VanDerGrinten.cpp \ |
| 136 | $(CSDIR)/lambert/LambertConformalConic.cpp \ |
| 137 | $(CSDIR)/loccart/LocalCartesian.cpp \ |
| 138 | $(CSDIR)/mercator/Mercator.cpp \ |
| 139 | $(CSDIR)/mgrs/MGRS.cpp \ |
| 140 | $(CSDIR)/miller/MillerCylindrical.cpp \ |
| 141 | $(CSDIR)/misc/CoordinateSystem.cpp \ |
| 142 | $(CSDIR)/mollweid/Mollweide.cpp \ |
| 143 | $(CSDIR)/neys/Neys.cpp \ |
| 144 | $(CSDIR)/nzmg/NZMG.cpp \ |
| 145 | $(CSDIR)/omerc/ObliqueMercator.cpp \ |
| 146 | $(CSDIR)/orthogr/Orthographic.cpp \ |
| 147 | $(CSDIR)/polarst/PolarStereographic.cpp \ |
| 148 | $(CSDIR)/polycon/Polyconic.cpp \ |
| 149 | $(CSDIR)/sinusoid/Sinusoidal.cpp \ |
| 150 | $(CSDIR)/stereogr/Stereographic.cpp \ |
| 151 | $(CSDIR)/trcyleqa/TransverseCylindricalEqualArea.cpp \ |
| 152 | $(CSDIR)/tranmerc/TransverseMercator.cpp \ |
| 153 | $(CSDIR)/ups/UPS.cpp \ |
| 154 | $(CSDIR)/usng/USNG.cpp \ |
| 155 | $(CSDIR)/utm/UTM.cpp |
| 156 | |
| 157 | CCSERVICEHDRS = \ |
| 158 | $(DTCCDIR)/CoordinateSystemParameters/CoordinateSystemParameters.h \ |
| 159 | $(DTCCDIR)/CoordinateSystemParameters/EllipsoidParameters.h \ |
| 160 | $(DTCCDIR)/CoordinateSystemParameters/EquidistantCylindricalParameters.h \ |
| 161 | $(DTCCDIR)/CoordinateSystemParameters/GeodeticParameters.h \ |
| 162 | $(DTCCDIR)/CoordinateSystemParameters/LocalCartesianParameters.h \ |
| 163 | $(DTCCDIR)/CoordinateSystemParameters/MapProjection3Parameters.h \ |
| 164 | $(DTCCDIR)/CoordinateSystemParameters/MapProjection4Parameters.h \ |
| 165 | $(DTCCDIR)/CoordinateSystemParameters/MapProjection5Parameters.h \ |
| 166 | $(DTCCDIR)/CoordinateSystemParameters/MapProjection6Parameters.h \ |
| 167 | $(DTCCDIR)/CoordinateSystemParameters/MercatorScaleFactorParameters.h \ |
| 168 | $(DTCCDIR)/CoordinateSystemParameters/MercatorStandardParallelParameters.h \ |
| 169 | $(DTCCDIR)/CoordinateSystemParameters/NeysParameters.h \ |
| 170 | $(DTCCDIR)/CoordinateSystemParameters/ObliqueMercatorParameters.h \ |
| 171 | $(DTCCDIR)/CoordinateSystemParameters/PolarStereographicScaleFactorParameters.h \ |
| 172 | $(DTCCDIR)/CoordinateSystemParameters/PolarStereographicStandardParallelParameters.h \ |
| 173 | $(DTCCDIR)/CoordinateSystemParameters/UTMParameters.h \ |
| 174 | $(DTCCDIR)/CoordinateTuples/Accuracy.h \ |
| 175 | $(DTCCDIR)/CoordinateTuples/BNGCoordinates.h \ |
| 176 | $(DTCCDIR)/CoordinateTuples/CartesianCoordinates.h \ |
| 177 | $(DTCCDIR)/CoordinateTuples/CoordinateTuple.h \ |
| 178 | $(DTCCDIR)/CoordinateTuples/GARSCoordinates.h \ |
| 179 | $(DTCCDIR)/CoordinateTuples/GEOREFCoordinates.h \ |
| 180 | $(DTCCDIR)/CoordinateTuples/GeodeticCoordinates.h \ |
| 181 | $(DTCCDIR)/CoordinateTuples/MGRSorUSNGCoordinates.h \ |
| 182 | $(DTCCDIR)/CoordinateTuples/MapProjectionCoordinates.h \ |
| 183 | $(DTCCDIR)/CoordinateTuples/UPSCoordinates.h \ |
| 184 | $(DTCCDIR)/CoordinateTuples/UTMCoordinates.h \ |
| 185 | $(DTCCDIR)/DatumLibrary.h \ |
| 186 | $(DTCCDIR)/DtccApi.h \ |
| 187 | $(DTCCDIR)/EllipsoidLibrary.h \ |
| 188 | $(DTCCDIR)/Enumerations/CoordinateType.h \ |
| 189 | $(DTCCDIR)/Enumerations/DatumType.h \ |
| 190 | $(DTCCDIR)/Enumerations/HeightType.h \ |
| 191 | $(DTCCDIR)/Enumerations/Precision.h \ |
| 192 | $(DTCCDIR)/Enumerations/SourceOrTarget.h \ |
| 193 | $(DTCCDIR)/Exception/CoordinateConversionException.h |
| 194 | $(DTCCDIR)/Exception/ErrorMessages.h \ |
| 195 | $(DTCCDIR)/Exception/WarningMessages.h |
| 196 | $(DTCCDIR)/GeoidLibrary.h \ |
| 197 | $(DTCCDIR)/egm2008_aoi_grid_package.h \ |
| 198 | $(DTCCDIR)/egm2008_full_grid_package.h \ |
| 199 | $(DTCCDIR)/egm2008_geoid_grid.h |
| 200 | |
| 201 | CCSERVICESRCS = \ |
| 202 | $(DTCCDIR)/DatumLibrary.cpp \ |
| 203 | $(DTCCDIR)/EllipsoidLibrary.cpp \ |
| 204 | $(DTCCDIR)/GeoidLibrary.cpp \ |
| 205 | $(DTCCDIR)/egm2008_geoid_grid.cpp \ |
| 206 | $(DTCCDIR)/egm2008_full_grid_package.cpp \ |
| 207 | $(DTCCDIR)/egm2008_aoi_grid_package.cpp \ |
| 208 | $(DTCCDIR)/CoordinateSystemParameters/CoordinateSystemParameters.cpp \ |
| 209 | $(DTCCDIR)/CoordinateSystemParameters/EllipsoidParameters.cpp \ |
| 210 | $(DTCCDIR)/CoordinateSystemParameters/EquidistantCylindricalParameters.cpp \ |
| 211 | $(DTCCDIR)/CoordinateSystemParameters/GeodeticParameters.cpp \ |
| 212 | $(DTCCDIR)/CoordinateSystemParameters/LocalCartesianParameters.cpp \ |
| 213 | $(DTCCDIR)/CoordinateSystemParameters/MapProjection3Parameters.cpp \ |
| 214 | $(DTCCDIR)/CoordinateSystemParameters/MapProjection4Parameters.cpp \ |
| 215 | $(DTCCDIR)/CoordinateSystemParameters/MapProjection5Parameters.cpp \ |
| 216 | $(DTCCDIR)/CoordinateSystemParameters/MapProjection6Parameters.cpp \ |
| 217 | $(DTCCDIR)/CoordinateSystemParameters/MercatorStandardParallelParameters.cpp \ |
| 218 | $(DTCCDIR)/CoordinateSystemParameters/MercatorScaleFactorParameters.cpp \ |
| 219 | $(DTCCDIR)/CoordinateSystemParameters/NeysParameters.cpp \ |
| 220 | $(DTCCDIR)/CoordinateSystemParameters/ObliqueMercatorParameters.cpp \ |
| 221 | $(DTCCDIR)/CoordinateSystemParameters/PolarStereographicStandardParallelParameters.cpp \ |
| 222 | $(DTCCDIR)/CoordinateSystemParameters/PolarStereographicScaleFactorParameters.cpp \ |
| 223 | $(DTCCDIR)/CoordinateSystemParameters/UTMParameters.cpp \ |
| 224 | $(DTCCDIR)/CoordinateTuples/Accuracy.cpp \ |
| 225 | $(DTCCDIR)/CoordinateTuples/BNGCoordinates.cpp \ |
| 226 | $(DTCCDIR)/CoordinateTuples/CartesianCoordinates.cpp \ |
| 227 | $(DTCCDIR)/CoordinateTuples/CoordinateTuple.cpp \ |
| 228 | $(DTCCDIR)/CoordinateTuples/GARSCoordinates.cpp \ |
| 229 | $(DTCCDIR)/CoordinateTuples/GeodeticCoordinates.cpp \ |
| 230 | $(DTCCDIR)/CoordinateTuples/GEOREFCoordinates.cpp \ |
| 231 | $(DTCCDIR)/CoordinateTuples/MapProjectionCoordinates.cpp \ |
| 232 | $(DTCCDIR)/CoordinateTuples/MGRSorUSNGCoordinates.cpp \ |
| 233 | $(DTCCDIR)/CoordinateTuples/UPSCoordinates.cpp \ |
| 234 | $(DTCCDIR)/CoordinateTuples/UTMCoordinates.cpp \ |
| 235 | $(DTCCDIR)/Exception/ErrorMessages.cpp \ |
| 236 | $(DTCCDIR)/Exception/WarningMessages.cpp |
| 237 | |
| 238 | CCSSRCS = \ |
| 239 | $(SRCTOP)/CoordinateConversion/CoordinateConversionService.cpp |
| 240 | |
| 241 | CCSHDRS = \ |
| 242 | $(SRCTOP)/CoordinateConversion/CoordinateConversionService.h \ |
| 243 | $(SRCTOP)/CoordinateConversion/CoordinateConversionServiceAPI.h |
| 244 | |
| 245 | JNISRCS = \ |
| 246 | $(JAVADIR)/JNICCSObjectTranslator.cpp \ |
| 247 | $(JAVADIR)/JNIDatumLibrary.cpp \ |
| 248 | $(JAVADIR)/JNIEllipsoidLibrary.cpp \ |
| 249 | $(JAVADIR)/JNIFiomeths.cpp \ |
| 250 | $(JAVADIR)/ThrowException.cpp \ |
| 251 | $(JAVADIR)/JNICoordinateConversionService.cpp \ |
| 252 | $(JAVADIR)/strtoval.cpp \ |
| 253 | $(JAVADIR)/fiomeths.cpp |
| 254 | |
| 255 | lib_LTLIBRARIES = libMSPdtcc.la libMSPCoordinateConversionService.la |
| 256 | |
| 257 | libMSPdtcc_includedir=$(includedir)/geotrans |
| 258 | libMSPCoordinateConversionService_includedir=$(includedir)/geotrans |
| 259 | |
| 260 | libMSPdtcc_la_SOURCES = $(DTCCSRCS) $(CCSERVICESRCS) |
| 261 | libMSPdtcc_include_HEADERS = $(DTCCHDRS) $(CCSERVICEHDRS) $(MISCHEADERS) |
| 262 | libMSPdtcc_la_CPPFLAGS = $(DTCCINCS) $(DTCCINCLUDES) -DMSPCCS_DATA_DEFAULT=\"$(pkgdatadir)/\" |
| 263 | |
| 264 | libMSPCoordinateConversionService_la_SOURCES = $(CCSSRCS) |
| 265 | libMSPCoordinateConversionService_include_HEADERS = $(CCSHDRS) |
| 266 | libMSPCoordinateConversionService_la_CPPFLAGS = $(DTCCINCS) $(DTCCINCLUDES) -DMSPCCS_DATA_DEFAULT=\"$(pkgdatadir)/\" |
| 267 | |
| 268 | libMSPdtcc_la_LDFLAGS = -version-info $(GEOTRANS_SO_VERSION) |
| 269 | libMSPCoordinateConversionService_la_LDFLAGS = -version-info $(GEOTRANS_SO_VERSION) |
| 270 | |
| 271 | pkgconfigdir = $(libdir)/pkgconfig |
| 272 | pkgconfig_DATA = geotrans.pc |
| 273 | |
| 274 | install-data-hook: |
| 275 | mkdir -p $(pkgdatadir) |
| 276 | cp -p $(DATAFILES) $(pkgdatadir)/ |
| 277 | |
| 278 | spotless: |
| 279 | rm -rf .deps aclocal.m4 autom4te.cache config config.log config.status configure libtool m4 template Makefile.in Makefile COPYING INSTALL |
| 280 | |