]> git.saurik.com Git - wxWidgets.git/blame - src/png/scripts/makefile.acorn
No changes, just minor wxMSW code cleanup: use WinStruct<>.
[wxWidgets.git] / src / png / scripts / makefile.acorn
CommitLineData
0272a10d
VZ
1# 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
b61cc19c 9CMHGflags =
0272a10d
VZ
10LibFileflags = -c -l -o $@
11Squeezeflags = -o $@
12
0272a10d
VZ
13# Final targets:
14@.libpng-lib: @.o.png @.o.pngerror @.o.pngrio @.o.pngwio @.o.pngmem \
15 @.o.pngpread @.o.pngset @.o.pngget @.o.pngread @.o.pngrtran \
16 @.o.pngrutil @.o.pngtrans @.o.pngwrite @.o.pngwtran @.o.pngwutil
17 LibFile $(LibFileflags) @.o.png @.o.pngerror @.o.pngrio @.o.pngrtran \
18 @.o.pngmem @.o.pngpread @.o.pngset @.o.pngget @.o.pngread @.o.pngwio \
19 @.o.pngrutil @.o.pngtrans @.o.pngwrite @.o.pngwtran @.o.pngwutil
20@.mm-libpng-lib: @.mm.png @.mm.pngerror @.mm.pngrio @.mm.pngwio @.mm.pngmem \
21 @.mm.pngpread @.mm.pngset @.mm.pngget @.mm.pngread @.mm.pngrtran \
22 @.mm.pngrutil @.mm.pngtrans @.mm.pngwrite @.mm.pngwtran @.mm.pngwutil
23 LibFile $(LibFileflags) @.mm.png @.mm.pngerror @.mm.pngrio \
24 @.mm.pngwio @.mm.pngmem @.mm.pngpread @.mm.pngset @.mm.pngget \
25 @.mm.pngread @.mm.pngrtran @.mm.pngrutil @.mm.pngtrans @.mm.pngwrite \
26 @.mm.pngwtran @.mm.pngwutil
27
28
29# User-editable dependencies:
30# (C) Copyright 1997 Tom Tanner
31Test: @.pngtest
32 <Prefix$Dir>.pngtest
33 @remove <Prefix$Dir>.pngtest
34
35#It would be nice if you could stop "make" listing from here on!
36@.pngtest: @.o.pngtest @.libpng-lib C:o.Stubs Zlib:zlib_lib
37 Link $(Linkflags) @.o.pngtest @.libpng-lib C:o.Stubs Zlib:zlib_lib
38
39.SUFFIXES: .o .mm .c
40
41.c.mm:
42 MemCheck.CC cc $(ccflags) -o $@ LibPng:$<
43.c.o:
44 cc $(ccflags) -o $@ $<
45
9c0d9ce3
DS
46# See scripts.mak.libpngconf for how to generate this:
47@.h.libpngconf: @.scripts.h.libpngconf
48 copy @.scripts.h.libpngconf $@
0272a10d
VZ
49
50# Static dependencies:
9c0d9ce3
DS
51@.o.png @.o.pngerror @.o.pngrio @.o.pngwio @.o.pngmem \
52@.o.pngpread @.o.pngset @.o.pngget @.o.pngread @.o.pngrtran \
53@.o.pngrutil @.o.pngtrans @.o.pngwrite @.o.pngwtran @.o.pngwutil \
54@.o.pngtest: @.h.libpngconf
0272a10d
VZ
55
56
57# Dynamic dependencies: