summaryrefslogtreecommitdiffstats
path: root/qmake/Makefile.win32
blob: 40b08ebfbba718793146427fda21f9886d24cc3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
!IF "$(QMAKESPEC)" == "win32-msvc" || "$(QMAKESPEC)" == "win32-msvc.net" || "$(QMAKESPEC)" == "win32-msvc2002" || "$(QMAKESPEC)" == "win32-msvc2003" || "$(QMAKESPEC)" == "win32-msvc2005" || "$(QMAKESPEC)" == "win32-msvc2008" || "$(QMAKESPEC)" == "win32-icc"

!if "$(SOURCE_PATH)" == ""
SOURCE_PATH = ..
!endif
!if "$(BUILD_PATH)" == ""
BUILD_PATH = ..
!endif

#
# specific stuff for NMake and ICC
#
!if "$(QMAKESPEC)" == "win32-icc"
CXX	    = icl
LINK	    = link
CFLAGS      = /Zc:forScope
!else
CXX         = cl
LINK	    = link
!endif

#
# specific stuff for VS2005
#
!if "$(QMAKESPEC)" == "win32-msvc2005"
CFLAGS      = /Zc:wchar_t-
!endif

CFLAGS	     = -c -Fo$@ \
              -W3 -nologo -O2 \
              -I. -Igenerators -Igenerators\unix -Igenerators\win32 -Igenerators\mac -Igenerators\symbian \
              -I$(BUILD_PATH)\include -I$(BUILD_PATH)\include\QtCore \
              -I$(SOURCE_PATH)\include -I$(SOURCE_PATH)\include\QtCore \
              -I$(BUILD_PATH)\src\corelib\global \
              -I$(BUILD_PATH)\include\QtScript \
              -I$(BUILD_PATH)\src\corelib\xml \
              -I$(SOURCE_PATH)\mkspecs\$(QMAKESPEC)  \
              -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL \
              -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD \
              -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_PCRE -DQT_BOOTSTRAPPED \
              $(CFLAGS)
CXXFLAGS    = $(CFLAGS)
LFLAGS	    =
LIBS	    = ole32.lib advapi32.lib
LINKQMAKE   = $(LINK) $(LFLAGS) -OUT:qmake.exe $(OBJS) $(QTOBJS) $(LIBS)
ADDCLEAN    = vc60.pdb vc70.pdb qmake.pdb qmake.ilk
!ELSE

#
# specific stuff for Borland make
#
!if !$d(BCB)
BCB = $(MAKEDIR)\..
!endif
CXX	    = bcc32
CFLAGS	    = -c -o$@ \
	-tWR -w -w-hid -w-use -O1 \
	-I. -Igenerators -Igenerators\unix -Igenerators\win32 -Igenerators\mac -Igenerators\symbian \
	-I$(BUILD_PATH)\include -I$(BUILD_PATH)\include\QtCore \
	-I$(SOURCE_PATH)\include -I$(SOURCE_PATH)\include\QtCore \
	-I$(BUILD_PATH)\src\corelib\global \
        -I$(SOURCE_PATH)\mkspecs\$(QMAKESPEC)  \
	-DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL \
	-DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD \
	-DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT
CXXFLAGS    = $(CFLAGS)
LFLAGS	    = -L$(BCB)\lib -c -x -Gn -ap -Tpe c0x32.obj
LIBS	    = import32.lib cw32i.lib
LINKQMAKE   = ilink32 $(LFLAGS) $(OBJS) $(QTOBJS), qmake.exe,,$(LIBS)
ADDCLEAN    = qmake.tds
!ENDIF

#qmake code
OBJS        = project.obj main.obj makefile.obj unixmake.obj unixmake2.obj mingw_make.obj \
              option.obj winmakefile.obj projectgenerator.obj property.obj meta.obj \
              makefiledeps.obj metamakefile.obj xmloutput.obj pbuilder_pbx.obj \
              borland_bmake.obj msvc_nmake.obj msvc_dsp.obj msvc_vcproj.obj \
              msvc_objectmodel.obj symmake.obj initprojectdeploy_symbian.obj \
              symmake_abld.obj symmake_sbsv2.obj

!IFDEF QMAKE_OPENSOURCE_EDITION
CFLAGS      = $(CFLAGS) -DQMAKE_OPENSOURCE_EDITION
!ENDIF

