Makefile.fpc 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. #
  2. # Makefile.fpc for Free Component Library
  3. #
  4. [package]
  5. name=fcl
  6. version=1.9.0
  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_emx=os2
  44. sourcedir=$(OS_TARGET) inc
  45. [libs]
  46. libname=fpfcl
  47. [install]
  48. fpcpackage=y
  49. [default]
  50. fpcdir=..
  51. [prerules]
  52. # Also build classes for 1.0.x
  53. ifneq ($(findstring 1.0.,$(FPC_VERSION)),)
  54. CLASSES10=classes
  55. endif
  56. [rules]
  57. ifdef CLASSES10
  58. classes$(PPUEXT):
  59. $(COMPILER) -Ficlasses -Ficlasses/$(OS_TARGET) classes/$(OS_TARGET)/classes.pp
  60. endif
  61. xmlreg.pp: xml