1996-06-05 16:50:50 -04:00
|
|
|
# Project: libpng
|
|
|
|
|
|
|
|
|
|
|
|
# Toolflags:
|
2009-12-04 09:40:41 -05:00
|
|
|
CCflags = -c -depend !Depend -IC:,Zlib: -g -throwback -DRISCOS -fnah
|
1996-06-05 16:50:50 -04:00
|
|
|
C++flags = -c -depend !Depend -IC: -throwback
|
|
|
|
Linkflags = -aif -c++ -o $@
|
|
|
|
ObjAsmflags = -throwback -NoCache -depend !Depend
|
2009-05-02 16:36:08 -04:00
|
|
|
CMHGflags =
|
2000-11-23 12:51:42 -05:00
|
|
|
LibFileflags = -c -l -o $@
|
1996-06-05 16:50:50 -04:00
|
|
|
Squeezeflags = -o $@
|
|
|
|
|
|
|
|
# Final targets:
|
|
|
|
@.libpng-lib: @.o.png @.o.pngerror @.o.pngrio @.o.pngwio @.o.pngmem \
|
1999-09-17 13:27:26 -04:00
|
|
|
@.o.pngpread @.o.pngset @.o.pngget @.o.pngread @.o.pngrtran \
|
2000-11-23 12:51:42 -05:00
|
|
|
@.o.pngrutil @.o.pngtrans @.o.pngwrite @.o.pngwtran @.o.pngwutil
|
1999-09-17 13:27:26 -04: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 12:51:42 -05:00
|
|
|
@.o.pngrutil @.o.pngtrans @.o.pngwrite @.o.pngwtran @.o.pngwutil
|
1997-01-17 02:34:35 -05:00
|
|
|
@.mm-libpng-lib: @.mm.png @.mm.pngerror @.mm.pngrio @.mm.pngwio @.mm.pngmem \
|
1999-09-17 13:27:26 -04:00
|
|
|
@.mm.pngpread @.mm.pngset @.mm.pngget @.mm.pngread @.mm.pngrtran \
|
2000-11-23 12:51:42 -05:00
|
|
|
@.mm.pngrutil @.mm.pngtrans @.mm.pngwrite @.mm.pngwtran @.mm.pngwutil
|
1999-09-17 13:27:26 -04: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 12:51:42 -05:00
|
|
|
@.mm.pngwtran @.mm.pngwutil
|
1996-06-05 16:50:50 -04:00
|
|
|
|
|
|
|
|
|
|
|
# User-editable dependencies:
|
1997-05-16 03:46:07 -04:00
|
|
|
# (C) Copyright 1997 Tom Tanner
|
2000-11-23 12:51:42 -05:00
|
|
|
Test: @.pngtest
|
1999-09-17 13:27:26 -04:00
|
|
|
<Prefix$Dir>.pngtest
|
|
|
|
@remove <Prefix$Dir>.pngtest
|
1997-01-17 02:34:35 -05:00
|
|
|
|
|
|
|
#It would be nice if you could stop "make" listing from here on!
|
2000-11-23 12:51:42 -05: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 02:34:35 -05:00
|
|
|
|
|
|
|
.SUFFIXES: .o .mm .c
|
|
|
|
|
|
|
|
.c.mm:
|
1999-09-17 13:27:26 -04:00
|
|
|
MemCheck.CC cc $(ccflags) -o $@ LibPng:$<
|
1996-06-05 16:50:50 -04:00
|
|
|
.c.o:
|
1999-09-17 13:27:26 -04:00
|
|
|
cc $(ccflags) -o $@ $<
|
1996-06-05 16:50:50 -04:00
|
|
|
|
2010-04-17 09:17:51 -04:00
|
|
|
# See scripts.mak.libpngconf for how to generate this:
|
|
|
|
@.h.libpngconf: @.scripts.h.libpngconf
|
|
|
|
copy @.scripts.h.libpngconf $@
|
1996-06-05 16:50:50 -04:00
|
|
|
|
|
|
|
# Static dependencies:
|
2010-04-17 09:17:51 -04:00
|
|
|
@.o.png @.o.pngerror @.o.pngrio @.o.pngwio @.o.pngmem \
|
|
|
|
@.o.pngpread @.o.pngset @.o.pngget @.o.pngread @.o.pngrtran \
|
|
|
|
@.o.pngrutil @.o.pngtrans @.o.pngwrite @.o.pngwtran @.o.pngwutil \
|
|
|
|
@.o.pngtest: @.h.libpngconf
|
1996-06-05 16:50:50 -04:00
|
|
|
|
2009-05-02 16:36:08 -04:00
|
|
|
|
1996-06-05 16:50:50 -04:00
|
|
|
# Dynamic dependencies:
|