Makefile.fpc 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. #
  2. # Makefile.fpc for Free Pascal Packages
  3. #
  4. [target]
  5. dirs=base hash paszlib fpmkunit fcl-base fcl-db fcl-image fcl-net fcl-passrc fcl-registry fcl-xml fcl-fpcunit fcl-json extra fcl-process
  6. dirs_freebsd=fcl-web fcl-async
  7. dirs_darwin=fcl-web fcl-async
  8. dirs_solaris=fcl-web fcl-async
  9. dirs_netbsd=fcl-web fcl-async
  10. dirs_openbsd=fcl-web fcl-async
  11. dirs_linux=fcl-web fcl-async
  12. dirs_win32=winunits-base winunits-jedi fcl-web
  13. dirs_win64=winunits-base winunits-jedi fcl-web
  14. dirs_wince=fcl-web
  15. [install]
  16. fpcpackage=y
  17. fpcsubdir=packages
  18. [default]
  19. fpcdir=..
  20. [rules]
  21. fpmkunit_all: fcl-base_all fcl-process_all paszlib_all
  22. fpmkunit_debug: fcl-base_debug fcl-process_debug paszlib_debug
  23. fpmkunit_smart: fcl-base_smart fcl-process_smart paszlib_smart
  24. fpmkunit_release: fcl-base_release fcl-process_release paszlib_release
  25. fpmkunit_shared: fcl-base_shared fcl-process_shared paszlib_shared
  26. extra_all: base_all fcl-xml_all
  27. extra_debug: base_debug fcl-xml_debug
  28. extra_smart: base_smart fcl-xml_smart
  29. extra_release: base_release fcl-xml_release
  30. extra_shared: base_shared fcl-xml_shared
  31. ifeq ($(OS_TARGET),win32)
  32. fcl-base_all: base_all winunits-base_all winunits-jedi_all
  33. fcl-base_debug: base_debug winunits-base_debug winunits-jedi_debug
  34. fcl-base_smart: base_smart winunits-base_smart winunits-jedi_smart
  35. fcl-base_release: base_release winunits-base_release winunits-jedi_release
  36. fcl-base_shared: base_shared winunits-base_shared winunits-jedi_shared
  37. else
  38. ifeq ($(OS_TARGET),win64)
  39. fcl-base_all: base_all winunits-base_all winunits-jedi_all
  40. fcl-base_debug: base_debug winunits-base_debug winunits-jedi_debug
  41. fcl-base_smart: base_smart winunits-base_smart winunits-jedi_smart
  42. fcl-base_release: base_release winunits-base_release winunits-jedi_release
  43. fcl-base_shared: base_shared winunits-base_shared winunits-jedi_shared
  44. else
  45. fcl-base_all: base_all
  46. fcl-base_debug: base_debug
  47. fcl-base_smart: base_smart
  48. fcl-base_release: base_release
  49. fcl-base_shared: base_shared
  50. endif
  51. endif
  52. fcl-xml_all: fcl-base_all
  53. fcl-xml_debug: fcl-base_debug
  54. fcl-xml_smart: fcl-base_smart
  55. fcl-xml_release: fcl-base_release
  56. fcl-xml_shared: fcl-base_shared
  57. fcl-json_all: fcl-base_all
  58. fcl-json_debug: fcl-base_debug
  59. fcl-json_smart: fcl-base_smart
  60. fcl-json_release: fcl-base_release
  61. fcl-json_shared: fcl-base_shared
  62. fcl-image_all: fcl-base_all paszlib_all
  63. fcl-image_debug: fcl-base_debug paszlib_debug
  64. fcl-image_smart: fcl-base_smart paszlib_smart
  65. fcl-image_release: fcl-base_release paszlib_release
  66. fcl-image_shared: fcl-base_shared paszlib_shared
  67. fcl-fpcunit_all: fcl-xml_all
  68. fcl-fpcunit_debug: fcl-xml_debug
  69. fcl-fpcunit_smart: fcl-xml_smart
  70. fcl-fpcunit_release: fcl-xml_release
  71. fcl-fpcunit_shared: fcl-xml_shared
  72. fcl-registry_all: fcl-xml_all
  73. fcl-registry_debug: fcl-xml_debug
  74. fcl-registry_smart: fcl-xml_smart
  75. fcl-registry_release: fcl-xml_release
  76. fcl-registry_shared: fcl-xml_shared
  77. ifeq ($(findstring $(OS_TARGET),linux darwin freebsd openbsd netbsd solaris),)
  78. fcl-net_all: fcl-passrc_all fcl-xml_all
  79. fcl-net_debug: fcl-passrc_debug fcl-xml_debug
  80. fcl-net_smart: fcl-passrc_smart fcl-xml_smart
  81. fcl-net_release: fcl-passrc_release fcl-xml_release
  82. fcl-net_shared: fcl-passrc_shared fcl-xml_shared
  83. else
  84. fcl-net_all: fcl-passrc_all fcl-xml_all fcl-async_all
  85. fcl-net_debug: fcl-passrc_debug fcl-xml_debug fcl-async_debug
  86. fcl-net_smart: fcl-passrc_smart fcl-xml_smart fcl-async_smart
  87. fcl-net_release: fcl-passrc_release fcl-xml_release fcl-async_release
  88. fcl-net_shared: fcl-passrc_shared fcl-xml_shared fcl-async_shared
  89. endif
  90. fcl-web_all: fcl-db_all fcl-xml_all fcl-process_all
  91. fcl-web_debug: fcl-db_debug fcl-xml_debug fcl-process_debug
  92. fcl-web_smart: fcl-db_smart fcl-xml_smart fcl-process_smart
  93. fcl-web_release: fcl-db_release fcl-xml_release fcl-process_release
  94. fcl-web_shared: fcl-db_shared fcl-xml_shared fcl-process_shared
  95. fcl-db_all: fcl-base_all
  96. fcl-db_debug: fcl-base_debug
  97. fcl-db_smart: fcl-base_smart
  98. fcl-db_release: fcl-base_release
  99. fcl-db_shared: fcl-base_shared
  100. 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
  101. 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
  102. 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
  103. 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
  104. 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
  105. paszlib_all: hash_all
  106. paszlib_debug: hash_debug
  107. paszlib_smart: hash_smart
  108. paszlib_release: hash_release
  109. paszlib_shared: hash_shared