]> git.saurik.com Git - wxWidgets.git/blob - src/png/makefile.bcc
no message
[wxWidgets.git] / src / png / makefile.bcc
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 #
8 IMPLIB = Implib
9 BCC = Bcc +BccW16.cfg
10 TLINK = TLink
11 TLIB = TLib
12 BRC = Brc
13 TASM = Tasm
14
15
16 #
17 # Options
18 #
19 IDE_LFLAGS = -LC:\BC4\LIB
20 IDE_RFLAGS = -IC:\BC4\INCLUDE;..\zlib;
21 LLATW16_winpngdlib = -Twe
22 RLATW16_winpngdlib = -31
23 BLATW16_winpngdlib =
24 LEAT_winpngdlib = $(LLATW16_winpngdlib)
25 REAT_winpngdlib = $(RLATW16_winpngdlib)
26 BEAT_winpngdlib = $(BLATW16_winpngdlib)
27 ZLIB=..\..\lib\zlib.lib
28 LOBJECTS = 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 #
34 Dep_winpng = \
35 ..\..\lib\winpng.lib
36
37 winpng : BccW16.cfg $(Dep_winpng)
38 echo MakeNode winpng
39
40 Dep_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
57 winpng.lib : $(Dep_winpngdlib) $(ZLIB)
58 copy /b $(ZLIB) winpng.lib
59 $(TLIB) $< $(IDE_BFLAGS) $(BEAT_winpngdlib) @&&|
60 +$(LOBJECTS:.obj =.obj +)
61 |
62
63 png.obj : png.c
64 $(BCC) -P- -c $(CEAT_winpngdlib) -o$@ png.c
65
66 pngrcb.obj : pngrcb.c
67 $(BCC) -P- -c $(CEAT_winpngdlib) -o$@ pngrcb.c
68
69 pngread.obj : pngread.c
70 $(BCC) -P- -c $(CEAT_winpngdlib) -o$@ pngread.c
71
72 pngrtran.obj : pngrtran.c
73 $(BCC) -P- -c $(CEAT_winpngdlib) -o$@ pngrtran.c
74
75 pngrutil.obj : pngrutil.c
76 $(BCC) -P- -c $(CEAT_winpngdlib) -o$@ pngrutil.c
77
78 pngstub.obj : pngstub.c
79 $(BCC) -P- -c $(CEAT_winpngdlib) -o$@ pngstub.c
80
81 pngtrans.obj : pngtrans.c
82 $(BCC) -P- -c $(CEAT_winpngdlib) -o$@ pngtrans.c
83
84 pngwrite.obj : pngwrite.c
85 $(BCC) -P- -c $(CEAT_winpngdlib) -o$@ pngwrite.c
86
87 pngwtran.obj : pngwtran.c
88 $(BCC) -P- -c $(CEAT_winpngdlib) -o$@ pngwtran.c
89
90 pngwutil.obj : pngwutil.c
91 $(BCC) -P- -c $(CEAT_winpngdlib) -o$@ pngwutil.c
92
93 # Compiler configuration file
94 BccW16.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