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