#qt code
QTOBJS= \
	qbitarray.obj \
	qbuffer.obj \
        qcryptographichash.obj \
	qfsfileengine.obj \
	qfsfileengine_iterator.obj \
	qbytearray.obj \
        qvsnprintf.obj \
	qbytearraymatcher.obj \
	qdatetime.obj \
	qdir.obj \
	qdiriterator.obj \
	qfile.obj \
	qtemporaryfile.obj \
	qabstractfileengine.obj \
	qfsfileengine_win.obj \
	qfsfileengine_iterator_win.obj \
	qfileinfo.obj \
	qglobal.obj \
	qhash.obj \
	qiodevice.obj \
	qlistdata.obj \
	qlinkedlist.obj \
	qlocale.obj \
        qmalloc.obj \
	qmap.obj \
	qregexp.obj \
	qtextcodec.obj \
	qutfcodec.obj \
	qstring.obj \
	qstringlist.obj \
	qtextstream.obj \
	qdatastream.obj \
	quuid.obj \
	qvector.obj \
	qsettings.obj \
	qlibraryinfo.obj \
	qvariant.obj \
        qurl.obj \
	qsettings_win.obj \
        qmetatype.obj \
	qnumeric.obj \
	qscriptasm.obj \
	qscriptast.obj \
	qscriptastvisitor.obj \
	qscriptcompiler.obj \
	qscriptecmaarray.obj \
	qscriptecmaboolean.obj \
	qscriptecmacore.obj \
	qscriptecmadate.obj \
	qscriptecmafunction.obj \
	qscriptecmaglobal.obj \
	qscriptecmamath.obj \
	qscriptecmanumber.obj \
	qscriptecmaobject.obj \
	qscriptecmaregexp.obj \
	qscriptecmastring.obj \
	qscriptecmaerror.obj \
	qscriptcontext_p.obj \
	qscriptengine.obj \
	qscriptengine_p.obj \
	qscriptengineagent.obj \
	qscriptextenumeration.obj \
	qscriptextvariant.obj \
	qscriptcontext.obj \
	qscriptcontextinfo.obj \
	qscriptfunction.obj \
	qscriptgrammar.obj \
	qscriptlexer.obj \
	qscriptclassdata.obj \
	qscriptparser.obj \
	qscriptprettypretty.obj \
	qscriptsyntaxchecker.obj \
	qscriptclass.obj \
	qscriptclasspropertyiterator.obj \
	qscriptstring.obj \
	qscriptvalue.obj \
	qscriptvalueimpl.obj \
	qscriptvalueiterator.obj \
	qscriptvalueiteratorimpl.obj \
	qxmlstream.obj \
	qxmlutils.obj


first all: qmake.exe

qmake.exe: $(OBJS) $(QTOBJS)
	$(LINKQMAKE)
	-copy qmake.exe $(BUILD_PATH)\bin\qmake.exe

