summaryrefslogtreecommitdiffstats
path: root/src/tools/qt_tools.pri
blob: 36c144e9901ea10100efa5d2537e57dd6f35c4ec (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
# 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/tqcleanuphandler.h \
		  $$TOOLS_P/tqcomponentfactory_p.h \
		  $$TOOLS_P/tqcomlibrary_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/tqgarray.h \
		  $$TOOLS_H/tqgcache.h \
		  $$TOOLS_H/tqgdict.h \
		  $$TOOLS_H/tqglist.h \
		  $$TOOLS_H/tqglobal.h \
		  $$TOOLS_P/tqgpluginmanager_p.h \
		  $$TOOLS_H/tqgvector.h \
		  $$TOOLS_H/tqintcache.h \
		  $$TOOLS_H/tqintdict.h \
		  $$TOOLS_H/tqiodevice.h \
		  $$TOOLS_H/tqlibrary.h \
		  $$TOOLS_P/tqlibrary_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/tqpluginmanager_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/tqshared.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/tqunicodetables_p.h \
		  $$TOOLS_H/tqptrvector.h \
	          $$TOOLS_H/tqvaluelist.h \
		  $$TOOLS_H/tqvaluestack.h \
		  $$TOOLS_H/tqvaluevector.h \
		  $$TOOLS_H/tqwaitcondition.h \
		  $$TOOLS_P/tqcom_p.h \
		  $$TOOLS_P/tqucom_p.h \
		  $$TOOLS_H/tquuid.h

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

	win32-borland:SOURCES += $$TOOLS_CPP/tqwinexport.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/tqlibrary_unix.cpp

	SOURCES += $$TOOLS_CPP/tqbitarray.cpp \
		  $$TOOLS_CPP/tqbuffer.cpp \
		  $$TOOLS_CPP/tqcomponentfactory.cpp \
		  $$TOOLS_CPP/tqcomlibrary.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/tqgarray.cpp \
		  $$TOOLS_CPP/tqgcache.cpp \
		  $$TOOLS_CPP/tqgdict.cpp \
		  $$TOOLS_CPP/tqglist.cpp \
		  $$TOOLS_CPP/tqglobal.cpp \
		  $$TOOLS_CPP/tqgpluginmanager.cpp \
		  $$TOOLS_CPP/tqgvector.cpp \
		  $$TOOLS_CPP/tqiodevice.cpp \
		  $$TOOLS_CPP/tqlibrary.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/tqunicodetables.cpp \
		  $$TOOLS_CPP/tqucom.cpp \
		  $$TOOLS_CPP/tquuid.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
        }
}