Makefile.fpc 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. #
  2. # Makefile.fpc for Free Component Library
  3. #
  4. [package]
  5. name=fcl
  6. version=1.9.7
  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 streamio
  18. [target]
  19. dirs=xml image db shedit passrc net fpcunit
  20. units=$(CLASSES10) contnrs inifiles ezcgi pipes rtfpars idea base64 gettext \
  21. iostream zstream cachecls avl_tree xmlreg registry eventlog custapp cgiapp \
  22. wformat whtml wtex rttiutils bufstream
  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 syncobjs
  31. rsts=$(CLASSES10) ssockets cachecls resolve custapp cgiapp eventlog registry
  32. exampledirs=tests
  33. [compiler]
  34. options=-S2
  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): $(COMPILER_UNITTARGETDIR)
  60. $(COMPILER) -Ficlasses -Ficlasses/$(OS_TARGET) classes/$(OS_TARGET)/classes.pp
  61. endif
  62. # xmlreg needs the XML units, XML units depend on avl_tree
  63. xmlreg.pp: avl_tree$(PPUEXT) xml