Makefile.fpc 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. #
  2. # Makefile.fpc for Free Component Library
  3. #
  4. [package]
  5. name=fcl
  6. version=1.9.4
  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 rttiutils
  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. units_netwlibc=resolve ssockets
  31. rsts=$(CLASSES10) ssockets cachecls resolve custapp cgiapp eventlog registry
  32. exampledirs=tests
  33. [compiler]
  34. options=-S2
  35. targetdir=$(OS_TARGET)
  36. includedir=$(OS_TARGET) inc
  37. includedir_linux=unix
  38. includedir_freebsd=unix
  39. includedir_darwin=unix
  40. includedir_netbsd=unix
  41. includedir_openbsd=unix
  42. includedir_sunos=posix
  43. includedir_qnx=posix
  44. includedir_beos=posix
  45. includedir_emx=os2
  46. sourcedir=$(OS_TARGET) inc
  47. [libs]
  48. libname=fpfcl
  49. [install]
  50. fpcpackage=y
  51. [default]
  52. fpcdir=..
  53. [prerules]
  54. # Also build classes for 1.0.x
  55. ifneq ($(findstring 1.0.,$(FPC_VERSION)),)
  56. CLASSES10=classes
  57. endif
  58. [rules]
  59. ifdef CLASSES10
  60. classes$(PPUEXT):
  61. $(COMPILER) -Ficlasses -Ficlasses/$(OS_TARGET) classes/$(OS_TARGET)/classes.pp
  62. endif
  63. xmlreg.pp: xml