Makefile.fpc 885 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #
  2. # Makefile.fpc for Free Pascal Compiler Utils
  3. #
  4. [target]
  5. programs=fpc ppufiles ppudump ppumove fpcsubst fpcmkcfg
  6. rst=fpcmkcfg fpcsubst
  7. [clean]
  8. units=ppu crc usubst
  9. [compiler]
  10. unitdir=..
  11. sourcedir=..
  12. [install]
  13. fpcpackage=y
  14. [require]
  15. tools=data2inc
  16. [default]
  17. fpcdir=../..
  18. [shared]
  19. build=n
  20. [rules]
  21. #
  22. # PPU Tools
  23. #
  24. ppu$(PPUEXT): ppu.pas
  25. ppufiles$(EXEEXT): ppufiles.pp ppu$(PPUEXT)
  26. ppudump$(EXEEXT): ppudump.pp ppu$(PPUEXT)
  27. $(COMPILER) ppudump.pp -Fu../$(CPU_TARGET) -Fi..
  28. ppumove$(EXEEXT): ppumove.pp ppu$(PPUEXT)
  29. fpcsubst$(EXEEXT): fpcsubst.pp usubst.pp
  30. fpcmkcfg$(EXEEXT): fpcmkcfg.pp usubst.pp fpccfg.inc
  31. ifneq ($(DATA2INC),)
  32. fpccfg.inc: fpc.cft
  33. $(DATA2INC) -b -s fpc.cft fpccfg.inc DefaultConfig
  34. endif
  35. #
  36. # Don't export some tools, which are found in the current dir if it's in
  37. # the path, so are not valid for the subdirs
  38. #
  39. unexport PPUFILES PPUMOVE