1
# Makefile for libpng (static)
2
# IBM C version 3.x for Win32 and OS/2
3
# Copyright (C) 2000 Cosmin Truta
4
# For conditions of distribution and use, see copyright notice in png.h
6
# Derived from makefile.std
7
# All modules are compiled in C mode
8
# Tested with IBM C 3.6.5 under Win32, expected to work under OS/2 too
9
# Can be easily adapted for IBM VisualAge/C++ for AIX
11
# Location of the zlib library and include files
15
# Compiler, linker, lib and other tools
21
CFLAGS = -I$(ZLIBINC) -O2 -W3
30
OBJS = png$(O) pngerror$(O) pngget$(O) pngmem$(O) pngpread$(O) \
31
pngread$(O) pngrio$(O) pngrtran$(O) pngrutil$(O) pngset$(O) \
32
pngtrans$(O) pngwio$(O) pngwrite$(O) pngwtran$(O) pngwutil$(O)
34
LIBS = libpng$(A) $(ZLIBLIB)/zlib$(A)
37
all: libpng$(A) pngtest$(E)
47
pngtest$(E): pngtest$(O) libpng$(A)
48
$(LD) $(LDFLAGS) pngtest$(O) $(LIBS)
56
png$(O): png.h pngconf.h
57
pngerror$(O): png.h pngconf.h
58
pngget$(O): png.h pngconf.h
59
pngmem$(O): png.h pngconf.h
60
pngpread$(O): png.h pngconf.h
61
pngread$(O): png.h pngconf.h
62
pngrio$(O): png.h pngconf.h
63
pngrtran$(O): png.h pngconf.h
64
pngrutil$(O): png.h pngconf.h
65
pngset$(O): png.h pngconf.h
66
pngtest$(O): png.h pngconf.h
67
pngtrans$(O): png.h pngconf.h
68
pngwio$(O): png.h pngconf.h
69
pngwrite$(O): png.h pngconf.h
70
pngwtran$(O): png.h pngconf.h
71
pngwutil$(O): png.h pngconf.h