2
0

Makefile.fpc 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. # not parallel because systems using an external linker will get conflicts
  25. # due to overwriting each other's link.res file
  26. .NOTPARALLEL:
  27. ppu$(PPUEXT): ppu.pas
  28. ppufiles$(EXEEXT): ppufiles.pp ppu$(PPUEXT)
  29. ppudump$(EXEEXT): ppudump.pp ppu$(PPUEXT)
  30. $(COMPILER) ppudump.pp -Fu../$(CPU_TARGET) -Fi..
  31. ppumove$(EXEEXT): ppumove.pp ppu$(PPUEXT)
  32. fpcsubst$(EXEEXT): fpcsubst.pp usubst.pp
  33. fpcmkcfg$(EXEEXT): fpcmkcfg.pp usubst.pp fpccfg.inc
  34. ifneq ($(DATA2INC),)
  35. fpccfg.inc: fpc.cft
  36. $(DATA2INC) -b -s fpc.cft fpccfg.inc DefaultConfig
  37. endif
  38. #
  39. # Don't export some tools, which are found in the current dir if it's in
  40. # the path, so are not valid for the subdirs
  41. #
  42. unexport PPUFILES PPUMOVE