1996-06-05 16:50:50 -04:00
|
|
|
# Project: libpng
|
|
|
|
|
|
|
|
|
|
|
|
# Toolflags:
|
|
|
|
CCflags = -c -depend !Depend -IC:,Zlib: -g -throwback -DRISCOS -fnah
|
|
|
|
C++flags = -c -depend !Depend -IC: -throwback
|
|
|
|
Linkflags = -aif -c++ -o $@
|
|
|
|
ObjAsmflags = -throwback -NoCache -depend !Depend
|
|
|
|
CMHGflags =
|
1997-01-17 02:34:35 -05:00
|
|
|
LibFileflags = -c -l -o $@
|
1996-06-05 16:50:50 -04:00
|
|
|
Squeezeflags = -o $@
|
|
|
|
|
|
|
|
|
|
|
|
# Final targets:
|
|
|
|
@.libpng-lib: @.o.png @.o.pngerror @.o.pngrio @.o.pngwio @.o.pngmem \
|
1997-01-17 02:34:35 -05:00
|
|
|
@.o.pngpread @.o.pngrcb @.o.pngread @.o.pngrtran @.o.pngrutil @.o.pngtrans @.o.pngwrite \
|
|
|
|
@.o.pngwtran @.o.pngwutil
|
1996-06-05 16:50:50 -04:00
|
|
|
LibFile $(LibFileflags) @.o.png @.o.pngerror @.o.pngrio @.o.pngwio \
|
1997-01-17 02:34:35 -05:00
|
|
|
@.o.pngmem @.o.pngpread @.o.pngrcb @.o.pngread @.o.pngrtran @.o.pngrutil @.o.pngtrans \
|
|
|
|
@.o.pngwrite @.o.pngwtran @.o.pngwutil
|
|
|
|
@.mm-libpng-lib: @.mm.png @.mm.pngerror @.mm.pngrio @.mm.pngwio @.mm.pngmem \
|
|
|
|
@.mm.pngpread @.mm.pngrcb @.mm.pngread @.mm.pngrtran @.mm.pngrutil @.mm.pngtrans \
|
|
|
|
@.mm.pngwrite @.mm.pngwtran @.mm.pngwutil
|
|
|
|
LibFile $(LibFileflags) @.mm.png @.mm.pngerror @.mm.pngrio @.mm.pngwio \
|
|
|
|
@.mm.pngmem @.mm.pngpread @.mm.pngrcb @.mm.pngread @.mm.pngrtran @.mm.pngrutil \
|
|
|
|
@.mm.pngtrans @.mm.pngwrite @.mm.pngwtran @.mm.pngwutil
|
1996-06-05 16:50:50 -04:00
|
|
|
|
|
|
|
|
|
|
|
# User-editable dependencies:
|
1997-01-17 02:34:35 -05:00
|
|
|
Test: @.pngtest
|
|
|
|
<Prefix$Dir>.PngTest
|
|
|
|
@remove <Prefix$Dir>.pngout_png
|
|
|
|
|
|
|
|
#It would be nice if you could stop "make" listing from here on!
|
|
|
|
@.pngtest: @.o.pngtest @.libpng-lib C:o.Stubs Zlib:zlib_lib
|
|
|
|
Link $(Linkflags) @.o.pngtest @.libpng-lib C:o.Stubs Zlib:zlib_lib
|
|
|
|
|
|
|
|
.SUFFIXES: .o .mm .c
|
|
|
|
|
|
|
|
.c.mm:
|
|
|
|
MemCheck.CC cc $(ccflags) -o $@ LibPng:$<
|
1996-06-05 16:50:50 -04:00
|
|
|
.c.o:
|
|
|
|
cc $(ccflags) -o $@ $<
|
|
|
|
|
|
|
|
|
|
|
|
# Static dependencies:
|
|
|
|
|
|
|
|
|
|
|
|
# Dynamic dependencies:
|