clean::
	-del qbitarray.obj
	-del qbuffer.obj
	-del qcryptographichash.obj
	-del qlinkedlist.obj
	-del qfsfileengine.obj
	-del qfsfileengine_iterator.obj
	-del qbytearray.obj
        -del qvsnprintf.obj
	-del qbytearraymatcher.obj
	-del qdatetime.obj
	-del qdir.obj
	-del qdiriterator.obj
	-del qfile.obj
	-del qtemporaryfile.obj
	-del qabstractfileengine.obj
	-del qfsfileengine_win.obj
	-del qfsfileengine_iterator_win.obj
	-del qfileinfo.obj
	-del qglobal.obj
	-del qhash.obj
	-del qiodevice.obj
	-del qlistdata.obj
	-del qlocale.obj
	-del qmalloc.obj
	-del qmap.obj
	-del qregexp.obj
	-del qtextcodec.obj
	-del qutfcodec.obj
	-del qstring.obj
	-del qstringlist.obj
	-del qtextstream.obj
	-del qdatastream.obj
	-del quuid.obj
	-del qvector.obj
	-del qsettings.obj
	-del qlibraryinfo.obj
	-del qvariant.obj
        -del qurl.obj
	-del qsettings_win.obj
        -del qmetatype.obj
	-del project.obj
	-del main.obj
	-del makefile.obj
	-del unixmake.obj
	-del unixmake2.obj
	-del mingw_make.obj
	-del option.obj
	-del winmakefile.obj
	-del projectgenerator.obj
	-del property.obj
	-del meta.obj
	-del makefiledeps.obj
	-del metamakefile.obj
	-del xmloutput.obj
	-del borland_bmake.obj
	-del msvc_nmake.obj
	-del msvc_dsp.obj
	-del msvc_vcproj.obj
	-del msvc_objectmodel.obj
	-del symmake.obj
	-del symmake_abld.obj
	-del symmake_sbsv2.obj
	-del initprojectdeploy_symbian.obj
	-del pbuilder_pbx.obj
	-del qnumeric.obj \
	-del qscriptasm.obj \
	-del qscriptast.obj \
	-del qscriptastvisitor.obj \
	-del qscriptcompiler.obj \
	-del qscriptecmaarray.obj \
	-del qscriptecmaboolean.obj \
	-del qscriptecmacore.obj \
	-del qscriptecmadate.obj \
	-del qscriptecmafunction.obj \
	-del qscriptecmaglobal.obj \
	-del qscriptecmamath.obj \
	-del qscriptecmanumber.obj \
	-del qscriptecmaobject.obj \
	-del qscriptecmaregexp.obj \
	-del qscriptecmastring.obj \
	-del qscriptecmaerror.obj \
	-del qscriptcontext_p.obj \
	-del qscriptengine.obj \
	-del qscriptengine_p.obj \
	-del qscriptengineagent.obj \
	-del qscriptextenumeration.obj \
	-del qscriptextvariant.obj \
	-del qscriptcontext.obj \
	-del qscriptcontextinfo.obj \
	-del qscriptfunction.obj \
	-del qscriptgrammar.obj \
	-del qscriptlexer.obj \
	-del qscriptclassdata.obj \
	-del qscriptparser.obj \
	-del qscriptprettypretty.obj \
	-del qscriptsyntaxchecker.obj \
	-del qscriptclass.obj \
	-del qscriptclasspropertyiterator.obj \
	-del qscriptstring.obj \
	-del qscriptvalue.obj \
	-del qscriptvalueimpl.obj \
	-del qscriptvalueiterator.obj \
	-del qscriptvalueiteratorimpl.obj
	-del qxmlstream.obj
	-del qxmlutils.obj
	-del vc60.pdb
	-del vc70.pdb
	-del qmake.pdb
	-del qmake.ilk
	-del qmake.tds

distclean:: clean
	-del qmake

.c.obj:
	$(CXX) $(CFLAGS) $<

.cpp.obj:
	$(CXX) $(CXXFLAGS) $<

.cc.obj:
	$(CXX) $(CXXFLAGS) $<

.cxx.obj:
	$(CXX) $(CXXFLAGS) $<

qsettings_win.obj: $(SOURCE_PATH)\src\corelib\io\qsettings_win.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\io\qsettings_win.cpp

qsettings.obj: $(SOURCE_PATH)\src\corelib\io\qsettings.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\io\qsettings.cpp

qlibraryinfo.obj: $(SOURCE_PATH)\src\corelib\global\qlibraryinfo.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\global\qlibraryinfo.cpp

qnumeric.obj: $(SOURCE_PATH)\src\corelib\global\qnumeric.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\global\qnumeric.cpp

qvariant.obj: $(SOURCE_PATH)\src\corelib\kernel\qvariant.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\kernel\qvariant.cpp

qurl.obj: $(SOURCE_PATH)\src\corelib\io\qurl.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\io\qurl.cpp

qtextstream.obj: $(SOURCE_PATH)\src\corelib\io\qtextstream.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\io\qtextstream.cpp

qdatastream.obj: $(SOURCE_PATH)\src\corelib\io\qdatastream.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\io\qdatastream.cpp

qiodevice.obj: $(SOURCE_PATH)\src\corelib\io\qiodevice.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\io\qiodevice.cpp

qmalloc.obj: $(SOURCE_PATH)\src\corelib\global\qmalloc.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\global\qmalloc.cpp

qglobal.obj: $(SOURCE_PATH)\src\corelib\global\qglobal.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\global\qglobal.cpp

qhash.obj: $(SOURCE_PATH)\src\corelib\tools\qhash.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qhash.cpp

qbytearray.obj: $(SOURCE_PATH)\src\corelib\tools\qbytearray.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qbytearray.cpp

qcryptographichash.obj: $(SOURCE_PATH)\src\corelib\tools\qcryptographichash.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qcryptographichash.cpp

qvsnprintf.obj: $(SOURCE_PATH)\src\corelib\tools\qvsnprintf.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qvsnprintf.cpp

qbytearraymatcher.obj: $(SOURCE_PATH)\src\corelib\tools\qbytearraymatcher.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qbytearraymatcher.cpp

qchar.obj: $(SOURCE_PATH)\src\corelib\tools\qchar.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qchar.cpp

