Makefile.fpc 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. units_x86_64=dbf
  10. examples_x86_64=testdbf
  11. [compiler]
  12. options=-S2 -Sh
  13. [default]
  14. fpcdir=../../..
  15. [install]
  16. fpcpackage=y
  17. units_i386=dbf_common dbf_cursor dbf_dbffile dbf_fields dbf_idxcur \
  18. dbf_idxfile dbf_lang dbf_memo dbf_parser dbf_pgfile \
  19. dbf_prscore dbf_prsdef dbf_prssupp dbf_str
  20. units_x86_64=dbf_common dbf_cursor dbf_dbffile dbf_fields dbf_idxcur \
  21. dbf_idxfile dbf_lang dbf_memo dbf_parser dbf_pgfile \
  22. dbf_prscore dbf_prsdef dbf_prssupp dbf_str
  23. [clean]
  24. units=dbf_common dbf_cursor dbf_dbffile dbf_fields dbf_idxcur \
  25. dbf_idxfile dbf_lang dbf_memo dbf_parser dbf_pgfile \
  26. dbf_prscore dbf_prsdef dbf_prssupp dbf_str
  27. [prerules]
  28. # dbf_Wtil is needed on all targets except win32
  29. ifneq ($(OS_TARGET),win32)
  30. ifeq ($(CPU_TARGET),i386)
  31. INSTALL_UNITS+=dbf_wtil
  32. CLEAN_UNITS+=dbf_wtil
  33. endif
  34. ifeq ($(CPU_TARGET),x86_64)
  35. INSTALL_UNITS+=dbf_wtil
  36. CLEAN_UNITS+=dbf_wtil
  37. endif
  38. endif