Makefile.fpc 721 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #
  2. # Makefile.fpc for DBase FCL db units
  3. #
  4. [package]
  5. main=fcl
  6. [target]
  7. units_i386=dbf
  8. examples_i386=testdbf
  9. [compiler]
  10. options=-S2 -Sh
  11. [default]
  12. fpcdir=../../..
  13. [install]
  14. fpcpackage=y
  15. units_i386=dbf_common dbf_cursor dbf_dbffile dbf_fields dbf_idxcur \
  16. dbf_idxfile dbf_lang dbf_memo dbf_parser dbf_pgfile \
  17. dbf_prscore dbf_prsdef dbf_prssupp dbf_str
  18. [clean]
  19. units=dbf_common dbf_cursor dbf_dbffile dbf_fields dbf_idxcur \
  20. dbf_idxfile dbf_lang dbf_memo dbf_parser dbf_pgfile \
  21. dbf_prscore dbf_prsdef dbf_prssupp dbf_str
  22. [prerules]
  23. # dbf_Wtil is needed on all targets except win32
  24. ifeq ($(CPU_TARGET),i386)
  25. ifneq ($(OS_TARGET),win32)
  26. INSTALL_UNITS+=dbf_wtil
  27. CLEAN_UNITS+=dbf_wtil
  28. endif
  29. endif