1996-06-05 20:50:50 +00:00
|
|
|
# Project: libpng
|
|
|
|
|
|
|
|
|
|
|
|
# Toolflags:
|
2000-11-23 17:51:42 +00:00
|
|
|
CCflags = -c -depend !Depend -IC:,Zlib: -g -throwback -DRISCOS -fnah
|
1996-06-05 20:50:50 +00:00
|
|
|
C++flags = -c -depend !Depend -IC: -throwback
|
|
|
|
Linkflags = -aif -c++ -o $@
|
|
|
|
ObjAsmflags = -throwback -NoCache -depend !Depend
|
2009-05-07 22:12:33 +00:00
|
|
|
CMHGflags =
|
2000-11-23 17:51:42 +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 \
|
2000-11-23 17:51:42 +00:00
|
|
|
@.o.pngrutil @.o.pngtrans @.o.pngwrite @.o.pngwtran @.o.pngwutil
|
1999-09-17 17:27:26 +00:00
|
|
|
LibFile $(LibFileflags) @.o.png @.o.pngerror @.o.pngrio @.o.pngrtran \
|
|
|
|
@.o.pngmem @.o.pngpread @.o.pngset @.o.pngget @.o.pngread @.o.pngwio \
|
2000-11-23 17:51:42 +00:00
|
|
|
@.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 \
|
2000-11-23 17:51:42 +00:00
|
|
|
@.mm.pngrutil @.mm.pngtrans @.mm.pngwrite @.mm.pngwtran @.mm.pngwutil
|
1999-09-17 17:27:26 +00:00
|
|
|
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 \
|
2000-11-23 17:51:42 +00:00
|
|
|
@.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
|
2000-11-23 17:51:42 +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!
|
2000-11-23 17:51:42 +00:00
|
|
|
@.pngtest: @.o.pngtest @.libpng-lib C:o.Stubs Zlib:zlib_lib
|
|
|
|
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:
|