aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.ibmc
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.ibmc')
-rw-r--r--libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.ibmc82
1 files changed, 82 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.ibmc b/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.ibmc
new file mode 100644
index 0000000..8c9440a
--- /dev/null
+++ b/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.ibmc
@@ -0,0 +1,82 @@
1# Makefile for libpng (static)
2# IBM C version 3.x for Win32 and OS/2
3# Copyright (C) 2006 Glenn Randers-Pehrson
4# Copyright (C) 2000 Cosmin Truta
5#
6# This code is released under the libpng license.
7# For conditions of distribution and use, see the disclaimer
8# and license in png.h
9#
10# Notes:
11# Derived from makefile.std
12# All modules are compiled in C mode
13# Tested under Win32, expected to work under OS/2
14# Can be easily adapted for IBM VisualAge/C++ for AIX
15
16# Location of the zlib library and include files
17ZLIBINC = ../zlib
18ZLIBLIB = ../zlib
19
20# Compiler, linker, lib and other tools
21CC = icc
22LD = ilink
23AR = ilib
24RM = del
25
26CFLAGS = -I$(ZLIBINC) -Mc -O2 -W3
27LDFLAGS =
28
29# File extensions
30O=.obj
31A=.lib
32E=.exe
33
34# Variables
35OBJS = png$(O) pngerror$(O) pngget$(O) pngmem$(O) pngpread$(O) \
36 pngread$(O) pngrio$(O) pngrtran$(O) pngrutil$(O) pngset$(O) \
37 pngtrans$(O) pngwio$(O) pngwrite$(O) pngwtran$(O) pngwutil$(O)
38
39LIBS = libpng$(A) $(ZLIBLIB)/zlib$(A)
40
41# Targets
42all: libpng$(A) pngtest$(E)
43
44# see scripts/pnglibconf.mak for more options
45pnglibconf.h: scripts/pnglibconf.h.prebuilt
46 cp scripts/pnglibconf.h.prebuilt $@
47
48libpng$(A): $(OBJS)
49 $(AR) -out:$@ $(OBJS)
50
51test: pngtest$(E)
52 pngtest$(E)
53
54pngtest: pngtest$(E)
55
56pngtest$(E): pngtest$(O) libpng$(A)
57 $(LD) $(LDFLAGS) pngtest$(O) $(LIBS)
58
59clean:
60 $(RM) *$(O)
61 $(RM) libpng$(A)
62 $(RM) pnglibconf.h
63 $(RM) pngtest$(E)
64 $(RM) pngout.png
65
66png$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
67pngerror$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
68pngget$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
69pngmem$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
70pngpread$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
71pngread$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
72pngrio$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
73pngrtran$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
74pngrutil$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
75pngset$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
76pngtrans$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
77pngwio$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
78pngwrite$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
79pngwtran$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
80pngwutil$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
81
82pngtest$(O): png.h pngconf.h pnglibconf.h