qutfcodec.obj: $(SOURCE_PATH)\src\corelib\codecs\qutfcodec.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\codecs\qutfcodec.cpp

qstring.obj: $(SOURCE_PATH)\src\corelib\tools\qstring.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qstring.cpp

qstringmatcher.obj: $(SOURCE_PATH)\src\corelib\tools\qstringmatcher.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qstringmatcher.cpp

qlocale.obj: $(SOURCE_PATH)\src\corelib\tools\qlocale.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qlocale.cpp

quuid.obj: $(SOURCE_PATH)\src\corelib\plugin\quuid.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\plugin\quuid.cpp

qbuffer.obj: $(SOURCE_PATH)\src\corelib\io\qbuffer.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\io\qbuffer.cpp

qlistdata.obj: $(SOURCE_PATH)\src\corelib\tools\qlistdata.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qlistdata.cpp

qlinkedlist.obj: $(SOURCE_PATH)\src\corelib\tools\qlinkedlist.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qlinkedlist.cpp

qfile.obj: $(SOURCE_PATH)\src\corelib\io\qfile.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\io\qfile.cpp

qtemporaryfile.obj: $(SOURCE_PATH)\src\corelib\io\qtemporaryfile.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\io\qtemporaryfile.cpp

qfsfileengine_win.obj: $(SOURCE_PATH)\src\corelib\io\qfsfileengine_win.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\io\qfsfileengine_win.cpp

qfsfileengine_iterator_win.obj: $(SOURCE_PATH)\src\corelib\io\qfsfileengine_iterator_win.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\io\qfsfileengine_iterator_win.cpp

qfsfileengine.obj: $(SOURCE_PATH)\src\corelib\io\qfsfileengine.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\io\qfsfileengine.cpp

qfsfileengine_iterator.obj: $(SOURCE_PATH)\src\corelib\io\qfsfileengine_iterator.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\io\qfsfileengine_iterator.cpp

qabstractfileengine.obj: $(SOURCE_PATH)\src\corelib\io\qabstractfileengine.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\io\qabstractfileengine.cpp

qtextcodec.obj: $(SOURCE_PATH)\src\corelib\codecs\qtextcodec.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\codecs\qtextcodec.cpp

qregexp.obj: $(SOURCE_PATH)\src\corelib\tools\qregexp.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qregexp.cpp

qvector.obj: $(SOURCE_PATH)\src\corelib\tools\qvector.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qvector.cpp

qbitarray.obj: $(SOURCE_PATH)\src\corelib\tools\qbitarray.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qbitarray.cpp

qdir.obj: $(SOURCE_PATH)\src\corelib\io\qdir.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\io\qdir.cpp

qdiriterator.obj: $(SOURCE_PATH)\src\corelib\io\qdiriterator.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\io\qdiriterator.cpp

qmetatype.obj: $(SOURCE_PATH)\src\corelib\kernel\qmetatype.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\kernel\qmetatype.cpp

qfileinfo.obj: $(SOURCE_PATH)\src\corelib\io\qfileinfo.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\io\qfileinfo.cpp

qdatetime.obj: $(SOURCE_PATH)\src\corelib\tools\qdatetime.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qdatetime.cpp

qstringlist.obj: $(SOURCE_PATH)\src\corelib\tools\qstringlist.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qstringlist.cpp

qmap.obj: $(SOURCE_PATH)\src\corelib\tools\qmap.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qmap.cpp

qunicodetables.obj: $(SOURCE_PATH)\src\corelib\tools\qunicodetables.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qunicodetables.cpp
makefile.obj: $(SOURCE_PATH)/qmake/generators\makefile.cpp
	$(CXX) $(CXXFLAGS) generators\makefile.cpp

unixmake.obj: $(SOURCE_PATH)/qmake/generators\unix\unixmake.cpp
	$(CXX) $(CXXFLAGS) generators\unix\unixmake.cpp

unixmake2.obj: $(SOURCE_PATH)/qmake/generators\unix\unixmake2.cpp
	$(CXX) $(CXXFLAGS) generators\unix\unixmake2.cpp

winmakefile.obj: $(SOURCE_PATH)/qmake/generators/win32/winmakefile.cpp
	$(CXX) $(CXXFLAGS) generators/win32/winmakefile.cpp

borland_bmake.obj: $(SOURCE_PATH)/qmake/generators/win32/borland_bmake.cpp
	$(CXX) $(CXXFLAGS) generators/win32/borland_bmake.cpp

mingw_make.obj: $(SOURCE_PATH)/qmake/generators/win32/mingw_make.cpp
	$(CXX) $(CXXFLAGS) generators/win32/mingw_make.cpp

msvc_nmake.obj: $(SOURCE_PATH)/qmake/generators/win32/msvc_nmake.cpp
	$(CXX) $(CXXFLAGS) generators/win32/msvc_nmake.cpp

msvc_dsp.obj: $(SOURCE_PATH)/qmake/generators/win32/msvc_dsp.cpp
	$(CXX) $(CXXFLAGS) generators/win32/msvc_dsp.cpp

msvc_vcproj.obj: $(SOURCE_PATH)/qmake/generators/win32/msvc_vcproj.cpp
	$(CXX) $(CXXFLAGS) generators/win32/msvc_vcproj.cpp

msvc_objectmodel.obj: $(SOURCE_PATH)/qmake/generators/win32/msvc_objectmodel.cpp
	$(CXX) $(CXXFLAGS) generators/win32/msvc_objectmodel.cpp

symmake.obj: $(SOURCE_PATH)/qmake/generators/symbian/symmake.cpp
	$(CXX) $(CXXFLAGS) generators/symbian/symmake.cpp

symmake_abld.obj: $(SOURCE_PATH)/qmake/generators/symbian/symmake_abld.cpp
	$(CXX) $(CXXFLAGS) generators/symbian/symmake_abld.cpp

symmake_sbsv2.obj: $(SOURCE_PATH)/qmake/generators/symbian/symmake_sbsv2.cpp
	$(CXX) $(CXXFLAGS) generators/symbian/symmake_sbsv2.cpp

initprojectdeploy_symbian.obj: $(SOURCE_PATH)/qmake/generators/symbian/initprojectdeploy_symbian.cpp
        $(CXX) $(CXXFLAGS) generators/symbian/initprojectdeploy_symbian.cpp

md5.obj: $(SOURCE_PATH)\src\3rdparty\md5\md5.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\3rdparty\md5\md5.cpp

project.obj: $(SOURCE_PATH)/qmake/project.cpp $(SOURCE_PATH)/qmake/project.h $(SOURCE_PATH)/qmake/option.h
	$(CXX) $(CXXFLAGS) project.cpp

meta.obj: $(SOURCE_PATH)/qmake/meta.cpp $(SOURCE_PATH)/qmake/project.h $(SOURCE_PATH)/qmake/option.h
	$(CXX) $(CXXFLAGS) meta.cpp

main.obj: $(SOURCE_PATH)/qmake/main.cpp $(SOURCE_PATH)/qmake/project.h
	$(CXX) $(CXXFLAGS) main.cpp

option.obj: $(SOURCE_PATH)/qmake/option.cpp $(SOURCE_PATH)/qmake/option.h
	$(CXX) $(CXXFLAGS) option.cpp

property.obj: $(SOURCE_PATH)/qmake/property.cpp $(SOURCE_PATH)/qmake/project.h $(SOURCE_PATH)/qmake/option.h
	$(CXX) $(CXXFLAGS) property.cpp

projectgenerator.obj: $(SOURCE_PATH)/qmake/generators/projectgenerator.cpp
	$(CXX) $(CXXFLAGS) generators/projectgenerator.cpp

pbuilder_pbx.obj: $(SOURCE_PATH)/qmake/generators/mac/pbuilder_pbx.cpp
	$(CXX) $(CXXFLAGS) generators/mac/pbuilder_pbx.cpp

makefiledeps.obj: $(SOURCE_PATH)/qmake/generators/makefiledeps.cpp
	$(CXX) $(CXXFLAGS) generators/makefiledeps.cpp

metamakefile.obj: $(SOURCE_PATH)/qmake/generators/metamakefile.cpp
	$(CXX) $(CXXFLAGS) generators/metamakefile.cpp

xmloutput.obj: $(SOURCE_PATH)/qmake/generators/xmloutput.cpp
	$(CXX) $(CXXFLAGS) generators/xmloutput.cpp

qscriptasm.obj: $(SOURCE_PATH)\src\script\qscriptasm.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptasm.cpp

qscriptast.obj: $(SOURCE_PATH)\src\script\qscriptast.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptast.cpp

qscriptastvisitor.obj: $(SOURCE_PATH)\src\script\qscriptastvisitor.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptastvisitor.cpp

qscriptcompiler.obj: $(SOURCE_PATH)\src\script\qscriptcompiler.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptcompiler.cpp

qscriptecmaarray.obj: $(SOURCE_PATH)\src\script\qscriptecmaarray.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmaarray.cpp

