makefile.acorn 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # Project: libpng
  2. # Toolflags:
  3. CCflags = -c -depend !Depend -IC:,Zlib: -g -throwback -DRISCOS -fnah
  4. C++flags = -c -depend !Depend -IC: -throwback
  5. Linkflags = -aif -c++ -o $@
  6. ObjAsmflags = -throwback -NoCache -depend !Depend
  7. CMHGflags =
  8. LibFileflags = -c -l -o $@
  9. Squeezeflags = -o $@
  10. # Final targets:
  11. @.libpng-lib: @.o.png @.o.pngerror @.o.pngrio @.o.pngwio @.o.pngmem \
  12. @.o.pngpread @.o.pngset @.o.pngget @.o.pngread @.o.pngrtran \
  13. @.o.pngrutil @.o.pngtrans @.o.pngwrite @.o.pngwtran @.o.pngwutil
  14. LibFile $(LibFileflags) @.o.png @.o.pngerror @.o.pngrio @.o.pngrtran \
  15. @.o.pngmem @.o.pngpread @.o.pngset @.o.pngget @.o.pngread @.o.pngwio \
  16. @.o.pngrutil @.o.pngtrans @.o.pngwrite @.o.pngwtran @.o.pngwutil
  17. @.mm-libpng-lib: @.mm.png @.mm.pngerror @.mm.pngrio @.mm.pngwio @.mm.pngmem \
  18. @.mm.pngpread @.mm.pngset @.mm.pngget @.mm.pngread @.mm.pngrtran \
  19. @.mm.pngrutil @.mm.pngtrans @.mm.pngwrite @.mm.pngwtran @.mm.pngwutil
  20. LibFile $(LibFileflags) @.mm.png @.mm.pngerror @.mm.pngrio \
  21. @.mm.pngwio @.mm.pngmem @.mm.pngpread @.mm.pngset @.mm.pngget \
  22. @.mm.pngread @.mm.pngrtran @.mm.pngrutil @.mm.pngtrans @.mm.pngwrite \
  23. @.mm.pngwtran @.mm.pngwutil
  24. # User-editable dependencies:
  25. # (C) Copyright 1997 Tom Tanner
  26. Test: @.pngtest
  27. <Prefix$Dir>.pngtest
  28. @remove <Prefix$Dir>.pngtest
  29. #It would be nice if you could stop "make" listing from here on!
  30. @.pngtest: @.o.pngtest @.libpng-lib C:o.Stubs Zlib:zlib_lib
  31. Link $(Linkflags) @.o.pngtest @.libpng-lib C:o.Stubs Zlib:zlib_lib
  32. .SUFFIXES: .o .mm .c
  33. .c.mm:
  34. MemCheck.CC cc $(ccflags) -o $@ LibPng:$<
  35. .c.o:
  36. cc $(ccflags) -o $@ $<
  37. # See scripts.mak.libpngconf for how to generate this:
  38. @.h.libpngconf: @.scripts.h.libpngconf
  39. copy @.scripts.h.libpngconf $@
  40. # Static dependencies:
  41. @.o.png @.o.pngerror @.o.pngrio @.o.pngwio @.o.pngmem \
  42. @.o.pngpread @.o.pngset @.o.pngget @.o.pngread @.o.pngrtran \
  43. @.o.pngrutil @.o.pngtrans @.o.pngwrite @.o.pngwtran @.o.pngwutil \
  44. @.o.pngtest: @.h.libpngconf
  45. # Dynamic dependencies: