summaryrefslogtreecommitdiffstats
path: root/src/tools/qt_tools.pri
blob: 5eb81658036a895d87f4d4d15d72f0f6bc499a53 (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/tqmemarray.h \
		  $$TOOLS_H/tqasciicache.h \
		  $$TOOLS_H/tqasciidict.h \
		  $$TOOLS_H/tqbitarray.h \
		  $$TOOLS_H/tqbuffer.h \
		  $$TOOLS_H/tqcache.h \
		  $$TOOLS_H/ntqcleanuphandler.h \
		  $$TOOLS_P/qcomponentfactory_p.h \
		  $$TOOLS_P/qcomlibrary_p.h \
		  $$TOOLS_H/tqcstring.h \
		  $$TOOLS_H/tqdatastream.h \
		  $$TOOLS_H/tqdatetime.h \
		  $$TOOLS_H/tqdeepcopy.h \
		  $$TOOLS_H/tqdict.h \
		  $$TOOLS_H/tqdir.h \
		  $$TOOLS_P/tqdir_p.h \
		  $$TOOLS_H/tqfile.h \
		  $$TOOLS_P/tqfiledefs_p.h \
		  $$TOOLS_H/tqfileinfo.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/tqintcache.h \
		  $$TOOLS_H/tqintdict.h \
		  $$TOOLS_H/tqiodevice.h \
		  $$TOOLS_H/ntqlibrary.h \
		  $$TOOLS_P/qlibrary_p.h \
		  $$TOOLS_H/tqlocale.h \
		  $$TOOLS_P/tqlocale_p.h \
		  $$TOOLS_H/tqptrlist.h \
		  $$TOOLS_H/tqmap.h \
		  $$TOOLS_H/tqmutex.h \
		  $$TOOLS_P/tqmutex_p.h \
		  $$TOOLS_P/tqmutexpool_p.h \
		  $$TOOLS_P/qpluginmanager_p.h \
		  $$TOOLS_H/tqptrcollection.h \
		  $$TOOLS_H/tqptrdict.h \
		  $$TOOLS_H/tqptrqueue.h \
		  $$TOOLS_H/tqregexp.h \
		  $$TOOLS_H/tqsemaphore.h \
		  $$TOOLS_H/tqsettings.h \
		  $$TOOLS_P/tqsettings_p.h \
		  $$TOOLS_H/ntqshared.h \
		  $$TOOLS_H/tqptrstack.h \
		  $$TOOLS_H/tqstring.h \
		  $$TOOLS_H/tqstringlist.h \
		  $$TOOLS_H/tqstrlist.h \
		  $$TOOLS_H/tqstrvec.h \
		  $$TOOLS_H/tqtextstream.h \
		  $$TOOLS_P/tqthreadinstance_p.h \
		  $$TOOLS_H/tqthreadstorage.h\
		  $$TOOLS_P/qunicodetables_p.h \
		  $$TOOLS_H/tqptrvector.h \
	          $$TOOLS_H/tqvaluelist.h \
		  $$TOOLS_H/tqvaluestack.h \
		  $$TOOLS_H/tqvaluevector.h \
		  $$TOOLS_H/tqwaitcondition.h \
		  $$TOOLS_P/qcom_p.h \
		  $$TOOLS_P/qucom_p.h \
		  $$TOOLS_H/ntquuid.h

	win32:SOURCES += $$TOOLS_CPP/tqdir_win.cpp \
	 	  $$TOOLS_CPP/tqfile_win.cpp \
		  $$TOOLS_CPP/tqfileinfo_win.cpp \
		  $$TOOLS_CPP/qlibrary_win.cpp \
		  $$TOOLS_CPP/tqsettings_win.cpp \
		  $$TOOLS_CPP/tqmutex_win.cpp \
		  $$TOOLS_CPP/tqwaitcondition_win.cpp \
		  $$TOOLS_CPP/tqthreadstorage_win.cpp \
		  $$TOOLS_CPP/qcriticalsection_p.cpp

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

	wince-* {
		SOURCES -= $$TOOLS_CPP/tqdir_win.cpp \
			   $$TOOLS_CPP/tqfile_win.cpp \
			   $$TOOLS_CPP/tqfileinfo_win.cpp
		SOURCES += $$TOOLS_CPP/tqdir_wce.cpp \
			   $$TOOLS_CPP/tqfile_wce.cpp \
			   $$TOOLS_CPP/tqfileinfo_wce.cpp
	}

        offmac:SOURCES += $$TOOLS_CPP/tqdir_mac.cpp \
		  $$TOOLS_CPP/tqfile_mac.cpp \
		  $$TOOLS_CPP/tqfileinfo_mac.cpp
	else:unix:SOURCES += $$TOOLS_CPP/tqdir_unix.cpp \
		  $$TOOLS_CPP/tqfile_unix.cpp \
		  $$TOOLS_CPP/tqfileinfo_unix.cpp \
		  $$TOOLS_CPP/tqmutex_unix.cpp \
		  $$TOOLS_CPP/tqthreadstorage_unix.cpp \
		  $$TOOLS_CPP/tqwaitcondition_unix.cpp

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

	SOURCES += $$TOOLS_CPP/tqbitarray.cpp \
		  $$TOOLS_CPP/tqbuffer.cpp \
		  $$TOOLS_CPP/qcomponentfactory.cpp \
		  $$TOOLS_CPP/qcomlibrary.cpp \
		  $$TOOLS_CPP/tqcstring.cpp \
		  $$TOOLS_CPP/tqdatastream.cpp \
		  $$TOOLS_CPP/tqdatetime.cpp \
		  $$TOOLS_CPP/tqdeepcopy.cpp \
		  $$TOOLS_CPP/tqdir.cpp \
		  $$TOOLS_CPP/tqfile.cpp \
		  $$TOOLS_CPP/tqfileinfo.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/tqiodevice.cpp \
		  $$TOOLS_CPP/qlibrary.cpp \
		  $$TOOLS_CPP/tqlocale.cpp \
		  $$TOOLS_CPP/tqmap.cpp \
		  $$TOOLS_CPP/tqmutexpool.cpp \
		  $$TOOLS_CPP/tqptrcollection.cpp \
		  $$TOOLS_CPP/tqregexp.cpp \
		  $$TOOLS_CPP/tqstring.cpp \
		  $$TOOLS_CPP/tqsemaphore.cpp \
		  $$TOOLS_CPP/tqsettings.cpp \
		  $$TOOLS_CPP/tqstringlist.cpp \
		  $$TOOLS_CPP/tqtextstream.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)/tqlocale.o tools/tqlocale.cpp
        }
}