fukasawa e60969
# Project:   libpng
fukasawa e60969
fukasawa e60969
fukasawa e60969
# Toolflags:
fukasawa e60969
CCflags = -c -depend !Depend -IC:,Zlib: -g -throwback  -DRISCOS  -fnah
fukasawa e60969
C++flags = -c -depend !Depend -IC: -throwback
fukasawa e60969
Linkflags = -aif -c++ -o $@
fukasawa e60969
ObjAsmflags = -throwback -NoCache -depend !Depend
fukasawa e60969
CMHGflags =
fukasawa e60969
LibFileflags = -c -l -o $@
fukasawa e60969
Squeezeflags = -o $@
fukasawa e60969
fukasawa e60969
# Final targets:
fukasawa e60969
@.libpng-lib:   @.o.png @.o.pngerror @.o.pngrio @.o.pngwio @.o.pngmem \
fukasawa e60969
	@.o.pngpread @.o.pngset @.o.pngget @.o.pngread @.o.pngrtran \
fukasawa e60969
	@.o.pngrutil @.o.pngtrans @.o.pngwrite @.o.pngwtran @.o.pngwutil
fukasawa e60969
	LibFile $(LibFileflags) @.o.png @.o.pngerror @.o.pngrio @.o.pngrtran \
fukasawa e60969
	@.o.pngmem @.o.pngpread @.o.pngset @.o.pngget @.o.pngread @.o.pngwio \
fukasawa e60969
	@.o.pngrutil @.o.pngtrans  @.o.pngwrite @.o.pngwtran @.o.pngwutil
fukasawa e60969
@.mm-libpng-lib:   @.mm.png @.mm.pngerror @.mm.pngrio @.mm.pngwio @.mm.pngmem \
fukasawa e60969
	@.mm.pngpread @.mm.pngset @.mm.pngget @.mm.pngread @.mm.pngrtran \
fukasawa e60969
	@.mm.pngrutil @.mm.pngtrans @.mm.pngwrite @.mm.pngwtran @.mm.pngwutil
fukasawa e60969
	LibFile $(LibFileflags) @.mm.png @.mm.pngerror @.mm.pngrio \
fukasawa e60969
	@.mm.pngwio @.mm.pngmem @.mm.pngpread @.mm.pngset @.mm.pngget \
fukasawa e60969
	@.mm.pngread @.mm.pngrtran @.mm.pngrutil @.mm.pngtrans @.mm.pngwrite \
fukasawa e60969
	@.mm.pngwtran @.mm.pngwutil
fukasawa e60969
fukasawa e60969
fukasawa e60969
# User-editable dependencies:
fukasawa e60969
# (C) Copyright 1997 Tom Tanner
fukasawa e60969
Test: @.pngtest
fukasawa e60969
	<prefix$dir>.pngtest</prefix$dir>
fukasawa e60969
	@remove <prefix$dir>.pngtest</prefix$dir>
fukasawa e60969
fukasawa e60969
#It would be nice if you could stop "make" listing from here on!
fukasawa e60969
@.pngtest:   @.o.pngtest @.libpng-lib C:o.Stubs Zlib:zlib_lib
fukasawa e60969
	Link $(Linkflags) @.o.pngtest @.libpng-lib C:o.Stubs Zlib:zlib_lib
fukasawa e60969
fukasawa e60969
.SUFFIXES: .o .mm .c
fukasawa e60969
fukasawa e60969
.c.mm:
fukasawa e60969
	MemCheck.CC cc $(ccflags) -o $@ LibPng:$<
fukasawa e60969
.c.o:
fukasawa e60969
	cc $(ccflags) -o $@ $<
fukasawa e60969
fukasawa e60969
# See scripts.mak.libpngconf for how to generate this:
fukasawa e60969
@.h.libpngconf: @.scripts.h.libpngconf
fukasawa e60969
	copy @.scripts.h.libpngconf $@
fukasawa e60969
fukasawa e60969
# Static dependencies:
fukasawa e60969
@.o.png @.o.pngerror @.o.pngrio @.o.pngwio @.o.pngmem \
fukasawa e60969
@.o.pngpread @.o.pngset @.o.pngget @.o.pngread @.o.pngrtran \
fukasawa e60969
@.o.pngrutil @.o.pngtrans @.o.pngwrite @.o.pngwtran @.o.pngwutil \
fukasawa e60969
@.o.pngtest: @.h.libpngconf
fukasawa e60969
fukasawa e60969
fukasawa e60969
# Dynamic dependencies: