]> git.saurik.com Git - wxWidgets.git/blob - src/png/scripts/makefile.acorn
added IsFalse() to simplify code doing HasOption(very-long-option-name) && !GetOption...
[wxWidgets.git] / src / png / scripts / makefile.acorn
1 # Project: libpng
2
3
4 # Toolflags:
5 CCflags = -c -depend !Depend -IC:,Zlib: -g -throwback -DRISCOS -fnah
6 C++flags = -c -depend !Depend -IC: -throwback
7 Linkflags = -aif -c++ -o $@
8 ObjAsmflags = -throwback -NoCache -depend !Depend
9 CMHGflags =
10 LibFileflags = -c -l -o $@
11 Squeezeflags = -o $@
12
13
14 # Final targets:
15 @.libpng-lib: @.o.png @.o.pngerror @.o.pngrio @.o.pngwio @.o.pngmem \
16 @.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
21 @.mm-libpng-lib: @.mm.png @.mm.pngerror @.mm.pngrio @.mm.pngwio @.mm.pngmem \
22 @.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
28
29
30 # User-editable dependencies:
31 # (C) Copyright 1997 Tom Tanner
32 Test: @.pngtest
33 <Prefix$Dir>.pngtest
34 @remove <Prefix$Dir>.pngtest
35
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
38 Link $(Linkflags) @.o.pngtest @.libpng-lib C:o.Stubs Zlib:zlib_lib
39
40 .SUFFIXES: .o .mm .c
41
42 .c.mm:
43 MemCheck.CC cc $(ccflags) -o $@ LibPng:$<
44 .c.o:
45 cc $(ccflags) -o $@ $<
46
47
48 # Static dependencies:
49
50
51 # Dynamic dependencies: