Makefile.fpc 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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_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. units_x86_64=dbf_collate dbf_common dbf_cursor dbf_dbffile dbf_fields \
  21. dbf_idxcur dbf_idxfile dbf_lang dbf_memo dbf_parser dbf_pgfile \
  22. dbf_prscore dbf_prsdef dbf_prssupp dbf_str
  23. [clean]
  24. units=dbf_collate dbf_common dbf_cursor dbf_dbffile dbf_fields \
  25. dbf_idxcur 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 windows
  29. ifneq ($(OS_TARGET),win32)
  30. ifneq ($(OS_TARGET),win64)
  31. ifeq ($(CPU_TARGET),i386)
  32. INSTALL_UNITS+=dbf_wtil
  33. CLEAN_UNITS+=dbf_wtil
  34. endif
  35. ifeq ($(CPU_TARGET),x86_64)
  36. INSTALL_UNITS+=dbf_wtil
  37. CLEAN_UNITS+=dbf_wtil
  38. endif
  39. endif
  40. endif
  41. [rules]
  42. .NOTPARALLEL: