Makefile.fpc 825 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #
  2. # Makefile.fpc for DBase FCL db units
  3. #
  4. [package]
  5. main=fcl-db
  6. [target]
  7. units=dbf
  8. examples=testdbf
  9. [require]
  10. packages=fcl-base
  11. [compiler]
  12. options=-S2 -Sh
  13. [default]
  14. fpcdir=../../../..
  15. [install]
  16. fpcpackage=y
  17. units=dbf_collate dbf_common dbf_cursor dbf_dbffile dbf_fields \
  18. dbf_idxcur dbf_idxfile dbf_lang dbf_memo dbf_parser dbf_pgfile \
  19. dbf_prscore dbf_prsdef dbf_prssupp dbf_str
  20. [clean]
  21. units=dbf_collate dbf_common dbf_cursor dbf_dbffile dbf_fields \
  22. dbf_idxcur dbf_idxfile dbf_lang dbf_memo dbf_parser dbf_pgfile \
  23. dbf_prscore dbf_prsdef dbf_prssupp dbf_str
  24. [prerules]
  25. # dbf_Wtil is needed on all targets except windows
  26. ifneq ($(OS_TARGET),win32)
  27. ifneq ($(OS_TARGET),win64)
  28. ifneq ($(OS_TARGET),wince)
  29. INSTALL_UNITS+=dbf_wtil
  30. CLEAN_UNITS+=dbf_wtil
  31. endif
  32. endif
  33. endif
  34. [rules]
  35. .NOTPARALLEL: