blob: 504a17fc6ff3a08816f8734fc891551eb9ca8e62 [file] [log] [blame]
Guy Schalnate5a37791996-06-05 15:50:50 -05001# 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 =
Andreas Dilger02ad0ef1997-01-17 01:34:35 -060010LibFileflags = -c -l -o $@
Guy Schalnate5a37791996-06-05 15:50:50 -050011Squeezeflags = -o $@
12
13
14# Final targets:
15@.libpng-lib: @.o.png @.o.pngerror @.o.pngrio @.o.pngwio @.o.pngmem \
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -050016 @.o.pngpread @.o.pngset @.o.pngget @.o.pngread @.o.pngrtran \
17 @.o.pngrutil @.o.pngtrans @.o.pngwrite @.o.pngwtran @.o.pngwutil
18 LibFile $(LibFileflags) @.o.png @.o.pngerror @.o.pngrio @.o.pngrtran \
19 @.o.pngmem @.o.pngpread @.o.pngset @.o.pngget @.o.pngread @.o.pngwio \
20 @.o.pngrutil @.o.pngtrans @.o.pngwrite @.o.pngwtran @.o.pngwutil
Andreas Dilger02ad0ef1997-01-17 01:34:35 -060021@.mm-libpng-lib: @.mm.png @.mm.pngerror @.mm.pngrio @.mm.pngwio @.mm.pngmem \
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -050022 @.mm.pngpread @.mm.pngset @.mm.pngget @.mm.pngread @.mm.pngrtran \
23 @.mm.pngrutil @.mm.pngtrans @.mm.pngwrite @.mm.pngwtran @.mm.pngwutil
24 LibFile $(LibFileflags) @.mm.png @.mm.pngerror @.mm.pngrio \
25 @.mm.pngwio @.mm.pngmem @.mm.pngpread @.mm.pngset @.mm.pngget \
26 @.mm.pngread @.mm.pngrtran @.mm.pngrutil @.mm.pngtrans @.mm.pngwrite \
27 @.mm.pngwtran @.mm.pngwutil
Guy Schalnate5a37791996-06-05 15:50:50 -050028
29
30# User-editable dependencies:
Andreas Dilger47a0c421997-05-16 02:46:07 -050031# (C) Copyright 1997 Tom Tanner
Andreas Dilger02ad0ef1997-01-17 01:34:35 -060032Test: @.pngtest
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -050033 <Prefix$Dir>.pngtest
34 @remove <Prefix$Dir>.pngtest
Andreas Dilger02ad0ef1997-01-17 01:34:35 -060035
36#It would be nice if you could stop "make" listing from here on!
37@.pngtest: @.o.pngtest @.libpng-lib C:o.Stubs Zlib:zlib_lib
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -050038 Link $(Linkflags) @.o.pngtest @.libpng-lib C:o.Stubs Zlib:zlib_lib
Andreas Dilger02ad0ef1997-01-17 01:34:35 -060039
40.SUFFIXES: .o .mm .c
41
42.c.mm:
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -050043 MemCheck.CC cc $(ccflags) -o $@ LibPng:$<
Guy Schalnate5a37791996-06-05 15:50:50 -050044.c.o:
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -050045 cc $(ccflags) -o $@ $<
Guy Schalnate5a37791996-06-05 15:50:50 -050046
47
48# Static dependencies:
Guy Schalnate5a37791996-06-05 15:50:50 -050049
50
51# Dynamic dependencies: