]>
Commit | Line | Data |
---|---|---|
2bda0e17 KB |
1 | # |
2 | # File: makefile.dos | |
3 | # Author: Julian Smart | |
4 | # Created: 1997 | |
5 | # Updated: | |
6 | # Copyright: (c) 1997, Julian Smart | |
7 | # | |
8 | # "%W% %G%" | |
9 | # | |
10 | # Makefile : Builds wxWindows library wx.lib for VC++ (16-bit) | |
11 | # Arguments: | |
12 | # | |
13 | # FINAL=1 argument to nmake to build version with no debugging info. | |
14 | # | |
15 | !include <..\makemsc.env> | |
16 | ||
17 | LIBTARGET=$(WXLIB) | |
18 | DUMMYOBJ=dummy.obj | |
19 | ||
20 | # Please set these according to the settings in wx_setup.h, so we can include | |
21 | # the appropriate libraries in wx.lib | |
22 | ||
23 | # This one overrides the others, to be consistent with the settings in wx_setup.h | |
24 | MINIMAL_WXWINDOWS_SETUP=0 | |
25 | ||
26 | USE_CTL3D=1 | |
27 | USE_XPM_IN_MSW=0 | |
28 | ||
29 | !if "$(MINIMAL_WXWINDOWS_SETUP)" == "1" | |
30 | USE_CTL3D=0 | |
31 | USE_IMAGE_LOADING_IN_MSW=0 | |
32 | USE_XPM_IN_MSW=0 | |
33 | USE_GNU_WXSTRING=0 | |
34 | !endif | |
35 | ||
36 | PERIPH_LIBS= | |
37 | PERIPH_TARGET= | |
38 | PERIPH_CLEAN_TARGET= | |
39 | ||
40 | # !if "$(USE_CTL3D)" == "1" | |
41 | # PERIPH_LIBS=d:\msdev\lib\ctl3d32.lib $(PERIPH_LIBS) | |
42 | # !endif | |
43 | ||
44 | !if "$(USE_XPM_IN_MSW)" == "1" | |
45 | PERIPH_LIBS=$(WXDIR)\contrib\wxxpm\xpm.lib $(PERIPH_LIBS) | |
46 | PERIPH_TARGET=xpm $(PERIPH_TARGET) | |
47 | PERIPH_CLEAN_TARGET=clean_xpm $(PERIPH_CLEAN_TARGET) | |
48 | !endif | |
49 | ||
50 | GENDIR=..\generic | |
51 | COMMDIR=..\common | |
52 | OLEDIR=.\ole | |
53 | MSWDIR=. | |
54 | ||
55 | DOCDIR = $(WXDIR)\docs | |
56 | ||
57 | GENERICOBJS= \ | |
58 | $(GENDIR)\choicdgg.obj \ | |
59 | $(GENDIR)\colrdlgg.obj \ | |
60 | $(GENDIR)\fontdlgg.obj \ | |
61 | $(GENDIR)\gridg.obj \ | |
62 | $(GENDIR)\helpxlp.obj \ | |
63 | $(GENDIR)\msgdlgg.obj \ | |
64 | $(GENDIR)\panelg.obj \ | |
65 | $(GENDIR)\printps.obj \ | |
66 | $(GENDIR)\prntdlgg.obj \ | |
67 | $(GENDIR)\scrolwin.obj \ | |
68 | $(GENDIR)\splitter.obj \ | |
69 | $(GENDIR)\statusbr.obj \ | |
70 | $(GENDIR)\tabg.obj \ | |
71 | $(GENDIR)\textdlgg.obj | |
72 | ||
73 | COMMONOBJS = \ | |
74 | $(COMMDIR)\config.obj \ | |
75 | $(COMMDIR)\cmndata.obj \ | |
76 | $(COMMDIR)\docview.obj \ | |
77 | $(COMMDIR)\dynarray.obj \ | |
78 | $(COMMDIR)\event.obj \ | |
79 | $(COMMDIR)\file.obj \ | |
80 | $(COMMDIR)\filefn.obj \ | |
81 | $(COMMDIR)\gdicmn.obj \ | |
82 | $(COMMDIR)\intl.obj \ | |
83 | $(COMMDIR)\helpbase.obj \ | |
84 | $(COMMDIR)\ipcbase.obj \ | |
85 | $(COMMDIR)\layout.obj \ | |
86 | $(COMMDIR)\log.obj \ | |
87 | $(COMMDIR)\memory.obj \ | |
88 | $(COMMDIR)\module.obj \ | |
89 | $(COMMDIR)\object.obj \ | |
90 | $(COMMDIR)\odbc.obj \ | |
91 | $(COMMDIR)\postscrp.obj \ | |
6a6c0a8b | 92 | $(COMMDIR)\process.obj \ |
2bda0e17 KB |
93 | $(COMMDIR)\prntbase.obj \ |
94 | $(COMMDIR)\resource.obj \ | |
95 | $(COMMDIR)\tbarbase.obj \ | |
96 | $(COMMDIR)\tbarsmpl.obj \ | |
97 | $(COMMDIR)\textfile.obj \ | |
98 | $(COMMDIR)\timercmn.obj \ | |
99 | $(COMMDIR)\utilscmn.obj \ | |
100 | $(COMMDIR)\validate.obj \ | |
101 | $(COMMDIR)\valtext.obj \ | |
102 | $(COMMDIR)\date.obj \ | |
103 | $(COMMDIR)\wxexpr.obj \ | |
104 | $(COMMDIR)\hash.obj \ | |
105 | $(COMMDIR)\list.obj \ | |
106 | $(COMMDIR)\string.obj \ | |
107 | $(COMMDIR)\time.obj \ | |
cf447356 | 108 | $(COMMDIR)\y_tab.obj \ |
3d4c6a21 GL |
109 | $(COMMDIR)\stream.obj \ |
110 | $(COMMDIR)\fstream.obj \ | |
111 | $(COMMDIR)\mstream.obj \ | |
cf447356 GL |
112 | $(COMMDIR)\datstrm.obj \ |
113 | $(COMMDIR)\extended.obj | |
2bda0e17 KB |
114 | |
115 | # Nested classes: won't comple | |
116 | # $(COMMDIR)\fileconf.obj \ | |
117 | ||
118 | MSWOBJS = \ | |
119 | $(MSWDIR)\app.obj \ | |
120 | $(MSWDIR)\bitmap.obj \ | |
121 | $(MSWDIR)\bmpbuttn.obj \ | |
122 | $(MSWDIR)\brush.obj \ | |
123 | $(MSWDIR)\button.obj \ | |
124 | $(MSWDIR)\checkbox.obj \ | |
125 | $(MSWDIR)\checklst.obj \ | |
126 | $(MSWDIR)\choice.obj \ | |
127 | $(MSWDIR)\clipbrd.obj \ | |
128 | $(MSWDIR)\colordlg.obj \ | |
129 | $(MSWDIR)\colour.obj \ | |
130 | $(MSWDIR)\combobox.obj \ | |
131 | $(MSWDIR)\control.obj \ | |
132 | $(MSWDIR)\curico.obj \ | |
133 | $(MSWDIR)\cursor.obj \ | |
134 | $(MSWDIR)\data.obj \ | |
135 | $(MSWDIR)\dc.obj \ | |
136 | $(MSWDIR)\dcmemory.obj \ | |
137 | $(MSWDIR)\dcclient.obj \ | |
138 | $(MSWDIR)\dcprint.obj \ | |
139 | $(MSWDIR)\dcscreen.obj \ | |
140 | $(MSWDIR)\dde.obj \ | |
141 | $(MSWDIR)\dialog.obj \ | |
142 | $(MSWDIR)\dib.obj \ | |
143 | $(MSWDIR)\dirdlg.obj \ | |
144 | $(MSWDIR)\filedlg.obj \ | |
145 | $(MSWDIR)\font.obj \ | |
146 | $(MSWDIR)\fontdlg.obj \ | |
147 | $(MSWDIR)\frame.obj \ | |
da87a1ca | 148 | $(MSWDIR)\gaugemsw.obj \ |
2bda0e17 KB |
149 | $(MSWDIR)\gdiobj.obj \ |
150 | $(MSWDIR)\helpwin.obj \ | |
151 | $(MSWDIR)\icon.obj \ | |
152 | $(MSWDIR)\imaglist.obj \ | |
153 | $(MSWDIR)\joystick.obj \ | |
154 | $(MSWDIR)\listbox.obj \ | |
155 | $(MSWDIR)\listctrl.obj \ | |
156 | $(MSWDIR)\main.obj \ | |
157 | $(MSWDIR)\mdi.obj \ | |
5260b1c5 | 158 | $(MSWDIR)\menu.obj\ |
2bda0e17 KB |
159 | $(MSWDIR)\menuitem.obj \ |
160 | $(MSWDIR)\metafile.obj \ | |
161 | $(MSWDIR)\minifram.obj \ | |
162 | $(MSWDIR)\msgdlg.obj \ | |
163 | $(MSWDIR)\nativdlg.obj \ | |
164 | $(MSWDIR)\ownerdrw.obj \ | |
165 | $(MSWDIR)\palette.obj \ | |
166 | $(MSWDIR)\pen.obj \ | |
167 | $(MSWDIR)\penwin.obj \ | |
168 | $(MSWDIR)\printdlg.obj \ | |
169 | $(MSWDIR)\printwin.obj \ | |
170 | $(MSWDIR)\radiobox.obj \ | |
171 | $(MSWDIR)\radiobut.obj \ | |
172 | $(MSWDIR)\region.obj \ | |
173 | $(MSWDIR)\scrolbar.obj \ | |
174 | $(MSWDIR)\settings.obj \ | |
da87a1ca | 175 | $(MSWDIR)\slidrmsw.obj \ |
2bda0e17 KB |
176 | $(MSWDIR)\spinbutt.obj \ |
177 | $(MSWDIR)\statbmp.obj \ | |
178 | $(MSWDIR)\statbox.obj \ | |
179 | $(MSWDIR)\stattext.obj \ | |
2bda0e17 KB |
180 | $(MSWDIR)\tbarmsw.obj \ |
181 | $(MSWDIR)\textctrl.obj \ | |
182 | $(MSWDIR)\timer.obj \ | |
183 | $(MSWDIR)\treectrl.obj \ | |
184 | $(MSWDIR)\utils.obj \ | |
5260b1c5 | 185 | $(MSWDIR)\utilsexc.obj \ |
2bda0e17 KB |
186 | $(MSWDIR)\wave.obj \ |
187 | $(MSWDIR)\window.obj \ | |
188 | $(OLEDIR)\droptgt.obj \ | |
43d811ea JS |
189 | $(OLEDIR)\dropsrc.obj \ |
190 | $(OLEDIR)\dataobj.obj \ | |
2bda0e17 KB |
191 | $(OLEDIR)\oleutils.obj \ |
192 | $(OLEDIR)\uuid.obj | |
193 | ||
194 | # $(MSWDIR)\registry.obj \ | |
195 | ||
196 | OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) | |
197 | ||
198 | # Normal, static library | |
199 | all: $(DUMMYOBJ) $(WXDIR)\lib\wx1.lib $(WXDIR)\lib\wx2.lib $(WXDIR)\lib\wx3.lib | |
200 | ||
201 | ||
202 | #$(WXDIR)\lib\wx.lib: dummy.obj $(OBJECTS) $(PERIPH_LIBS) | |
203 | # -erase $(LIBTARGET) | |
204 | # lib /PAGESIZE:128 @<< | |
205 | #$(LIBTARGET) | |
206 | #y | |
207 | #$(OBJECTS) $(PERIPH_LIBS) | |
208 | #nul | |
209 | #; | |
210 | #<< | |
211 | ||
212 | $(WXDIR)\lib\wx1.lib: $(COMMONOBJS) $(PERIPH_LIBS) | |
213 | -erase $(WXDIR)\lib\wx1.lib | |
214 | lib /PAGESIZE:128 @<< | |
215 | $(WXDIR)\lib\wx1.lib | |
216 | y | |
217 | $(COMMONOBJS) $(PERIPH_LIBS) | |
218 | nul | |
219 | ; | |
220 | << | |
221 | ||
222 | $(WXDIR)\lib\wx2.lib: $(GENERICOBJS) | |
223 | -erase $(WXDIR)\lib\wx2.lib | |
224 | lib /PAGESIZE:128 @<< | |
225 | $(WXDIR)\lib\wx2.lib | |
226 | y | |
227 | $(GENERICOBJS) | |
228 | nul | |
229 | ; | |
230 | << | |
231 | ||
232 | $(WXDIR)\lib\wx3.lib: $(MSWOBJS) | |
233 | -erase $(WXDIR)\lib\wx3.lib | |
234 | lib /PAGESIZE:128 @<< | |
235 | $(WXDIR)\lib\wx3.lib | |
236 | y | |
237 | $(MSWOBJS) | |
238 | nul | |
239 | ; | |
240 | << | |
241 | ||
242 | ######################################################## | |
243 | # Windows-specific objects | |
244 | ||
245 | dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h | |
246 | cl @<< | |
247 | cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF) | |
248 | << | |
249 | ||
250 | #dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h | |
251 | # cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF) | |
252 | ||
253 | dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h | |
254 | cl @<< | |
255 | $(CPPFLAGS) /YcWX/WXPREC.H /c /Tp $*.$(SRCSUFF) | |
256 | << | |
257 | ||
258 | $(MSWDIR)/app.obj: $*.$(SRCSUFF) | |
259 | cl @<< | |
260 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
261 | << | |
262 | ||
263 | $(MSWDIR)/bitmap.obj: $*.$(SRCSUFF) | |
264 | cl @<< | |
265 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
266 | << | |
267 | ||
268 | $(MSWDIR)/bmpbuttn.obj: $*.$(SRCSUFF) | |
269 | cl @<< | |
270 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
271 | << | |
272 | ||
273 | $(MSWDIR)/brush.obj: $*.$(SRCSUFF) | |
274 | cl @<< | |
275 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
276 | << | |
277 | ||
278 | $(MSWDIR)/button.obj: $*.$(SRCSUFF) | |
279 | cl @<< | |
280 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
281 | << | |
282 | ||
283 | $(MSWDIR)/choice.obj: $*.$(SRCSUFF) | |
284 | cl @<< | |
285 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
286 | << | |
287 | ||
288 | $(MSWDIR)/checkbox.obj: $*.$(SRCSUFF) | |
289 | cl @<< | |
290 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
291 | << | |
292 | ||
293 | $(MSWDIR)/checklst.obj: $*.$(SRCSUFF) | |
294 | cl @<< | |
295 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
296 | << | |
297 | ||
298 | $(MSWDIR)/clipbrd.obj: $*.$(SRCSUFF) | |
299 | cl @<< | |
300 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
301 | << | |
302 | ||
303 | $(MSWDIR)/colordlg.obj: $*.$(SRCSUFF) | |
304 | cl @<< | |
305 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
306 | << | |
307 | ||
308 | $(MSWDIR)/colour.obj: $*.$(SRCSUFF) | |
309 | cl @<< | |
310 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
311 | << | |
312 | ||
313 | $(MSWDIR)/combobox.obj: $*.$(SRCSUFF) | |
314 | cl @<< | |
315 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
316 | << | |
317 | ||
318 | $(MSWDIR)/control.obj: $*.$(SRCSUFF) | |
319 | cl @<< | |
320 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
321 | << | |
322 | ||
323 | $(MSWDIR)/curico.obj: $*.$(SRCSUFF) | |
324 | cl @<< | |
325 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
326 | << | |
327 | ||
328 | $(MSWDIR)/cursor.obj: $*.$(SRCSUFF) | |
329 | cl @<< | |
330 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
331 | << | |
332 | ||
333 | $(MSWDIR)/data.obj: $*.$(SRCSUFF) | |
334 | cl @<< | |
335 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
336 | << | |
337 | ||
338 | $(MSWDIR)/dc.obj: $*.$(SRCSUFF) | |
339 | cl @<< | |
340 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
341 | << | |
342 | ||
343 | $(MSWDIR)/dde.obj: $*.$(SRCSUFF) | |
344 | cl @<< | |
345 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
346 | << | |
347 | ||
348 | $(MSWDIR)/dcmemory.obj: $*.$(SRCSUFF) | |
349 | cl @<< | |
350 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
351 | << | |
352 | ||
353 | $(MSWDIR)/dcclient.obj: $*.$(SRCSUFF) | |
354 | cl @<< | |
355 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
356 | << | |
357 | ||
358 | $(MSWDIR)/dcprint.obj: $*.$(SRCSUFF) | |
359 | cl @<< | |
360 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
361 | << | |
362 | ||
363 | $(MSWDIR)/dcscreen.obj: $*.$(SRCSUFF) | |
364 | cl @<< | |
365 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
366 | << | |
367 | ||
368 | $(MSWDIR)/dialog.obj: $*.$(SRCSUFF) | |
369 | cl @<< | |
370 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
371 | << | |
372 | ||
373 | $(MSWDIR)/dib.obj: $*.$(SRCSUFF) | |
374 | cl @<< | |
375 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
376 | << | |
377 | ||
378 | $(MSWDIR)/dirdlg.obj: $*.$(SRCSUFF) | |
379 | cl @<< | |
380 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
381 | << | |
382 | ||
383 | $(MSWDIR)/filedlg.obj: $*.$(SRCSUFF) | |
384 | cl @<< | |
385 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
386 | << | |
387 | ||
388 | $(MSWDIR)/font.obj: $*.$(SRCSUFF) | |
389 | cl @<< | |
390 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
391 | << | |
392 | ||
393 | $(MSWDIR)/fontdlg.obj: $*.$(SRCSUFF) | |
394 | cl @<< | |
395 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
396 | << | |
397 | ||
398 | $(MSWDIR)/frame.obj: $*.$(SRCSUFF) | |
399 | cl @<< | |
400 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
401 | << | |
402 | ||
da87a1ca | 403 | $(MSWDIR)/gaugemsw.obj: $*.$(SRCSUFF) |
2bda0e17 KB |
404 | cl @<< |
405 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
406 | << | |
407 | ||
408 | $(MSWDIR)/gdiobj.obj: $*.$(SRCSUFF) | |
409 | cl @<< | |
410 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
411 | << | |
412 | ||
413 | $(MSWDIR)/helpwin.obj: $*.$(SRCSUFF) | |
414 | cl @<< | |
415 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
416 | << | |
417 | ||
418 | $(MSWDIR)/icon.obj: $*.$(SRCSUFF) | |
419 | cl @<< | |
420 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
421 | << | |
422 | ||
423 | $(MSWDIR)/imaglist.obj: $*.$(SRCSUFF) | |
424 | cl @<< | |
425 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
426 | << | |
427 | ||
428 | $(MSWDIR)/joystick.obj: $*.$(SRCSUFF) | |
429 | cl @<< | |
430 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
431 | << | |
432 | ||
433 | $(MSWDIR)/listbox.obj: $*.$(SRCSUFF) | |
434 | cl @<< | |
435 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
436 | << | |
437 | ||
438 | $(MSWDIR)/listctrl.obj: $*.$(SRCSUFF) | |
439 | cl @<< | |
440 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
441 | << | |
442 | ||
443 | $(MSWDIR)/main.obj: $*.$(SRCSUFF) | |
444 | cl @<< | |
445 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
446 | << | |
447 | ||
448 | $(MSWDIR)/mdi.obj: $*.$(SRCSUFF) | |
449 | cl @<< | |
450 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
451 | << | |
452 | ||
453 | $(MSWDIR)/menu.obj: $*.$(SRCSUFF) | |
454 | cl @<< | |
455 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
456 | << | |
457 | ||
458 | $(MSWDIR)/menuitem.obj: $*.$(SRCSUFF) | |
459 | cl @<< | |
460 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
461 | << | |
462 | ||
463 | $(MSWDIR)/metafile.obj: $*.$(SRCSUFF) | |
464 | cl @<< | |
465 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
466 | << | |
467 | ||
468 | $(MSWDIR)/minifram.obj: $*.$(SRCSUFF) | |
469 | cl @<< | |
470 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
471 | << | |
472 | ||
473 | $(MSWDIR)/msgdlg.obj: $*.$(SRCSUFF) | |
474 | cl @<< | |
475 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
476 | << | |
477 | ||
478 | $(MSWDIR)/nativdlg.obj: $*.$(SRCSUFF) | |
479 | cl @<< | |
480 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
481 | << | |
482 | ||
483 | $(MSWDIR)/ownerdrw.obj: $*.$(SRCSUFF) | |
484 | cl @<< | |
485 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
486 | << | |
487 | ||
488 | $(MSWDIR)/palette.obj: $*.$(SRCSUFF) | |
489 | cl @<< | |
490 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
491 | << | |
492 | ||
493 | $(MSWDIR)/pen.obj: $*.$(SRCSUFF) | |
494 | cl @<< | |
495 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
496 | << | |
497 | ||
498 | $(MSWDIR)/penwin.obj: $*.$(SRCSUFF) | |
499 | cl @<< | |
500 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
501 | << | |
502 | ||
503 | $(MSWDIR)/printdlg.obj: $*.$(SRCSUFF) | |
504 | cl @<< | |
505 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
506 | << | |
507 | ||
508 | $(MSWDIR)/printwin.obj: $*.$(SRCSUFF) | |
509 | cl @<< | |
510 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
511 | << | |
512 | ||
513 | $(MSWDIR)/radiobox.obj: $*.$(SRCSUFF) | |
514 | cl @<< | |
515 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
516 | << | |
517 | ||
518 | $(MSWDIR)/radiobut.obj: $*.$(SRCSUFF) | |
519 | cl @<< | |
520 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
521 | << | |
522 | ||
523 | $(MSWDIR)/region.obj: $*.$(SRCSUFF) | |
524 | cl @<< | |
525 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
526 | << | |
527 | ||
528 | $(MSWDIR)/registry.obj: $*.$(SRCSUFF) | |
529 | cl @<< | |
530 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
531 | << | |
532 | ||
533 | $(MSWDIR)/scrolbar.obj: $*.$(SRCSUFF) | |
534 | cl @<< | |
535 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
536 | << | |
537 | ||
538 | $(MSWDIR)/settings.obj: $*.$(SRCSUFF) | |
539 | cl @<< | |
540 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
541 | << | |
542 | ||
da87a1ca | 543 | $(MSWDIR)/slidrmsw.obj: $*.$(SRCSUFF) |
2bda0e17 KB |
544 | cl @<< |
545 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
546 | << | |
547 | ||
548 | $(MSWDIR)/spinbutt.obj: $*.$(SRCSUFF) | |
549 | cl @<< | |
550 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
551 | << | |
552 | ||
553 | $(MSWDIR)/statbmp.obj: $*.$(SRCSUFF) | |
554 | cl @<< | |
555 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
556 | << | |
557 | ||
558 | $(MSWDIR)/statbox.obj: $*.$(SRCSUFF) | |
559 | cl @<< | |
560 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
561 | << | |
562 | ||
563 | $(MSWDIR)/stattext.obj: $*.$(SRCSUFF) | |
564 | cl @<< | |
565 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
566 | << | |
567 | ||
2bda0e17 KB |
568 | $(MSWDIR)/tbarmsw.obj: $*.$(SRCSUFF) |
569 | cl @<< | |
570 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
571 | << | |
572 | ||
573 | $(MSWDIR)/textctrl.obj: $*.$(SRCSUFF) | |
574 | cl @<< | |
575 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
576 | << | |
577 | ||
578 | $(MSWDIR)/timer.obj: $*.$(SRCSUFF) | |
579 | cl @<< | |
580 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
581 | << | |
582 | ||
583 | $(MSWDIR)/treectrl.obj: $*.$(SRCSUFF) | |
584 | cl @<< | |
585 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
586 | << | |
587 | ||
588 | $(MSWDIR)/utils.obj: $*.$(SRCSUFF) | |
589 | cl @<< | |
590 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
591 | << | |
592 | ||
5260b1c5 JS |
593 | $(MSWDIR)/utilsexc.obj: $*.$(SRCSUFF) |
594 | cl @<< | |
595 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
596 | << | |
597 | ||
2bda0e17 KB |
598 | $(MSWDIR)/wave.obj: $*.$(SRCSUFF) |
599 | cl @<< | |
600 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
601 | << | |
602 | ||
603 | $(MSWDIR)/window.obj: $*.$(SRCSUFF) | |
604 | cl @<< | |
605 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
606 | << | |
607 | ||
608 | $(OLEDIR)/droptgt.obj: $*.$(SRCSUFF) | |
609 | cl @<< | |
610 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
611 | << | |
612 | ||
43d811ea JS |
613 | $(OLEDIR)/dropsrc.obj: $*.$(SRCSUFF) |
614 | cl @<< | |
615 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
616 | << | |
617 | ||
618 | $(OLEDIR)/dataobj.obj: $*.$(SRCSUFF) | |
619 | cl @<< | |
620 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
621 | << | |
622 | ||
2bda0e17 KB |
623 | $(OLEDIR)/oleutils.obj: $*.$(SRCSUFF) |
624 | cl @<< | |
625 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
626 | << | |
627 | ||
628 | $(OLEDIR)/uuid.obj: $*.$(SRCSUFF) | |
629 | cl @<< | |
630 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
631 | << | |
632 | ||
633 | ######################################################## | |
634 | # Common objects (always compiled) | |
635 | ||
636 | $(COMMDIR)/config.obj: $*.$(SRCSUFF) | |
637 | cl @<< | |
638 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
639 | << | |
640 | ||
641 | $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF) | |
642 | cl @<< | |
643 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
644 | << | |
645 | ||
646 | $(COMMDIR)/docview.obj: $*.$(SRCSUFF) | |
647 | cl @<< | |
648 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
649 | << | |
650 | ||
651 | $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF) | |
652 | cl @<< | |
653 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
654 | << | |
655 | ||
656 | $(COMMDIR)/event.obj: $*.$(SRCSUFF) | |
657 | cl @<< | |
658 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
659 | << | |
660 | ||
661 | $(COMMDIR)/file.obj: $*.$(SRCSUFF) | |
662 | cl @<< | |
663 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
664 | << | |
665 | ||
666 | $(COMMDIR)/fileconf.obj: $*.$(SRCSUFF) | |
667 | cl @<< | |
668 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
669 | << | |
670 | ||
671 | $(COMMDIR)/filefn.obj: $*.$(SRCSUFF) | |
672 | cl @<< | |
673 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
674 | << | |
675 | ||
676 | $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF) | |
677 | cl @<< | |
678 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
679 | << | |
680 | ||
681 | $(COMMDIR)/helpbase.obj: $*.$(SRCSUFF) | |
682 | cl @<< | |
683 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
684 | << | |
685 | ||
686 | $(COMMDIR)/intl.obj: $*.$(SRCSUFF) | |
687 | cl @<< | |
688 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
689 | << | |
690 | ||
691 | $(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF) | |
692 | cl @<< | |
693 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
694 | << | |
695 | ||
696 | $(COMMDIR)/layout.obj: $*.$(SRCSUFF) | |
697 | cl @<< | |
698 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
699 | << | |
700 | ||
701 | $(COMMDIR)/log.obj: $*.$(SRCSUFF) | |
702 | cl @<< | |
703 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
704 | << | |
705 | ||
706 | $(COMMDIR)/memory.obj: $*.$(SRCSUFF) | |
707 | cl @<< | |
708 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
709 | << | |
710 | ||
711 | $(COMMDIR)/module.obj: $*.$(SRCSUFF) | |
712 | cl @<< | |
713 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
714 | << | |
715 | ||
716 | $(COMMDIR)/object.obj: $*.$(SRCSUFF) | |
717 | cl @<< | |
718 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
719 | << | |
720 | ||
721 | $(COMMDIR)/odbc.obj: $*.$(SRCSUFF) | |
722 | cl @<< | |
723 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
724 | << | |
725 | ||
726 | $(COMMDIR)/postscrp.obj: $*.$(SRCSUFF) | |
727 | cl @<< | |
728 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
729 | << | |
730 | ||
6a6c0a8b JS |
731 | $(COMMDIR)/process.obj: $*.$(SRCSUFF) |
732 | cl @<< | |
733 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
734 | << | |
735 | ||
2bda0e17 KB |
736 | $(COMMDIR)/prntbase.obj: $*.$(SRCSUFF) |
737 | cl @<< | |
738 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
739 | << | |
740 | ||
741 | $(COMMDIR)/resource.obj: $*.$(SRCSUFF) | |
742 | cl @<< | |
743 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
744 | << | |
745 | ||
746 | $(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF) | |
747 | cl @<< | |
748 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
749 | << | |
750 | ||
751 | $(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF) | |
752 | cl @<< | |
753 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
754 | << | |
755 | ||
756 | $(COMMDIR)/textfile.obj: $*.$(SRCSUFF) | |
757 | cl @<< | |
758 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
759 | << | |
760 | ||
761 | $(COMMDIR)/timercmn.obj: $*.$(SRCSUFF) | |
762 | cl @<< | |
763 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
764 | << | |
765 | ||
766 | $(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF) | |
767 | cl @<< | |
768 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
769 | << | |
770 | ||
771 | $(COMMDIR)/validate.obj: $*.$(SRCSUFF) | |
772 | cl @<< | |
773 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
774 | << | |
775 | ||
776 | $(COMMDIR)/valtext.obj: $*.$(SRCSUFF) | |
777 | cl @<< | |
778 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
779 | << | |
780 | ||
781 | $(COMMDIR)/date.obj: $*.$(SRCSUFF) | |
782 | cl @<< | |
783 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
784 | << | |
785 | ||
786 | $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF) | |
787 | cl @<< | |
788 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
789 | << | |
790 | ||
791 | $(COMMDIR)/hash.obj: $*.$(SRCSUFF) | |
792 | cl @<< | |
793 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
794 | << | |
795 | ||
796 | $(COMMDIR)/list.obj: $*.$(SRCSUFF) | |
797 | cl @<< | |
798 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
799 | << | |
800 | ||
801 | $(COMMDIR)/string.obj: $*.$(SRCSUFF) | |
802 | cl @<< | |
803 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
804 | << | |
805 | ||
806 | $(COMMDIR)/matrix.obj: $*.$(SRCSUFF) | |
807 | cl @<< | |
808 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
809 | << | |
810 | ||
811 | $(COMMDIR)/wxstrgnu/wxstrgnu.obj: $*.$(SRCSUFF) | |
812 | cl @<< | |
813 | $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
814 | << | |
815 | ||
816 | $(COMMDIR)/wxstrgnu/wxregex.obj: $*.$(SRCSUFF) | |
817 | cl @<< | |
818 | $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
819 | << | |
820 | ||
821 | $(COMMDIR)/time.obj: $*.$(SRCSUFF) | |
822 | cl @<< | |
823 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
824 | << | |
825 | ||
cf447356 GL |
826 | $(COMMDIR)/datstrm.obj: $*.$(SRCSUFF) |
827 | cl @<< | |
828 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
829 | << | |
830 | ||
831 | $(COMMDIR)/extended.obj: $*.c | |
832 | cl @<< | |
5260b1c5 | 833 | $(CPPFLAGS2) /Fo$@ /c /Tp $*.c |
cf447356 GL |
834 | << |
835 | ||
2bda0e17 KB |
836 | $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c |
837 | cl @<< | |
838 | $(CPPFLAGS2) -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ /I ..\common /c $*.c | |
839 | << | |
840 | ||
841 | $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c | |
842 | copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c | |
843 | ||
844 | $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c | |
845 | copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c | |
846 | ||
847 | ######################################################## | |
848 | # Generic objects (not always compiled, depending on | |
849 | # whether platforms have native implementations) | |
850 | ||
851 | $(GENDIR)/choicdgg.obj: $*.$(SRCSUFF) | |
852 | cl @<< | |
853 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
854 | << | |
855 | ||
856 | $(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF) | |
857 | cl @<< | |
858 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
859 | << | |
860 | ||
861 | $(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF) | |
862 | cl @<< | |
863 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
864 | << | |
865 | ||
866 | $(GENDIR)/gridg.obj: $*.$(SRCSUFF) | |
867 | cl @<< | |
868 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
869 | << | |
870 | ||
871 | $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF) | |
872 | cl @<< | |
873 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
874 | << | |
875 | ||
876 | $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF) | |
877 | cl @<< | |
878 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
879 | << | |
880 | ||
881 | $(GENDIR)/panelg.obj: $*.$(SRCSUFF) | |
882 | cl @<< | |
883 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
884 | << | |
885 | ||
886 | $(GENDIR)/printps.obj: $*.$(SRCSUFF) | |
887 | cl @<< | |
888 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
889 | << | |
890 | ||
891 | $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF) | |
892 | cl @<< | |
893 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
894 | << | |
895 | ||
896 | $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF) | |
897 | cl @<< | |
898 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
899 | << | |
900 | ||
901 | $(GENDIR)/splitter.obj: $*.$(SRCSUFF) | |
902 | cl @<< | |
903 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
904 | << | |
905 | ||
906 | $(GENDIR)/statusbr.obj: $*.$(SRCSUFF) | |
907 | cl @<< | |
908 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
909 | << | |
910 | ||
911 | $(GENDIR)/tabg.obj: $*.$(SRCSUFF) | |
912 | cl @<< | |
913 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
914 | << | |
915 | ||
916 | $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF) | |
917 | cl @<< | |
918 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
919 | << | |
920 | ||
921 | $(OBJECTS): $(WXDIR)/include/wx/setup.h | |
922 | ||
923 | # Peripheral components | |
924 | ||
925 | xpm: | |
926 | cd $(WXDIR)\contrib\wxxpm | |
927 | nmake -f makefile.dos FINAL=$(FINAL) | |
928 | cd $(WXDIR)\src\msw | |
929 | ||
930 | clean_xpm: | |
931 | cd $(WXDIR)\contrib\wxxpm | |
932 | nmake -f makefile.dos clean | |
933 | cd $(WXDIR)\src\msw | |
934 | ||
935 | clean: $(PERIPH_CLEAN_TARGET) | |
936 | -erase *.obj | |
937 | -erase ..\lib\*.lib | |
938 | -erase *.pdb | |
939 | -erase *.sbr | |
940 | -erase *.pch | |
941 | cd $(WXDIR)\src\generic | |
942 | -erase *.pdb | |
943 | -erase *.sbr | |
944 | -erase *.obj | |
945 | cd $(WXDIR)\src\common | |
946 | -erase *.pdb | |
947 | -erase *.sbr | |
948 | -erase *.obj | |
949 | cd $(WXDIR)\src\msw\ole | |
950 | -erase *.pdb | |
951 | -erase *.sbr | |
952 | -erase *.obj | |
953 | cd $(WXDIR)\src\msw | |
954 | ||
955 | cleanall: clean | |
956 | ||
957 | # Making documents | |
958 | docs: hlp | |
959 | hlp: wxhlp faqhlp refhlp | |
960 | wxhlp: $(DOCDIR)/winhelp/wx.hlp | |
961 | faqhlp: $(DOCDIR)/winhelp/faq.hlp | |
962 | refhlp: $(DOCDIR)/winhelp/techref.hlp | |
963 | rtf: $(DOCDIR)/winhelp/wx.rtf | |
964 | faqrtf: $(DOCDIR)/winhelp/faq.rtf | |
965 | html: wxhtml faqhtml | |
966 | wxhtml: $(DOCDIR)\html\wx\wx.htm | |
967 | faqhtml: $(DOCDIR)\html\faq\faq.htm | |
968 | ps: faqps wxps referencps | |
969 | wxps: $(WXDIR)\docs\ps\wx.ps | |
970 | faqps: $(WXDIR)\docs\ps\faq.ps | |
971 | referencps: $(WXDIR)\docs\ps\referenc.ps | |
972 | ||
973 | alldocs: allhlp allhtml allps | |
974 | ||
975 | allhlp: wxhlp faqhlp | |
976 | nmake -f makefile.dos hlp | |
977 | cd $(WXDIR)\utils\wxprop\src | |
978 | nmake -f makefile.dos hlp | |
979 | cd $(WXDIR)\utils\dialoged\src | |
980 | nmake -f makefile.dos hlp | |
981 | cd $(THISDIR) | |
982 | ||
983 | # cd $(WXDIR)\utils\wxhelp\src | |
984 | # nmake -f makefile.dos hlp | |
985 | # cd $(WXDIR)\utils\wxhelp2\src | |
986 | # nmake -f makefile.dos hlp | |
987 | # cd $(WXDIR)\utils\prologio\src | |
988 | # nmake -f makefile.dos hlp | |
989 | # cd $(WXDIR)\utils\tex2rtf\src | |
990 | # nmake -f makefile.dos hlp | |
991 | # cd $(WXDIR)\utils\wxgraph\src | |
992 | # nmake -f makefile.dos hlp | |
993 | # cd $(WXDIR)\utils\wxchart\src | |
994 | # nmake -f makefile.dos hlp | |
995 | # cd $(WXDIR)\utils\wxtree\src | |
996 | # nmake -f makefile.dos hlp | |
997 | # cd $(WXDIR)\utils\wxbuild\src | |
998 | # nmake -f makefile.dos hlp | |
999 | # cd $(WXDIR)\utils\wxgrid\src | |
1000 | # nmake -f makefile.dos hlp | |
1001 | # cd $(WXDIR)\utils\wxtab\src | |
1002 | # nmake -f makefile.dos hlp | |
1003 | ||
1004 | # cd $(WXDIR)\utils\wxclips\src | |
1005 | # nmake -f makefile.dos hlp | |
1006 | # cd $(WXDIR)\utils\clips2c\src | |
1007 | # nmake -f makefile.dos hlp | |
1008 | ||
1009 | allhtml: wxhtml faqhtml | |
1010 | nmake -f makefile.dos html | |
1011 | cd $(WXDIR)\utils\wxprop\src | |
1012 | cd $(THISDIR) | |
1013 | ||
1014 | # nmake -f makefile.dos html | |
1015 | # cd $(WXDIR)\utils\dialoged\src | |
1016 | # nmake -f makefile.dos html | |
1017 | # cd $(WXDIR)\utils\hytext\src | |
1018 | # nmake -f makefile.dos html | |
1019 | # cd $(WXDIR)\utils\wxhelp\src | |
1020 | # nmake -f makefile.dos html | |
1021 | # cd $(WXDIR)\utils\wxhelp2\src | |
1022 | # nmake -f makefile.dos html | |
1023 | # cd $(WXDIR)\utils\prologio\src | |
1024 | # nmake -f makefile.dos html | |
1025 | # cd $(WXDIR)\utils\tex2rtf\src | |
1026 | # nmake -f makefile.dos html | |
1027 | # cd $(WXDIR)\utils\wxgraph\src | |
1028 | # nmake -f makefile.dos html | |
1029 | # cd $(WXDIR)\utils\wxchart\src | |
1030 | # nmake -f makefile.dos html | |
1031 | # cd $(WXDIR)\utils\wxtree\src | |
1032 | # nmake -f makefile.dos html | |
1033 | # cd $(WXDIR)\utils\wxtab\src | |
1034 | # nmake -f makefile.dos html | |
1035 | ||
1036 | # cd $(WXDIR)\utils\wxclips\src | |
1037 | # nmake -f makefile.dos html | |
1038 | # cd $(WXDIR)\utils\clips2c\src | |
1039 | # nmake -f makefile.dos html | |
1040 | ||
1041 | allps: wxps faqps | |
1042 | nmake -f makefile.dos ps | |
1043 | cd $(WXDIR)\utils\wxhelp\src | |
1044 | nmake -f makefile.dos ps | |
1045 | cd $(WXDIR)\utils\wxhelp2\src | |
1046 | nmake -f makefile.dos ps | |
1047 | cd $(WXDIR)\utils\tex2rtf\src | |
1048 | nmake -f makefile.dos ps | |
1049 | cd $(WXDIR)\utils\wxgraph\src | |
1050 | nmake -f makefile.dos ps | |
1051 | cd $(WXDIR)\utils\wxchart\src | |
1052 | nmake -f makefile.dos ps | |
1053 | cd $(WXDIR)\utils\wxtree\src | |
1054 | nmake -f makefile.dos ps | |
1055 | cd $(WXDIR)\utils\wxprop\src | |
1056 | nmake -f makefile.dos ps | |
1057 | cd $(WXDIR)\utils\dialoged\src | |
1058 | nmake -f makefile.dos ps | |
1059 | cd $(THISDIR) | |
1060 | ||
1061 | # cd $(WXDIR)\utils\wxtab\src | |
1062 | # nmake -f makefile.dos ps | |
1063 | # cd $(WXDIR)\utils\prologio\src | |
1064 | # nmake -f makefile.dos ps | |
1065 | # cd $(WXDIR)\utils\wxclips\src | |
1066 | # nmake -f makefile.dos ps | |
1067 | # cd $(WXDIR)\utils\clips2c\src | |
1068 | # nmake -f makefile.dos ps | |
1069 | ||
1070 | $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj | |
1071 | cd $(DOCDIR)/latex/wx | |
1072 | -erase wx.ph | |
1073 | hc wx | |
1074 | move wx.hlp $(DOCDIR)\winhelp\wx.hlp | |
1075 | move wx.cnt $(DOCDIR)\winhelp\wx.cnt | |
1076 | cd $(THISDIR) | |
1077 | ||
1078 | $(DOCDIR)/winhelp/faq.hlp: $(DOCDIR)/latex/faq/faq.rtf $(DOCDIR)/latex/faq/faq.hpj | |
1079 | cd $(DOCDIR)/latex/faq | |
1080 | -erase faq.ph | |
1081 | hc faq | |
1082 | move faq.hlp $(DOCDIR)\winhelp\faq.hlp | |
1083 | move faq.cnt $(DOCDIR)\winhelp\faq.cnt | |
1084 | cd $(THISDIR) | |
1085 | ||
1086 | $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj | |
1087 | cd $(DOCDIR)/latex/techref | |
1088 | -erase techref.ph | |
1089 | hc techref | |
1090 | move techref.hlp $(DOCDIR)\winhelp\techref.hlp | |
1091 | move techref.cnt $(DOCDIR)\winhelp\techref.cnt | |
1092 | cd $(THISDIR) | |
1093 | ||
1094 | $(DOCDIR)/latex/wx/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex | |
1095 | cd $(DOCDIR)\latex\wx | |
1096 | -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp | |
1097 | cd $(THISDIR) | |
1098 | ||
1099 | $(DOCDIR)/latex/faq/faq.rtf: $(DOCDIR)/latex/faq/faq.tex | |
1100 | cd $(DOCDIR)\latex\faq | |
1101 | -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/latex/faq/faq.rtf -twice -winhelp | |
1102 | cd $(THISDIR) | |
1103 | ||
1104 | $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex | |
1105 | cd $(DOCDIR)\latex\techref | |
1106 | -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp | |
1107 | cd $(THISDIR) | |
1108 | ||
1109 | $(DOCDIR)\html\wx\wx.htm: $(DOCDIR)\latex\wx\classes.tex $(DOCDIR)\latex\wx\body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)\latex\wx\manual.tex | |
1110 | cd $(DOCDIR)\latex\wx | |
1111 | -mkdir $(DOCDIR)\html\wx | |
1112 | -start /w tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html -macros $(DOCDIR)\tex2rtf.ini | |
1113 | -erase $(DOCDIR)\html\wx\*.con | |
1114 | -erase $(DOCDIR)\html\wx\*.ref | |
1115 | -erase $(DOCDIR)\latex\wx\*.con | |
1116 | -erase $(DOCDIR)\latex\wx\*.ref | |
1117 | cd $(THISDIR) | |
1118 | ||
1119 | $(DOCDIR)\html\faq\faq.htm: $(DOCDIR)\latex\faq\faq.tex | |
1120 | cd $(DOCDIR)\latex\faq | |
1121 | -mkdir $(DOCDIR)\html\faq | |
1122 | -start /w tex2rtf $(DOCDIR)\latex\faq\faq.tex $(DOCDIR)\html\faq\faq.htm -twice -html -macros $(DOCDIR)\tex2rtf.ini | |
1123 | -erase $(DOCDIR)\html\faq\*.con | |
1124 | -erase $(DOCDIR)\html\faq\*.ref | |
1125 | -erase $(DOCDIR)\latex\faq\*.con | |
1126 | -erase $(DOCDIR)\latexfaq\*.ref | |
1127 | cd $(THISDIR) | |
1128 | ||
1129 | $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex | |
1130 | cd $(WXDIR)\docs\latex\wx | |
1131 | -latex manual | |
1132 | -latex manual | |
1133 | -makeindx manual | |
1134 | -bibtex manual | |
1135 | -latex manual | |
1136 | -latex manual | |
1137 | cd $(THISDIR) | |
1138 | ||
1139 | $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi | |
1140 | cd $(WXDIR)\docs\latex\wx | |
1141 | -dvips32 -o wx.ps manual | |
1142 | move wx.ps $(WXDIR)\docs\ps\wx.ps | |
1143 | cd $(THISDIR) | |
1144 | ||
1145 | $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex | |
1146 | cd $(WXDIR)\docs\latex\wx | |
1147 | -latex referenc | |
1148 | -latex referenc | |
1149 | -makeindx referenc | |
1150 | -bibtex referenc | |
1151 | -latex referenc | |
1152 | -latex referenc | |
1153 | cd $(THISDIR) | |
1154 | ||
1155 | $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi | |
1156 | cd $(WXDIR)\docs\latex\wx | |
1157 | -dvips32 -o referenc.ps referenc | |
1158 | move referenc.ps $(WXDIR)\docs\ps\referenc.ps | |
1159 | cd $(THISDIR) | |
1160 | ||
1161 | $(WXDIR)\docs\latex\faq\faq.dvi: $(DOCDIR)/latex/faq/faq.tex | |
1162 | cd $(WXDIR)\docs\latex\faq | |
1163 | -latex faq | |
1164 | -latex faq | |
1165 | -makeindx faq | |
1166 | -latex faq | |
1167 | -latex faq | |
1168 | cd $(THISDIR) | |
1169 | ||
1170 | $(WXDIR)\docs\ps\faq.ps: $(WXDIR)\docs\latex\faq\faq.dvi | |
1171 | cd $(WXDIR)\docs\latex\faq | |
1172 | -dvips32 -o faq.ps faq | |
1173 | move faq.ps $(WXDIR)\docs\ps\faq.ps | |
1174 | cd $(THISDIR) | |
1175 | ||
1176 |