Makefile.fpc 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  1. #
  2. # Makefile.fpc for Free Pascal Packages
  3. #
  4. [target]
  5. dirs=hash pasjpeg paszlib fpmkunit fcl-xml fcl-base fcl-db fcl-image fcl-net fcl-passrc fcl-registry fcl-fpcunit fcl-json fcl-process unzip regexpr chm fcl-res libgd symbolic bzip2
  6. dirs_linux_i386=libc unixutil graph pxlib bzip2
  7. dirs_i386_linux=graph
  8. dirs_x86_64_linux=graph
  9. dirs_powerpc_linux=graph
  10. dirs_powerpc64_linux=graph
  11. dirs_sparc_linux=graph
  12. dirs_arm_linux=graph
  13. dirs_m68k_linux=graph
  14. dirs_beos=fv fcl-web fastcgi fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick \
  15. gdbint libpng x11 gdbm tcl syslog libcurl opengl cairo bfd aspell svgalib \
  16. imlib utmp fpgtk xforms fftw pcap ggi sdl openssl graph gnome1 gtk1 gtk2 librsvg httpd13 httpd20 httpd22 pxlib numlib \
  17. iconvenc
  18. dirs_haiku=fv fcl-web fastcgi fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick \
  19. gdbint libpng x11 gdbm tcl syslog libcurl opengl cairo bfd aspell svgalib \
  20. imlib utmp fpgtk xforms fftw pcap ggi sdl openssl graph gnome1 gtk1 gtk2 librsvg httpd13 httpd20 httpd22 pxlib numlib \
  21. iconvenc
  22. dirs_freebsd=fv fcl-web fastcgi fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick \
  23. gdbint libpng x11 gdbm tcl syslog libcurl opengl cairo bfd aspell svgalib \
  24. imlib utmp fpgtk xforms fftw pcap ggi sdl openssl graph gnome1 gtk1 gtk2 librsvg httpd13 httpd20 httpd22 pxlib numlib \
  25. users iconvenc gmp fcl-extra libxml
  26. dirs_darwin=fv fcl-web fastcgi fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick \
  27. libpng gdbm tcl syslog libcurl bfd aspell utmp fftw pcap openssl numlib iconvenc gmp fcl-extra univint
  28. dirs_i386_darwin=graph sdl opengl x11 cairo gtk1 gtk2 librsvg fpgtk xforms gnome1 httpd13 httpd20 httpd22 imlib opengles objcrtl cocoaint opencl
  29. dirs_powerpc_darwin=graph sdl opengl x11 cairo gtk1 gtk2 librsvg fpgtk xforms gnome1 httpd13 httpd20 httpd22 imlib objcrtl cocoaint
  30. dirs_x86_64_darwin=opengl x11 cairo gtk1 gtk2 librsvg fpgtk xforms gnome1 httpd13 httpd20 httpd22 imlib cocoaint
  31. dirs_powerpc64_darwin=opengl x11 cairo gtk1 gtk2 librsvg fpgtk xforms gnome1 httpd13 httpd20 httpd22 imlib cocoaint
  32. dirs_arm_darwin= httpd13 httpd20 httpd22 opengles objcrtl
  33. dirs_solaris=fv fcl-web fastcgi fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick \
  34. libpng x11 gdbm tcl syslog libcurl opengl cairo gtk1 bfd svgalib fcl-extra \
  35. imlib utmp fpgtk xforms fftw pcap ggi openssl gnome1 httpd13 httpd20 httpd22 numlib
  36. dirs_netbsd=fv fcl-web fastcgi fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick \
  37. gdbint libpng x11 gdbm tcl syslog libcurl opengl cairo gtk1 gtk2 librsvg bfd aspell svgalib \
  38. imlib utmp fpgtk xforms fftw pcap ggi sdl openssl gnome1 httpd13 httpd20 httpd22 pxlib numlib
  39. dirs_openbsd=fv fcl-web fastcgi fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick \
  40. gdbint libpng x11 gdbm tcl syslog libcurl opengl cairo gtk1 gtk2 librsvg bfd aspell svgalib \
  41. imlib utmp fpgtk xforms fftw pcap ggi sdl openssl gnome1 httpd13 httpd20 httpd22 pxlib numlib
  42. dirs_linux=fv fcl-web fastcgi fcl-async ibase mysql ncurses unzip zlib oracle dbus odbc postgres sqlite pthreads imagemagick \
  43. gdbint libpng x11 uuid ldap modplug dts mad gdbm tcl syslog libcurl opengl cairo gtk1 gtk2 librsvg \
  44. a52 bfd aspell svgalib newt cdrom users iconvenc libxml proj4 fcl-extra zorba \
  45. imlib utmp fpgtk openal lua oggvorbis xforms fftw pcap ggi sdl openssl gnome1 httpd13 httpd20 httpd22 \
  46. pxlib numlib gmp libsee
  47. dirs_win32=fv winunits-base winunits-jedi fcl-web fastcgi ibase mysql zlib oracle odbc postgres sqlite imagemagick \
  48. gdbint libpng mad tcl opengl gtk1 gtk2 librsvg a52 cdrom fpgtk openal fftw lua fcl-extra zorba \
  49. oggvorbis sdl openssl graph pcap httpd13 httpd20 httpd22 pxlib numlib winceunits cairo libxml \
  50. gmp opencl libsee nvapi
  51. dirs_win64=fv winunits-base winunits-jedi fcl-web fastcgi ibase mysql zlib oracle odbc postgres sqlite imagemagick \
  52. tcl opengl gtk1 fpgtk fftw sdl openssl cdrom httpd13 httpd20 httpd22 numlib fcl-extra opencl nvapi
  53. dirs_wince=winceunits httpd22 fcl-web fastcgi tcl fftw unzip zlib sqlite mysql ibase postgres oracle odbc sdl openssl oggvorbis numlib
  54. dirs_os2=fv zlib libpng x11 tcl fpgtk rexx os2units gtk1 imlib
  55. dirs_emx=fv zlib libpng x11 tcl fpgtk rexx os2units gtk1 imlib
  56. dirs_netware=fv zlib unzip
  57. dirs_netwlibc=fv zlib unzip
  58. dirs_palmos=palmunits
  59. dirs_go32v2=fv graph unzip gdbint
  60. dirs_amiga=amunits
  61. dirs_morphos=fv opengl
  62. [install]
  63. fpcpackage=y
  64. fpcsubdir=packages
  65. [default]
  66. fpcdir=..
  67. [rules]
  68. fpmkunit_all: fcl-base_all fcl-process_all paszlib_all
  69. fpmkunit_debug: fcl-base_debug fcl-process_debug paszlib_debug
  70. fpmkunit_smart: fcl-base_smart fcl-process_smart paszlib_smart
  71. fpmkunit_release: fcl-base_release fcl-process_release paszlib_release
  72. fpmkunit_shared: fcl-base_shared fcl-process_shared paszlib_shared
  73. ifneq ($(findstring $(OS_TARGET),darwin),)
  74. fcl-base_all: univint_all paszlib_all
  75. fcl-base_debug: univint_debug paszlib_debug
  76. fcl-base_smart: univint_smart paszlib_smart
  77. fcl-base_release: univint_release paszlib_release
  78. fcl-base_shared: univint_shared paszlib_shared
  79. else
  80. fcl-base_all: paszlib_all
  81. fcl-base_debug: paszlib_debug
  82. fcl-base_smart: paszlib_smart
  83. fcl-base_release: paszlib_release
  84. fcl-base_shared: paszlib_shared
  85. endif
  86. ifneq ($(findstring $(OS_TARGET),win32 win64),)
  87. fcl-extra_all: fcl-base winunits-base_all winunits-jedi_all
  88. fcl-extra_debug: fcl-base_debug winunits-base_debug winunits-jedi_debug
  89. fcl-extra_smart: fcl-base_smart winunits-base_smart winunits-jedi_smart
  90. fcl-extra_release: fcl-base_release winunits-base_release winunits-jedi_release
  91. fcl-extra_shared: fcl-base_shared winunits-base_shared winunits-jedi_shared
  92. else
  93. ifneq ($(findstring $(OS_TARGET),darwin),)
  94. fcl-extra_all: univint_all fcl-base_all
  95. fcl-extra_debug: univint_debug fcl-base_debug
  96. fcl-extra_smart: univint_smart fcl-base_smart
  97. fcl-extra_release: univint_release fcl-base_release
  98. fcl-extra_shared: univint_shared fcl-base_shared
  99. else
  100. fcl-extra_all: fcl-base_all
  101. fcl-extra_debug: fcl-base_debug
  102. fcl-extra_smart: fcl-base_smart
  103. fcl-extra_release: fcl-base_release
  104. fcl-extra_shared: fcl-base_shared
  105. endif
  106. endif
  107. ifneq ($(findstring $(FULL_TARGET),i386-darwin powerpc-darwin x86_64-darwin powerpc64-darwin),)
  108. cocoaint_all: univint_all
  109. cocoaint_debug: univint_debug
  110. cocoaint_smart: univint_smart
  111. cocoaint_release: univint_release
  112. cocoaint_shared: univint_shared
  113. endif
  114. fcl-xml_all: fcl-base_all
  115. fcl-xml_debug: fcl-base_debug
  116. fcl-xml_smart: fcl-base_smart
  117. fcl-xml_release: fcl-base_release
  118. fcl-xml_shared: fcl-base_shared
  119. fcl-json_all: fcl-base_all
  120. fcl-json_debug: fcl-base_debug
  121. fcl-json_smart: fcl-base_smart
  122. fcl-json_release: fcl-base_release
  123. fcl-json_shared: fcl-base_shared
  124. fcl-image_all: fcl-base_all paszlib_all pasjpeg_all
  125. fcl-image_debug: fcl-base_debug paszlib_debug pasjpeg_debug
  126. fcl-image_smart: fcl-base_smart paszlib_smart pasjpeg_smart
  127. fcl-image_release: fcl-base_release paszlib_release pasjpeg_release
  128. fcl-image_shared: fcl-base_shared paszlib_shared pasjpeg_shared
  129. fcl-fpcunit_all: fcl-xml_all paszlib_all
  130. fcl-fpcunit_debug: fcl-xml_debug paszlib_debug
  131. fcl-fpcunit_smart: fcl-xml_smart paszlib_smart
  132. fcl-fpcunit_release: fcl-xml_release paszlib_release
  133. fcl-fpcunit_shared: fcl-xml_shared paszlib_shared
  134. fcl-registry_all: fcl-xml_all
  135. fcl-registry_debug: fcl-xml_debug
  136. fcl-registry_smart: fcl-xml_smart
  137. fcl-registry_release: fcl-xml_release
  138. fcl-registry_shared: fcl-xml_shared
  139. ifeq ($(findstring $(OS_TARGET),linux darwin freebsd openbsd netbsd solaris),)
  140. fcl-net_all: fcl-passrc_all fcl-xml_all
  141. fcl-net_debug: fcl-passrc_debug fcl-xml_debug
  142. fcl-net_smart: fcl-passrc_smart fcl-xml_smart
  143. fcl-net_release: fcl-passrc_release fcl-xml_release
  144. fcl-net_shared: fcl-passrc_shared fcl-xml_shared
  145. else
  146. fcl-net_all: fcl-passrc_all fcl-xml_all fcl-async_all
  147. fcl-net_debug: fcl-passrc_debug fcl-xml_debug fcl-async_debug
  148. fcl-net_smart: fcl-passrc_smart fcl-xml_smart fcl-async_smart
  149. fcl-net_release: fcl-passrc_release fcl-xml_release fcl-async_release
  150. fcl-net_shared: fcl-passrc_shared fcl-xml_shared fcl-async_shared
  151. endif
  152. fcl-web_all: fcl-db_all fcl-xml_all fcl-process_all httpd22_all fastcgi_all fcl-net_all fcl-json_all
  153. fcl-web_debug: fcl-db_debug fcl-xml_debug fcl-process_debug httpd22_debug fastcgi_debug fcl-net_debug fcl-json_debug
  154. fcl-web_smart: fcl-db_smart fcl-xml_smart fcl-process_smart httpd22_smart fastcgi_smart fcl-net_smart fcl-json_smart
  155. fcl-web_release: fcl-db_release fcl-xml_release fcl-process_release httpd22_release fastcgi_release fcl-net_release fcl-json_release
  156. fcl-web_shared: fcl-db_shared fcl-xml_shared fcl-process_shared httpd22_shared fastcgi_shared fcl-net_shared fcl-json_shared
  157. ifneq ($(findstring $(OS_TARGET),linux freebsd openbsd netbsd win32 beos haiku),)
  158. fcl-db_all: fcl-xml_all mysql_all ibase_all oracle_all odbc_all postgres_all sqlite_all pxlib_all
  159. fcl-db_debug: fcl-xml_debug mysql_debug ibase_debug oracle_debug odbc_debug postgres_debug sqlite_debug pxlib_debug
  160. fcl-db_smart: fcl-xml_smart mysql_smart ibase_smart oracle_smart odbc_smart postgres_smart sqlite_smart pxlib_smart
  161. fcl-db_release: fcl-xml_release mysql_release ibase_release oracle_release odbc_release postgres_release sqlite_release pxlib_release
  162. fcl-db_shared: fcl-xml_shared mysql_shared ibase_shared oracle_shared odbc_shared postgres_shared sqlite_shared pxlib_shared
  163. else
  164. ifneq ($(findstring $(OS_TARGET),win64 wince solaris darwin),)
  165. fcl-db_all: fcl-xml_all mysql_all ibase_all oracle_all odbc_all postgres_all sqlite_all
  166. fcl-db_debug: fcl-xml_debug mysql_debug ibase_debug oracle_debug odbc_debug postgres_debug sqlite_debug
  167. fcl-db_smart: fcl-xml_smart mysql_smart ibase_smart oracle_smart odbc_smart postgres_smart sqlite_smart
  168. fcl-db_release: fcl-xml_release mysql_release ibase_release oracle_release odbc_release postgres_release sqlite_release
  169. fcl-db_shared: fcl-xml_shared mysql_shared ibase_shared oracle_shared odbc_shared postgres_shared sqlite_shared
  170. else
  171. fcl-db_all: fcl-xml_all
  172. fcl-db_debug: fcl-xml_debug
  173. fcl-db_smart: fcl-xml_smart
  174. fcl-db_release: fcl-xml_release
  175. fcl-db_shared: fcl-xml_shared
  176. endif
  177. endif
  178. fcl_all: fcl-base_all fcl-xml_all fcl-fpcunit_all fcl-db_all fcl-web_all fcl-registry_all fcl-passrc_all fcl-image_all fcl-net_all fcl-json_all fcl-res_all
  179. fcl_debug: fcl-base_debug fcl-xml_debug fcl-fpcunit_debug fcl-db_debug fcl-web_debug fcl-registry_debug fcl-passrc_debug fcl-image_debug fcl-net_debug fcl-json_debug fcl-res_debug
  180. fcl_smart: fcl-base_smart fcl-xml_smart fcl-fpcunit_smart fcl-db_smart fcl-web_smart fcl-registry_smart fcl-passrc_smart fcl-image_smart fcl-net_smart fcl-json_smart fcl-res_smart
  181. fcl_release: fcl-base_release fcl-xml_release fcl-fpcunit_release fcl-db_release fcl-web_release fcl-registry_release fcl-passrc_release fcl-image_release fcl-net_release fcl-json_release fcl-res_release
  182. fcl_shared: fcl-base_shared fcl-xml_shared fcl-fpcunit_shared fcl-db_shared fcl-web_shared fcl-registry_shared fcl-passrc_shared fcl-image_shared fcl-net_shared fcl-json_shared fcl-res_shared
  183. libpng_all: zlib_all
  184. libpng_debug: zlib_debug
  185. libpng_smart: zlib_smart
  186. libpng_release: zlib_release
  187. libpng_shared: zlib_shared
  188. ifneq ($(findstring $(OS_TARGET),linux darwin freebsd openbsd netbsd solaris),)
  189. cairo_all: x11_all fcl-image_all
  190. cairo_debug: x11_debug fcl-image_debug
  191. cairo_smart: x11_smart fcl-image_smart
  192. cairo_release: x11_release fcl-image_release
  193. cairo_shared: x11_shared fcl-image_shared
  194. else
  195. cairo_all: fcl-image_all
  196. cairo_debug: fcl-image_debug
  197. cairo_smart: fcl-image_smart
  198. cairo_release: fcl-image_release
  199. cairo_shared: fcl-image_shared
  200. endif
  201. chm_all: fcl-xml_all
  202. chm_shared: fcl-xml_shared
  203. chm_smart: fcl-xml_smart
  204. chm_debug: fcl-xml_debug
  205. chm_release: fcl-xml_release
  206. fpgtk_all: fcl-base_all gtk1_all
  207. fpgtk_shared: fcl-base_shared gtk1_shared
  208. fpgtk_smart: fcl-base_smart gtk1_smart
  209. fpgtk_debug: fcl-base_debug gtk1_debug
  210. fpgtk_release: fcl-base_release gtk1_release
  211. ifeq ($(findstring $(OS_TARGET),go32v2),)
  212. graph_all: sdl_all
  213. graph_shared: sdl_shared
  214. graph_smart: sdl_smart
  215. graph_debug: sdl_debug
  216. graph_release: sdl_release
  217. endif
  218. ifneq ($(findstring $(OS_TARGET),linux darwin freebsd openbsd netbsd solaris),)
  219. gtk1_all: x11_all opengl_all
  220. gtk1_debug: x11_debug opengl_debug
  221. gtk1_smart: x11_smart opengl_smart
  222. gtk1_release: x11_release opengl_release
  223. gtk1_shared: x11_shared opengl_shared
  224. gtk2_all: x11_all cairo_all
  225. gtk2_shared: x11_shared cairo_shared
  226. gtk2_smart: x11_smart cairo_smart
  227. gtk2_debug: x11_debug cairo_debug
  228. gtk2_release: x11_release cairo_release
  229. else
  230. ifeq ($(findstring $(OS_TARGET),os2 emx),)
  231. gtk1_all: opengl_all
  232. gtk1_debug: opengl_debug
  233. gtk1_smart: opengl_smart
  234. gtk1_release: opengl_release
  235. gtk1_shared: opengl_shared
  236. endif
  237. gtk2_all: cairo_all
  238. gtk2_shared: cairo_shared
  239. gtk2_smart: cairo_smart
  240. gtk2_debug: cairo_debug
  241. gtk2_release: cairo_release
  242. endif
  243. imlib_all: gtk1_all x11_all
  244. imlib_shared: gtk1_shared x11_shared
  245. imlib_smart: gtk1_smart x11_smart
  246. imlib_debug: gtk1_debug x11_debug
  247. imlib_release: gtk1_release x11_release
  248. ldap_all: hash_all
  249. ldap_shared: hash_shared
  250. ldap_smart: hash_smart
  251. ldap_debug: hash_debug
  252. ldap_release: hash_release
  253. libpng_all: zlib_all
  254. libpng_shared: zlib_shared
  255. libpng_smart: zlib_smart
  256. libpng_debug: zlib_debug
  257. libpng_release: zlib_release
  258. paszlib_all: hash_all
  259. paszlib_shared: hash_shared
  260. paszlib_smart: hash_smart
  261. paszlib_debug: hash_debug
  262. paszlib_release: hash_release
  263. ifneq ($(findstring $(OS_TARGET),linux darwin freebsd openbsd netbsd solaris),)
  264. sdl_all: pthreads_all x11_all
  265. sdl_shared: pthreads_shared x11_shared
  266. sdl_smart: pthreads_smart x11_smart
  267. sdl_debug: pthreads_debug x11_debug
  268. sdl_release: pthreads_release x11_release
  269. opengl_all: x11_all
  270. opengl_shared: x11_shared
  271. opengl_smart: x11_smart
  272. opengl_debug: x11_debug
  273. opengl_release: x11_release
  274. endif
  275. tcl_all: fcl-base_all
  276. tcl_shared: fcl-base_shared
  277. tcl_smart: fcl-base_smart
  278. tcl_debug: fcl-base_debug
  279. tcl_release: fcl-base_release
  280. unixutil_all: libc_all fcl-base_all
  281. unixutil_shared: libc_shared fcl-base_shared
  282. unixutil_smart: libc_smart fcl-base_smart
  283. unixutil_debug: libc_debug fcl-base_debug
  284. unixutil_release: libc_release fcl-base_release
  285. winunits-base_all: fcl-registry_all fcl-base_all
  286. winunits-base_shared: fcl-registry_shared fcl-base_shared
  287. winunits-base_smart: fcl-registry_smart fcl-base_smart
  288. winunits-base_debug: fcl-registry_debug fcl-base_debug
  289. winunits-base_release: fcl-registry_release fcl-base_release
  290. winunits-jedi_all: winunits-base_all fcl-registry fcl-base_all
  291. winunits-jedi_shared: winunits-base_shared fcl-registry fcl-base_shared
  292. winunits-jedi_smart: winunits-base_smart fcl-registry fcl-base_smart
  293. winunits-jedi_debug: winunits-base_debug fcl-registry fcl-base_debug
  294. winunits-jedi_release: winunits-base_release fcl-registry fcl-base_release
  295. xforms_all: x11_all
  296. xforms_shared: x11_shared
  297. xforms_smart: x11_smart
  298. xforms_debug: x11_debug
  299. xforms_release: x11_release
  300. gnome1_all: gtk1_all imlib_all
  301. gnome1_shared: gtk1_shared imlib_shared
  302. gnome1_smart: gtk1_smart imlib_smart
  303. gnome1_debug: gtk1_debug imlib_debug
  304. gnome1_release: gtk1_release imlib_release
  305. ptc_all: hermes_all x11_all
  306. ptc_shared: hermes_shared x11_shared
  307. ptc_smart: hermes_smart x11_smart
  308. ptc_debug: hermes_debug x11_debug
  309. ptc_release: hermes_release x11_release
  310. librsvg_all: gtk2_all
  311. librsvg_shared: gtk2_shared
  312. librsvg_smart: gtk2_smart
  313. librsvg_debug: gtk2_debug
  314. librsvg_release: gtk2_release
  315. ifneq ($(findstring $(OS_TARGET),linux freebsd darwin beos haiku),)
  316. fcl-xml_all: iconvenc_all
  317. fcl-xml_shared: iconvenc_shared
  318. fcl-xml_smart: iconvenc_smart
  319. fcl-xml_debug: iconvenc_debug
  320. fcl-xml_release: iconvenc_release
  321. endif
  322. opencl_all: opengl_all
  323. opencl_debug: opengl_debug
  324. opencl_smart: opengl_smart
  325. opencl_release: opengl_release
  326. opencl_shared: opengl_shared