]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/stubs/makefile.nt
ODBC updates (it almost works now)
[wxWidgets.git] / src / stubs / makefile.nt
... / ...
CommitLineData
1#
2# File: makefile.nt
3# Author: Julian Smart
4# Created: 1997
5# Updated:
6# Copyright: (c) 1997, Julian Smart
7#
8# "%W% %G%"
9#
10# Makefile : Builds wxWindows stubs library wxstubs.lib for VC++ (32-bit)
11# Arguments:
12#
13# FINAL=1 argument to nmake to build version with no debugging info.
14#
15
16!include <ntwin32.mak>
17
18APPVER=3.50 # 4.0
19# This means 'enable Windows 95 features' (in wxWindows and in VC++ 4.0).
20WINVERSION=-DWINVER=0x0400
21
22# On Alpha machines, change to CPU=ALPHA
23CPU=i386
24
25# Suffixes
26OBJSUFF=obj
27SRCSUFF=cpp
28
29WINFLAGS=-c -W3 -Dtry=__try -Dexcept=__except -Dleave=__leave -Dfinally=__finally -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 $(WINVERSION) -D__WIN32__ -D__WINDOWS__
30WINLINKFLAGS=/INCREMENTAL:NO /NOLOGO -align:0x1000 -machine:$(CPU) -subsystem:windows,$(APPVER)
31WINLIBS=kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib oldnames.lib\
32 comctl32.lib ctl3d32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib # libci.lib # libci.lib required for VC++ 4.2
33
34# Change this to your WXWIN directory
35WXDIR=$(WXWIN)
36
37WXSRC=$(WXDIR)\src\stubs
38WXINC=$(WXDIR)\include
39WXBASESRC=$(WXDIR)\src\common
40
41WXLIB=$(WXDIR)\lib\wxstubs.lib
42
43EXTRADLLFLAGS=
44
45INC=-I$(WXINC) -I$(WXDIR)/src/png -I$(WXDIR)/src/zlib $(EXTRAINC)
46LIBS = $(EXTRALIBS) $(WXLIB) $(WINLIBS)
47
48!ifndef FINAL
49FINAL=0
50DEBUG=1
51!endif
52
53# Set this to 1 if you don't want to use precompiled headers
54NOPCH=1
55
56OPTIONS=
57
58!if "$(FINAL)" == "0"
59OPT = /Od /Gy
60# ***N.B.*** to save space/time, comment out /FR to avoid browse info (.sbr files) being generated
61DEBUG_FLAGS= /Zi # /FR
62LINK_DEBUG_FLAGS=-debug:full -debugtype:cv # /PDB:NONE
63CRTFLAG=/MD
64!else
65# /O1 - smallest code
66# /O2 - fastest code
67OPT = /O1 # /O2 # /Od
68DEBUG_FLAGS=
69LINK_DEBUG_FLAGS=/RELEASE
70CRTFLAG=/MD
71!endif
72
73PCH=
74PRECOMP=
75MAKEPRECOMP=
76
77CPPFLAGS=$(WINFLAGS) $(DEBUG_FLAGS) $(PRECOMP) $(EXTRAFLAGS) /D__WXSTUBS__ /DDEBUG=1 $(INC) $(OPT) $(CRTFLAG) /GX /D__WXDEBUG__ /DWXDEBUG=1
78# If you don't include wxprec.h, use CPPFLAGS2
79CPPFLAGS2=$(WINFLAGS) $(DEBUG_FLAGS) /D__WXSTUBS__ /DDEBUG=1 $(INC) $(EXTRAFLAGS) $(OPT) $(CRTFLAG) /GX /D__WXDEBUG__ /DWXDEBUG=1
80LINKFLAGS=$(LINK_DEBUG_FLAGS) $(WINLINKFLAGS) -entry:WinMainCRTStartup
81
82THISDIR=$(WXWIN)\src\stubs
83
84LIBTARGET=$(WXLIB)
85
86# Please set these according to the settings in wx_setup.h, so we can include
87# the appropriate libraries in wx.lib
88
89PERIPH_LIBS=
90PERIPH_TARGET=
91PERIPH_CLEAN_TARGET=
92
93GENDIR=..\generic
94COMMDIR=..\common
95STUBSDIR=.
96
97DOCDIR = $(WXDIR)\docs
98
99GENERICOBJS= \
100 $(GENDIR)\choicdgg.obj \
101 $(GENDIR)\colrdlgg.obj \
102 $(GENDIR)\fontdlgg.obj \
103 $(GENDIR)\gridg.obj \
104 $(GENDIR)\msgdlgg.obj \
105 $(GENDIR)\panelg.obj \
106 $(GENDIR)\prop.obj \
107 $(GENDIR)\propform.obj \
108 $(GENDIR)\proplist.obj \
109 $(GENDIR)\printps.obj \
110 $(GENDIR)\prntdlgg.obj \
111 $(GENDIR)\scrolwin.obj \
112 $(GENDIR)\splitter.obj \
113 $(GENDIR)\statusbr.obj \
114 $(GENDIR)\tabg.obj \
115 $(GENDIR)\textdlgg.obj
116
117# $(GENDIR)\helpxlp.obj \
118
119COMMONOBJS = \
120 $(COMMDIR)\cmndata.obj \
121 $(COMMDIR)\config.obj \
122 $(COMMDIR)\docview.obj \
123 $(COMMDIR)\docmdi.obj \
124 $(COMMDIR)\dynarray.obj \
125 $(COMMDIR)\event.obj \
126 $(COMMDIR)\file.obj \
127 $(COMMDIR)\filefn.obj \
128 $(COMMDIR)\fileconf.obj \
129 $(COMMDIR)\framecmn.obj \
130 $(COMMDIR)\gdicmn.obj \
131 $(COMMDIR)\intl.obj \
132 $(COMMDIR)\ipcbase.obj \
133 $(COMMDIR)\helpbase.obj \
134 $(COMMDIR)\layout.obj \
135 $(COMMDIR)\log.obj \
136 $(COMMDIR)\memory.obj \
137 $(COMMDIR)\module.obj \
138 $(COMMDIR)\object.obj \
139 $(COMMDIR)\postscrp.obj \
140 $(COMMDIR)\prntbase.obj \
141 $(COMMDIR)\resource.obj \
142 $(COMMDIR)\tbarbase.obj \
143 $(COMMDIR)\tbarsmpl.obj \
144 $(COMMDIR)\textfile.obj \
145 $(COMMDIR)\timercmn.obj \
146 $(COMMDIR)\utilscmn.obj \
147 $(COMMDIR)\validate.obj \
148 $(COMMDIR)\valtext.obj \
149 $(COMMDIR)\date.obj \
150 $(COMMDIR)\hash.obj \
151 $(COMMDIR)\list.obj \
152 $(COMMDIR)\string.obj \
153 $(COMMDIR)\time.obj \
154 $(COMMDIR)\wxexpr.obj \
155 $(COMMDIR)\y_tab.obj \
156 $(COMMDIR)\extended.obj \
157 $(COMMDIR)\process.obj \
158 $(COMMDIR)\fstream.obj \
159 $(COMMDIR)\mstream.obj \
160 $(COMMDIR)\zstream.obj \
161 $(COMMDIR)\stream.obj \
162 $(COMMDIR)\datstrm.obj \
163 $(COMMDIR)\wincmn.obj
164
165# $(COMMDIR)\odbc.obj \
166
167STUBSOBJS = \
168 $(STUBSDIR)\accel.obj \
169 $(STUBSDIR)\app.obj \
170 $(STUBSDIR)\bitmap.obj \
171 $(STUBSDIR)\bmpbuttn.obj \
172 $(STUBSDIR)\brush.obj \
173 $(STUBSDIR)\button.obj \
174 $(STUBSDIR)\checkbox.obj \
175 $(STUBSDIR)\checklst.obj \
176 $(STUBSDIR)\choice.obj \
177 $(STUBSDIR)\clipbrd.obj \
178 $(STUBSDIR)\colordlg.obj \
179 $(STUBSDIR)\colour.obj \
180 $(STUBSDIR)\combobox.obj \
181 $(STUBSDIR)\control.obj \
182 $(STUBSDIR)\cursor.obj \
183 $(STUBSDIR)\data.obj \
184 $(STUBSDIR)\dc.obj \
185 $(STUBSDIR)\dcmemory.obj \
186 $(STUBSDIR)\dcclient.obj \
187 $(STUBSDIR)\dcscreen.obj \
188 $(STUBSDIR)\dialog.obj \
189 $(STUBSDIR)\dirdlg.obj \
190 $(STUBSDIR)\filedlg.obj \
191 $(STUBSDIR)\font.obj \
192 $(STUBSDIR)\fontdlg.obj \
193 $(STUBSDIR)\frame.obj \
194 $(STUBSDIR)\gauge.obj \
195 $(STUBSDIR)\gdiobj.obj \
196 $(STUBSDIR)\helpxxxx.obj \
197 $(STUBSDIR)\icon.obj \
198 $(STUBSDIR)\imaglist.obj \
199 $(STUBSDIR)\joystick.obj \
200 $(STUBSDIR)\listbox.obj \
201 $(STUBSDIR)\listctrl.obj \
202 $(STUBSDIR)\main.obj \
203 $(STUBSDIR)\mdi.obj \
204 $(STUBSDIR)\menu.obj \
205 $(STUBSDIR)\menuitem.obj \
206 $(STUBSDIR)\metafile.obj \
207 $(STUBSDIR)\minifram.obj \
208 $(STUBSDIR)\msgdlg.obj \
209 $(STUBSDIR)\notebook.obj \
210 $(STUBSDIR)\palette.obj \
211 $(STUBSDIR)\pen.obj \
212 $(STUBSDIR)\printdlg.obj \
213 $(STUBSDIR)\print.obj \
214 $(STUBSDIR)\radiobox.obj \
215 $(STUBSDIR)\radiobut.obj \
216 $(STUBSDIR)\region.obj \
217 $(STUBSDIR)\scrolbar.obj \
218 $(STUBSDIR)\settings.obj \
219 $(STUBSDIR)\slider.obj \
220 $(STUBSDIR)\spinbutt.obj \
221 $(STUBSDIR)\statbmp.obj \
222 $(STUBSDIR)\statbox.obj \
223 $(STUBSDIR)\statusbr.obj \
224 $(STUBSDIR)\stattext.obj \
225 $(STUBSDIR)\tabctrl.obj \
226 $(STUBSDIR)\taskbar.obj \
227 $(STUBSDIR)\toolbar.obj \
228 $(STUBSDIR)\textctrl.obj \
229 $(STUBSDIR)\thread.obj \
230 $(STUBSDIR)\timer.obj \
231 $(STUBSDIR)\treectrl.obj \
232 $(STUBSDIR)\utils.obj \
233 $(STUBSDIR)\utilsexc.obj \
234 $(STUBSDIR)\wave.obj \
235 $(STUBSDIR)\window.obj
236
237
238OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(STUBSOBJS)
239
240# Normal, static library
241all: $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
242
243$(WXDIR)\lib\wxstubs.lib: $(OBJECTS) $(PERIPH_LIBS)
244 -erase $(LIBTARGET)
245 $(implib) @<<
246-out:$@
247-machine:$(CPU)
248$(OBJECTS) $(PERIPH_LIBS)
249<<
250
251########################################################
252# Windows-specific objects
253
254$(STUBSDIR)/accel.obj: $*.$(SRCSUFF)
255 cl @<<
256$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
257<<
258
259$(STUBSDIR)/app.obj: $*.$(SRCSUFF)
260 cl @<<
261$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
262<<
263
264$(STUBSDIR)/bitmap.obj: $*.$(SRCSUFF)
265 cl @<<
266$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
267<<
268
269$(STUBSDIR)/bmpbuttn.obj: $*.$(SRCSUFF)
270 cl @<<
271$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
272<<
273
274$(STUBSDIR)/brush.obj: $*.$(SRCSUFF)
275 cl @<<
276$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
277<<
278
279$(STUBSDIR)/button.obj: $*.$(SRCSUFF)
280 cl @<<
281$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
282<<
283
284$(STUBSDIR)/choice.obj: $*.$(SRCSUFF)
285 cl @<<
286$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
287<<
288
289$(STUBSDIR)/checkbox.obj: $*.$(SRCSUFF)
290 cl @<<
291$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
292<<
293
294$(STUBSDIR)/checklst.obj: $*.$(SRCSUFF)
295 cl @<<
296$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
297<<
298
299$(STUBSDIR)/clipbrd.obj: $*.$(SRCSUFF)
300 cl @<<
301$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
302<<
303
304$(STUBSDIR)/colordlg.obj: $*.$(SRCSUFF)
305 cl @<<
306$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
307<<
308
309$(STUBSDIR)/colour.obj: $*.$(SRCSUFF)
310 cl @<<
311$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
312<<
313
314$(STUBSDIR)/combobox.obj: $*.$(SRCSUFF)
315 cl @<<
316$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
317<<
318
319$(STUBSDIR)/control.obj: $*.$(SRCSUFF)
320 cl @<<
321$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
322<<
323
324$(STUBSDIR)/cursor.obj: $*.$(SRCSUFF)
325 cl @<<
326$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
327<<
328
329$(STUBSDIR)/data.obj: $*.$(SRCSUFF)
330 cl @<<
331$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
332<<
333
334$(STUBSDIR)/dc.obj: $*.$(SRCSUFF)
335 cl @<<
336$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
337<<
338
339$(STUBSDIR)/dcmemory.obj: $*.$(SRCSUFF)
340 cl @<<
341$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
342<<
343
344$(STUBSDIR)/dcclient.obj: $*.$(SRCSUFF)
345 cl @<<
346$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
347<<
348
349$(STUBSDIR)/dcprint.obj: $*.$(SRCSUFF)
350 cl @<<
351$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
352<<
353
354$(STUBSDIR)/dcscreen.obj: $*.$(SRCSUFF)
355 cl @<<
356$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
357<<
358
359$(STUBSDIR)/dialog.obj: $*.$(SRCSUFF)
360 cl @<<
361$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
362<<
363
364$(STUBSDIR)/dirdlg.obj: $*.$(SRCSUFF)
365 cl @<<
366$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
367<<
368
369$(STUBSDIR)/filedlg.obj: $*.$(SRCSUFF)
370 cl @<<
371$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
372<<
373
374$(STUBSDIR)/font.obj: $*.$(SRCSUFF)
375 cl @<<
376$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
377<<
378
379$(STUBSDIR)/fontdlg.obj: $*.$(SRCSUFF)
380 cl @<<
381$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
382<<
383
384$(STUBSDIR)/frame.obj: $*.$(SRCSUFF)
385 cl @<<
386$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
387<<
388
389$(STUBSDIR)/gauge.obj: $*.$(SRCSUFF)
390 cl @<<
391$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
392<<
393
394$(STUBSDIR)/gdiobj.obj: $*.$(SRCSUFF)
395 cl @<<
396$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
397<<
398
399$(STUBSDIR)/icon.obj: $*.$(SRCSUFF)
400 cl @<<
401$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
402<<
403
404$(STUBSDIR)/imaglist.obj: $*.$(SRCSUFF)
405 cl @<<
406$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
407<<
408
409$(STUBSDIR)/joystick.obj: $*.$(SRCSUFF)
410 cl @<<
411$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
412<<
413
414$(STUBSDIR)/listbox.obj: $*.$(SRCSUFF)
415 cl @<<
416$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
417<<
418
419$(STUBSDIR)/listctrl.obj: $*.$(SRCSUFF)
420 cl @<<
421$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
422<<
423
424$(STUBSDIR)/main.obj: $*.$(SRCSUFF)
425 cl @<<
426$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
427<<
428
429$(STUBSDIR)/mdi.obj: $*.$(SRCSUFF)
430 cl @<<
431$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
432<<
433
434$(STUBSDIR)/menu.obj: $*.$(SRCSUFF)
435 cl @<<
436$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
437<<
438
439$(STUBSDIR)/menuitem.obj: $*.$(SRCSUFF)
440 cl @<<
441$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
442<<
443
444$(STUBSDIR)/metafile.obj: $*.$(SRCSUFF)
445 cl @<<
446$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
447<<
448
449$(STUBSDIR)/minifram.obj: $*.$(SRCSUFF)
450 cl @<<
451$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
452<<
453
454$(STUBSDIR)/msgdlg.obj: $*.$(SRCSUFF)
455 cl @<<
456$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
457<<
458
459$(STUBSDIR)/notebook.obj: $*.$(SRCSUFF)
460 cl @<<
461$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
462<<
463
464$(STUBSDIR)/palette.obj: $*.$(SRCSUFF)
465 cl @<<
466$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
467<<
468
469$(STUBSDIR)/pen.obj: $*.$(SRCSUFF)
470 cl @<<
471$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
472<<
473
474$(STUBSDIR)/printdlg.obj: $*.$(SRCSUFF)
475 cl @<<
476$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
477<<
478
479$(STUBSDIR)/print.obj: $*.$(SRCSUFF)
480 cl @<<
481$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
482<<
483
484$(STUBSDIR)/radiobox.obj: $*.$(SRCSUFF)
485 cl @<<
486$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
487<<
488
489$(STUBSDIR)/radiobut.obj: $*.$(SRCSUFF)
490 cl @<<
491$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
492<<
493
494$(STUBSDIR)/region.obj: $*.$(SRCSUFF)
495 cl @<<
496$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
497<<
498
499$(STUBSDIR)/scrolbar.obj: $*.$(SRCSUFF)
500 cl @<<
501$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
502<<
503
504$(STUBSDIR)/settings.obj: $*.$(SRCSUFF)
505 cl @<<
506$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
507<<
508
509$(STUBSDIR)/slider.obj: $*.$(SRCSUFF)
510 cl @<<
511$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
512<<
513
514$(STUBSDIR)/spinbutt.obj: $*.$(SRCSUFF)
515 cl @<<
516$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
517<<
518
519$(STUBSDIR)/statbmp.obj: $*.$(SRCSUFF)
520 cl @<<
521$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
522<<
523
524$(STUBSDIR)/statbox.obj: $*.$(SRCSUFF)
525 cl @<<
526$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
527<<
528
529$(STUBSDIR)/statusbr.obj: $*.$(SRCSUFF)
530 cl @<<
531$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
532<<
533
534$(STUBSDIR)/stattext.obj: $*.$(SRCSUFF)
535 cl @<<
536$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
537<<
538
539$(STUBSDIR)/tabctrl.obj: $*.$(SRCSUFF)
540 cl @<<
541$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
542<<
543
544$(STUBSDIR)/taskbar.obj: $*.$(SRCSUFF)
545 cl @<<
546$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
547<<
548
549$(STUBSDIR)/toolbar.obj: $*.$(SRCSUFF)
550 cl @<<
551$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
552<<
553
554$(STUBSDIR)/textctrl.obj: $*.$(SRCSUFF)
555 cl @<<
556$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
557<<
558
559$(STUBSDIR)/thread.obj: $*.$(SRCSUFF)
560 cl @<<
561$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
562<<
563
564$(STUBSDIR)/timer.obj: $*.$(SRCSUFF)
565 cl @<<
566$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
567<<
568
569$(STUBSDIR)/treectrl.obj: $*.$(SRCSUFF)
570 cl @<<
571$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
572<<
573
574$(STUBSDIR)/utils.obj: $*.$(SRCSUFF)
575 cl @<<
576$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
577<<
578
579$(STUBSDIR)/utilsexc.obj: $*.$(SRCSUFF)
580 cl @<<
581$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
582<<
583
584$(STUBSDIR)/wave.obj: $*.$(SRCSUFF)
585 echo $(CPPFLAGS)
586 cl @<<
587$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
588<<
589
590$(STUBSDIR)/window.obj: $*.$(SRCSUFF)
591 echo $(CPPFLAGS)
592 cl @<<
593$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
594<<
595
596########################################################
597# Common objects (always compiled)
598
599$(COMMDIR)/cmndata.obj: $*.$(SRCSUFF)
600 echo $(CPPFLAGS)
601 cl @<<
602$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
603<<
604
605$(COMMDIR)/config.obj: $*.$(SRCSUFF)
606 echo $(CPPFLAGS)
607 cl @<<
608$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
609<<
610
611$(COMMDIR)/db.obj: $*.$(SRCSUFF)
612 echo $(CPPFLAGS)
613 cl @<<
614$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
615<<
616
617$(COMMDIR)/dbtable.obj: $*.$(SRCSUFF)
618 echo $(CPPFLAGS)
619 cl @<<
620$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
621<<
622
623$(COMMDIR)/docview.obj: $*.$(SRCSUFF)
624 cl @<<
625$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
626<<
627
628$(COMMDIR)/docmdi.obj: $*.$(SRCSUFF)
629 cl @<<
630$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
631<<
632
633$(COMMDIR)/dynarray.obj: $*.$(SRCSUFF)
634 cl @<<
635$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
636<<
637
638$(COMMDIR)/event.obj: $*.$(SRCSUFF)
639 cl @<<
640$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
641<<
642
643$(COMMDIR)/file.obj: $*.$(SRCSUFF)
644 cl @<<
645$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
646<<
647
648$(COMMDIR)/fileconf.obj: $*.$(SRCSUFF)
649 cl @<<
650$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
651<<
652
653$(COMMDIR)/filefn.obj: $*.$(SRCSUFF)
654 cl @<<
655$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
656<<
657
658$(COMMDIR)/framecmn.obj: $*.$(SRCSUFF)
659 cl @<<
660$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
661<<
662
663$(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF)
664 cl @<<
665$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
666<<
667
668$(COMMDIR)/intl.obj: $*.$(SRCSUFF)
669 cl @<<
670$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
671<<
672
673$(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF)
674 cl @<<
675$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
676<<
677
678$(COMMDIR)/helpbase.obj: $*.$(SRCSUFF)
679 cl @<<
680$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
681<<
682
683$(COMMDIR)/layout.obj: $*.$(SRCSUFF)
684 cl @<<
685$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
686<<
687
688$(COMMDIR)/log.obj: $*.$(SRCSUFF)
689 cl @<<
690$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
691<<
692
693$(COMMDIR)/memory.obj: $*.$(SRCSUFF)
694 cl @<<
695$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
696<<
697
698$(COMMDIR)/module.obj: $*.$(SRCSUFF)
699 cl @<<
700$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
701<<
702
703$(COMMDIR)/object.obj: $*.$(SRCSUFF)
704 cl @<<
705$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
706<<
707
708$(COMMDIR)/odbc.obj: $*.$(SRCSUFF)
709 cl @<<
710$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
711<<
712
713$(COMMDIR)/postscrp.obj: $*.$(SRCSUFF)
714 cl @<<
715$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
716<<
717
718$(COMMDIR)/prntbase.obj: $*.$(SRCSUFF)
719 cl @<<
720$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
721<<
722
723$(COMMDIR)/resource.obj: $*.$(SRCSUFF)
724 cl @<<
725$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
726<<
727
728$(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF)
729 cl @<<
730$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
731<<
732
733$(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF)
734 cl @<<
735$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
736<<
737
738$(COMMDIR)/textfile.obj: $*.$(SRCSUFF)
739 cl @<<
740$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
741<<
742
743$(COMMDIR)/timercmn.obj: $*.$(SRCSUFF)
744 cl @<<
745$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
746<<
747
748$(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF)
749 cl @<<
750$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
751<<
752
753$(COMMDIR)/validate.obj: $*.$(SRCSUFF)
754 cl @<<
755$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
756<<
757
758$(COMMDIR)/valtext.obj: $*.$(SRCSUFF)
759 cl @<<
760$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
761<<
762
763$(COMMDIR)/date.obj: $*.$(SRCSUFF)
764 cl @<<
765$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
766<<
767
768$(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF)
769 echo $(CPPFLAGS)
770 cl @<<
771$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
772<<
773
774$(COMMDIR)/hash.obj: $*.$(SRCSUFF)
775 cl @<<
776$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
777<<
778
779$(COMMDIR)/list.obj: $*.$(SRCSUFF)
780 cl @<<
781$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
782<<
783
784$(COMMDIR)/string.obj: $*.$(SRCSUFF)
785 cl @<<
786$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
787<<
788
789$(COMMDIR)/matrix.obj: $*.$(SRCSUFF)
790 cl @<<
791$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
792<<
793
794#$(COMMDIR)/wxstrgnu/wxstrgnu.obj: $*.$(SRCSUFF)
795# cl @<<
796#$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
797#<<
798
799#$(COMMDIR)/wxstrgnu/wxregex.obj: $*.$(SRCSUFF)
800# cl @<<
801#$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
802#<<
803
804$(COMMDIR)/time.obj: $*.$(SRCSUFF)
805 cl @<<
806$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
807<<
808
809$(COMMDIR)\stream.obj: $*.$(SRCSUFF)
810 cl @<<
811$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
812<<
813
814$(COMMDIR)\fstream.obj: $*.$(SRCSUFF)
815 cl @<<
816$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
817<<
818
819$(COMMDIR)\mstream.obj: $*.$(SRCSUFF)
820 cl @<<
821$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
822<<
823
824$(COMMDIR)\zstream.obj: $*.$(SRCSUFF)
825 cl @<<
826$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
827<<
828
829$(COMMDIR)\datstrm.obj: $*.$(SRCSUFF)
830 cl @<<
831$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
832<<
833
834$(COMMDIR)/extended.obj: $*.c
835 cl @<<
836$(CPPFLAGS2) /c /Tp $*.c /Fo$@
837<<
838
839$(COMMDIR)/process.obj: $*.$(SRCSUFF)
840 cl @<<
841$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
842<<
843
844$(COMMDIR)/wincmn.obj: $*.$(SRCSUFF)
845 cl @<<
846$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
847<<
848
849$(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c
850 cl @<<
851$(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
852<<
853
854$(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
855 copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
856
857$(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
858 copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
859
860########################################################
861# Generic objects (not always compiled, depending on
862# whether platforms have native implementations)
863
864$(GENDIR)/choicdgg.obj: $*.$(SRCSUFF)
865 cl @<<
866$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
867<<
868
869$(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF)
870 cl @<<
871$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
872<<
873
874$(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF)
875 cl @<<
876$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
877<<
878
879$(GENDIR)/gridg.obj: $*.$(SRCSUFF)
880 cl @<<
881$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
882<<
883
884$(GENDIR)/helpxlp.obj: $*.$(SRCSUFF)
885 cl @<<
886$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
887<<
888
889$(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF)
890 cl @<<
891$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
892<<
893
894$(GENDIR)/panelg.obj: $*.$(SRCSUFF)
895 cl @<<
896$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
897<<
898
899$(GENDIR)/prop.obj: $*.$(SRCSUFF)
900 cl @<<
901$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
902<<
903
904$(GENDIR)/propform.obj: $*.$(SRCSUFF)
905 cl @<<
906$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
907<<
908
909$(GENDIR)/proplist.obj: $*.$(SRCSUFF)
910 cl @<<
911$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
912<<
913
914$(GENDIR)/printps.obj: $*.$(SRCSUFF)
915 cl @<<
916$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
917<<
918
919$(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF)
920 cl @<<
921$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
922<<
923
924$(GENDIR)/scrolwin.obj: $*.$(SRCSUFF)
925 cl @<<
926$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
927<<
928
929$(GENDIR)/splitter.obj: $*.$(SRCSUFF)
930 cl @<<
931$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
932<<
933
934$(GENDIR)/statusbr.obj: $*.$(SRCSUFF)
935 cl @<<
936$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
937<<
938
939$(GENDIR)/tabg.obj: $*.$(SRCSUFF)
940 cl @<<
941$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
942<<
943
944$(GENDIR)/textdlgg.obj: $*.$(SRCSUFF)
945 cl @<<
946$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
947<<
948
949$(OBJECTS): $(WXDIR)/include/wx/stubs/setup.h
950
951clean: $(PERIPH_CLEAN_TARGET)
952 -erase *.obj
953 -erase $(LIBTARGET)
954 -erase $(WXDIR)\lib\*.pdb
955 -erase *.pdb
956 -erase *.sbr
957 -erase *.pch
958 cd $(WXDIR)\src\stubs
959 cd $(GENDIR)
960 -erase *.pdb
961 -erase *.sbr
962 -erase *.obj
963 cd $(WXDIR)\src\stubs
964 cd $(COMMDIR)
965 -erase *.pdb
966 -erase *.sbr
967 -erase *.obj
968 -erase y_tab.c
969 -erase lex_yy.c
970 cd $(WXDIR)\src\stubs
971
972cleanall: clean
973