summaryrefslogtreecommitdiffstats
path: root/src/tools/qt_tools.pri
blob: 7153653b85179de6a388bbc29cdf7d84482b5187 (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
# TQt tools module

tools {
	TOOLS_P		= tools
	HEADERS +=  $$TOOLS_H/ntqmemarray.h \
		  $$TOOLS_H/ntqasciicache.h \
		  $$TOOLS_H/ntqasciidict.h \
		  $$TOOLS_H/ntqbitarray.h \
		  $$TOOLS_H/ntqbuffer.h \
		  $$TOOLS_H/ntqcache.h \
		  $$TOOLS_H/ntqcleanuphandler.h \
		  $$TOOLS_P/qcomponentfactory_p.h \
		  $$TOOLS_P/qcomlibrary_p.h \
		  $$TOOLS_H/ntqcstring.h \
		  $$TOOLS_H/ntqdatastream.h \
		  $$TOOLS_H/ntqdatetime.h \
		  $$TOOLS_H/ntqdeepcopy.h \
		  $$TOOLS_H/ntqdict.h \
		  $$TOOLS_H/ntqdir.h \
		  $$TOOLS_P/qdir_p.h \
		  $$TOOLS_H/ntqfile.h \
		  $$TOOLS_P/qfiledefs_p.h \
		  $$TOOLS_H/ntqfileinfo.h \
		  $$TOOLS_H/ntqgarray.h \
		  $$TOOLS_H/ntqgcache.h \
		  $$TOOLS_H/ntqgdict.h \
		  $$TOOLS_H/ntqgeneric.h \
		  $$TOOLS_H/ntqglist.h \
		  $$TOOLS_H/ntqglobal.h \
		  $$TOOLS_P/qgpluginmanager_p.h \
		  $$TOOLS_H/ntqgvector.h \
		  $$TOOLS_H/ntqintcache.h \
		  $$TOOLS_H/ntqintdict.h \
		  $$TOOLS_H/ntqiodevice.h \
		  $$TOOLS_H/ntqlibrary.h \
		  $$TOOLS_P/qlibrary_p.h \
		  $$TOOLS_H/ntqlocale.h \
		  $$TOOLS_P/qlocale_p.h \
		  $$TOOLS_H/ntqptrlist.h \
		  $$TOOLS_H/ntqmap.h \
		  $$TOOLS_H/ntqmutex.h \
		  $$TOOLS_P/qmutex_p.h \
		  $$TOOLS_P/qmutexpool_p.h \
		  $$TOOLS_P/qpluginmanager_p.h \
		  $$TOOLS_H/ntqptrcollection.h \
		  $$TOOLS_H/ntqptrdict.h \
		  $$TOOLS_H/ntqptrqueue.h \
		  $$TOOLS_H/ntqregexp.h \
		  $$TOOLS_H/ntqsemaphore.h \
		  $$TOOLS_H/ntqsettings.h \
		  $$TOOLS_P/qsettings_p.h \
		  $$TOOLS_H/ntqshared.h \
		  $$TOOLS_H/ntqptrstack.h \
		  $$TOOLS_H/ntqstring.h \
		  $$TOOLS_H/ntqstringlist.h \
		  $$TOOLS_H/ntqstrlist.h \
		  $$TOOLS_H/ntqstrvec.h \
		  $$TOOLS_H/ntqtextstream.h \
		  $$TOOLS_P/qthreadinstance_p.h \
		  $$TOOLS_H/ntqthreadstorage.h\
		  $$TOOLS_P/qunicodetables_p.h \
		  $$TOOLS_H/ntqptrvector.h \
	          $$TOOLS_H/ntqvaluelist.h \
		  $$TOOLS_H/ntqvaluestack.h \
		  $$TOOLS_H/ntqvaluevector.h \
		  $$TOOLS_H/ntqwaitcondition.h \
		  $$TOOLS_P/qcom_p.h \
		  $$TOOLS_P/qucom_p.h \
		  $$TOOLS_H/ntquuid.h

	win32:SOURCES += $$TOOLS_CPP/qdir_win.cpp \
	 	  $$TOOLS_CPP/qfile_win.cpp \
		  $$TOOLS_CPP/qfileinfo_win.cpp \
		  $$TOOLS_CPP/qlibrary_win.cpp \
		  $$TOOLS_CPP/qsettings_win.cpp \
		  $$TOOLS_CPP/qmutex_win.cpp \
		  $$TOOLS_CPP/qwaitcondition_win.cpp \
		  $$TOOLS_CPP/qthreadstorage_win.cpp \
		  $$TOOLS_CPP/qcriticalsection_p.cpp

	win32-borland:SOURCES += $$TOOLS_CPP/qwinexport.cpp

	wince-* {
		SOURCES -= $$TOOLS_CPP/qdir_win.cpp \
			   $$TOOLS_CPP/qfile_win.cpp \
			   $$TOOLS_CPP/qfileinfo_win.cpp
		SOURCES += $$TOOLS_CPP/qdir_wce.cpp \
			   $$TOOLS_CPP/qfile_wce.cpp \
			   $$TOOLS_CPP/qfileinfo_wce.cpp
	}

        offmac:SOURCES += $$TOOLS_CPP/qdir_mac.cpp \
		  $$TOOLS_CPP/qfile_mac.cpp \
		  $$TOOLS_CPP/qfileinfo_mac.cpp
	else:unix:SOURCES += $$TOOLS_CPP/qdir_unix.cpp \
		  $$TOOLS_CPP/qfile_unix.cpp \
		  $$TOOLS_CPP/qfileinfo_unix.cpp \
		  $$TOOLS_CPP/qmutex_unix.cpp \
		  $$TOOLS_CPP/qthreadstorage_unix.cpp \
		  $$TOOLS_CPP/qwaitcondition_unix.cpp

        mac:!x11:!embedded:SOURCES += $$TOOLS_CPP/qsettings_mac.cpp
	mac {
		SOURCES+=3rdparty/dlcompat/dlfcn.c
		INCLUDEPATH+=3rdparty/dlcompat
	    }
	unix:SOURCES += $$TOOLS_CPP/qlibrary_unix.cpp

	SOURCES += $$TOOLS_CPP/qbitarray.cpp \
		  $$TOOLS_CPP/qbuffer.cpp \
		  $$TOOLS_CPP/qcomponentfactory.cpp \
		  $$TOOLS_CPP/qcomlibrary.cpp \
		  $$TOOLS_CPP/qcstring.cpp \
		  $$TOOLS_CPP/qdatastream.cpp \
		  $$TOOLS_CPP/qdatetime.cpp \
		  $$TOOLS_CPP/qdeepcopy.cpp \
		  $$TOOLS_CPP/qdir.cpp \
		  $$TOOLS_CPP/qfile.cpp \
		  $$TOOLS_CPP/qfileinfo.cpp \
		  $$TOOLS_CPP/qgarray.cpp \
		  $$TOOLS_CPP/qgcache.cpp \
		  $$TOOLS_CPP/qgdict.cpp \
		  $$TOOLS_CPP/qglist.cpp \
		  $$TOOLS_CPP/qglobal.cpp \
		  $$TOOLS_CPP/qgpluginmanager.cpp \
		  $$TOOLS_CPP/qgvector.cpp \
		  $$TOOLS_CPP/qiodevice.cpp \
		  $$TOOLS_CPP/qlibrary.cpp \
		  $$TOOLS_CPP/qlocale.cpp \
		  $$TOOLS_CPP/qmap.cpp \
		  $$TOOLS_CPP/qmutexpool.cpp \
		  $$TOOLS_CPP/qptrcollection.cpp \
		  $$TOOLS_CPP/qregexp.cpp \
		  $$TOOLS_CPP/qstring.cpp \
		  $$TOOLS_CPP/qsemaphore.cpp \
		  $$TOOLS_CPP/qsettings.cpp \
		  $$TOOLS_CPP/qstringlist.cpp \
		  $$TOOLS_CPP/qtextstream.cpp \
		  $$TOOLS_CPP/qunicodetables.cpp \
		  $$TOOLS_CPP/qucom.cpp \
		  $$TOOLS_CPP/quuid.cpp

        irix-cc* {
                CXXFLAGS_PRELINK = $$QMAKE_CXXFLAGS
                CXXFLAGS_PRELINK -= -O2
                QMAKE_PRE_LINK          = $(CXX) -c $$CXXFLAGS_PRELINK -O1 $(INCPATH) -o $(OBJECTS_DIR)/qlocale.o tools/qlocale.cpp
        }
}