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