1996-06-05 20:50:50 +00: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 07:34:35 +00:00
|
|
|
LibFileflags = -c -l -o $@
|
1996-06-05 20:50:50 +00:00
|
|
|
Squeezeflags = -o $@
|
|
|
|
|
|
|
|
|
|
|
|
# Final targets:
|
|
|
|
@.libpng-lib: @.o.png @.o.pngerror @.o.pngrio @.o.pngwio @.o.pngmem \
|
1999-09-17 17:27:26 +00:00
|
|
|
@.o.pngpread @.o.pngset @.o.pngget @.o.pngread @.o.pngrtran \
|
|
|
|
@.o.pngrutil @.o.pngtrans @.o.pngwrite @.o.pngwtran @.o.pngwutil
|
|
|
|
LibFile $(LibFileflags) @.o.png @.o.pngerror @.o.pngrio @.o.pngrtran \
|
|
|
|
@.o.pngmem @.o.pngpread @.o.pngset @.o.pngget @.o.pngread @.o.pngwio \
|
|
|
|
@.o.pngrutil @.o.pngtrans @.o.pngwrite @.o.pngwtran @.o.pngwutil
|
1997-01-17 07:34:35 +00:00
|
|
|
@.mm-libpng-lib: @.mm.png @.mm.pngerror @.mm.pngrio @.mm.pngwio @.mm.pngmem \
|
1999-09-17 17:27:26 +00:00
|
|
|
@.mm.pngpread @.mm.pngset @.mm.pngget @.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.pngset @.mm.pngget \
|
|
|
|
@.mm.pngread @.mm.pngrtran @.mm.pngrutil @.mm.pngtrans @.mm.pngwrite \
|
|
|
|
@.mm.pngwtran @.mm.pngwutil
|
1996-06-05 20:50:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
# User-editable dependencies:
|
1997-05-16 07:46:07 +00:00
|
|
|
# (C) Copyright 1997 Tom Tanner
|
1997-01-17 07:34:35 +00:00
|
|
|
Test: @.pngtest
|
1999-09-17 17:27:26 +00:00
|
|
|
<Prefix$Dir>.pngtest
|
|
|
|
@remove <Prefix$Dir>.pngtest
|
1997-01-17 07:34:35 +00:00
|
|
|
|
|
|
|
#It would be nice if you could stop "make" listing from here on!
|
|
|
|
@.pngtest: @.o.pngtest @.libpng-lib C:o.Stubs Zlib:zlib_lib
|
1999-09-17 17:27:26 +00:00
|
|
|
Link $(Linkflags) @.o.pngtest @.libpng-lib C:o.Stubs Zlib:zlib_lib
|
1997-01-17 07:34:35 +00:00
|
|
|
|
|
|
|
.SUFFIXES: .o .mm .c
|
|
|
|
|
|
|
|
.c.mm:
|
1999-09-17 17:27:26 +00:00
|
|
|
MemCheck.CC cc $(ccflags) -o $@ LibPng:$<
|
1996-06-05 20:50:50 +00:00
|
|
|
.c.o:
|
1999-09-17 17:27:26 +00:00
|
|
|
cc $(ccflags) -o $@ $<
|
1996-06-05 20:50:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Static dependencies:
|
|
|
|
|
|
|
|
|
|
|
|
# Dynamic dependencies:
|