2008-05-15 Ariya Hidayat <ariya.hidayat@trolltech.com>
[WebKit-https.git] / JavaScriptCore / JavaScriptCore.pri
index 057fbb0..2de9833 100644 (file)
@@ -5,12 +5,7 @@ INCLUDEPATH += tmp
 INCLUDEPATH += $$PWD $$PWD/kjs $$PWD/wtf $$PWD/wtf/unicode
 DEPENDPATH += $$PWD $$PWD/kjs $$PWD/wtf $$PWD/wtf/unicode
 DEFINES -= KJS_IDENTIFIER_HIDE_GLOBALS 
-qt-port:DEFINES += BUILDING_QT__
-gtk-port:DEFINES += BUILDING_GTK__
-
-# http://bugs.webkit.org/show_bug.cgi?id=16406
-# [Gtk] JavaScriptCore needs -lpthread
-gtk-port:!win32-*:LIBS += -lpthread
+DEFINES += BUILDING_QT__
 
 win32-msvc*: INCLUDEPATH += $$PWD/os-win32
 
@@ -54,10 +49,6 @@ SOURCES += \
 
 # AllInOneFile.cpp helps gcc analize and optimize code
 # Other compilers may be able to do this at link time
-gtk-port:CONFIG(release) {
-SOURCES += \
-    kjs/AllInOneFile.cpp
-} else {
 SOURCES += \
     kjs/function.cpp \
     kjs/debugger.cpp \
@@ -101,17 +92,7 @@ SOURCES += \
     profiler/ProfileNode.cpp \
     profiler/Profile.cpp \
     profiler/Profiler.cpp \
-    wtf/FastMalloc.cpp
-
-!qt-port:SOURCES += \
-    wtf/TCSystemAlloc.cpp
-}
-
-gtk-port:SOURCES += \
-    wtf/ThreadingGtk.cpp \
-    wtf/gtk/MainThreadGtk.cpp
-
-!gtk-port:SOURCES += \
+    wtf/FastMalloc.cpp \
     wtf/ThreadingQt.cpp \
     wtf/qt/MainThreadQt.cpp