Makefile.fpc 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. #
  2. # Makefile.fpc for Free Pascal Packages
  3. #
  4. [target]
  5. dirs=hash pasjpeg paszlib fpmkunit fcl-base fcl-db fcl-image fcl-net fcl-passrc fcl-registry fcl-xml fcl-fpcunit fcl-json fcl-process unzip regexpr chm libgd symbolic
  6. dirs_linux_i386=libc unixutil graph pxlib
  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 fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick \
  15. gdbint libpng x11 gdbm tcl syslog libcurl opengl bfd aspell svgalib \
  16. imlib utmp fpgtk xforms fftw pcap ggi sdl openssl graph gnome1 gtk1 gtk2 httpd13 httpd20 httpd22 pxlib numlib
  17. dirs_freebsd=fv fcl-web fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick \
  18. gdbint libpng x11 gdbm tcl syslog libcurl opengl cairo bfd aspell svgalib \
  19. imlib utmp fpgtk xforms fftw pcap ggi sdl openssl graph gnome1 gtk1 gtk2 httpd13 httpd20 httpd22 pxlib numlib users
  20. dirs_darwin=fv fcl-web fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick \
  21. libpng x11 gdbm tcl syslog libcurl opengl cairo gtk1 gtk2 bfd aspell svgalib \
  22. imlib utmp fpgtk xforms fftw pcap ggi openssl gnome1 httpd13 httpd20 httpd22 numlib
  23. dirs_i386_darwin=graph univint sdl
  24. dirs_powerpc_darwin=graph univint sdl
  25. dirs_solaris=fv fcl-web fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick \
  26. libpng x11 gdbm tcl syslog libcurl opengl cairo gtk1 bfd svgalib \
  27. imlib utmp fpgtk xforms fftw pcap ggi openssl gnome1 httpd13 httpd20 httpd22 numlib
  28. dirs_netbsd=fv fcl-web fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick \
  29. gdbint libpng x11 gdbm tcl syslog libcurl opengl cairo gtk1 gtk2 bfd aspell svgalib \
  30. imlib utmp fpgtk xforms fftw pcap ggi sdl openssl gnome1 httpd13 httpd20 httpd22 pxlib numlib
  31. dirs_openbsd=fv fcl-web fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick \
  32. gdbint libpng x11 gdbm tcl syslog libcurl opengl cairo gtk1 gtk2 bfd aspell svgalib \
  33. imlib utmp fpgtk xforms fftw pcap ggi sdl openssl gnome1 httpd13 httpd20 httpd22 pxlib numlib
  34. dirs_linux=fv fcl-web fcl-async ibase mysql ncurses unzip zlib oracle dbus odbc postgres sqlite pthreads imagemagick \
  35. gdbint libpng x11 uuid ldap modplug dts mad gdbm tcl syslog libcurl opengl cairo gtk1 gtk2 \
  36. a52 bfd aspell svgalib newt cdrom users \
  37. imlib utmp fpgtk openal lua oggvorbis xforms fftw pcap ggi sdl openssl gnome1 httpd13 httpd20 httpd22 pxlib numlib
  38. dirs_win32=fv winunits-base winunits-jedi fcl-web ibase mysql zlib oracle odbc postgres sqlite imagemagick \
  39. gdbint libpng mad tcl opengl gtk1 gtk2 a52 cdrom fpgtk openal fftw lua \
  40. oggvorbis sdl openssl graph pcap httpd13 httpd20 httpd22 pxlib numlib winceunits cairo
  41. dirs_win64=fv winunits-base winunits-jedi fcl-web ibase mysql zlib oracle odbc postgres sqlite imagemagick \
  42. tcl opengl gtk1 gtk2 fpgtk fftw sdl openssl cdrom numlib
  43. dirs_wince=winceunits fcl-web tcl fftw unzip zlib sqlite mysql ibase postgres oracle odbc sdl openssl oggvorbis numlib
  44. dirs_os2=fv zlib libpng x11 tcl fpgtk rexx os2units gtk1 imlib
  45. dirs_emx=fv zlib libpng x11 tcl fpgtk rexx os2units gtk1 imlib
  46. dirs_netware=fv zlib unzip
  47. dirs_netwlibc=fv zlib unzip
  48. dirs_palmos=palmunits
  49. dirs_go32v2=fv graph unzip gdbint
  50. dirs_amiga=amunits
  51. [install]
  52. fpcpackage=y
  53. fpcsubdir=packages
  54. [default]
  55. fpcdir=..
  56. [rules]
  57. fpmkunit_all: fcl-base_all fcl-process_all paszlib_all
  58. fpmkunit_debug: fcl-base_debug fcl-process_debug paszlib_debug
  59. fpmkunit_smart: fcl-base_smart fcl-process_smart paszlib_smart
  60. fpmkunit_release: fcl-base_release fcl-process_release paszlib_release
  61. fpmkunit_shared: fcl-base_shared fcl-process_shared paszlib_shared
  62. ifneq ($(findstring $(OS_TARGET),win32 win64),)
  63. fcl-base_all: paszlib_all winunits-base_all winunits-jedi_all
  64. fcl-base_debug: paszlib_debug winunits-base_debug winunits-jedi_debug
  65. fcl-base_smart: paszlib_smart winunits-base_smart winunits-jedi_smart
  66. fcl-base_release: paszlib_release winunits-base_release winunits-jedi_release
  67. fcl-base_shared: paszlib_shared winunits-base_shared winunits-jedi_shared
  68. fcl-base_all: paszlib_all
  69. fcl-base_debug: paszlib_debug
  70. fcl-base_smart: paszlib_smart
  71. fcl-base_release: paszlib_release
  72. fcl-base_shared: paszlib_shared
  73. endif
  74. fcl-xml_all: fcl-base_all
  75. fcl-xml_debug: fcl-base_debug
  76. fcl-xml_smart: fcl-base_smart
  77. fcl-xml_release: fcl-base_release
  78. fcl-xml_shared: fcl-base_shared
  79. fcl-json_all: fcl-base_all
  80. fcl-json_debug: fcl-base_debug
  81. fcl-json_smart: fcl-base_smart
  82. fcl-json_release: fcl-base_release
  83. fcl-json_shared: fcl-base_shared
  84. fcl-image_all: fcl-base_all paszlib_all pasjpeg_all
  85. fcl-image_debug: fcl-base_debug paszlib_debug pasjpeg_debug
  86. fcl-image_smart: fcl-base_smart paszlib_smart pasjpeg_smart
  87. fcl-image_release: fcl-base_release paszlib_release pasjpeg_release
  88. fcl-image_shared: fcl-base_shared paszlib_shared pasjpeg_shared
  89. fcl-fpcunit_all: fcl-xml_all paszlib_all
  90. fcl-fpcunit_debug: fcl-xml_debug paszlib_debug
  91. fcl-fpcunit_smart: fcl-xml_smart paszlib_smart
  92. fcl-fpcunit_release: fcl-xml_release paszlib_release
  93. fcl-fpcunit_shared: fcl-xml_shared paszlib_shared
  94. fcl-registry_all: fcl-xml_all
  95. fcl-registry_debug: fcl-xml_debug
  96. fcl-registry_smart: fcl-xml_smart
  97. fcl-registry_release: fcl-xml_release
  98. fcl-registry_shared: fcl-xml_shared
  99. ifeq ($(findstring $(OS_TARGET),linux darwin freebsd openbsd netbsd solaris),)
  100. fcl-net_all: fcl-passrc_all fcl-xml_all
  101. fcl-net_debug: fcl-passrc_debug fcl-xml_debug
  102. fcl-net_smart: fcl-passrc_smart fcl-xml_smart
  103. fcl-net_release: fcl-passrc_release fcl-xml_release
  104. fcl-net_shared: fcl-passrc_shared fcl-xml_shared
  105. else
  106. fcl-net_all: fcl-passrc_all fcl-xml_all fcl-async_all
  107. fcl-net_debug: fcl-passrc_debug fcl-xml_debug fcl-async_debug
  108. fcl-net_smart: fcl-passrc_smart fcl-xml_smart fcl-async_smart
  109. fcl-net_release: fcl-passrc_release fcl-xml_release fcl-async_release
  110. fcl-net_shared: fcl-passrc_shared fcl-xml_shared fcl-async_shared
  111. endif
  112. fcl-web_all: fcl-db_all fcl-xml_all fcl-process_all
  113. fcl-web_debug: fcl-db_debug fcl-xml_debug fcl-process_debug
  114. fcl-web_smart: fcl-db_smart fcl-xml_smart fcl-process_smart
  115. fcl-web_release: fcl-db_release fcl-xml_release fcl-process_release
  116. fcl-web_shared: fcl-db_shared fcl-xml_shared fcl-process_shared
  117. ifneq ($(findstring $(OS_TARGET),linux freebsd openbsd netbsd win32 beos),)
  118. fcl-db_all: fcl-base_all mysql_all ibase_all oracle_all odbc_all postgres_all sqlite_all pxlib_all
  119. fcl-db_debug: fcl-base_debug mysql_debug ibase_debug oracle_debug odbc_debug postgres_debug sqlite_debug pxlib_debug
  120. fcl-db_smart: fcl-base_smart mysql_smart ibase_smart oracle_smart odbc_smart postgres_smart sqlite_smart pxlib_smart
  121. fcl-db_release: fcl-base_release mysql_release ibase_release oracle_release odbc_release postgres_release sqlite_release pxlib_release
  122. fcl-db_shared: fcl-base_shared mysql_shared ibase_shared oracle_shared odbc_shared postgres_shared postgres_release pxlib_shared
  123. else
  124. ifneq ($(findstring $(OS_TARGET),win64 wince solaris darwin),)
  125. fcl-db_all: fcl-base_all mysql_all ibase_all oracle_all odbc_all postgres_all sqlite_all
  126. fcl-db_debug: fcl-base_debug mysql_debug ibase_debug oracle_debug odbc_debug postgres_debug sqlite_debug
  127. fcl-db_smart: fcl-base_smart mysql_smart ibase_smart oracle_smart odbc_smart postgres_smart sqlite_smart
  128. fcl-db_release: fcl-base_release mysql_release ibase_release oracle_release odbc_release postgres_release sqlite_release
  129. fcl-db_shared: fcl-base_shared mysql_shared ibase_shared oracle_shared odbc_shared postgres_shared postgres_release
  130. else
  131. fcl-db_all: fcl-base_all
  132. fcl-db_debug: fcl-base_debug
  133. fcl-db_smart: fcl-base_smart
  134. fcl-db_release: fcl-base_release
  135. fcl-db_shared: fcl-base_shared
  136. endif
  137. endif
  138. 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
  139. 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
  140. 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
  141. 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
  142. 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
  143. paszlib_all: hash_all
  144. paszlib_debug: hash_debug
  145. paszlib_smart: hash_smart
  146. paszlib_release: hash_release
  147. paszlib_shared: hash_shared
  148. libpng_all: zlib_all
  149. libpng_debug: zlib_debug
  150. libpng_smart: zlib_smart
  151. libpng_release: zlib_release
  152. libpng_shared: zlib_shared
  153. ifneq ($(findstring $(OS_TARGET),linux darwin freebsd openbsd netbsd solaris),)
  154. cairo_all: x11_all fcl-image_all
  155. cairo_debug: x11_debug fcl-image_debug
  156. cairo_smart: x11_smart fcl-image_smart
  157. cairo_release: x11_release fcl-image_release
  158. cairo_shared: x11_shared fcl-image_shared
  159. else
  160. cairo_all: fcl-image_all
  161. cairo_debug: fcl-image_debug
  162. cairo_smart: fcl-image_smart
  163. cairo_release: fcl-image_release
  164. cairo_shared: fcl-image_shared
  165. endif
  166. chm_all: fcl-xml_all
  167. chm_shared: fcl-xml_shared
  168. chm_smart: fcl-xml_smart
  169. chm_debug: fcl-xml_debug
  170. chm_release: fcl-xml_release
  171. fpgtk_all: fcl-base_all gtk1_all
  172. fpgtk_shared: fcl-base_shared gtk1_shared
  173. fpgtk_smart: fcl-base_smart gtk1_smart
  174. fpgtk_debug: fcl-base_debug gtk1_debug
  175. fpgtk_release: fcl-base_release gtk1_release
  176. ifeq ($(findstring $(OS_TARGET),go32v2),)
  177. graph_all: sdl_all
  178. graph_shared: sdl_shared
  179. graph_smart: sdl_smart
  180. graph_debug: sdl_debug
  181. graph_release: sdl_release
  182. endif
  183. ifneq ($(findstring $(OS_TARGET),linux darwin freebsd openbsd netbsd solaris),)
  184. gtk1_all: x11_all opengl_all
  185. gtk1_debug: x11_debug opengl_debug
  186. gtk1_smart: x11_smart opengl_smart
  187. gtk1_release: x11_release opengl_release
  188. gtk1_shared: x11_shared opengl_shared
  189. gtk2_all: x11_all
  190. gtk2_shared: x11_shared
  191. gtk2_smart: x11_smart
  192. gtk2_debug: x11_debug
  193. gtk2_release: x11_release
  194. else
  195. ifeq ($(findstring $(OS_TARGET),os2 emx),)
  196. gtk1_all: opengl_all
  197. gtk1_debug: opengl_debug
  198. gtk1_smart: opengl_smart
  199. gtk1_release: opengl_release
  200. gtk1_shared: opengl_shared
  201. endif
  202. endif
  203. imlib_all: gtk1_all x11_all
  204. imlib_shared: gtk1_shared x11_shared
  205. imlib_smart: gtk1_smart x11_smart
  206. imlib_debug: gtk1_debug x11_debug
  207. imlib_release: gtk1_release x11_release
  208. ldap_all: hash_all
  209. ldap_shared: hash_shared
  210. ldap_smart: hash_smart
  211. ldap_debug: hash_debug
  212. ldap_release: hash_release
  213. libpng_all: zlib_all
  214. libpng_shared: zlib_shared
  215. libpng_smart: zlib_smart
  216. libpng_debug: zlib_debug
  217. libpng_release: zlib_release
  218. paszlib_all: hash_all
  219. paszlib_shared: hash_shared
  220. paszlib_smart: hash_smart
  221. paszlib_debug: hash_debug
  222. paszlib_release: hash_release
  223. ifneq ($(findstring $(OS_TARGET),linux darwin freebsd openbsd netbsd solaris),)
  224. sdl_all: pthreads_all x11_all
  225. sdl_shared: pthreads_shared x11_shared
  226. sdl_smart: pthreads_smart x11_smart
  227. sdl_debug: pthreads_debug x11_debug
  228. sdl_release: pthreads_release x11_release
  229. opengl_all: x11_all
  230. opengl_shared: x11_shared
  231. opengl_smart: x11_smart
  232. opengl_debug: x11_debug
  233. opengl_release: x11_release
  234. endif
  235. tcl_all: fcl-base_all
  236. tcl_shared: fcl-base_shared
  237. tcl_smart: fcl-base_smart
  238. tcl_debug: fcl-base_debug
  239. tcl_release: fcl-base_release
  240. unixutil_all: libc_all fcl-base_all
  241. unixutil_shared: libc_shared fcl-base_shared
  242. unixutil_smart: libc_smart fcl-base_smart
  243. unixutil_debug: libc_debug fcl-base_debug
  244. unixutil_release: libc_release fcl-base_release
  245. winunits-jedi_all: winunits-base_all
  246. winunits-jedi_shared: winunits-base_shared
  247. winunits-jedi_smart: winunits-base_smart
  248. winunits-jedi_debug: winunits-base_debug
  249. winunits-jedi_release: winunits-base_release
  250. xforms_all: x11_all
  251. xforms_shared: x11_shared
  252. xforms_smart: x11_smart
  253. xforms_debug: x11_debug
  254. xforms_release: x11_release
  255. gnome1_all: gtk1_all imlib_all
  256. gnome1_shared: gtk1_shared imlib_shared
  257. gnome1_smart: gtk1_smart imlib_smart
  258. gnome1_debug: gtk1_debug imlib_debug
  259. gnome1_release: gtk1_release imlib_release
  260. ptc_all: hermes_all x11_all
  261. ptc_shared: hermes_shared x11_shared
  262. ptc_smart: hermes_smart x11_smart
  263. ptc_debug: hermes_debug x11_debug
  264. ptc_release: hermes_release x11_release