]>
Commit | Line | Data |
---|---|---|
1 | # ========================================================================= | |
2 | # This makefile was generated by | |
3 | # Bakefile 0.1.1.20030719 (http://bakefile.sourceforge.net) | |
4 | # Do not modify, all changes will be overwritten! | |
5 | # ========================================================================= | |
6 | ||
7 | !ifndef BCCDIR | |
8 | BCCDIR = $(MAKEDIR)\.. | |
9 | !endif | |
10 | ||
11 | !include ../../../build/config.bcc | |
12 | ||
13 | # ------------------------------------------------------------------------- | |
14 | # Do not modify the rest of this file! | |
15 | # ------------------------------------------------------------------------- | |
16 | ||
17 | !if "$(BCCDIR)" == "\.." | |
18 | !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4 | |
19 | !endif | |
20 | ||
21 | ### Variables: ### | |
22 | ||
23 | OBJS = \ | |
24 | bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
25 | OGLDLL_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGFLAG) \ | |
26 | $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ | |
27 | $(__UNICODE_DEFINE_p) -I..\..\src\ogl\..\..\..\include \ | |
28 | -I..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) \ | |
29 | -I..\..\src\ogl\..\..\..\src\tiff -I..\..\src\ogl\..\..\..\src\jpeg \ | |
30 | -I..\..\src\ogl\..\..\..\src\png -I..\..\src\ogl\..\..\..\src\zlib \ | |
31 | -I..\..\src\ogl\..\..\..\src\regex -I..\..\src\ogl\..\..\include \ | |
32 | -DWXUSINGDLL -DWXMAKINGDLL_OGL -DwxUSE_DEPRECATED=0 $(CXXFLAGS) -Hu \ | |
33 | -H=$(OBJS)\wxprec_ogldll.csm | |
34 | OGLLIB_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGFLAG) \ | |
35 | $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ | |
36 | $(__UNICODE_DEFINE_p) -I..\..\src\ogl\..\..\..\include \ | |
37 | -I..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) \ | |
38 | -I..\..\src\ogl\..\..\..\src\tiff -I..\..\src\ogl\..\..\..\src\jpeg \ | |
39 | -I..\..\src\ogl\..\..\..\src\png -I..\..\src\ogl\..\..\..\src\zlib \ | |
40 | -I..\..\src\ogl\..\..\..\src\regex -I..\..\src\ogl\..\..\include \ | |
41 | $(CXXFLAGS) -Hu -H=$(OBJS)\wxprec_ogllib.csm | |
42 | ||
43 | ### Conditionally set variables: ### | |
44 | ||
45 | !if "$(USE_GUI)" == "0" | |
46 | PORTNAME = base | |
47 | !endif | |
48 | !if "$(USE_GUI)" == "1" | |
49 | PORTNAME = msw | |
50 | !endif | |
51 | !if "$(OFFICIAL_BUILD)" == "0" | |
52 | VENDORTAG = _$(VENDOR) | |
53 | !endif | |
54 | !if "$(OFFICIAL_BUILD)" == "1" | |
55 | VENDORTAG = | |
56 | !endif | |
57 | !if "$(BUILD)" == "debug" | |
58 | WXDEBUGFLAG = d | |
59 | !endif | |
60 | !if "$(SHARED)" == "1" | |
61 | WXDLLFLAG = dll | |
62 | !endif | |
63 | !if "$(UNICODE)" == "1" | |
64 | WXUNICODEFLAG = u | |
65 | !endif | |
66 | !if "$(WXUNIV)" == "1" | |
67 | WXUNIVNAME = univ | |
68 | !endif | |
69 | !if "$(BUILD)" == "debug" | |
70 | __DEBUGFLAG = -v | |
71 | !endif | |
72 | !if "$(BUILD)" == "release" | |
73 | __DEBUGFLAG = -v- | |
74 | !endif | |
75 | !if "$(BUILD)" == "debug" | |
76 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
77 | !endif | |
78 | !if "$(BUILD)" == "debug" | |
79 | __OPTIMIZEFLAG = -Od | |
80 | !endif | |
81 | !if "$(BUILD)" == "release" | |
82 | __OPTIMIZEFLAG = -O2 | |
83 | !endif | |
84 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
85 | __RUNTIME_LIBS = -tWR | |
86 | !endif | |
87 | !if "$(RUNTIME_LIBS)" == "static" | |
88 | __RUNTIME_LIBS = | |
89 | !endif | |
90 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
91 | __RUNTIME_LIBS_7 = i | |
92 | !endif | |
93 | !if "$(RUNTIME_LIBS)" == "static" | |
94 | __RUNTIME_LIBS_7 = | |
95 | !endif | |
96 | !if "$(UNICODE)" == "1" | |
97 | __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1 | |
98 | !endif | |
99 | !if "$(MONOLITHIC)" == "0" | |
100 | __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
101 | !endif | |
102 | !if "$(MONOLITHIC)" == "0" | |
103 | __WXLIB_CORE_p = \ | |
104 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib | |
105 | !endif | |
106 | !if "$(MONOLITHIC)" == "1" | |
107 | __WXLIB_MONO_p = \ | |
108 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
109 | !endif | |
110 | !if "$(WXUNIV)" == "1" | |
111 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
112 | !endif | |
113 | !if "$(SHARED)" == "1" | |
114 | __ogldll___depname = \ | |
115 | ..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_bcc$(VENDORTAG).dll | |
116 | !endif | |
117 | !if "$(SHARED)" == "0" | |
118 | __ogllib___depname = \ | |
119 | ..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib | |
120 | !endif | |
121 | ||
122 | ||
123 | all: $(OBJS) | |
124 | $(OBJS): | |
125 | -if not exist $(OBJS) mkdir $(OBJS) | |
126 | ||
127 | ### Targets: ### | |
128 | ||
129 | all: $(__ogldll___depname) $(__ogllib___depname) | |
130 | ||
131 | $(OBJS)\ogldll_basic.obj: ../../src/ogl\basic.cpp | |
132 | $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $** | |
133 | ||
134 | $(OBJS)\ogldll_basic2.obj: ../../src/ogl\basic2.cpp | |
135 | $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $** | |
136 | ||
137 | $(OBJS)\ogldll_bmpshape.obj: ../../src/ogl\bmpshape.cpp | |
138 | $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $** | |
139 | ||
140 | $(OBJS)\ogldll_canvas.obj: ../../src/ogl\canvas.cpp | |
141 | $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $** | |
142 | ||
143 | $(OBJS)\ogldll_composit.obj: ../../src/ogl\composit.cpp | |
144 | $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $** | |
145 | ||
146 | $(OBJS)\ogldll_constrnt.obj: ../../src/ogl\constrnt.cpp | |
147 | $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $** | |
148 | ||
149 | $(OBJS)\ogldll_divided.obj: ../../src/ogl\divided.cpp | |
150 | $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $** | |
151 | ||
152 | $(OBJS)\ogldll_drawn.obj: ../../src/ogl\drawn.cpp | |
153 | $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $** | |
154 | ||
155 | $(OBJS)\ogldll_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp | |
156 | $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) -H $** | |
157 | ||
158 | $(OBJS)\ogldll_lines.obj: ../../src/ogl\lines.cpp | |
159 | $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $** | |
160 | ||
161 | $(OBJS)\ogldll_mfutils.obj: ../../src/ogl\mfutils.cpp | |
162 | $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $** | |
163 | ||
164 | $(OBJS)\ogldll_ogldiag.obj: ../../src/ogl\ogldiag.cpp | |
165 | $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $** | |
166 | ||
167 | $(OBJS)\ogldll_oglmisc.obj: ../../src/ogl\oglmisc.cpp | |
168 | $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $** | |
169 | ||
170 | $(OBJS)\ogllib_basic.obj: ../../src/ogl\basic.cpp | |
171 | $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $** | |
172 | ||
173 | $(OBJS)\ogllib_basic2.obj: ../../src/ogl\basic2.cpp | |
174 | $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $** | |
175 | ||
176 | $(OBJS)\ogllib_bmpshape.obj: ../../src/ogl\bmpshape.cpp | |
177 | $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $** | |
178 | ||
179 | $(OBJS)\ogllib_canvas.obj: ../../src/ogl\canvas.cpp | |
180 | $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $** | |
181 | ||
182 | $(OBJS)\ogllib_composit.obj: ../../src/ogl\composit.cpp | |
183 | $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $** | |
184 | ||
185 | $(OBJS)\ogllib_constrnt.obj: ../../src/ogl\constrnt.cpp | |
186 | $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $** | |
187 | ||
188 | $(OBJS)\ogllib_divided.obj: ../../src/ogl\divided.cpp | |
189 | $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $** | |
190 | ||
191 | $(OBJS)\ogllib_drawn.obj: ../../src/ogl\drawn.cpp | |
192 | $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $** | |
193 | ||
194 | $(OBJS)\ogllib_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp | |
195 | $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) -H $** | |
196 | ||
197 | $(OBJS)\ogllib_lines.obj: ../../src/ogl\lines.cpp | |
198 | $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $** | |
199 | ||
200 | $(OBJS)\ogllib_mfutils.obj: ../../src/ogl\mfutils.cpp | |
201 | $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $** | |
202 | ||
203 | $(OBJS)\ogllib_ogldiag.obj: ../../src/ogl\ogldiag.cpp | |
204 | $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $** | |
205 | ||
206 | $(OBJS)\ogllib_oglmisc.obj: ../../src/ogl\oglmisc.cpp | |
207 | $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $** | |
208 | ||
209 | clean: | |
210 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
211 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
212 | -if exist ..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_bcc$(VENDORTAG).dll del ..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_bcc$(VENDORTAG).dll | |
213 | -if exist ..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib del ..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib | |
214 | -if exist ..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib del ..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib | |
215 | ||
216 | !if "$(SHARED)" == "1" | |
217 | ..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_bcc$(VENDORTAG).dll: $(OBJS)\ogldll_dummy.obj $(OBJS)\ogldll_dummy.obj $(OBJS)\ogldll_basic2.obj $(OBJS)\ogldll_canvas.obj $(OBJS)\ogldll_divided.obj $(OBJS)\ogldll_mfutils.obj $(OBJS)\ogldll_oglmisc.obj $(OBJS)\ogldll_basic.obj $(OBJS)\ogldll_composit.obj $(OBJS)\ogldll_drawn.obj $(OBJS)\ogldll_bmpshape.obj $(OBJS)\ogldll_constrnt.obj $(OBJS)\ogldll_lines.obj $(OBJS)\ogldll_ogldiag.obj | |
218 | ilink32 -Tpd -q $(LDFLAGS) $(__DEBUGFLAG) -L..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) @&&| | |
219 | c0d32.obj $(OBJS)\ogldll_dummy.obj $(OBJS)\ogldll_basic2.obj $(OBJS)\ogldll_canvas.obj $(OBJS)\ogldll_divided.obj $(OBJS)\ogldll_mfutils.obj $(OBJS)\ogldll_oglmisc.obj $(OBJS)\ogldll_basic.obj $(OBJS)\ogldll_composit.obj $(OBJS)\ogldll_drawn.obj $(OBJS)\ogldll_bmpshape.obj $(OBJS)\ogldll_constrnt.obj $(OBJS)\ogldll_lines.obj $(OBJS)\ogldll_ogldiag.obj,$@,, $(__WXLIB_MONO_p) wxtiff$(WXDEBUGFLAG).lib wxjpeg$(WXDEBUGFLAG).lib wxpng$(WXDEBUGFLAG).lib wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib import32.lib ole2w32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) cw32mt$(__RUNTIME_LIBS_7).lib,, | |
220 | | | |
221 | implib -f ..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl $@ | |
222 | !endif | |
223 | ||
224 | !if "$(SHARED)" == "0" | |
225 | ..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib: $(OBJS)\ogllib_dummy.obj $(OBJS)\ogllib_dummy.obj $(OBJS)\ogllib_basic2.obj $(OBJS)\ogllib_canvas.obj $(OBJS)\ogllib_divided.obj $(OBJS)\ogllib_mfutils.obj $(OBJS)\ogllib_oglmisc.obj $(OBJS)\ogllib_basic.obj $(OBJS)\ogllib_composit.obj $(OBJS)\ogllib_drawn.obj $(OBJS)\ogllib_bmpshape.obj $(OBJS)\ogllib_constrnt.obj $(OBJS)\ogllib_lines.obj $(OBJS)\ogllib_ogldiag.obj | |
226 | if exist $@ del $@ | |
227 | tlib /a /p2048 $@ @&&| | |
228 | $(OBJS)\ogllib_dummy.obj $(OBJS)\ogllib_basic2.obj $(OBJS)\ogllib_canvas.obj $(OBJS)\ogllib_divided.obj $(OBJS)\ogllib_mfutils.obj $(OBJS)\ogllib_oglmisc.obj $(OBJS)\ogllib_basic.obj $(OBJS)\ogllib_composit.obj $(OBJS)\ogllib_drawn.obj $(OBJS)\ogllib_bmpshape.obj $(OBJS)\ogllib_constrnt.obj $(OBJS)\ogllib_lines.obj $(OBJS)\ogllib_ogldiag.obj | |
229 | | | |
230 | !endif |