Platform.make.in 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. #############################################################################
  2. #
  3. # MODULE: Grass Compilation
  4. # AUTHOR(S): Original author unknown - probably CERL
  5. # Markus Neteler - Germany/Italy - neteler@itc.it
  6. # Justin Hickey - Thailand - jhickey@hpcc.nectec.or.th
  7. # Huidae Cho - Korea - grass4u@gmail.com
  8. # Eric G. Miller - egm2@jps.net
  9. # PURPOSE: The source file for this Makefile is in src/CMD/head/head.in.
  10. # It is the top part of a file called make.rules which is used
  11. # for compiling all GRASS modules. This part of the file provides
  12. # make variables that are dependent on the results of the
  13. # configure script.
  14. # COPYRIGHT: (C) 2000 by the GRASS Development Team
  15. #
  16. # This program is free software under the GNU General Public
  17. # License (>=v2). Read the file COPYING that comes with GRASS
  18. # for details.
  19. #
  20. #############################################################################
  21. ############################## Make Variables ###############################
  22. CC = @CC@
  23. CXX = @CXX@
  24. LEX = @LEX@
  25. YACC = @YACC@
  26. PERL = @PERL@
  27. AR = @AR@
  28. RANLIB = @RANLIB@
  29. MKDIR = mkdir -p
  30. CHMOD = chmod
  31. INSTALL = @INSTALL@
  32. INSTALL_DATA = @INSTALL_DATA@
  33. prefix = @prefix@
  34. exec_prefix = @exec_prefix@
  35. ARCH = @host@
  36. UNIX_BIN = @BINDIR@
  37. INST_DIR = @INSTDIR@
  38. GRASS_HOME = @GRASS_HOME@
  39. RUN_GISBASE = @GISBASE@
  40. GRASS_VERSION_MAJOR = @GRASS_VERSION_MAJOR@
  41. GRASS_VERSION_MINOR = @GRASS_VERSION_MINOR@
  42. GRASS_VERSION_RELEASE = @GRASS_VERSION_RELEASE@
  43. GRASS_VERSION_DATE = @GRASS_VERSION_DATE@
  44. GRASS_VERSION_GIT = @GRASS_VERSION_GIT@
  45. STRIPFLAG = @STRIPFLAG@
  46. LD_SEARCH_FLAGS = @LD_SEARCH_FLAGS@
  47. LD_LIBRARY_PATH_VAR = @LD_LIBRARY_PATH_VAR@
  48. #generate static (ST) or shared (SH)
  49. GRASS_LIBRARY_TYPE = @GRASS_LIBRARY_TYPE@
  50. #static libs:
  51. STLIB_LD = @STLIB_LD@
  52. STLIB_PREFIX = lib
  53. STLIB_SUFFIX = @STLIB_SUFFIX@
  54. #shared libs
  55. SHLIB_PREFIX = lib
  56. SHLIB_LD = @SHLIB_LD@
  57. SHLIB_LDFLAGS = @SHLIB_LD_FLAGS@
  58. SHLIB_CFLAGS = @SHLIB_CFLAGS@
  59. SHLIB_SUFFIX = @SHLIB_SUFFIX@
  60. EXE = @EXEEXT@
  61. DEFAULT_DATABASE =
  62. DEFAULT_LOCATION =
  63. CPPFLAGS = @CPPFLAGS@
  64. CFLAGS = @CFLAGS@
  65. CXXFLAGS = @CXXFLAGS@
  66. INCLUDE_DIRS = @INCLUDE_DIRS@
  67. LINK_FLAGS = @LDFLAGS@
  68. DLLIB = @DLLIB@
  69. XCFLAGS = @X_CFLAGS@
  70. XLIBPATH = @X_LIBS@
  71. XLIB = @X_PRE_LIBS@ @XLIB@
  72. XEXTRALIBS = @X_EXTRA_LIBS@
  73. USE_X11 = @USE_X11@
  74. MATHLIB = @MATHLIB@
  75. ICONVLIB = @ICONVLIB@
  76. INTLLIB = @INTLLIB@
  77. SOCKLIB = @SOCKLIB@
  78. #ZLIB:
  79. ZLIB = @ZLIB@
  80. ZLIBINCPATH = @ZLIBINCPATH@
  81. ZLIBLIBPATH = @ZLIBLIBPATH@
  82. #BZIP2:
  83. BZIP2LIB = @BZIP2LIB@
  84. BZIP2INCPATH = @BZIP2INCPATH@
  85. BZIP2LIBPATH = @BZIP2LIBPATH@
  86. #ZSTD:
  87. ZSTDLIB = @ZSTDLIB@
  88. ZSTDINCPATH = @ZSTDINCPATH@
  89. ZSTDLIBPATH = @ZSTDLIBPATH@
  90. DBMIEXTRALIB = @DBMIEXTRALIB@
  91. #readline
  92. READLINEINCPATH = @READLINEINCPATH@
  93. READLINELIBPATH = @READLINELIBPATH@
  94. READLINELIB = @READLINELIB@
  95. HISTORYLIB = @HISTORYLIB@
  96. #PostgreSQL:
  97. PQINCPATH = @PQINCPATH@
  98. PQLIBPATH = @PQLIBPATH@
  99. PQLIB = @PQLIB@
  100. USE_POSTGRES = @USE_POSTGRES@
  101. #MySQL:
  102. MYSQLINCPATH = @MYSQLINCPATH@
  103. MYSQLLIBPATH = @MYSQLLIBPATH@
  104. MYSQLLIB = @MYSQLLIB@
  105. MYSQLDLIB = @MYSQLDLIB@
  106. #SQLite:
  107. SQLITEINCPATH = @SQLITEINCPATH@
  108. SQLITELIBPATH = @SQLITELIBPATH@
  109. SQLITELIB = @SQLITELIB@
  110. #ODBC:
  111. ODBCINC = @ODBCINC@
  112. ODBCLIB = @ODBCLIB@
  113. #Image formats:
  114. PNGINC = @PNGINC@
  115. PNGLIB = @PNGLIB@
  116. USE_PNG = @USE_PNG@
  117. TIFFINCPATH = @TIFF_INCLUDE_DIRS@
  118. TIFFLIBPATH = @TIFF_LIBRARY_DIRS@
  119. TIFFLIB = @TIFFLIB@
  120. #openGL files for NVIZ/r3.showdspf
  121. OPENGLINC = @OPENGLINC@
  122. OPENGLLIB = @OPENGLLIB@
  123. OPENGLULIB = @OPENGLULIB@
  124. OPENGL_X11 = @OPENGL_X11@
  125. OPENGL_AQUA = @OPENGL_AQUA@
  126. OPENGL_WINDOWS = @OPENGL_WINDOWS@
  127. USE_OPENGL = @USE_OPENGL@
  128. #FFTW:
  129. FFTWINC = @FFTWINC@
  130. FFTWLIB = @FFTWLIB@
  131. #LAPACK/BLAS stuff for gmath lib:
  132. BLASLIB = @BLASLIB@
  133. BLASINC = @BLASINC@
  134. LAPACKLIB = @LAPACKLIB@
  135. LAPACKINC = @LAPACKINC@
  136. #GDAL/OGR
  137. GDALLIBS = @GDAL_LIBS@
  138. GDALCFLAGS = @GDAL_CFLAGS@
  139. USE_GDAL = @USE_GDAL@
  140. USE_OGR = @USE_OGR@
  141. #NetCDF
  142. NETCDFLIBS = @NETCDF_LIBS@
  143. NETCDFCFLAGS = @NETCDF_CFLAGS@
  144. USE_NETCDF = @USE_NETCDF@
  145. #LAS LiDAR through libLAS
  146. LASLIBS = @LIBLAS_LIBS@
  147. LASCFLAGS = @LIBLAS_CFLAGS@
  148. LASINC = @LIBLAS_INC@
  149. USE_LIBLAS = @USE_LIBLAS@
  150. #LAS LiDAR through PDAL
  151. PDALLIBS = @PDAL_LIBS@
  152. PDALCPPFLAGS = @PDAL_CPPFLAGS@
  153. PDALINC = @PDAL_INC@
  154. USE_PDAL = @USE_PDAL@
  155. #GEOS
  156. GEOSLIBS = @GEOS_LIBS@
  157. GEOSCFLAGS = @GEOS_CFLAGS@
  158. USE_GEOS = @USE_GEOS@
  159. #FreeType:
  160. FTINC = @FTINC@
  161. FTLIB = @FTLIB@
  162. #PROJ.4:
  163. PROJINC = @PROJINC@
  164. PROJLIB = @PROJLIB@
  165. PROJSHARE = @PROJSHARE@
  166. #OPENDWG:
  167. OPENDWGINCPATH = @OPENDWGINCPATH@
  168. OPENDWGLIBPATH = @OPENDWGLIBPATH@
  169. OPENDWGLIB = @OPENDWGLIB@
  170. USE_OPENDWG = @USE_OPENDWG@
  171. #cairo
  172. CAIROINC = @CAIROINC@
  173. CAIROLIB = @CAIROLIB@
  174. USE_CAIRO = @USE_CAIRO@
  175. CAIRO_HAS_XRENDER = @CAIRO_HAS_XRENDER@
  176. CAIRO_HAS_XRENDER_SURFACE = @CAIRO_HAS_XRENDER_SURFACE@
  177. #Python
  178. PYTHON = python3
  179. #regex
  180. REGEXINCPATH = @REGEXINCPATH@
  181. REGEXLIBPATH = @REGEXLIBPATH@
  182. REGEXLIB = @REGEXLIB@
  183. USE_REGEX = @USE_REGEX@
  184. #pthreads
  185. PTHREADINCPATH = @PTHREADINCPATH@
  186. PTHREADLIBPATH = @PTHREADLIBPATH@
  187. PTHREADLIB = @PTHREADLIB@
  188. USE_PTHREAD = @USE_PTHREAD@
  189. #OpenMP
  190. OMPINCPATH = @OMPINCPATH@
  191. OMPLIBPATH = @OMPLIBPATH@
  192. OMPLIB = @OMPLIB@
  193. OMPCFLAGS = @OMPCFLAGS@
  194. USE_OPENMP = @USE_OPENMP@
  195. #OpenCL
  196. OCLINCPATH = @OCLINCPATH@
  197. OCLLIBPATH = @OCLLIBPATH@
  198. OCLLIB = @OCLLIB@
  199. USE_OPENCL = @USE_OPENCL@
  200. #i18N
  201. HAVE_NLS = @HAVE_NLS@
  202. #Large File Support (LFS)
  203. USE_LARGEFILES = @USE_LARGEFILES@
  204. LFS_CFLAGS = @LFS_CFLAGS@
  205. #BSD sockets
  206. HAVE_SOCKET = @HAVE_SOCKET@
  207. MINGW = @MINGW32@
  208. WINDRES = @WINDRES@
  209. MACOSX_APP = @MACOSX_APP@
  210. MACOSX_ARCHS = @MACOSX_ARCHS@
  211. MACOSX_SDK = @MACOSX_SDK@
  212. # Cross compilation
  213. CROSS_COMPILING = @CROSS_COMPILING@