Makefile.fpc 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. #
  2. # Makefile.fpc for Free Component Library
  3. #
  4. [package]
  5. name=fcl
  6. version=1.9.2
  7. [require]
  8. packages=paszlib
  9. packages_linux=netdb libasync pthreads
  10. packages_freebsd=netdb libasync pthreads
  11. packages_darwin=netdb libasync pthreads
  12. packages_netbsd=netdb libasync
  13. packages_openbsd=netdb libasync
  14. packages_win32=netdb
  15. # clean package units
  16. [clean]
  17. units=adler gzcrc gzio infblock infcodes inffast inftrees infutil minigzip paszlib trees zbase zcompres zdeflate zinflate zuncompr zutil pthreads
  18. [target]
  19. dirs=xml image db shedit passrc net
  20. units=$(CLASSES10) contnrs inifiles ezcgi pipes rtfpars idea base64 gettext \
  21. iostream zstream cachecls xmlreg registry eventlog custapp cgiapp \
  22. wformat whtml wtex
  23. units_freebsd=process ssockets resolve fpasync syncobjs
  24. units_darwin=process ssockets resolve fpasync syncobjs
  25. units_netbsd=process ssockets resolve fpasync
  26. units_openbsd=process ssockets resolve fpasync
  27. units_linux=process resolve ssockets fpasync syncobjs
  28. units_win32=process fileinfo resolve ssockets syncobjs
  29. units_netware=resolve ssockets
  30. rsts=$(CLASSES10) ssockets cachecls resolve custapp cgiapp eventlog registry
  31. exampledirs=tests
  32. [compiler]
  33. options=-S2
  34. targetdir=$(OS_TARGET)
  35. includedir=$(OS_TARGET) inc
  36. includedir_linux=unix
  37. includedir_freebsd=unix
  38. includedir_darwin=unix
  39. includedir_netbsd=unix
  40. includedir_openbsd=unix
  41. includedir_sunos=posix
  42. includedir_qnx=posix
  43. includedir_beos=posix
  44. includedir_emx=os2
  45. sourcedir=$(OS_TARGET) inc
  46. [libs]
  47. libname=fpfcl
  48. [install]
  49. fpcpackage=y
  50. [default]
  51. fpcdir=..
  52. [prerules]
  53. # Also build classes for 1.0.x
  54. ifneq ($(findstring 1.0.,$(FPC_VERSION)),)
  55. CLASSES10=classes
  56. endif
  57. [rules]
  58. ifdef CLASSES10
  59. classes$(PPUEXT):
  60. $(COMPILER) -Ficlasses -Ficlasses/$(OS_TARGET) classes/$(OS_TARGET)/classes.pp
  61. endif
  62. xmlreg.pp: xml