]>
Commit | Line | Data |
---|---|---|
8c3288a7 CE |
1 | |
2 | ||
3 | ||
4 | ||
5 | # This file was automatically generated by tmake | |
6 | # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE B32.T! | |
7 | ||
8 | # | |
9 | # File: makebase.b32 | |
10 | # Author: Julian Smart | |
11 | # Created: 1998 | |
12 | # Updated: Michael Fielding, 2002 | |
13 | # Copyright: | |
14 | # | |
15 | # "%W% %G%" | |
16 | # | |
17 | # Makefile : Builds wxWindows library wxbase.lib for MS Windows, | |
18 | # and Borland C++ (32-bit). | |
19 | ||
20 | # BCCDIR now defined in ../makeb32.env | |
21 | ||
22 | !if "$(WXWIN)" == "" | |
23 | !error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx | |
24 | !endif | |
25 | ||
26 | WXDIR = $(WXWIN) | |
27 | THISDIR = $(WXDIR)\src\msw | |
28 | ||
29 | # Set all these to 1 if you want to build a dynamic library | |
30 | !if "$(DLL)" == "1" | |
31 | WXMAKINGDLL=1 | |
32 | WXBUILDDLL=1 | |
33 | !endif | |
34 | ||
35 | wxUSE_GUI=0 | |
36 | ||
37 | !include $(WXDIR)\src\makeb32.env | |
38 | ||
39 | PERIPH_LIBS= | |
40 | PERIPH_TARGET=zlib png jpeg tiff regex $(PERIPH_TARGET) | |
41 | PERIPH_CLEAN_TARGET=clean_zlib clean_png clean_jpeg clean_tiff clean_regex $(PERIPH_CLEAN_TARGET) | |
42 | ||
43 | !if "$(DLL)" == "0" | |
44 | DUMMY=dummy | |
45 | !else | |
46 | DUMMY=dummydll | |
47 | LIBS= cw32mti import32 ole2w32 odbc32 zlib winpng jpeg tiff regex | |
48 | !endif | |
49 | ||
50 | LIBTARGET=$(WXLIB) | |
51 | ||
52 | GENDIR=..\generic | |
53 | COMMDIR=..\common | |
54 | HTMLDIR=..\html | |
55 | OLEDIR=.\ole | |
56 | MSWDIR=. | |
57 | ||
58 | DOCDIR = $(WXDIR)\docs | |
59 | ||
60 | COMMONOBJS = \ | |
61 | $(MSWDIR)\y_tab.obj \ | |
62 | $(MSWDIR)\appcmn.obj \ | |
63 | $(MSWDIR)\clntdata.obj \ | |
64 | $(MSWDIR)\cmdline.obj \ | |
65 | $(MSWDIR)\config.obj \ | |
66 | $(MSWDIR)\datetime.obj \ | |
67 | $(MSWDIR)\datstrm.obj \ | |
68 | $(MSWDIR)\db.obj \ | |
69 | $(MSWDIR)\dbtable.obj \ | |
70 | $(MSWDIR)\dircmn.obj \ | |
71 | $(MSWDIR)\dynarray.obj \ | |
72 | $(MSWDIR)\dynlib.obj \ | |
73 | $(MSWDIR)\dynload.obj \ | |
74 | $(MSWDIR)\encconv.obj \ | |
75 | $(MSWDIR)\event.obj \ | |
76 | $(MSWDIR)\extended.obj \ | |
77 | $(MSWDIR)\ffile.obj \ | |
78 | $(MSWDIR)\file.obj \ | |
79 | $(MSWDIR)\fileconf.obj \ | |
80 | $(MSWDIR)\filefn.obj \ | |
81 | $(MSWDIR)\filename.obj \ | |
82 | $(MSWDIR)\filesys.obj \ | |
83 | $(MSWDIR)\fontmap.obj \ | |
84 | $(MSWDIR)\fs_inet.obj \ | |
85 | $(MSWDIR)\fs_mem.obj \ | |
86 | $(MSWDIR)\fs_zip.obj \ | |
87 | $(MSWDIR)\ftp.obj \ | |
88 | $(MSWDIR)\hash.obj \ | |
89 | $(MSWDIR)\hashmap.obj \ | |
90 | $(MSWDIR)\http.obj \ | |
91 | $(MSWDIR)\intl.obj \ | |
92 | $(MSWDIR)\ipcbase.obj \ | |
93 | $(MSWDIR)\list.obj \ | |
94 | $(MSWDIR)\log.obj \ | |
95 | $(MSWDIR)\longlong.obj \ | |
96 | $(MSWDIR)\memory.obj \ | |
97 | $(MSWDIR)\mimecmn.obj \ | |
98 | $(MSWDIR)\module.obj \ | |
99 | $(MSWDIR)\msgout.obj \ | |
100 | $(MSWDIR)\mstream.obj \ | |
101 | $(MSWDIR)\object.obj \ | |
102 | $(MSWDIR)\process.obj \ | |
103 | $(MSWDIR)\protocol.obj \ | |
104 | $(MSWDIR)\regex.obj \ | |
105 | $(MSWDIR)\sckaddr.obj \ | |
106 | $(MSWDIR)\sckfile.obj \ | |
107 | $(MSWDIR)\sckipc.obj \ | |
108 | $(MSWDIR)\sckstrm.obj \ | |
109 | $(MSWDIR)\socket.obj \ | |
110 | $(MSWDIR)\strconv.obj \ | |
111 | $(MSWDIR)\stream.obj \ | |
112 | $(MSWDIR)\string.obj \ | |
113 | $(MSWDIR)\sysopt.obj \ | |
114 | $(MSWDIR)\textbuf.obj \ | |
115 | $(MSWDIR)\textfile.obj \ | |
116 | $(MSWDIR)\timercmn.obj \ | |
117 | $(MSWDIR)\tokenzr.obj \ | |
118 | $(MSWDIR)\txtstrm.obj \ | |
119 | $(MSWDIR)\unzip.obj \ | |
120 | $(MSWDIR)\url.obj \ | |
121 | $(MSWDIR)\utilscmn.obj \ | |
122 | $(MSWDIR)\variant.obj \ | |
123 | $(MSWDIR)\wfstream.obj \ | |
124 | $(MSWDIR)\wxchar.obj \ | |
125 | $(MSWDIR)\zipstrm.obj \ | |
126 | $(MSWDIR)\zstream.obj \ | |
127 | $(MSWDIR)\init.obj | |
128 | ||
129 | MSWOBJS = $(MSWDIR)\dde.obj \ | |
130 | $(MSWDIR)\dir.obj \ | |
131 | $(MSWDIR)\gsocket.obj \ | |
132 | $(MSWDIR)\gsockmsw.obj \ | |
133 | $(MSWDIR)\main.obj \ | |
134 | $(MSWDIR)\mimetype.obj \ | |
135 | $(MSWDIR)\regconf.obj \ | |
136 | $(MSWDIR)\registry.obj \ | |
137 | $(MSWDIR)\snglinst.obj \ | |
138 | $(MSWDIR)\thread.obj \ | |
139 | $(MSWDIR)\utils.obj \ | |
140 | $(MSWDIR)\utilsexc.obj \ | |
141 | $(MSWDIR)\volume.obj | |
142 | ||
143 | OBJECTS = $(COMMONOBJS) $(MSWOBJS) | |
144 | ||
145 | default: wx | |
146 | ||
147 | wx: $(ARCHINCDIR)\wx makesetuph makearchsetuph $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET) | |
148 | ||
149 | all: wx | |
150 | ||
151 | # Copy the in-CVS setup0.h to setup.h if necessary | |
152 | makesetuph: | |
153 | cd $(WXDIR)\include\wx\msw | |
154 | if not exist setup.h copy setup0.h setup.h | |
155 | cd $(WXDIR)\src\msw | |
156 | ||
157 | # Copy include\wx\msw\setup.h to the architecture-specific location | |
158 | makearchsetuph: | |
159 | copy $(WXDIR)\include\wx\msw\setup.h $(ARCHSETUPH) | |
160 | cd $(WXDIR)\src\msw | |
161 | ||
162 | $(ARCHINCDIR)\wx: | |
163 | -mkdir $(ARCHINCDIR) | |
164 | -mkdir $(ARCHINCDIR)\wx | |
165 | ||
166 | !if "$(DLL)" == "0" | |
167 | ||
168 | $(LIBTARGET): $(DUMMY).obj $(OBJECTS) | |
169 | -erase $(WXLIB) | |
170 | tlib "$(WXLIB)" /P1024 @&&! | |
171 | +$(OBJECTS:.obj =.obj +) +$(PERIPH_LIBS:.lib =.lib +) | |
172 | ! | |
173 | ||
174 | !else | |
175 | ||
176 | $(LIBTARGET): $(DUMMY).obj $(OBJECTS) | |
177 | -erase $(WXLIB) | |
178 | -erase $(WXDLL) | |
179 | $(LINK) $(LINK_FLAGS) /L$(WXLIBDIR);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk /v @&&! | |
180 | c0d32.obj $(OBJECTS) | |
181 | $(WXLIBDIR)\$(WXLIBNAME) | |
182 | nul | |
183 | $(PERIPH_LIBS) $(LIBS) | |
184 | wxb32 | |
185 | ! | |
186 | implib -c $(LIBTARGET) $(WXLIBDIR)\$(WXLIBNAME).dll | |
187 | !endif | |
188 | ||
189 | dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h | |
190 | dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h version.res | |
191 | ||
192 | version.res: | |
193 | brc32 -r -i$(WXDIR)\include\ $(MSWDIR)\version.rc | |
194 | ||
195 | $(MSWDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c | |
196 | ||
197 | # cl @<< | |
198 | # $(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ | |
199 | # << | |
200 | ||
201 | $(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c | |
202 | copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c | |
203 | ||
204 | $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c | |
205 | copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c | |
206 | ||
207 | ||
208 | $(MSWDIR)\dde.obj: $(MSWDIR)\dde.$(SRCSUFF) | |
209 | ||
210 | $(MSWDIR)\dir.obj: $(MSWDIR)\dir.$(SRCSUFF) | |
211 | ||
212 | $(MSWDIR)\gsocket.obj: $(MSWDIR)\gsocket.c | |
213 | ||
214 | $(MSWDIR)\gsockmsw.obj: $(MSWDIR)\gsockmsw.c | |
215 | ||
216 | $(MSWDIR)\main.obj: $(MSWDIR)\main.$(SRCSUFF) | |
217 | ||
218 | $(MSWDIR)\mimetype.obj: $(MSWDIR)\mimetype.$(SRCSUFF) | |
219 | ||
220 | $(MSWDIR)\regconf.obj: $(MSWDIR)\regconf.$(SRCSUFF) | |
221 | ||
222 | $(MSWDIR)\registry.obj: $(MSWDIR)\registry.$(SRCSUFF) | |
223 | ||
224 | $(MSWDIR)\snglinst.obj: $(MSWDIR)\snglinst.$(SRCSUFF) | |
225 | ||
226 | $(MSWDIR)\thread.obj: $(MSWDIR)\thread.$(SRCSUFF) | |
227 | ||
228 | $(MSWDIR)\utils.obj: $(MSWDIR)\utils.$(SRCSUFF) | |
229 | ||
230 | $(MSWDIR)\utilsexc.obj: $(MSWDIR)\utilsexc.$(SRCSUFF) | |
231 | ||
232 | $(MSWDIR)\volume.obj: $(MSWDIR)\volume.$(SRCSUFF) | |
233 | ||
234 | ||
235 | ||
236 | ######################################################## | |
237 | # Common objects (always compiled) | |
238 | ||
239 | $(MSWDIR)\appcmn.obj: $(COMMDIR)\appcmn.$(SRCSUFF) | |
240 | ||
241 | $(MSWDIR)\clntdata.obj: $(COMMDIR)\clntdata.$(SRCSUFF) | |
242 | ||
243 | $(MSWDIR)\cmdline.obj: $(COMMDIR)\cmdline.$(SRCSUFF) | |
244 | ||
245 | $(MSWDIR)\config.obj: $(COMMDIR)\config.$(SRCSUFF) | |
246 | ||
247 | $(MSWDIR)\datetime.obj: $(COMMDIR)\datetime.$(SRCSUFF) | |
248 | ||
249 | $(MSWDIR)\datstrm.obj: $(COMMDIR)\datstrm.$(SRCSUFF) | |
250 | ||
251 | $(MSWDIR)\db.obj: $(COMMDIR)\db.$(SRCSUFF) | |
252 | ||
253 | $(MSWDIR)\dbtable.obj: $(COMMDIR)\dbtable.$(SRCSUFF) | |
254 | ||
255 | $(MSWDIR)\dircmn.obj: $(COMMDIR)\dircmn.$(SRCSUFF) | |
256 | ||
257 | $(MSWDIR)\dynarray.obj: $(COMMDIR)\dynarray.$(SRCSUFF) | |
258 | ||
259 | $(MSWDIR)\dynlib.obj: $(COMMDIR)\dynlib.$(SRCSUFF) | |
260 | ||
261 | $(MSWDIR)\dynload.obj: $(COMMDIR)\dynload.$(SRCSUFF) | |
262 | ||
263 | $(MSWDIR)\encconv.obj: $(COMMDIR)\encconv.$(SRCSUFF) | |
264 | ||
265 | $(MSWDIR)\event.obj: $(COMMDIR)\event.$(SRCSUFF) | |
266 | ||
267 | $(MSWDIR)\extended.obj: $(COMMDIR)\extended.c | |
268 | ||
269 | $(MSWDIR)\ffile.obj: $(COMMDIR)\ffile.$(SRCSUFF) | |
270 | ||
271 | $(MSWDIR)\file.obj: $(COMMDIR)\file.$(SRCSUFF) | |
272 | ||
273 | $(MSWDIR)\fileconf.obj: $(COMMDIR)\fileconf.$(SRCSUFF) | |
274 | ||
275 | $(MSWDIR)\filefn.obj: $(COMMDIR)\filefn.$(SRCSUFF) | |
276 | ||
277 | $(MSWDIR)\filename.obj: $(COMMDIR)\filename.$(SRCSUFF) | |
278 | ||
279 | $(MSWDIR)\filesys.obj: $(COMMDIR)\filesys.$(SRCSUFF) | |
280 | ||
281 | $(MSWDIR)\fontmap.obj: $(COMMDIR)\fontmap.$(SRCSUFF) | |
282 | ||
283 | $(MSWDIR)\fs_inet.obj: $(COMMDIR)\fs_inet.$(SRCSUFF) | |
284 | ||
285 | $(MSWDIR)\fs_mem.obj: $(COMMDIR)\fs_mem.$(SRCSUFF) | |
286 | ||
287 | $(MSWDIR)\fs_zip.obj: $(COMMDIR)\fs_zip.$(SRCSUFF) | |
288 | ||
289 | $(MSWDIR)\ftp.obj: $(COMMDIR)\ftp.$(SRCSUFF) | |
290 | ||
291 | $(MSWDIR)\hash.obj: $(COMMDIR)\hash.$(SRCSUFF) | |
292 | ||
293 | $(MSWDIR)\hashmap.obj: $(COMMDIR)\hashmap.$(SRCSUFF) | |
294 | ||
295 | $(MSWDIR)\http.obj: $(COMMDIR)\http.$(SRCSUFF) | |
296 | ||
297 | $(MSWDIR)\intl.obj: $(COMMDIR)\intl.$(SRCSUFF) | |
298 | ||
299 | $(MSWDIR)\ipcbase.obj: $(COMMDIR)\ipcbase.$(SRCSUFF) | |
300 | ||
301 | $(MSWDIR)\list.obj: $(COMMDIR)\list.$(SRCSUFF) | |
302 | ||
303 | $(MSWDIR)\log.obj: $(COMMDIR)\log.$(SRCSUFF) | |
304 | ||
305 | $(MSWDIR)\longlong.obj: $(COMMDIR)\longlong.$(SRCSUFF) | |
306 | ||
307 | $(MSWDIR)\memory.obj: $(COMMDIR)\memory.$(SRCSUFF) | |
308 | ||
309 | $(MSWDIR)\mimecmn.obj: $(COMMDIR)\mimecmn.$(SRCSUFF) | |
310 | ||
311 | $(MSWDIR)\module.obj: $(COMMDIR)\module.$(SRCSUFF) | |
312 | ||
313 | $(MSWDIR)\msgout.obj: $(COMMDIR)\msgout.$(SRCSUFF) | |
314 | ||
315 | $(MSWDIR)\mstream.obj: $(COMMDIR)\mstream.$(SRCSUFF) | |
316 | ||
317 | $(MSWDIR)\object.obj: $(COMMDIR)\object.$(SRCSUFF) | |
318 | ||
319 | $(MSWDIR)\process.obj: $(COMMDIR)\process.$(SRCSUFF) | |
320 | ||
321 | $(MSWDIR)\protocol.obj: $(COMMDIR)\protocol.$(SRCSUFF) | |
322 | ||
323 | $(MSWDIR)\regex.obj: $(COMMDIR)\regex.$(SRCSUFF) | |
324 | ||
325 | $(MSWDIR)\sckaddr.obj: $(COMMDIR)\sckaddr.$(SRCSUFF) | |
326 | ||
327 | $(MSWDIR)\sckfile.obj: $(COMMDIR)\sckfile.$(SRCSUFF) | |
328 | ||
329 | $(MSWDIR)\sckipc.obj: $(COMMDIR)\sckipc.$(SRCSUFF) | |
330 | ||
331 | $(MSWDIR)\sckstrm.obj: $(COMMDIR)\sckstrm.$(SRCSUFF) | |
332 | ||
333 | $(MSWDIR)\socket.obj: $(COMMDIR)\socket.$(SRCSUFF) | |
334 | ||
335 | $(MSWDIR)\strconv.obj: $(COMMDIR)\strconv.$(SRCSUFF) | |
336 | ||
337 | $(MSWDIR)\stream.obj: $(COMMDIR)\stream.$(SRCSUFF) | |
338 | ||
339 | $(MSWDIR)\string.obj: $(COMMDIR)\string.$(SRCSUFF) | |
340 | ||
341 | $(MSWDIR)\sysopt.obj: $(COMMDIR)\sysopt.$(SRCSUFF) | |
342 | ||
343 | $(MSWDIR)\textbuf.obj: $(COMMDIR)\textbuf.$(SRCSUFF) | |
344 | ||
345 | $(MSWDIR)\textfile.obj: $(COMMDIR)\textfile.$(SRCSUFF) | |
346 | ||
347 | $(MSWDIR)\timercmn.obj: $(COMMDIR)\timercmn.$(SRCSUFF) | |
348 | ||
349 | $(MSWDIR)\tokenzr.obj: $(COMMDIR)\tokenzr.$(SRCSUFF) | |
350 | ||
351 | $(MSWDIR)\txtstrm.obj: $(COMMDIR)\txtstrm.$(SRCSUFF) | |
352 | ||
353 | $(MSWDIR)\unzip.obj: $(COMMDIR)\unzip.c | |
354 | ||
355 | $(MSWDIR)\url.obj: $(COMMDIR)\url.$(SRCSUFF) | |
356 | ||
357 | $(MSWDIR)\utilscmn.obj: $(COMMDIR)\utilscmn.$(SRCSUFF) | |
358 | ||
359 | $(MSWDIR)\variant.obj: $(COMMDIR)\variant.$(SRCSUFF) | |
360 | ||
361 | $(MSWDIR)\wfstream.obj: $(COMMDIR)\wfstream.$(SRCSUFF) | |
362 | ||
363 | $(MSWDIR)\wxchar.obj: $(COMMDIR)\wxchar.$(SRCSUFF) | |
364 | ||
365 | $(MSWDIR)\zipstrm.obj: $(COMMDIR)\zipstrm.$(SRCSUFF) | |
366 | ||
367 | $(MSWDIR)\zstream.obj: $(COMMDIR)\zstream.$(SRCSUFF) | |
368 | ||
369 | $(MSWDIR)\init.obj: $(COMMDIR)\init.$(SRCSUFF) | |
370 | ||
371 | ||
372 | ||
373 | ||
374 | all_utils: | |
375 | cd $(WXDIR)\utils | |
376 | ${MAKE} -f makefile.b32 | |
377 | cd $(WXDIR)\src\msw | |
378 | ||
379 | all_samples: | |
380 | cd $(WXDIR)\samples | |
381 | ${MAKE} -f makefile.b32 | |
382 | cd $(WXDIR)\src\msw | |
383 | ||
384 | all_execs: | |
385 | cd $(WXDIR)\utils | |
386 | ${MAKE} -f makefile.b32 all_execs | |
387 | cd $(WXDIR)\src\msw | |
388 | ||
389 | png: $(CFG) | |
390 | cd $(WXDIR)\src\png | |
391 | ${MAKE} -f makefile.b32 wxUSE_GUI=0 | |
392 | cd $(WXDIR)\src\msw | |
393 | ||
394 | clean_png: | |
395 | cd $(WXDIR)\src\png | |
396 | ${MAKE} -f makefile.b32 clean | |
397 | cd $(WXDIR)\src\msw | |
398 | ||
399 | zlib: $(CFG) | |
400 | cd $(WXDIR)\src\zlib | |
401 | ${MAKE} -f makefile.b32 wxUSE_GUI=0 lib | |
402 | cd $(WXDIR)\src\msw | |
403 | ||
404 | clean_zlib: | |
405 | cd $(WXDIR)\src\zlib | |
406 | ${MAKE} -f makefile.b32 clean | |
407 | cd $(WXDIR)\src\msw | |
408 | ||
409 | jpeg: $(CFG) | |
410 | cd $(WXDIR)\src\jpeg | |
411 | ${MAKE} -f makefile.b32 wxUSE_GUI=0 | |
412 | cd $(WXDIR)\src\msw | |
413 | ||
414 | clean_jpeg: | |
415 | cd $(WXDIR)\src\jpeg | |
416 | ${MAKE} -f makefile.b32 clean | |
417 | cd $(WXDIR)\src\msw | |
418 | ||
419 | regex: $(CFG) | |
420 | cd $(WXDIR)\src\regex | |
421 | ${MAKE} -f makefile.b32 wxUSE_GUI=0 lib | |
422 | cd $(WXDIR)\src\msw | |
423 | ||
424 | clean_regex: | |
425 | cd $(WXDIR)\src\regex | |
426 | ${MAKE} -f makefile.b32 clean | |
427 | cd $(WXDIR)\src\msw | |
428 | ||
429 | tiff: $(CFG) | |
430 | cd $(WXDIR)\src\tiff | |
431 | ${MAKE} -f makefile.b32 wxUSE_GUI=0 lib | |
432 | cd $(WXDIR)\src\msw | |
433 | ||
434 | clean_tiff: | |
435 | cd $(WXDIR)\src\tiff | |
436 | ${MAKE} -f makefile.b32 clean | |
437 | cd $(WXDIR)\src\msw | |
438 | ||
439 | $(CFG): makebase.b32 | |
440 | copy &&! | |
441 | -Hc | |
442 | -H=$(WXDIR)\src\msw\wx32.csm | |
443 | -3 | |
444 | -d | |
445 | -a1 # byte alignment | |
446 | -R- | |
447 | -X | |
448 | -w-par | |
449 | -w-aus | |
450 | -w-hid # virtual function A hides virtual function B | |
451 | -tWM | |
452 | -tWC | |
453 | ||
454 | -I$(ARCHINCDIR);$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/tiff;$(THISDIR) | |
455 | -I$(WXDIR)\include\wx\msw\gnuwin32 | |
456 | ||
457 | -L$(BCCDIR)\lib;$(BCCDIR)\lib\psdk | |
458 | -D__WXWIN__ | |
459 | -D__WXMSW__ | |
460 | -D__WINDOWS__ | |
461 | -DWIN32 | |
462 | $(OPT) | |
463 | $(DEBUG_FLAGS) | |
464 | $(WIN95FLAG) | |
465 | ! $(CFG) | |
466 | ||
467 | clean: $(PERIPH_CLEAN_TARGET) | |
468 | -erase $(WXLIBDIR)\wx.tds | |
469 | -erase $(WXLIBDIR)\wx.il? | |
470 | -erase *.obj | |
471 | -erase *.pch | |
472 | -erase *.csm | |
473 | -erase "wx32.#??" | |
474 | -erase ..\common\y_tab.c | |
475 | -erase ..\common\lex_yy.c | |
476 | ||
477 | cleanall: clean | |
478 | ||
479 | self: | |
480 | cd $(WXWIN)\distrib\msw\tmake | |
481 | tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE) | |
482 | copy makefile.$(MFTYPE) $(WXWIN)\src\msw |