summaryrefslogtreecommitdiffstats
path: root/src/moc/moc.pro
blob: e1b56f668fb5dc008a3119868ea49264afaa7970 (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
TEMPLATE	= app
TARGET		= tqmoc

CONFIG 		= console release qtinc yacc lex_included yacc_no_name_mangle
DEFINES	       += QT_MOC TQT_NO_CODECS QT_LITE_UNICODE TQT_NO_COMPONENT \
		  TQT_NO_STL TQT_NO_COMPRESS
win32:DEFINES  += QT_NODLL
DESTDIR         = ../../bin


INCLUDEPATH	+= $$QT_SOURCE_TREE/include ../tools .
DEPENDPATH	+= $$QT_SOURCE_TREE/include ../tools .
LIBS		=
OBJECTS_DIR	= .
SOURCES		= ../tools/tqbuffer.cpp	    \
		  ../tools/tqptrcollection.cpp  \
		  ../tools/tqcstring.cpp	    \
		  ../tools/tqdatastream.cpp  \
		  ../tools/tqdatetime.cpp    \
		  ../tools/tqfile.cpp	    \
		  ../tools/tqdir.cpp	    \
		  ../tools/tqfileinfo.cpp    \
		  ../tools/qgarray.cpp	    \
		  ../tools/qgdict.cpp	    \
		  ../tools/qglist.cpp	    \
		  ../tools/qglobal.cpp	    \
		  ../tools/qgvector.cpp	    \
		  ../tools/tqiodevice.cpp    \
		  ../tools/tqregexp.cpp	    \
		  ../tools/tqstring.cpp	    \
		  ../tools/tqlocale.cpp	    \
                  ../tools/qunicodetables.cpp \
		  ../tools/tqstringlist.cpp  \
		  ../tools/tqtextstream.cpp  \
		  ../tools/tqbitarray.cpp    \
		  ../tools/tqmap.cpp         \
		  ../tools/qgcache.cpp      \
		  ../codecs/tqtextcodec.cpp \
		  ../codecs/tqutfcodec.cpp

isEmpty(QT_PRODUCT)|contains(QT_PRODUCT, qt-internal) {
    LEXSOURCES  = moc.l
    YACCSOURCES = moc.y
} else {
    SOURCES   += moc_yacc.cpp
}

unix:SOURCES	+= ../tools/tqfile_unix.cpp ../tools/tqdir_unix.cpp ../tools/tqfileinfo_unix.cpp
win32:SOURCES	+= ../tools/tqfile_win.cpp ../tools/tqdir_win.cpp ../tools/tqfileinfo_win.cpp
macx:LIBS	+= -framework Carbon

target.path=$$bins.path
INSTALLS += target

*-mwerks {
   TEMPLATE = lib
   TARGET = McMoc
   CONFIG -= static
   CONFIG += shared plugin
   DEFINES += MOC_MWERKS_PLUGIN
   MWERKSDIR = $QT_SOURCE_TREE/util/mwerks_plugin
   INCLUDEPATH += $$MWERKSDIR/Headers
   LIBS += $$MWERKSDIR/Libraries/PluginLib4.shlb
   SOURCES += mwerks_mac.cpp
}