Makefile.fpc 1.6 KB

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