]>
Commit | Line | Data |
---|---|---|
2bda0e17 KB |
1 | # |
2 | # File: makefile.nt | |
3 | # Author: Julian Smart | |
4 | # Created: 1997 | |
3848ffef | 5 | # Updated: |
2bda0e17 KB |
6 | # Copyright: (c) 1997, Julian Smart |
7 | # | |
8 | # "%W% %G%" | |
9 | # | |
10 | # Makefile : Builds wxWindows library wx.lib for VC++ (32-bit) | |
11 | # Arguments: | |
12 | # | |
13 | # FINAL=1 argument to nmake to build version with no debugging info. | |
14 | # dll builds a library (wxdll.lib) suitable for creating DLLs | |
15 | # * Note that the dll target is experimental - see docs/dll.txt. | |
16 | # | |
17 | !include <..\ntwxwin.mak> | |
18 | ||
19 | THISDIR=$(WXWIN)\src\msw | |
20 | ||
21 | !if "$(WXMAKINGDLL)" == "1" | |
22 | LIBTARGET=$(WXDIR)\lib\wx200.dll | |
23 | DUMMYOBJ=dummydll.obj | |
24 | !else | |
25 | LIBTARGET=$(WXLIB) | |
26 | DUMMYOBJ=dummy.obj | |
27 | !endif | |
28 | ||
29 | # Please set these according to the settings in wx_setup.h, so we can include | |
30 | # the appropriate libraries in wx.lib | |
31 | ||
32 | # This one overrides the others, to be consistent with the settings in wx_setup.h | |
33 | MINIMAL_WXWINDOWS_SETUP=0 | |
34 | ||
2bda0e17 KB |
35 | PERIPH_LIBS= |
36 | PERIPH_TARGET= | |
37 | PERIPH_CLEAN_TARGET= | |
38 | ||
f97c9854 JS |
39 | # These are absolute paths, so that the compiler |
40 | # generates correct __FILE__ symbols for debugging. | |
41 | # Otherwise you don't be able to double-click on a memory | |
42 | # error to load that file. | |
43 | GENDIR=$(WXDIR)\src\generic | |
44 | COMMDIR=$(WXDIR)\src\common | |
4fabb575 | 45 | XPMDIR=$(WXDIR)\src\xpm |
2bda0e17 | 46 | OLEDIR=ole |
f97c9854 | 47 | MSWDIR=$(WXDIR)\src\msw |
2bda0e17 KB |
48 | |
49 | DOCDIR = $(WXDIR)\docs | |
50 | ||
51 | GENERICOBJS= \ | |
52 | $(GENDIR)\choicdgg.obj \ | |
2bda0e17 | 53 | $(GENDIR)\gridg.obj \ |
a6d70308 | 54 | $(GENDIR)\laywin.obj \ |
2bda0e17 | 55 | $(GENDIR)\panelg.obj \ |
e3a43801 JS |
56 | $(GENDIR)\prop.obj \ |
57 | $(GENDIR)\propform.obj \ | |
58 | $(GENDIR)\proplist.obj \ | |
a6d70308 | 59 | $(GENDIR)\sashwin.obj \ |
2bda0e17 KB |
60 | $(GENDIR)\scrolwin.obj \ |
61 | $(GENDIR)\splitter.obj \ | |
62 | $(GENDIR)\statusbr.obj \ | |
63 | $(GENDIR)\tabg.obj \ | |
64 | $(GENDIR)\textdlgg.obj | |
65 | ||
f60d0f94 JS |
66 | # $(GENDIR)\imaglist.obj \ |
67 | # $(GENDIR)\treectrl.obj \ | |
68 | # $(GENDIR)\listctrl.obj \ | |
69 | # $(GENDIR)\notebook.obj \ | |
70 | ||
dfad0599 JS |
71 | # These are generic things that don't need to be compiled on MSW, |
72 | # but sometimes it's useful to do so for testing purposes. | |
73 | NONESSENTIALOBJS= \ | |
74 | $(GENDIR)\printps.obj \ | |
75 | $(GENDIR)\prntdlgg.obj \ | |
76 | $(GENDIR)\msgdlgg.obj \ | |
77 | $(GENDIR)\helpxlp.obj \ | |
78 | $(GENDIR)\colrdlgg.obj \ | |
79 | $(GENDIR)\fontdlgg.obj \ | |
80 | $(COMMDIR)\postscrp.obj | |
81 | ||
2bda0e17 KB |
82 | COMMONOBJS = \ |
83 | $(COMMDIR)\cmndata.obj \ | |
84 | $(COMMDIR)\config.obj \ | |
108106cf JS |
85 | $(COMMDIR)\db.obj \ |
86 | $(COMMDIR)\dbtable.obj \ | |
2bda0e17 | 87 | $(COMMDIR)\docview.obj \ |
2108f33a | 88 | $(COMMDIR)\docmdi.obj \ |
2bda0e17 | 89 | $(COMMDIR)\dynarray.obj \ |
0c32066b | 90 | $(COMMDIR)\dynlib.obj \ |
2bda0e17 KB |
91 | $(COMMDIR)\event.obj \ |
92 | $(COMMDIR)\file.obj \ | |
2bda0e17 | 93 | $(COMMDIR)\filefn.obj \ |
3d8bd7d6 JS |
94 | $(COMMDIR)\fileconf.obj \ |
95 | $(COMMDIR)\framecmn.obj \ | |
2bda0e17 | 96 | $(COMMDIR)\gdicmn.obj \ |
e3554471 | 97 | $(COMMDIR)\image.obj \ |
2bda0e17 KB |
98 | $(COMMDIR)\intl.obj \ |
99 | $(COMMDIR)\ipcbase.obj \ | |
100 | $(COMMDIR)\helpbase.obj \ | |
101 | $(COMMDIR)\layout.obj \ | |
102 | $(COMMDIR)\log.obj \ | |
103 | $(COMMDIR)\memory.obj \ | |
104 | $(COMMDIR)\module.obj \ | |
2bda0e17 | 105 | $(COMMDIR)\odbc.obj \ |
34138703 | 106 | $(COMMDIR)\object.obj \ |
2bda0e17 KB |
107 | $(COMMDIR)\prntbase.obj \ |
108 | $(COMMDIR)\resource.obj \ | |
109 | $(COMMDIR)\tbarbase.obj \ | |
110 | $(COMMDIR)\tbarsmpl.obj \ | |
111 | $(COMMDIR)\textfile.obj \ | |
112 | $(COMMDIR)\timercmn.obj \ | |
113 | $(COMMDIR)\utilscmn.obj \ | |
114 | $(COMMDIR)\validate.obj \ | |
115 | $(COMMDIR)\valtext.obj \ | |
116 | $(COMMDIR)\date.obj \ | |
117 | $(COMMDIR)\hash.obj \ | |
118 | $(COMMDIR)\list.obj \ | |
119 | $(COMMDIR)\string.obj \ | |
fcc6dddd JS |
120 | $(COMMDIR)\socket.obj \ |
121 | $(COMMDIR)\sckaddr.obj \ | |
122 | $(COMMDIR)\sckfile.obj \ | |
123 | $(COMMDIR)\sckipc.obj \ | |
124 | $(COMMDIR)\sckstrm.obj \ | |
125 | $(COMMDIR)\url.obj \ | |
126 | $(COMMDIR)\http.obj \ | |
127 | $(COMMDIR)\protocol.obj \ | |
2bda0e17 | 128 | $(COMMDIR)\time.obj \ |
fcc6dddd | 129 | $(COMMDIR)\tokenzr.obj \ |
2bda0e17 | 130 | $(COMMDIR)\wxexpr.obj \ |
cf447356 | 131 | $(COMMDIR)\y_tab.obj \ |
ca7731b7 | 132 | $(COMMDIR)\extended.obj \ |
3848ffef | 133 | $(COMMDIR)\process.obj \ |
25331334 | 134 | $(COMMDIR)\wfstream.obj \ |
79c3e0e1 GL |
135 | $(COMMDIR)\mstream.obj \ |
136 | $(COMMDIR)\zstream.obj \ | |
137 | $(COMMDIR)\stream.obj \ | |
81d66cf3 | 138 | $(COMMDIR)\datstrm.obj \ |
fcc6dddd | 139 | $(COMMDIR)\objstrm.obj \ |
341287bf | 140 | $(COMMDIR)\variant.obj \ |
3d8bd7d6 JS |
141 | $(COMMDIR)\wincmn.obj |
142 | ||
2bda0e17 | 143 | MSWOBJS = \ |
57a7b7c1 | 144 | $(MSWDIR)\accel.obj \ |
2bda0e17 KB |
145 | $(MSWDIR)\app.obj \ |
146 | $(MSWDIR)\bitmap.obj \ | |
147 | $(MSWDIR)\bmpbuttn.obj \ | |
148 | $(MSWDIR)\brush.obj \ | |
149 | $(MSWDIR)\button.obj \ | |
150 | $(MSWDIR)\checkbox.obj \ | |
151 | $(MSWDIR)\checklst.obj \ | |
152 | $(MSWDIR)\choice.obj \ | |
153 | $(MSWDIR)\clipbrd.obj \ | |
154 | $(MSWDIR)\colordlg.obj \ | |
155 | $(MSWDIR)\colour.obj \ | |
156 | $(MSWDIR)\combobox.obj \ | |
157 | $(MSWDIR)\control.obj \ | |
158 | $(MSWDIR)\curico.obj \ | |
159 | $(MSWDIR)\cursor.obj \ | |
160 | $(MSWDIR)\data.obj \ | |
161 | $(MSWDIR)\dc.obj \ | |
162 | $(MSWDIR)\dcmemory.obj \ | |
163 | $(MSWDIR)\dcclient.obj \ | |
164 | $(MSWDIR)\dcprint.obj \ | |
165 | $(MSWDIR)\dcscreen.obj \ | |
166 | $(MSWDIR)\dde.obj \ | |
167 | $(MSWDIR)\dialog.obj \ | |
168 | $(MSWDIR)\dib.obj \ | |
169 | $(MSWDIR)\dibutils.obj \ | |
170 | $(MSWDIR)\dirdlg.obj \ | |
171 | $(MSWDIR)\filedlg.obj \ | |
172 | $(MSWDIR)\font.obj \ | |
173 | $(MSWDIR)\fontdlg.obj \ | |
174 | $(MSWDIR)\frame.obj \ | |
da87a1ca JS |
175 | $(MSWDIR)\gauge95.obj \ |
176 | $(MSWDIR)\gaugemsw.obj \ | |
2bda0e17 KB |
177 | $(MSWDIR)\gdiobj.obj \ |
178 | $(MSWDIR)\helpwin.obj \ | |
179 | $(MSWDIR)\icon.obj \ | |
18244936 | 180 | $(MSWDIR)\iniconf.obj \ |
2bda0e17 KB |
181 | $(MSWDIR)\joystick.obj \ |
182 | $(MSWDIR)\listbox.obj \ | |
2bda0e17 KB |
183 | $(MSWDIR)\main.obj \ |
184 | $(MSWDIR)\mdi.obj \ | |
185 | $(MSWDIR)\menu.obj \ | |
186 | $(MSWDIR)\menuitem.obj \ | |
187 | $(MSWDIR)\metafile.obj \ | |
188 | $(MSWDIR)\minifram.obj \ | |
189 | $(MSWDIR)\msgdlg.obj \ | |
190 | $(MSWDIR)\nativdlg.obj \ | |
191 | $(MSWDIR)\ownerdrw.obj \ | |
192 | $(MSWDIR)\palette.obj \ | |
193 | $(MSWDIR)\pen.obj \ | |
194 | $(MSWDIR)\penwin.obj \ | |
195 | $(MSWDIR)\pnghand.obj \ | |
196 | $(MSWDIR)\printdlg.obj \ | |
197 | $(MSWDIR)\printwin.obj \ | |
198 | $(MSWDIR)\radiobox.obj \ | |
199 | $(MSWDIR)\radiobut.obj \ | |
200 | $(MSWDIR)\region.obj \ | |
201 | $(MSWDIR)\registry.obj \ | |
6a23cbce | 202 | $(MSWDIR)\regconf.obj \ |
2bda0e17 KB |
203 | $(MSWDIR)\scrolbar.obj \ |
204 | $(MSWDIR)\settings.obj \ | |
da87a1ca JS |
205 | $(MSWDIR)\slidrmsw.obj \ |
206 | $(MSWDIR)\slider95.obj \ | |
2bda0e17 KB |
207 | $(MSWDIR)\spinbutt.obj \ |
208 | $(MSWDIR)\statbmp.obj \ | |
209 | $(MSWDIR)\statbox.obj \ | |
210 | $(MSWDIR)\statbr95.obj \ | |
211 | $(MSWDIR)\stattext.obj \ | |
212 | $(MSWDIR)\tabctrl.obj \ | |
213 | $(MSWDIR)\taskbar.obj \ | |
214 | $(MSWDIR)\tbar95.obj \ | |
215 | $(MSWDIR)\tbarmsw.obj \ | |
216 | $(MSWDIR)\textctrl.obj \ | |
217 | $(MSWDIR)\thread.obj \ | |
218 | $(MSWDIR)\timer.obj \ | |
2bda0e17 | 219 | $(MSWDIR)\utils.obj \ |
cf447356 | 220 | $(MSWDIR)\utilsexc.obj \ |
2bda0e17 KB |
221 | $(MSWDIR)\wave.obj \ |
222 | $(MSWDIR)\window.obj \ | |
f60d0f94 JS |
223 | $(MSWDIR)\notebook.obj \ |
224 | $(MSWDIR)\listctrl.obj \ | |
225 | $(MSWDIR)\imaglist.obj \ | |
226 | $(MSWDIR)\treectrl.obj \ | |
2bda0e17 | 227 | $(OLEDIR)\droptgt.obj \ |
43d811ea JS |
228 | $(OLEDIR)\dropsrc.obj \ |
229 | $(OLEDIR)\dataobj.obj \ | |
2bda0e17 | 230 | $(OLEDIR)\oleutils.obj \ |
aa0b7e1e JS |
231 | $(OLEDIR)\uuid.obj \ |
232 | $(OLEDIR)\automtn.obj | |
2bda0e17 | 233 | |
4fabb575 JS |
234 | XPMOBJECTS = $(XPMDIR)\crbuffri.obj\ |
235 | $(XPMDIR)\crdatfri.obj\ | |
236 | $(XPMDIR)\create.obj $(XPMDIR)\crifrbuf.obj\ | |
237 | $(XPMDIR)\crifrdat.obj\ | |
238 | $(XPMDIR)\data.obj\ | |
239 | $(XPMDIR)\hashtab.obj $(XPMDIR)\misc.obj\ | |
240 | $(XPMDIR)\parse.obj $(XPMDIR)\rdftodat.obj\ | |
241 | $(XPMDIR)\rdftoi.obj\ | |
242 | $(XPMDIR)\rgb.obj $(XPMDIR)\scan.obj\ | |
243 | $(XPMDIR)\simx.obj $(XPMDIR)\wrffrdat.obj\ | |
244 | $(XPMDIR)\wrffrp.obj $(XPMDIR)\wrffri.obj | |
43d811ea | 245 | |
dfad0599 | 246 | # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc. |
4fabb575 | 247 | OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) # $(XPMOBJECTS) |
2bda0e17 KB |
248 | |
249 | # Normal, static library | |
fbcb4166 | 250 | all: $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib $(LIBTARGET) |
2bda0e17 KB |
251 | |
252 | # wxWindows library as DLL | |
253 | dll: | |
254 | nmake -f makefile.nt all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 | |
255 | ||
256 | # wxWindows + app as DLL. Only affects main.cpp. | |
257 | dllapp: | |
258 | nmake -f makefile.nt all FINAL=$(FINAL) DLL=1 | |
259 | ||
260 | # wxWindows + app as DLL, for Netscape plugin - remove DllMain. | |
261 | dllnp: | |
262 | nmake -f makefile.nt all NOMAIN=1 FINAL=$(FINAL) DLL=1 | |
263 | ||
264 | # Use this to make dummy.obj and generate a PCH. | |
265 | # You might use the dll target, then the pch target, in order to | |
266 | # generate a DLL, then a PCH/dummy.obj for compiling your applications with. | |
267 | # | |
268 | # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH | |
269 | # are associated with wx.lib. When using a DLL version of wxWindows, however, | |
270 | # the DLL is compiled without a PCH, so you only need it for compiling the app. | |
271 | # In fact headers are compiled differently depending on whether a DLL is being made | |
272 | # or an app is calling the DLL exported functionality (WXDLLEXPORT is different | |
273 | # in each case) so you couldn't use the same PCH. | |
274 | pch: | |
275 | nmake -f makefile.nt pch1 WXUSINGDLL=1 | |
276 | ||
277 | pch1: $(DUMMYOBJ) | |
278 | ||
279 | $(WXDIR)\lib\wx.lib: dummy.obj $(OBJECTS) $(PERIPH_LIBS) | |
280 | -erase $(LIBTARGET) | |
281 | $(implib) @<< | |
282 | -out:$@ | |
283 | -machine:$(CPU) | |
284 | $(OBJECTS) $(PERIPH_LIBS) | |
285 | << | |
286 | ||
287 | # Update the import library | |
288 | $(WXDIR)\lib\wx200.lib: $(DUMMYOBJ) $(OBJECTS) | |
289 | $(implib) @<< | |
290 | -machine:$(CPU) | |
291 | -def:wx.def | |
292 | $(DUMMYOBJ) $(OBJECTS) | |
293 | -out:$(WXDIR)\lib\wx200.lib | |
294 | << | |
295 | ||
296 | # Update the dynamic link library | |
297 | $(WXDIR)\lib\wx200.dll: $(DUMMYOBJ) $(OBJECTS) $(WXDIR)\lib\wx200.lib | |
298 | $(link) @<< | |
299 | $(LINKFLAGS) | |
300 | -out:$(WXDIR)\lib\wx200.dll | |
fbcb4166 | 301 | $(DUMMYOBJ) $(OBJECTS) $(guilibsdll) shell32.lib comctl32.lib ctl3d32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib odbc32.lib advapi32.lib winmm.lib $(WXDIR)\lib\winpng.lib $(WXDIR)\lib\zlib.lib |
2bda0e17 KB |
302 | << |
303 | ||
304 | ######################################################## | |
305 | # Windows-specific objects | |
306 | ||
307 | dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h | |
308 | cl $(CPPFLAGS) $(MAKEPRECOMP) /c /Tp $*.$(SRCSUFF) | |
309 | ||
310 | dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h | |
311 | cl @<< | |
312 | $(CPPFLAGS) $(MAKEPRECOMP) /c /Tp $*.$(SRCSUFF) | |
313 | << | |
314 | ||
57a7b7c1 JS |
315 | $(MSWDIR)/accel.obj: $*.$(SRCSUFF) |
316 | cl @<< | |
317 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
318 | << | |
319 | ||
2bda0e17 KB |
320 | $(MSWDIR)/app.obj: $*.$(SRCSUFF) |
321 | cl @<< | |
6164d85e | 322 | $(CPPFLAGS) /D__NO_VC_CRTDBG__ /c /Tp $*.$(SRCSUFF) /Fo$@ |
2bda0e17 KB |
323 | << |
324 | ||
325 | $(MSWDIR)/bitmap.obj: $*.$(SRCSUFF) | |
326 | cl @<< | |
327 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
328 | << | |
329 | ||
330 | $(MSWDIR)/bmpbuttn.obj: $*.$(SRCSUFF) | |
331 | cl @<< | |
332 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
333 | << | |
334 | ||
335 | $(MSWDIR)/brush.obj: $*.$(SRCSUFF) | |
336 | cl @<< | |
337 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
338 | << | |
339 | ||
340 | $(MSWDIR)/button.obj: $*.$(SRCSUFF) | |
341 | cl @<< | |
342 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
343 | << | |
344 | ||
345 | $(MSWDIR)/choice.obj: $*.$(SRCSUFF) | |
346 | cl @<< | |
347 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
348 | << | |
349 | ||
350 | $(MSWDIR)/checkbox.obj: $*.$(SRCSUFF) | |
351 | cl @<< | |
352 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
353 | << | |
354 | ||
355 | $(MSWDIR)/checklst.obj: $*.$(SRCSUFF) | |
356 | cl @<< | |
357 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
358 | << | |
359 | ||
360 | $(MSWDIR)/clipbrd.obj: $*.$(SRCSUFF) | |
361 | cl @<< | |
362 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
363 | << | |
364 | ||
365 | $(MSWDIR)/colordlg.obj: $*.$(SRCSUFF) | |
366 | cl @<< | |
367 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
368 | << | |
369 | ||
370 | $(MSWDIR)/colour.obj: $*.$(SRCSUFF) | |
371 | cl @<< | |
372 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
373 | << | |
374 | ||
375 | $(MSWDIR)/combobox.obj: $*.$(SRCSUFF) | |
376 | cl @<< | |
377 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
378 | << | |
379 | ||
380 | $(MSWDIR)/control.obj: $*.$(SRCSUFF) | |
381 | cl @<< | |
382 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
383 | << | |
384 | ||
385 | $(MSWDIR)/curico.obj: $*.$(SRCSUFF) | |
386 | cl @<< | |
387 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
388 | << | |
389 | ||
390 | $(MSWDIR)/cursor.obj: $*.$(SRCSUFF) | |
391 | cl @<< | |
392 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
393 | << | |
394 | ||
395 | $(MSWDIR)/data.obj: $*.$(SRCSUFF) | |
396 | cl @<< | |
397 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
398 | << | |
399 | ||
400 | $(MSWDIR)/dde.obj: $*.$(SRCSUFF) | |
401 | cl @<< | |
402 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
403 | << | |
404 | ||
405 | $(MSWDIR)/dc.obj: $*.$(SRCSUFF) | |
406 | cl @<< | |
407 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
408 | << | |
409 | ||
410 | $(MSWDIR)/dcmemory.obj: $*.$(SRCSUFF) | |
411 | cl @<< | |
412 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
413 | << | |
414 | ||
415 | $(MSWDIR)/dcclient.obj: $*.$(SRCSUFF) | |
416 | cl @<< | |
417 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
418 | << | |
419 | ||
420 | $(MSWDIR)/dcprint.obj: $*.$(SRCSUFF) | |
421 | cl @<< | |
422 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
423 | << | |
424 | ||
425 | $(MSWDIR)/dcscreen.obj: $*.$(SRCSUFF) | |
426 | cl @<< | |
427 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
428 | << | |
429 | ||
430 | $(MSWDIR)/dialog.obj: $*.$(SRCSUFF) | |
431 | cl @<< | |
432 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
433 | << | |
434 | ||
435 | $(MSWDIR)/dib.obj: $*.$(SRCSUFF) | |
436 | cl @<< | |
437 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
438 | << | |
439 | ||
440 | $(MSWDIR)/dibutils.obj: $*.$(SRCSUFF) | |
441 | cl @<< | |
442 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
443 | << | |
444 | ||
445 | $(MSWDIR)/dirdlg.obj: $*.$(SRCSUFF) | |
446 | cl @<< | |
447 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
448 | << | |
449 | ||
450 | $(MSWDIR)/filedlg.obj: $*.$(SRCSUFF) | |
451 | cl @<< | |
452 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
453 | << | |
454 | ||
455 | $(MSWDIR)/font.obj: $*.$(SRCSUFF) | |
456 | cl @<< | |
457 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
458 | << | |
459 | ||
460 | $(MSWDIR)/fontdlg.obj: $*.$(SRCSUFF) | |
461 | cl @<< | |
462 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
463 | << | |
464 | ||
465 | $(MSWDIR)/frame.obj: $*.$(SRCSUFF) | |
466 | cl @<< | |
467 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
468 | << | |
469 | ||
da87a1ca JS |
470 | $(MSWDIR)/gauge95.obj: $*.$(SRCSUFF) |
471 | cl @<< | |
472 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
473 | << | |
474 | ||
475 | $(MSWDIR)/gaugemsw.obj: $*.$(SRCSUFF) | |
2bda0e17 KB |
476 | cl @<< |
477 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
478 | << | |
479 | ||
480 | $(MSWDIR)/gdiobj.obj: $*.$(SRCSUFF) | |
481 | cl @<< | |
482 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
483 | << | |
484 | ||
485 | $(MSWDIR)/icon.obj: $*.$(SRCSUFF) | |
486 | cl @<< | |
487 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
488 | << | |
489 | ||
490 | $(MSWDIR)/imaglist.obj: $*.$(SRCSUFF) | |
491 | cl @<< | |
492 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
493 | << | |
494 | ||
495 | $(MSWDIR)/joystick.obj: $*.$(SRCSUFF) | |
496 | cl @<< | |
497 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
498 | << | |
499 | ||
500 | $(MSWDIR)/listbox.obj: $*.$(SRCSUFF) | |
501 | cl @<< | |
502 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
503 | << | |
504 | ||
505 | $(MSWDIR)/listctrl.obj: $*.$(SRCSUFF) | |
506 | cl @<< | |
507 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
508 | << | |
509 | ||
510 | $(MSWDIR)/main.obj: $*.$(SRCSUFF) | |
511 | cl @<< | |
512 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
513 | << | |
514 | ||
515 | $(MSWDIR)/mdi.obj: $*.$(SRCSUFF) | |
516 | cl @<< | |
517 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
518 | << | |
519 | ||
520 | $(MSWDIR)/menu.obj: $*.$(SRCSUFF) | |
521 | cl @<< | |
522 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
523 | << | |
524 | ||
525 | $(MSWDIR)/menuitem.obj: $*.$(SRCSUFF) | |
526 | cl @<< | |
527 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
528 | << | |
529 | ||
530 | $(MSWDIR)/metafile.obj: $*.$(SRCSUFF) | |
531 | cl @<< | |
532 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
533 | << | |
534 | ||
535 | $(MSWDIR)/minifram.obj: $*.$(SRCSUFF) | |
536 | cl @<< | |
537 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
538 | << | |
539 | ||
540 | $(MSWDIR)/msgdlg.obj: $*.$(SRCSUFF) | |
541 | cl @<< | |
542 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
543 | << | |
544 | ||
545 | $(MSWDIR)/nativdlg.obj: $*.$(SRCSUFF) | |
546 | cl @<< | |
547 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
548 | << | |
549 | ||
1c089c47 JS |
550 | $(MSWDIR)/notebook.obj: $*.$(SRCSUFF) |
551 | cl @<< | |
552 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
553 | << | |
554 | ||
2bda0e17 KB |
555 | $(MSWDIR)/ownerdrw.obj: $*.$(SRCSUFF) |
556 | cl @<< | |
557 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
558 | << | |
559 | ||
560 | $(MSWDIR)/palette.obj: $*.$(SRCSUFF) | |
561 | cl @<< | |
562 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
563 | << | |
564 | ||
565 | $(MSWDIR)/pen.obj: $*.$(SRCSUFF) | |
566 | cl @<< | |
567 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
568 | << | |
569 | ||
570 | $(MSWDIR)/penwin.obj: $*.$(SRCSUFF) | |
571 | cl @<< | |
572 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
573 | << | |
574 | ||
575 | $(MSWDIR)/pnghand.obj: $*.$(SRCSUFF) | |
576 | cl @<< | |
577 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
578 | << | |
579 | ||
580 | $(MSWDIR)/printdlg.obj: $*.$(SRCSUFF) | |
581 | cl @<< | |
582 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
583 | << | |
584 | ||
585 | $(MSWDIR)/printwin.obj: $*.$(SRCSUFF) | |
586 | cl @<< | |
587 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
588 | << | |
589 | ||
590 | $(MSWDIR)/radiobox.obj: $*.$(SRCSUFF) | |
591 | cl @<< | |
592 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
593 | << | |
594 | ||
595 | $(MSWDIR)/radiobut.obj: $*.$(SRCSUFF) | |
596 | cl @<< | |
597 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
598 | << | |
599 | ||
600 | $(MSWDIR)/region.obj: $*.$(SRCSUFF) | |
601 | cl @<< | |
602 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
603 | << | |
604 | ||
605 | $(MSWDIR)/registry.obj: $*.$(SRCSUFF) | |
606 | cl @<< | |
607 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
608 | << | |
609 | ||
6a23cbce JS |
610 | $(MSWDIR)/regconf.obj: $*.$(SRCSUFF) |
611 | cl @<< | |
612 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
613 | << | |
614 | ||
2bda0e17 KB |
615 | $(MSWDIR)/scrolbar.obj: $*.$(SRCSUFF) |
616 | cl @<< | |
617 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
618 | << | |
619 | ||
620 | $(MSWDIR)/settings.obj: $*.$(SRCSUFF) | |
621 | cl @<< | |
622 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
623 | << | |
624 | ||
da87a1ca JS |
625 | $(MSWDIR)/slidrmsw.obj: $*.$(SRCSUFF) |
626 | cl @<< | |
627 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
628 | << | |
629 | ||
630 | $(MSWDIR)/slider95.obj: $*.$(SRCSUFF) | |
2bda0e17 KB |
631 | cl @<< |
632 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
633 | << | |
634 | ||
635 | $(MSWDIR)/spinbutt.obj: $*.$(SRCSUFF) | |
636 | cl @<< | |
637 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
638 | << | |
639 | ||
640 | $(MSWDIR)/statbmp.obj: $*.$(SRCSUFF) | |
641 | cl @<< | |
642 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
643 | << | |
644 | ||
645 | $(MSWDIR)/statbox.obj: $*.$(SRCSUFF) | |
646 | cl @<< | |
647 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
648 | << | |
649 | ||
650 | $(MSWDIR)/statbr95.obj: $*.$(SRCSUFF) | |
651 | cl @<< | |
652 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
653 | << | |
654 | ||
655 | $(MSWDIR)/stattext.obj: $*.$(SRCSUFF) | |
656 | cl @<< | |
657 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
658 | << | |
659 | ||
660 | $(MSWDIR)/tabctrl.obj: $*.$(SRCSUFF) | |
661 | cl @<< | |
662 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
663 | << | |
664 | ||
665 | $(MSWDIR)/taskbar.obj: $*.$(SRCSUFF) | |
666 | cl @<< | |
667 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
668 | << | |
669 | ||
670 | $(MSWDIR)/tbar95.obj: $*.$(SRCSUFF) | |
671 | cl @<< | |
672 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
673 | << | |
674 | ||
675 | $(MSWDIR)/tbarmsw.obj: $*.$(SRCSUFF) | |
676 | cl @<< | |
677 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
678 | << | |
679 | ||
680 | $(MSWDIR)/textctrl.obj: $*.$(SRCSUFF) | |
681 | cl @<< | |
682 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
683 | << | |
684 | ||
685 | $(MSWDIR)/thread.obj: $*.$(SRCSUFF) | |
686 | cl @<< | |
687 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
688 | << | |
689 | ||
690 | $(MSWDIR)/timer.obj: $*.$(SRCSUFF) | |
691 | cl @<< | |
692 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
693 | << | |
694 | ||
695 | $(MSWDIR)/treectrl.obj: $*.$(SRCSUFF) | |
696 | cl @<< | |
697 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
698 | << | |
699 | ||
700 | $(MSWDIR)/utils.obj: $*.$(SRCSUFF) | |
701 | cl @<< | |
702 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
703 | << | |
704 | ||
cf447356 GL |
705 | $(MSWDIR)/utilsexc.obj: $*.$(SRCSUFF) |
706 | cl @<< | |
707 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
708 | << | |
709 | ||
2bda0e17 KB |
710 | $(MSWDIR)/wave.obj: $*.$(SRCSUFF) |
711 | echo $(CPPFLAGS) | |
712 | cl @<< | |
713 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
714 | << | |
715 | ||
716 | $(MSWDIR)/window.obj: $*.$(SRCSUFF) | |
717 | echo $(CPPFLAGS) | |
718 | cl @<< | |
719 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
720 | << | |
721 | ||
722 | $(OLEDIR)/droptgt.obj: $*.$(SRCSUFF) | |
723 | echo $(CPPFLAGS) | |
724 | cl @<< | |
725 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
43d811ea JS |
726 | << |
727 | ||
728 | $(OLEDIR)/dropsrc.obj: $*.$(SRCSUFF) | |
729 | echo $(CPPFLAGS) | |
730 | cl @<< | |
731 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
732 | << | |
733 | ||
734 | $(OLEDIR)/dataobj.obj: $*.$(SRCSUFF) | |
735 | echo $(CPPFLAGS) | |
736 | cl @<< | |
737 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
2bda0e17 KB |
738 | << |
739 | ||
740 | $(OLEDIR)/oleutils.obj: $*.$(SRCSUFF) | |
741 | echo $(CPPFLAGS) | |
742 | cl @<< | |
743 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
744 | << | |
745 | ||
746 | $(OLEDIR)/uuid.obj: $*.$(SRCSUFF) | |
747 | echo $(CPPFLAGS) | |
748 | cl @<< | |
749 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
750 | << | |
751 | ||
aa0b7e1e JS |
752 | $(OLEDIR)/automtn.obj: $*.$(SRCSUFF) |
753 | echo $(CPPFLAGS) | |
754 | cl @<< | |
755 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
756 | << | |
757 | ||
2bda0e17 KB |
758 | ######################################################## |
759 | # Common objects (always compiled) | |
760 | ||
761 | $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF) | |
762 | echo $(CPPFLAGS) | |
763 | cl @<< | |
764 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
765 | << | |
766 | ||
767 | $(COMMDIR)/config.obj: $*.$(SRCSUFF) | |
768 | echo $(CPPFLAGS) | |
769 | cl @<< | |
770 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
771 | << | |
772 | ||
108106cf JS |
773 | $(COMMDIR)/db.obj: $*.$(SRCSUFF) |
774 | echo $(CPPFLAGS) | |
775 | cl @<< | |
776 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
777 | << | |
778 | ||
779 | $(COMMDIR)/dbtable.obj: $*.$(SRCSUFF) | |
780 | echo $(CPPFLAGS) | |
781 | cl @<< | |
782 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
783 | << | |
784 | ||
2bda0e17 KB |
785 | $(COMMDIR)/docview.obj: $*.$(SRCSUFF) |
786 | cl @<< | |
787 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
788 | << | |
789 | ||
2108f33a JS |
790 | $(COMMDIR)/docmdi.obj: $*.$(SRCSUFF) |
791 | cl @<< | |
792 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
793 | << | |
794 | ||
2bda0e17 KB |
795 | $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF) |
796 | cl @<< | |
797 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
798 | << | |
799 | ||
0c32066b JS |
800 | $(COMMDIR)/dynlib.obj: $*.$(SRCSUFF) |
801 | cl @<< | |
802 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
803 | << | |
804 | ||
2bda0e17 KB |
805 | $(COMMDIR)/event.obj: $*.$(SRCSUFF) |
806 | cl @<< | |
807 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
808 | << | |
809 | ||
810 | $(COMMDIR)/file.obj: $*.$(SRCSUFF) | |
811 | cl @<< | |
812 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
813 | << | |
814 | ||
815 | $(COMMDIR)/fileconf.obj: $*.$(SRCSUFF) | |
816 | cl @<< | |
817 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
818 | << | |
819 | ||
820 | $(COMMDIR)/filefn.obj: $*.$(SRCSUFF) | |
821 | cl @<< | |
822 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
823 | << | |
824 | ||
3d8bd7d6 JS |
825 | $(COMMDIR)/framecmn.obj: $*.$(SRCSUFF) |
826 | cl @<< | |
827 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
828 | << | |
829 | ||
2bda0e17 KB |
830 | $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF) |
831 | cl @<< | |
832 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
833 | << | |
834 | ||
e3554471 | 835 | $(COMMDIR)/image.obj: $*.$(SRCSUFF) |
18244936 JS |
836 | cl @<< |
837 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
838 | << | |
839 | ||
2bda0e17 KB |
840 | $(COMMDIR)/intl.obj: $*.$(SRCSUFF) |
841 | cl @<< | |
842 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
843 | << | |
844 | ||
845 | $(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF) | |
846 | cl @<< | |
847 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
848 | << | |
849 | ||
850 | $(COMMDIR)/helpbase.obj: $*.$(SRCSUFF) | |
851 | cl @<< | |
852 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
853 | << | |
854 | ||
855 | $(COMMDIR)/layout.obj: $*.$(SRCSUFF) | |
856 | cl @<< | |
857 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
858 | << | |
859 | ||
860 | $(COMMDIR)/log.obj: $*.$(SRCSUFF) | |
861 | cl @<< | |
862 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
863 | << | |
864 | ||
865 | $(COMMDIR)/memory.obj: $*.$(SRCSUFF) | |
866 | cl @<< | |
867 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
868 | << | |
869 | ||
870 | $(COMMDIR)/module.obj: $*.$(SRCSUFF) | |
871 | cl @<< | |
872 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
873 | << | |
874 | ||
875 | $(COMMDIR)/object.obj: $*.$(SRCSUFF) | |
876 | cl @<< | |
877 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
878 | << | |
879 | ||
880 | $(COMMDIR)/odbc.obj: $*.$(SRCSUFF) | |
881 | cl @<< | |
882 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
883 | << | |
884 | ||
885 | $(COMMDIR)/postscrp.obj: $*.$(SRCSUFF) | |
886 | cl @<< | |
887 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
888 | << | |
889 | ||
890 | $(COMMDIR)/prntbase.obj: $*.$(SRCSUFF) | |
891 | cl @<< | |
892 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
893 | << | |
894 | ||
895 | $(COMMDIR)/resource.obj: $*.$(SRCSUFF) | |
896 | cl @<< | |
897 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
898 | << | |
899 | ||
900 | $(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF) | |
901 | cl @<< | |
902 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
903 | << | |
904 | ||
905 | $(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF) | |
906 | cl @<< | |
907 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
908 | << | |
909 | ||
910 | $(COMMDIR)/textfile.obj: $*.$(SRCSUFF) | |
911 | cl @<< | |
912 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
913 | << | |
914 | ||
915 | $(COMMDIR)/timercmn.obj: $*.$(SRCSUFF) | |
916 | cl @<< | |
917 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
918 | << | |
919 | ||
920 | $(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF) | |
921 | cl @<< | |
922 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
923 | << | |
924 | ||
925 | $(COMMDIR)/validate.obj: $*.$(SRCSUFF) | |
926 | cl @<< | |
927 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
928 | << | |
929 | ||
930 | $(COMMDIR)/valtext.obj: $*.$(SRCSUFF) | |
931 | cl @<< | |
932 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
933 | << | |
934 | ||
935 | $(COMMDIR)/date.obj: $*.$(SRCSUFF) | |
936 | cl @<< | |
937 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
938 | << | |
939 | ||
940 | $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF) | |
941 | echo $(CPPFLAGS) | |
942 | cl @<< | |
943 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
944 | << | |
945 | ||
946 | $(COMMDIR)/hash.obj: $*.$(SRCSUFF) | |
947 | cl @<< | |
948 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
949 | << | |
950 | ||
951 | $(COMMDIR)/list.obj: $*.$(SRCSUFF) | |
952 | cl @<< | |
953 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
954 | << | |
955 | ||
956 | $(COMMDIR)/string.obj: $*.$(SRCSUFF) | |
957 | cl @<< | |
958 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
959 | << | |
960 | ||
fcc6dddd JS |
961 | $(COMMDIR)/socket.obj: $*.$(SRCSUFF) |
962 | cl @<< | |
963 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
964 | << | |
965 | ||
966 | $(COMMDIR)/sckaddr.obj: $*.$(SRCSUFF) | |
967 | cl @<< | |
968 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
969 | << | |
970 | ||
971 | $(COMMDIR)/sckfile.obj: $*.$(SRCSUFF) | |
972 | cl @<< | |
973 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
974 | << | |
975 | ||
976 | $(COMMDIR)/sckipc.obj: $*.$(SRCSUFF) | |
977 | cl @<< | |
978 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
979 | << | |
980 | ||
981 | $(COMMDIR)/sckstrm.obj: $*.$(SRCSUFF) | |
982 | cl @<< | |
983 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
984 | << | |
985 | ||
986 | $(COMMDIR)/url.obj: $*.$(SRCSUFF) | |
987 | cl @<< | |
988 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
989 | << | |
990 | ||
991 | $(COMMDIR)/http.obj: $*.$(SRCSUFF) | |
992 | cl @<< | |
993 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
994 | << | |
995 | ||
996 | $(COMMDIR)/protocol.obj: $*.$(SRCSUFF) | |
997 | cl @<< | |
998 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
999 | << | |
1000 | ||
1001 | $(COMMDIR)/tokenzr.obj: $*.$(SRCSUFF) | |
1002 | cl @<< | |
1003 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1004 | << | |
1005 | ||
2bda0e17 KB |
1006 | $(COMMDIR)/matrix.obj: $*.$(SRCSUFF) |
1007 | cl @<< | |
1008 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1009 | << | |
1010 | ||
2bda0e17 KB |
1011 | $(COMMDIR)/time.obj: $*.$(SRCSUFF) |
1012 | cl @<< | |
1013 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1014 | << | |
1015 | ||
79c3e0e1 GL |
1016 | $(COMMDIR)\stream.obj: $*.$(SRCSUFF) |
1017 | cl @<< | |
1018 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1019 | << | |
1020 | ||
25331334 | 1021 | $(COMMDIR)\wfstream.obj: $*.$(SRCSUFF) |
79c3e0e1 GL |
1022 | cl @<< |
1023 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1024 | << | |
1025 | ||
1026 | $(COMMDIR)\mstream.obj: $*.$(SRCSUFF) | |
1027 | cl @<< | |
1028 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1029 | << | |
1030 | ||
1031 | $(COMMDIR)\zstream.obj: $*.$(SRCSUFF) | |
1032 | cl @<< | |
1033 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1034 | << | |
1035 | ||
cf447356 GL |
1036 | $(COMMDIR)\datstrm.obj: $*.$(SRCSUFF) |
1037 | cl @<< | |
1038 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1039 | << | |
1040 | ||
fcc6dddd JS |
1041 | $(COMMDIR)\objstrm.obj: $*.$(SRCSUFF) |
1042 | cl @<< | |
1043 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1044 | << | |
1045 | ||
cf447356 GL |
1046 | $(COMMDIR)/extended.obj: $*.c |
1047 | cl @<< | |
fcc6dddd | 1048 | $(CPPFLAGS2) /c $*.c /Fo$@ |
cf447356 GL |
1049 | << |
1050 | ||
ca7731b7 GL |
1051 | $(COMMDIR)/process.obj: $*.$(SRCSUFF) |
1052 | cl @<< | |
341287bf JS |
1053 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ |
1054 | << | |
1055 | ||
1056 | $(COMMDIR)/variant.obj: $*.$(SRCSUFF) | |
1057 | cl @<< | |
1058 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
3d8bd7d6 JS |
1059 | << |
1060 | ||
1061 | $(COMMDIR)/wincmn.obj: $*.$(SRCSUFF) | |
1062 | cl @<< | |
341287bf | 1063 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ |
ca7731b7 GL |
1064 | << |
1065 | ||
2bda0e17 KB |
1066 | $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c |
1067 | cl @<< | |
1068 | $(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ | |
1069 | << | |
1070 | ||
1071 | $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c | |
1072 | copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c | |
1073 | ||
1074 | $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c | |
1075 | copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c | |
1076 | ||
1077 | ######################################################## | |
1078 | # Generic objects (not always compiled, depending on | |
1079 | # whether platforms have native implementations) | |
1080 | ||
1081 | $(GENDIR)/choicdgg.obj: $*.$(SRCSUFF) | |
1082 | cl @<< | |
1083 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1084 | << | |
1085 | ||
1086 | $(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF) | |
1087 | cl @<< | |
1088 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1089 | << | |
1090 | ||
1091 | $(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF) | |
1092 | cl @<< | |
1093 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1094 | << | |
1095 | ||
1096 | $(GENDIR)/gridg.obj: $*.$(SRCSUFF) | |
1097 | cl @<< | |
1098 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1099 | << | |
1100 | ||
1101 | $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF) | |
1102 | cl @<< | |
1103 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1104 | << | |
1105 | ||
a6d70308 JS |
1106 | $(GENDIR)/laywin.obj: $*.$(SRCSUFF) |
1107 | cl @<< | |
1108 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1109 | << | |
1110 | ||
2bda0e17 KB |
1111 | $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF) |
1112 | cl @<< | |
1113 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1114 | << | |
1115 | ||
1116 | $(GENDIR)/panelg.obj: $*.$(SRCSUFF) | |
1117 | cl @<< | |
1118 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1119 | << | |
1120 | ||
e3a43801 JS |
1121 | $(GENDIR)/prop.obj: $*.$(SRCSUFF) |
1122 | cl @<< | |
1123 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1124 | << | |
1125 | ||
1126 | $(GENDIR)/propform.obj: $*.$(SRCSUFF) | |
1127 | cl @<< | |
1128 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1129 | << | |
1130 | ||
1131 | $(GENDIR)/proplist.obj: $*.$(SRCSUFF) | |
1132 | cl @<< | |
1133 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1134 | << | |
1135 | ||
2bda0e17 KB |
1136 | $(GENDIR)/printps.obj: $*.$(SRCSUFF) |
1137 | cl @<< | |
1138 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1139 | << | |
1140 | ||
1141 | $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF) | |
1142 | cl @<< | |
1143 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1144 | << | |
1145 | ||
a6d70308 JS |
1146 | $(GENDIR)/sashwin.obj: $*.$(SRCSUFF) |
1147 | cl @<< | |
1148 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1149 | << | |
1150 | ||
2bda0e17 KB |
1151 | $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF) |
1152 | cl @<< | |
1153 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1154 | << | |
1155 | ||
1156 | $(GENDIR)/splitter.obj: $*.$(SRCSUFF) | |
1157 | cl @<< | |
1158 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1159 | << | |
1160 | ||
1161 | $(GENDIR)/statusbr.obj: $*.$(SRCSUFF) | |
1162 | cl @<< | |
1163 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1164 | << | |
1165 | ||
1166 | $(GENDIR)/tabg.obj: $*.$(SRCSUFF) | |
1167 | cl @<< | |
1168 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1169 | << | |
1170 | ||
1171 | $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF) | |
1172 | cl @<< | |
1173 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1174 | << | |
1175 | ||
f60d0f94 JS |
1176 | $(GENDIR)/treectrl.obj: $*.$(SRCSUFF) |
1177 | cl @<< | |
1178 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1179 | << | |
1180 | ||
1181 | $(GENDIR)/imaglist.obj: $*.$(SRCSUFF) | |
1182 | cl @<< | |
1183 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1184 | << | |
1185 | ||
1186 | $(GENDIR)/listctrl.obj: $*.$(SRCSUFF) | |
1187 | cl @<< | |
1188 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1189 | << | |
1190 | ||
1191 | $(GENDIR)/notebook.obj: $*.$(SRCSUFF) | |
1192 | cl @<< | |
1193 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1194 | << | |
1195 | ||
4fabb575 | 1196 | $(OBJECTS): $(WXDIR)/include/wx/setup.h |
2bda0e17 | 1197 | |
4fabb575 JS |
1198 | $(XPMDIR)\crbuffri.obj: $(XPMDIR)\crbuffri.c |
1199 | cl @<< | |
1200 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
1201 | << | |
2bda0e17 | 1202 | |
4fabb575 JS |
1203 | $(XPMDIR)\crbuffrp.obj: $(XPMDIR)\crbuffrp.c |
1204 | cl @<< | |
1205 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
1206 | << | |
1207 | ||
1208 | $(XPMDIR)\crdatfri.obj: $(XPMDIR)\crdatfri.c | |
1209 | cl @<< | |
1210 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
1211 | << | |
1212 | ||
1213 | $(XPMDIR)\crdatfrp.obj: $(XPMDIR)\crdatfrp.c | |
1214 | cl @<< | |
1215 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
1216 | << | |
1217 | ||
1218 | $(XPMDIR)\create.obj: $(XPMDIR)\create.c | |
1219 | cl @<< | |
1220 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
1221 | << | |
1222 | ||
1223 | $(XPMDIR)\crifrbuf.obj: $(XPMDIR)\crifrbuf.c | |
1224 | cl @<< | |
1225 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
1226 | << | |
1227 | ||
1228 | $(XPMDIR)\crifrdat.obj: $(XPMDIR)\crifrdat.c | |
1229 | cl @<< | |
1230 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
1231 | << | |
1232 | ||
1233 | $(XPMDIR)\crpfrbuf.obj: $(XPMDIR)\crpfrbuf.c | |
1234 | cl @<< | |
1235 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
1236 | << | |
1237 | ||
1238 | $(XPMDIR)\crpfrdat.obj: $(XPMDIR)\crpfrdat.c | |
1239 | cl @<< | |
1240 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
1241 | << | |
1242 | ||
1243 | $(XPMDIR)\data.obj: $(XPMDIR)\data.c | |
1244 | cl @<< | |
1245 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
1246 | << | |
1247 | ||
1248 | $(XPMDIR)\hashtab.obj: $(XPMDIR)\hashtab.c | |
1249 | cl @<< | |
1250 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
1251 | << | |
1252 | ||
1253 | $(XPMDIR)\misc.obj: $(XPMDIR)\misc.c | |
1254 | cl @<< | |
1255 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
1256 | << | |
1257 | ||
1258 | $(XPMDIR)\parse.obj: $(XPMDIR)\parse.c | |
1259 | cl @<< | |
1260 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
1261 | << | |
1262 | ||
1263 | $(XPMDIR)\rdftodat.obj: $(XPMDIR)\rdftodat.c | |
1264 | cl @<< | |
1265 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
1266 | << | |
1267 | ||
1268 | $(XPMDIR)\rdftoi.obj: $(XPMDIR)\rdftoi.c | |
1269 | cl @<< | |
1270 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
1271 | << | |
1272 | ||
1273 | $(XPMDIR)\rdftop.obj: $(XPMDIR)\rdftop.c | |
1274 | cl @<< | |
1275 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
1276 | << | |
1277 | ||
1278 | $(XPMDIR)\rgb.obj: $(XPMDIR)\rgb.c | |
1279 | cl @<< | |
1280 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
1281 | << | |
1282 | ||
1283 | $(XPMDIR)\scan.obj: $(XPMDIR)\scan.c | |
1284 | cl @<< | |
1285 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
1286 | << | |
1287 | ||
1288 | $(XPMDIR)\simx.obj: $(XPMDIR)\simx.c | |
1289 | cl @<< | |
1290 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
1291 | << | |
1292 | ||
1293 | $(XPMDIR)\wrffrdat.obj: $(XPMDIR)\wrffrdat.c | |
1294 | cl @<< | |
1295 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
1296 | << | |
1297 | ||
1298 | $(XPMDIR)\wrffri.obj: $(XPMDIR)\wrffri.c | |
1299 | cl @<< | |
1300 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
1301 | << | |
1302 | ||
1303 | $(XPMDIR)\wrffrp.obj: $(XPMDIR)\wrffrp.c | |
1304 | cl @<< | |
1305 | $(CPPFLAGS2) /c $*.c /Fo$@ | |
1306 | << | |
2bda0e17 KB |
1307 | |
1308 | # Peripheral components | |
1309 | ||
fbcb4166 JS |
1310 | png: |
1311 | cd $(WXDIR)\src\png | |
1312 | nmake -f makefile.nt FINAL=$(FINAL) | |
1313 | cd $(WXDIR)\src\msw | |
1314 | ||
1315 | clean_png: | |
1316 | cd $(WXDIR)\src\png | |
1317 | nmake -f makefile.nt clean | |
1318 | cd $(WXDIR)\src\msw | |
1319 | ||
1320 | zlib: | |
1321 | cd $(WXDIR)\src\zlib | |
1322 | nmake -f makefile.nt FINAL=$(FINAL) | |
1323 | cd $(WXDIR)\src\msw | |
1324 | ||
1325 | clean_zlib: | |
1326 | cd $(WXDIR)\src\zlib | |
1327 | nmake -f makefile.nt clean | |
1328 | cd $(WXDIR)\src\msw | |
1329 | ||
2bda0e17 | 1330 | xpm: |
fbcb4166 | 1331 | cd $(WXDIR)\src\wxxpm |
2bda0e17 KB |
1332 | nmake -f makefile.nt FINAL=$(FINAL) |
1333 | cd $(WXDIR)\src\msw | |
1334 | ||
1335 | clean_xpm: | |
fbcb4166 | 1336 | cd $(WXDIR)\src\wxxpm |
2bda0e17 KB |
1337 | nmake -f makefile.nt clean |
1338 | cd $(WXDIR)\src\msw | |
1339 | ||
1340 | rcparser: | |
1341 | cd $(WXDIR)\utils\rcparser\src | |
1342 | nmake -f makefile.nt FINAL=$(FINAL) | |
1343 | cd $(WXDIR)\src\msw | |
1344 | ||
1345 | wxstring: | |
1346 | cd $(WXDIR)\contrib\wxstring | |
1347 | nmake -f makefile.nt OPTIONS="$(OPTIONS)" DEBUG="$(DEBUG)" FINAL=$(FINAL) | |
1348 | cd $(WXDIR)\src\msw | |
1349 | ||
1350 | clean_wxstring: | |
1351 | cd $(WXDIR)\contrib\wxstring | |
1352 | nmake -f makefile.nt clean | |
1353 | cd $(WXDIR)\src\msw | |
1354 | ||
1355 | clean_rcp: | |
1356 | cd $(WXDIR)\utils\rcparser\src | |
1357 | nmake -f makefile.nt clean | |
1358 | cd $(WXDIR)\src\msw | |
1359 | ||
fbcb4166 | 1360 | clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib |
2bda0e17 KB |
1361 | -erase *.obj |
1362 | -erase $(LIBTARGET) | |
dabeb021 | 1363 | -erase $(WXDIR)\lib\*.pdb |
2bda0e17 KB |
1364 | -erase ..\..\lib\wx200.dll |
1365 | -erase ..\..\lib\wx200.lib | |
1366 | -erase ..\..\lib\wx200.exp | |
1367 | -erase ..\..\lib\wx200.pdb | |
1368 | -erase ..\..\lib\wx200.ilk | |
1369 | -erase *.pdb | |
1370 | -erase *.sbr | |
1371 | -erase *.pch | |
1372 | cd $(WXDIR)\src\msw | |
1373 | cd $(GENDIR) | |
1374 | -erase *.pdb | |
1375 | -erase *.sbr | |
1376 | -erase *.obj | |
1377 | cd $(WXDIR)\src\msw | |
1378 | cd $(COMMDIR) | |
1379 | -erase *.pdb | |
1380 | -erase *.sbr | |
1381 | -erase *.obj | |
1382 | -erase y_tab.c | |
1383 | -erase lex_yy.c | |
1384 | cd $(WXDIR)\src\msw | |
1385 | cd $(OLEDIR) | |
1386 | -erase *.pdb | |
1387 | -erase *.sbr | |
1388 | -erase *.obj | |
1389 | cd $(WXDIR)\src\msw | |
1390 | # -erase ..\common\wxstrgnu\*.obj | |
1391 | # -erase ..\common\lex_yy.c | |
1392 | # -erase ..\common\y_tab.c | |
1393 | ||
1394 | cleanall: clean | |
1395 | ||
1396 | # Making documents | |
62448488 JS |
1397 | docs: allhlp allhtml allpdfrtf |
1398 | alldocs: docs | |
bd0df01f | 1399 | hlp: wxhlp portinghlp # faqhlp |
2bda0e17 | 1400 | wxhlp: $(DOCDIR)/winhelp/wx.hlp |
e3a43801 | 1401 | wxprophlp: $(DOCDIR)/winhelp/wxprop.hlp |
2bda0e17 KB |
1402 | faqhlp: $(DOCDIR)/winhelp/faq.hlp |
1403 | refhlp: $(DOCDIR)/winhelp/techref.hlp | |
1404 | rtf: $(DOCDIR)/winhelp/wx.rtf | |
1405 | faqrtf: $(DOCDIR)/winhelp/faq.rtf | |
e3a43801 | 1406 | wxproprtf: $(DOCDIR)/winhelp/wxprop.rtf |
2bda0e17 KB |
1407 | pdfrtf: $(DOCDIR)/pdf/wx.rtf |
1408 | faqpdfrtf: $(DOCDIR)/pdf/faq.rtf | |
e3a43801 | 1409 | wxproppdfrtf: $(DOCDIR)/pdf/wxprop.rtf |
2bda0e17 KB |
1410 | refpdfrtf: $(DOCDIR)/pdf/techref.rtf |
1411 | html: wxhtml # faqhtml | |
1412 | wxhtml: $(DOCDIR)\html\wx\wx.htm | |
1413 | faqhtml: $(DOCDIR)\html\faq\faq.htm | |
e3a43801 | 1414 | wxprophtml: $(DOCDIR)\html\proplist\prop.htm |
2bda0e17 KB |
1415 | ps: wxps referencps # faqps |
1416 | wxps: $(WXDIR)\docs\ps\wx.ps | |
e3a43801 | 1417 | wxpropps: $(WXDIR)\docs\ps\wxprop.ps |
2bda0e17 KB |
1418 | faqps: $(WXDIR)\docs\ps\faq.ps |
1419 | referencps: $(WXDIR)\docs\ps\referenc.ps | |
1420 | ||
1421 | portinghtml: $(DOCDIR)\html\porting\port.htm | |
1422 | portingrtf: $(DOCDIR)/winhelp/porting.rtf | |
1423 | portinghlp: $(DOCDIR)/winhelp/porting.hlp | |
1424 | portingpdfrtf: $(DOCDIR)/pdf/porting.rtf | |
1425 | portingps: $(WXDIR)\docs\ps\porting.ps | |
1426 | ||
e3a43801 | 1427 | allhlp: wxhlp portinghlp wxprop # faqhlp |
2bda0e17 KB |
1428 | cd $(WXDIR)\utils\dialoged\src |
1429 | nmake -f makefile.nt hlp | |
1430 | cd $(THISDIR) | |
1431 | ||
1432 | # cd $(WXDIR)\utils\wxhelp\src | |
1433 | # nmake -f makefile.nt hlp | |
1434 | # cd $(WXDIR)\utils\wxhelp2\src | |
1435 | # nmake -f makefile.nt hlp | |
1436 | # cd $(WXDIR)\utils\prologio\src | |
1437 | # nmake -f makefile.nt hlp | |
1438 | # cd $(WXDIR)\utils\tex2rtf\src | |
1439 | # nmake -f makefile.nt hlp | |
1440 | # cd $(WXDIR)\utils\wxgraph\src | |
1441 | # nmake -f makefile.nt hlp | |
1442 | # cd $(WXDIR)\utils\wxchart\src | |
1443 | # nmake -f makefile.nt hlp | |
1444 | # cd $(WXDIR)\utils\wxtree\src | |
1445 | # nmake -f makefile.nt hlp | |
1446 | # cd $(WXDIR)\utils\wxbuild\src | |
1447 | # nmake -f makefile.nt hlp | |
1448 | # cd $(WXDIR)\utils\wxgrid\src | |
1449 | # nmake -f makefile.nt hlp | |
1450 | # cd $(WXDIR)\utils\wxtab\src | |
1451 | # nmake -f makefile.nt hlp | |
1452 | ||
1453 | # cd $(WXDIR)\utils\wxclips\src | |
1454 | # nmake -f makefile.nt hlp | |
1455 | # cd $(WXDIR)\utils\clips2c\src | |
1456 | # nmake -f makefile.nt hlp | |
1457 | ||
e3a43801 | 1458 | allhtml: wxhtml portinghtml wxprophtml # faqhtml |
2bda0e17 KB |
1459 | cd $(WXDIR)\utils\dialoged\src |
1460 | nmake -f makefile.nt html | |
1461 | cd $(THISDIR) | |
1462 | ||
1463 | # nmake -f makefile.nt html | |
1464 | # cd $(WXDIR)\utils\dialoged\src | |
1465 | # nmake -f makefile.nt html | |
1466 | # cd $(WXDIR)\utils\hytext\src | |
1467 | # nmake -f makefile.nt html | |
1468 | # cd $(WXDIR)\utils\wxhelp\src | |
1469 | # nmake -f makefile.nt html | |
1470 | # cd $(WXDIR)\utils\wxhelp2\src | |
1471 | # nmake -f makefile.nt html | |
1472 | # cd $(WXDIR)\utils\prologio\src | |
1473 | # nmake -f makefile.nt html | |
1474 | # cd $(WXDIR)\utils\tex2rtf\src | |
1475 | # nmake -f makefile.nt html | |
1476 | # cd $(WXDIR)\utils\wxgraph\src | |
1477 | # nmake -f makefile.nt html | |
1478 | # cd $(WXDIR)\utils\wxchart\src | |
1479 | # nmake -f makefile.nt html | |
1480 | # cd $(WXDIR)\utils\wxtree\src | |
1481 | # nmake -f makefile.nt html | |
1482 | # cd $(WXDIR)\utils\wxtab\src | |
1483 | # nmake -f makefile.nt html | |
1484 | ||
1485 | # cd $(WXDIR)\utils\wxclips\src | |
1486 | # nmake -f makefile.nt html | |
1487 | # cd $(WXDIR)\utils\clips2c\src | |
1488 | # nmake -f makefile.nt html | |
1489 | ||
e3a43801 | 1490 | allps: wxps referencps portingps wxpropps # faqps |
2bda0e17 KB |
1491 | cd $(WXDIR)\utils\dialoged\src |
1492 | nmake -f makefile.nt ps | |
1493 | cd $(THISDIR) | |
1494 | ||
e3a43801 | 1495 | allpdfrtf: pdfrtf portingpdfrtf wxproppdfrtf # faqpdfrtf |
2bda0e17 KB |
1496 | cd $(WXDIR)\utils\dialoged\src |
1497 | nmake -f makefile.nt pdfrtf | |
1498 | cd $(THISDIR) | |
1499 | ||
1500 | # cd $(WXDIR)\utils\wxhelp\src | |
1501 | # nmake -f makefile.nt ps | |
1502 | # cd $(WXDIR)\utils\wxhelp2\src | |
1503 | # nmake -f makefile.nt ps | |
1504 | # cd $(WXDIR)\utils\tex2rtf\src | |
1505 | # nmake -f makefile.nt ps | |
1506 | # cd $(WXDIR)\utils\wxgraph\src | |
1507 | # nmake -f makefile.nt ps | |
1508 | # cd $(WXDIR)\utils\wxchart\src | |
1509 | # nmake -f makefile.nt ps | |
1510 | # cd $(WXDIR)\utils\wxtree\src | |
1511 | # nmake -f makefile.nt ps | |
1512 | # cd $(THISDIR) | |
1513 | ||
1514 | # cd $(WXDIR)\utils\wxtab\src | |
1515 | # nmake -f makefile.nt ps | |
1516 | # cd $(WXDIR)\utils\prologio\src | |
1517 | # nmake -f makefile.nt ps | |
1518 | # cd $(WXDIR)\utils\wxclips\src | |
1519 | # nmake -f makefile.nt ps | |
1520 | # cd $(WXDIR)\utils\clips2c\src | |
1521 | # nmake -f makefile.nt ps | |
1522 | ||
1523 | $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj | |
1524 | cd $(DOCDIR)/latex/wx | |
1525 | -erase wx.ph | |
1526 | hc wx | |
1527 | move wx.hlp $(DOCDIR)\winhelp\wx.hlp | |
1528 | move wx.cnt $(DOCDIR)\winhelp\wx.cnt | |
1529 | cd $(THISDIR) | |
1530 | ||
1531 | $(DOCDIR)/winhelp/porting.hlp: $(DOCDIR)/latex/porting/porting.rtf $(DOCDIR)/latex/porting/porting.hpj | |
1532 | cd $(DOCDIR)/latex/porting | |
1533 | -erase porting.ph | |
1534 | hc porting | |
1535 | move porting.hlp $(DOCDIR)\winhelp\porting.hlp | |
1536 | move porting.cnt $(DOCDIR)\winhelp\porting.cnt | |
1537 | cd $(THISDIR) | |
1538 | ||
1539 | $(DOCDIR)/winhelp/faq.hlp: $(DOCDIR)/latex/faq/faq.rtf $(DOCDIR)/latex/faq/faq.hpj | |
1540 | cd $(DOCDIR)/latex/faq | |
1541 | -erase faq.ph | |
1542 | hc faq | |
1543 | move faq.hlp $(DOCDIR)\winhelp\faq.hlp | |
1544 | move faq.cnt $(DOCDIR)\winhelp\faq.cnt | |
1545 | cd $(THISDIR) | |
1546 | ||
e3a43801 JS |
1547 | $(DOCDIR)/winhelp/wxprop.hlp: $(DOCDIR)/latex/proplist/wxprop.rtf $(DOCDIR)/latex/proplist/wxprop.hpj |
1548 | cd $(DOCDIR)/latex/proplist | |
1549 | -erase wxprop.ph | |
1550 | hc wxprop | |
1551 | move wxprop.hlp $(DOCDIR)\winhelp\wxprop.hlp | |
1552 | move wxprop.cnt $(DOCDIR)\winhelp\wxprop.cnt | |
1553 | cd $(THISDIR) | |
1554 | ||
2bda0e17 KB |
1555 | $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj |
1556 | cd $(DOCDIR)/latex/techref | |
1557 | -erase techref.ph | |
1558 | hc techref | |
1559 | move techref.hlp $(DOCDIR)\winhelp\techref.hlp | |
1560 | move techref.cnt $(DOCDIR)\winhelp\techref.cnt | |
1561 | cd $(THISDIR) | |
1562 | ||
1563 | $(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 | |
1564 | cd $(DOCDIR)\latex\wx | |
1565 | -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp | |
1566 | cd $(THISDIR) | |
1567 | ||
1568 | $(DOCDIR)/latex/porting/porting.rtf: $(DOCDIR)/latex/porting/porting.tex | |
1569 | cd $(DOCDIR)\latex\porting | |
1570 | -start /w tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/latex/porting/porting.rtf -twice -winhelp | |
1571 | cd $(THISDIR) | |
1572 | ||
1573 | $(DOCDIR)/latex/faq/faq.rtf: $(DOCDIR)/latex/faq/faq.tex | |
1574 | cd $(DOCDIR)\latex\faq | |
1575 | -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/latex/faq/faq.rtf -twice -winhelp | |
1576 | cd $(THISDIR) | |
1577 | ||
e3a43801 JS |
1578 | $(DOCDIR)/latex/proplist/wxprop.rtf: $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex |
1579 | cd $(DOCDIR)\latex\proplist | |
1580 | -start /w tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/wxprop.rtf -twice -winhelp | |
1581 | cd $(THISDIR) | |
1582 | ||
2bda0e17 KB |
1583 | $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex |
1584 | cd $(DOCDIR)\latex\techref | |
1585 | -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp | |
1586 | cd $(THISDIR) | |
1587 | ||
1588 | $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex | |
1589 | cd $(DOCDIR)\latex\wx | |
1590 | -copy *.bmp *.wmf $(DOCDIR)\pdf | |
1591 | -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf | |
1592 | cd $(THISDIR) | |
1593 | ||
1594 | $(DOCDIR)/pdf/porting.rtf: $(DOCDIR)/latex/porting/porting.tex | |
1595 | cd $(DOCDIR)\latex\porting | |
1596 | -copy *.bmp *.wmf $(DOCDIR)\pdf | |
1597 | -start /w tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/pdf/porting.rtf -twice -rtf | |
1598 | cd $(THISDIR) | |
1599 | ||
1600 | $(DOCDIR)/pdf/faq.rtf: $(DOCDIR)/latex/faq/faq.tex | |
1601 | cd $(DOCDIR)\latex\faq | |
1602 | -copy *.bmp *.wmf $(DOCDIR)\pdf | |
1603 | -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/pdf/faq.rtf -twice -rtf | |
1604 | cd $(THISDIR) | |
1605 | ||
e3a43801 JS |
1606 | $(DOCDIR)/pdf/wxprop.rtf: $(DOCDIR)/latex/proplist/proplist.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex |
1607 | cd $(DOCDIR)\latex\proplist | |
1608 | -copy *.bmp *.wmf $(DOCDIR)\pdf | |
1609 | -start /w tex2rtf $(DOCDIR)/latex/proplist/wxprop.tex $(DOCDIR)/pdf/wxprop.rtf -twice -rtf | |
1610 | cd $(THISDIR) | |
1611 | ||
2bda0e17 KB |
1612 | $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex |
1613 | cd $(DOCDIR)\latex\techref | |
1614 | -copy *.bmp *.wmf $(DOCDIR)\pdf | |
1615 | -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf | |
1616 | cd $(THISDIR) | |
1617 | ||
1618 | $(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 | |
1619 | cd $(DOCDIR)\latex\wx | |
1620 | -mkdir $(DOCDIR)\html\wx | |
1621 | -start /w tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html | |
1622 | -erase $(DOCDIR)\html\wx\*.con | |
1623 | -erase $(DOCDIR)\html\wx\*.ref | |
1624 | -erase $(DOCDIR)\latex\wx\*.con | |
1625 | -erase $(DOCDIR)\latex\wx\*.ref | |
1626 | cd $(THISDIR) | |
1627 | ||
1628 | $(DOCDIR)\html\porting\port.htm: $(DOCDIR)\latex\porting\porting.tex | |
1629 | cd $(DOCDIR)\latex\porting | |
1630 | -mkdir $(DOCDIR)\html\porting | |
1631 | -start /w tex2rtf $(DOCDIR)\latex\porting\porting.tex $(DOCDIR)\html\porting\port.htm -twice -html | |
1632 | -erase $(DOCDIR)\html\porting\*.con | |
1633 | -erase $(DOCDIR)\html\porting\*.ref | |
1634 | -erase $(DOCDIR)\latex\porting\*.con | |
1635 | -erase $(DOCDIR)\latex\porting\*.ref | |
1636 | cd $(THISDIR) | |
1637 | ||
1638 | $(DOCDIR)\html\faq\faq.htm: $(DOCDIR)\latex\faq\faq.tex | |
1639 | cd $(DOCDIR)\latex\faq | |
1640 | -mkdir $(DOCDIR)\html\faq | |
1641 | -start /w tex2rtf $(DOCDIR)\latex\faq\faq.tex $(DOCDIR)\html\faq\faq.htm -twice -html | |
1642 | -erase $(DOCDIR)\html\faq\*.con | |
1643 | -erase $(DOCDIR)\html\faq\*.ref | |
1644 | -erase $(DOCDIR)\latex\faq\*.con | |
e3a43801 JS |
1645 | -erase $(DOCDIR)\latex\faq\*.ref |
1646 | cd $(THISDIR) | |
1647 | ||
1648 | $(DOCDIR)\html\proplist\prop.htm: $(DOCDIR)\latex\proplist\prop.tex $(DOCDIR)\latex\proplist\body.tex $(DOCDIR)\latex\proplist\classes.tex $(DOCDIR)\latex\proplist\changes.tex | |
1649 | cd $(DOCDIR)\latex\proplist | |
1650 | -mkdir $(DOCDIR)\html\proplist | |
1651 | -start /w tex2rtf $(DOCDIR)\latex\proplist\wxprop.tex $(DOCDIR)\html\proplist\prop.htm -twice -html | |
1652 | -erase $(DOCDIR)\html\proplist\*.con | |
1653 | -erase $(DOCDIR)\html\proplist\*.ref | |
1654 | -erase $(DOCDIR)\latex\proplist\*.con | |
1655 | -erase $(DOCDIR)\latex\proplist\*.ref | |
2bda0e17 KB |
1656 | cd $(THISDIR) |
1657 | ||
1658 | $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex | |
1659 | cd $(WXDIR)\docs\latex\wx | |
1660 | -latex manual | |
1661 | -latex manual | |
1662 | -makeindx manual | |
1663 | -bibtex manual | |
1664 | -latex manual | |
1665 | -latex manual | |
1666 | cd $(THISDIR) | |
1667 | ||
1668 | $(WXDIR)\docs\latex\porting\porting.dvi: $(DOCDIR)/latex/porting/porting.tex | |
1669 | cd $(WXDIR)\docs\latex\porting | |
1670 | -latex porting | |
1671 | -latex porting | |
1672 | -makeindx porting | |
1673 | -bibtex porting | |
1674 | -latex porting | |
1675 | -latex porting | |
1676 | cd $(THISDIR) | |
1677 | ||
1678 | $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi | |
1679 | cd $(WXDIR)\docs\latex\wx | |
1680 | -dvips32 -o wx.ps manual | |
1681 | move wx.ps $(WXDIR)\docs\ps\wx.ps | |
1682 | cd $(THISDIR) | |
1683 | ||
1684 | $(WXDIR)\docs\ps\porting.ps: $(WXDIR)\docs\latex\porting\porting.dvi | |
1685 | cd $(WXDIR)\docs\latex\porting | |
1686 | -dvips32 -o porting.ps porting | |
1687 | move porting.ps $(WXDIR)\docs\ps\porting.ps | |
1688 | cd $(THISDIR) | |
1689 | ||
1690 | $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex | |
1691 | cd $(WXDIR)\docs\latex\wx | |
1692 | -latex referenc | |
1693 | -latex referenc | |
1694 | -makeindx referenc | |
1695 | -bibtex referenc | |
1696 | -latex referenc | |
1697 | -latex referenc | |
1698 | cd $(THISDIR) | |
1699 | ||
1700 | $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi | |
1701 | cd $(WXDIR)\docs\latex\wx | |
1702 | -dvips32 -o referenc.ps referenc | |
1703 | move referenc.ps $(WXDIR)\docs\ps\referenc.ps | |
1704 | cd $(THISDIR) | |
1705 | ||
1706 | $(WXDIR)\docs\latex\faq\faq.dvi: $(DOCDIR)/latex/faq/faq.tex | |
1707 | cd $(WXDIR)\docs\latex\faq | |
1708 | -latex faq | |
1709 | -latex faq | |
1710 | -makeindx faq | |
1711 | -latex faq | |
1712 | -latex faq | |
1713 | cd $(THISDIR) | |
1714 | ||
1715 | $(WXDIR)\docs\ps\faq.ps: $(WXDIR)\docs\latex\faq\faq.dvi | |
1716 | cd $(WXDIR)\docs\latex\faq | |
1717 | -dvips32 -o faq.ps faq | |
1718 | move faq.ps $(WXDIR)\docs\ps\faq.ps | |
1719 | cd $(THISDIR) | |
1720 | ||
da36f544 JS |
1721 | # In order to force document reprocessing |
1722 | touchmanual: | |
1723 | -touch $(WXDIR)\docs\latex\wx\manual.tex | |
62448488 JS |
1724 | |
1725 | updatedocs: touchmanual alldocs | |
1726 | ||
1727 | # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the | |
1728 | # Office StartUp folder, and PDFMaker should be installed. | |
1729 | updatepdf: # touchmanual pdfrtf | |
1730 | start /w "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF" |