qscriptecmaboolean.obj: $(SOURCE_PATH)\src\script\qscriptecmaboolean.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmaboolean.cpp

qscriptecmacore.obj: $(SOURCE_PATH)\src\script\qscriptecmacore.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmacore.cpp

qscriptecmadate.obj: $(SOURCE_PATH)\src\script\qscriptecmadate.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmadate.cpp

qscriptecmafunction.obj: $(SOURCE_PATH)\src\script\qscriptecmafunction.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmafunction.cpp

qscriptecmaglobal.obj: $(SOURCE_PATH)\src\script\qscriptecmaglobal.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmaglobal.cpp

qscriptecmamath.obj: $(SOURCE_PATH)\src\script\qscriptecmamath.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmamath.cpp

qscriptecmanumber.obj: $(SOURCE_PATH)\src\script\qscriptecmanumber.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmanumber.cpp

qscriptecmaobject.obj: $(SOURCE_PATH)\src\script\qscriptecmaobject.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmaobject.cpp

qscriptecmaregexp.obj: $(SOURCE_PATH)\src\script\qscriptecmaregexp.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmaregexp.cpp

qscriptecmastring.obj: $(SOURCE_PATH)\src\script\qscriptecmastring.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmastring.cpp

qscriptecmaerror.obj: $(SOURCE_PATH)\src\script\qscriptecmaerror.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmaerror.cpp

qscriptcontext_p.obj: $(SOURCE_PATH)\src\script\qscriptcontext_p.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptcontext_p.cpp

qscriptengine.obj: $(SOURCE_PATH)\src\script\qscriptengine.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptengine.cpp

qscriptengine_p.obj: $(SOURCE_PATH)\src\script\qscriptengine_p.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptengine_p.cpp

qscriptengineagent.obj: $(SOURCE_PATH)\src\script\qscriptengineagent.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptengineagent.cpp

qscriptextenumeration.obj: $(SOURCE_PATH)\src\script\qscriptextenumeration.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptextenumeration.cpp

qscriptextvariant.obj: $(SOURCE_PATH)\src\script\qscriptextvariant.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptextvariant.cpp

qscriptcontext.obj: $(SOURCE_PATH)\src\script\qscriptcontext.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptcontext.cpp

qscriptcontextinfo.obj: $(SOURCE_PATH)\src\script\qscriptcontextinfo.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptcontextinfo.cpp

qscriptfunction.obj: $(SOURCE_PATH)\src\script\qscriptfunction.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptfunction.cpp

qscriptgrammar.obj: $(SOURCE_PATH)\src\script\qscriptgrammar.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptgrammar.cpp

qscriptlexer.obj: $(SOURCE_PATH)\src\script\qscriptlexer.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptlexer.cpp

qscriptclassdata.obj: $(SOURCE_PATH)\src\script\qscriptclassdata.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptclassdata.cpp

qscriptparser.obj: $(SOURCE_PATH)\src\script\qscriptparser.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptparser.cpp

qscriptprettypretty.obj: $(SOURCE_PATH)\src\script\qscriptprettypretty.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptprettypretty.cpp

qscriptsyntaxchecker.obj: $(SOURCE_PATH)\src\script\qscriptsyntaxchecker.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptsyntaxchecker.cpp

qscriptstring.obj: $(SOURCE_PATH)\src\script\qscriptstring.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptstring.cpp

qscriptclass.obj: $(SOURCE_PATH)\src\script\qscriptclass.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptclass.cpp

qscriptclasspropertyiterator.obj: $(SOURCE_PATH)\src\script\qscriptclasspropertyiterator.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptclasspropertyiterator.cpp

qscriptvalue.obj: $(SOURCE_PATH)\src\script\qscriptvalue.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptvalue.cpp

qscriptvalueimpl.obj: $(SOURCE_PATH)\src\script\qscriptvalueimpl.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptvalueimpl.cpp

qscriptvalueiterator.obj: $(SOURCE_PATH)\src\script\qscriptvalueiterator.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptvalueiterator.cpp

qscriptvalueiteratorimpl.obj: $(SOURCE_PATH)\src\script\qscriptvalueiteratorimpl.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptvalueiteratorimpl.cpp

qxmlstream.obj: $(SOURCE_PATH)\src\corelib\xml\qxmlstream.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\xml\qxmlstream.cpp

qxmlutils.obj: $(SOURCE_PATH)\src\corelib\xml\qxmlutils.cpp
	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\xml\qxmlutils.cpp