]> git.saurik.com Git - wxWidgets.git/blame - src/png/makefile.bcc
Daniel Gehriger <dgehrige@dmtsun.epfl.ch> patch for default extension filter
[wxWidgets.git] / src / png / makefile.bcc
CommitLineData
c801d85f
KB
1# This file is special for Widows because setjmp
2# is incompatible with the DOS version.
3# Alejandro Aguilar, 1995
4
5#
6# Borland C++ tools
7#
8IMPLIB = Implib
9BCC = Bcc +BccW16.cfg
10TLINK = TLink
11TLIB = TLib
12BRC = Brc
13TASM = Tasm
14
15
16#
17# Options
18#
19IDE_LFLAGS = -LC:\BC4\LIB
20IDE_RFLAGS = -IC:\BC4\INCLUDE;..\zlib;
21LLATW16_winpngdlib = -Twe
22RLATW16_winpngdlib = -31
23BLATW16_winpngdlib =
24LEAT_winpngdlib = $(LLATW16_winpngdlib)
25REAT_winpngdlib = $(RLATW16_winpngdlib)
26BEAT_winpngdlib = $(BLATW16_winpngdlib)
58c55d1f 27ZLIB=..\..\lib\zlib.lib
c801d85f
KB
28LOBJECTS = png.obj pngrcb.obj pngread.obj pngrtran.obj pngrutil.obj pngstub.obj\
29 pngtrans.obj pngwrite.obj pngwtran.obj pngwutil.obj
30
31#
32# Dependency List
33#
34Dep_winpng = \
58c55d1f 35 ..\..\lib\winpng.lib
c801d85f
KB
36
37winpng : BccW16.cfg $(Dep_winpng)
38 echo MakeNode winpng
39
40Dep_winpngdlib = \
41 png.obj\
42 pngrcb.obj\
43 pngread.obj\
44 pngrtran.obj\
45 pngrutil.obj\
46 pngstub.obj\
47 pngtrans.obj\
48 pngwrite.obj\
49 pngwtran.obj\
50 pngwutil.obj
51
52$(ZLIB):
53 cd ..\zlib
54 make -fmakefile.bcc
55 cd ..\png
56
57winpng.lib : $(Dep_winpngdlib) $(ZLIB)
58 copy /b $(ZLIB) winpng.lib
59 $(TLIB) $< $(IDE_BFLAGS) $(BEAT_winpngdlib) @&&|
60+$(LOBJECTS:.obj =.obj +)
61|
62
63png.obj : png.c
64 $(BCC) -P- -c $(CEAT_winpngdlib) -o$@ png.c
65
66pngrcb.obj : pngrcb.c
67 $(BCC) -P- -c $(CEAT_winpngdlib) -o$@ pngrcb.c
68
69pngread.obj : pngread.c
70 $(BCC) -P- -c $(CEAT_winpngdlib) -o$@ pngread.c
71
72pngrtran.obj : pngrtran.c
73 $(BCC) -P- -c $(CEAT_winpngdlib) -o$@ pngrtran.c
74
75pngrutil.obj : pngrutil.c
76 $(BCC) -P- -c $(CEAT_winpngdlib) -o$@ pngrutil.c
77
78pngstub.obj : pngstub.c
79 $(BCC) -P- -c $(CEAT_winpngdlib) -o$@ pngstub.c
80
81pngtrans.obj : pngtrans.c
82 $(BCC) -P- -c $(CEAT_winpngdlib) -o$@ pngtrans.c
83
84pngwrite.obj : pngwrite.c
85 $(BCC) -P- -c $(CEAT_winpngdlib) -o$@ pngwrite.c
86
87pngwtran.obj : pngwtran.c
88 $(BCC) -P- -c $(CEAT_winpngdlib) -o$@ pngwtran.c
89
90pngwutil.obj : pngwutil.c
91 $(BCC) -P- -c $(CEAT_winpngdlib) -o$@ pngwutil.c
92
93# Compiler configuration file
94BccW16.cfg :
95 Copy &&|
96-v
97-vi
98-X-
99-H
100-IC:\BC4\INCLUDE
101-H=winpng.csm
102-ml
103-WS
104-3
105-Ff
106| $@
107