aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.bc32
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.bc32302
1 files changed, 151 insertions, 151 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.bc32 b/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.bc32
index 48311e9..ebbd5ce 100644
--- a/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.bc32
+++ b/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.bc32
@@ -1,151 +1,151 @@
1# Makefile for libpng 1# Makefile for libpng
2# 32-bit Borland C++ (Note: All modules are compiled in C mode) 2# 32-bit Borland C++ (Note: All modules are compiled in C mode)
3# To build the library, do: 3# To build the library, do:
4# "make -fmakefile.bc32" 4# "make -fmakefile.bc32"
5# 5#
6# -------------------- 32-bit Borland C++ -------------------- 6# -------------------- 32-bit Borland C++ --------------------
7 7
8### Absolutely necessary for this makefile to work 8### Absolutely necessary for this makefile to work
9.AUTODEPEND 9.AUTODEPEND
10 10
11## Where zlib.h, zconf.h and zlib.lib are 11## Where zlib.h, zconf.h and zlib.lib are
12ZLIB_DIR=..\zlib 12ZLIB_DIR=..\zlib
13 13
14## Compiler, linker and lib stuff 14## Compiler, linker and lib stuff
15CC=bcc32 15CC=bcc32
16LD=bcc32 16LD=bcc32
17LIB=tlib 17LIB=tlib
18 18
19# -3 = 386, -4 = 486, -5 = Pentium etc. 19# -3 = 386, -4 = 486, -5 = Pentium etc.
20!ifndef TARGET_CPU 20!ifndef TARGET_CPU
21#TARGET_CPU=-6 21#TARGET_CPU=-6
22!endif 22!endif
23 23
24# Use this if you don't want Borland's fancy exception handling 24# Use this if you don't want Borland's fancy exception handling
25# (Caution: doesn't work with CBuilderX) 25# (Caution: doesn't work with CBuilderX)
26#NOEHLIB=noeh32.lib 26#NOEHLIB=noeh32.lib
27 27
28!ifdef DEBUG 28!ifdef DEBUG
29CDEBUG=-v 29CDEBUG=-v
30LDEBUG=-v 30LDEBUG=-v
31!else 31!else
32CDEBUG= 32CDEBUG=
33LDEBUG= 33LDEBUG=
34!endif 34!endif
35 35
36# STACKOFLOW=1 36# STACKOFLOW=1
37!ifdef STACKOFLOW 37!ifdef STACKOFLOW
38CDEBUG=$(CDEBUG) -N 38CDEBUG=$(CDEBUG) -N
39LDEBUG=$(LDEBUG) -N 39LDEBUG=$(LDEBUG) -N
40!endif 40!endif
41 41
42# -O2 optimize for speed 42# -O2 optimize for speed
43# -d merge duplicate strings 43# -d merge duplicate strings
44# -k- turn off standard stack frame 44# -k- turn off standard stack frame
45# -w display all warnings 45# -w display all warnings
46CFLAGS=-I$(ZLIB_DIR) -O2 -d -k- -w $(TARGET_CPU) $(CDEBUG) 46CFLAGS=-I$(ZLIB_DIR) -O2 -d -k- -w $(TARGET_CPU) $(CDEBUG)
47 47
48# -M generate map file 48# -M generate map file
49LDFLAGS=-L$(ZLIB_DIR) -M $(LDEBUG) 49LDFLAGS=-L$(ZLIB_DIR) -M $(LDEBUG)
50 50
51## Variables 51## Variables
52OBJS = \ 52OBJS = \
53 png.obj \ 53 png.obj \
54 pngerror.obj \ 54 pngerror.obj \
55 pngget.obj \ 55 pngget.obj \
56 pngmem.obj \ 56 pngmem.obj \
57 pngpread.obj \ 57 pngpread.obj \
58 pngread.obj \ 58 pngread.obj \
59 pngrio.obj \ 59 pngrio.obj \
60 pngrtran.obj \ 60 pngrtran.obj \
61 pngrutil.obj \ 61 pngrutil.obj \
62 pngset.obj \ 62 pngset.obj \
63 pngtrans.obj \ 63 pngtrans.obj \
64 pngwio.obj \ 64 pngwio.obj \
65 pngwrite.obj \ 65 pngwrite.obj \
66 pngwtran.obj \ 66 pngwtran.obj \
67 pngwutil.obj 67 pngwutil.obj
68 68
69LIBOBJS = \ 69LIBOBJS = \
70 +png.obj \ 70 +png.obj \
71 +pngerror.obj \ 71 +pngerror.obj \
72 +pngget.obj \ 72 +pngget.obj \
73 +pngmem.obj \ 73 +pngmem.obj \
74 +pngpread.obj \ 74 +pngpread.obj \
75 +pngread.obj \ 75 +pngread.obj \
76 +pngrio.obj \ 76 +pngrio.obj \
77 +pngrtran.obj \ 77 +pngrtran.obj \
78 +pngrutil.obj \ 78 +pngrutil.obj \
79 +pngset.obj \ 79 +pngset.obj \
80 +pngtrans.obj \ 80 +pngtrans.obj \
81 +pngwio.obj \ 81 +pngwio.obj \
82 +pngwrite.obj \ 82 +pngwrite.obj \
83 +pngwtran.obj \ 83 +pngwtran.obj \
84 +pngwutil.obj 84 +pngwutil.obj
85 85
86LIBNAME=libpng.lib 86LIBNAME=libpng.lib
87 87
88## Implicit rules 88## Implicit rules
89# Braces let make "batch" calls to the compiler, 89# Braces let make "batch" calls to the compiler,
90# 2 calls instead of 12; space is important. 90# 2 calls instead of 12; space is important.
91.c.obj: 91.c.obj:
92 $(CC) $(CFLAGS) -c {$*.c } 92 $(CC) $(CFLAGS) -c {$*.c }
93 93
94.c.exe: 94.c.exe:
95 $(CC) $(CFLAGS) $(LDFLAGS) $*.c $(LIBNAME) zlib.lib $(NOEHLIB) 95 $(CC) $(CFLAGS) $(LDFLAGS) $*.c $(LIBNAME) zlib.lib $(NOEHLIB)
96 96
97.obj.exe: 97.obj.exe:
98 $(LD) $(LDFLAGS) $*.obj $(LIBNAME) zlib.lib $(NOEHLIB) 98 $(LD) $(LDFLAGS) $*.obj $(LIBNAME) zlib.lib $(NOEHLIB)
99 99
100## Major targets 100## Major targets
101all: libpng pngtest 101all: libpng pngtest
102 102
103libpng: $(LIBNAME) 103libpng: $(LIBNAME)
104 104
105pngtest: pngtest.exe 105pngtest: pngtest.exe
106 106
107test: pngtest.exe 107test: pngtest.exe
108 pngtest 108 pngtest
109 109
110## Minor Targets 110## Minor Targets
111 111
112# see scripts\pnglibconf.mak for how to make this file 112# see scripts\pnglibconf.mak for how to make this file
113# with different options 113# with different options
114pnglibconf.h: scripts\pnglibconf.h.prebuilt 114pnglibconf.h: scripts\pnglibconf.h.prebuilt
115 copy scripts\pnglibconf.h.prebuilt $@ 115 copy scripts\pnglibconf.h.prebuilt $@
116 116
117png.obj: png.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 117png.obj: png.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
118pngerror.obj: pngerror.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 118pngerror.obj: pngerror.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
119pngget.obj: pngget.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 119pngget.obj: pngget.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
120pngmem.obj: pngmem.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 120pngmem.obj: pngmem.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
121pngpread.obj: pngpread.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 121pngpread.obj: pngpread.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
122pngread.obj: pngread.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 122pngread.obj: pngread.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
123pngrio.obj: pngrio.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 123pngrio.obj: pngrio.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
124pngrtran.obj: pngrtran.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 124pngrtran.obj: pngrtran.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
125pngrutil.obj: pngrutil.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 125pngrutil.obj: pngrutil.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
126pngset.obj: pngset.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 126pngset.obj: pngset.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
127pngtrans.obj: pngtrans.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 127pngtrans.obj: pngtrans.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
128pngwio.obj: pngwio.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 128pngwio.obj: pngwio.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
129pngwrite.obj: pngwrite.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 129pngwrite.obj: pngwrite.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
130pngwtran.obj: pngwtran.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 130pngwtran.obj: pngwtran.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
131pngwutil.obj: pngwutil.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 131pngwutil.obj: pngwutil.c png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
132pngtest.obj: pngtest.c png.h pngconf.h pnglibconf.h 132pngtest.obj: pngtest.c png.h pngconf.h pnglibconf.h
133 133
134$(LIBNAME): $(OBJS) 134$(LIBNAME): $(OBJS)
135 -del $(LIBNAME) 135 -del $(LIBNAME)
136 $(LIB) $(LIBNAME) @&&| 136 $(LIB) $(LIBNAME) @&&|
137$(LIBOBJS), libpng 137$(LIBOBJS), libpng
138| 138|
139 139
140# Cleanup 140# Cleanup
141clean: 141clean:
142 -del pnglibconf.h 142 -del pnglibconf.h
143 -del *.obj 143 -del *.obj
144 -del $(LIBNAME) 144 -del $(LIBNAME)
145 -del pngtest.exe 145 -del pngtest.exe
146 -del *.lst 146 -del *.lst
147 -del *.map 147 -del *.map
148 -del *.tds 148 -del *.tds
149 -del pngout.png 149 -del pngout.png
150 150
151# End of makefile for libpng 151# End of makefile for libpng