hausmann | 0f6f302 | 2006-12-17 10:50:27 +0000 | [diff] [blame] | 1 | TEMPLATE = app |
mjs@apple.com | 1320258 | 2008-06-15 10:55:28 +0000 | [diff] [blame] | 2 | TARGET = jsc |
cwzwarich@webkit.org | e375cf6 | 2008-11-06 18:41:27 +0000 | [diff] [blame] | 3 | DESTDIR = . |
cwzwarich@webkit.org | f6d4bf3 | 2008-11-06 10:21:50 +0000 | [diff] [blame] | 4 | SOURCES = jsc.cpp |
hausmann | 0f6f302 | 2006-12-17 10:50:27 +0000 | [diff] [blame] | 5 | QT -= gui |
hausmann | 439b47a | 2007-10-22 09:33:10 +0000 | [diff] [blame] | 6 | CONFIG -= app_bundle |
hausmann@webkit.org | 06f5bb1 | 2008-07-25 13:11:08 +0000 | [diff] [blame] | 7 | CONFIG += building-libs |
hausmann@webkit.org | add7299 | 2009-07-20 09:49:33 +0000 | [diff] [blame] | 8 | win32-*: CONFIG += console |
| 9 | win32-msvc*: CONFIG += exceptions_off stl_off |
pewtermoose@webkit.org | 0577f4f | 2008-02-24 04:05:05 +0000 | [diff] [blame] | 10 | |
jocelyn.turcotte@nokia.com | 28faeac | 2010-03-04 13:39:45 +0000 | [diff] [blame] | 11 | isEmpty(OUTPUT_DIR): OUTPUT_DIR= .. |
hausmann@webkit.org | fdde27d | 2008-11-06 11:46:43 +0000 | [diff] [blame] | 12 | include($$PWD/../WebKit.pri) |
hausmann@webkit.org | bb87b70 | 2008-07-25 10:55:33 +0000 | [diff] [blame] | 13 | |
pewtermoose@webkit.org | 0577f4f | 2008-02-24 04:05:05 +0000 | [diff] [blame] | 14 | CONFIG += link_pkgconfig |
pewtermoose@webkit.org | 0577f4f | 2008-02-24 04:05:05 +0000 | [diff] [blame] | 15 | |
hausmann | 0f6f302 | 2006-12-17 10:50:27 +0000 | [diff] [blame] | 16 | QMAKE_RPATHDIR += $$OUTPUT_DIR/lib |
| 17 | |
ossy@webkit.org | dc112bc | 2010-05-12 20:56:51 +0000 | [diff] [blame] | 18 | !CONFIG(release, debug|release) { |
vestbo@webkit.org | ca60ccd | 2009-05-06 08:20:38 +0000 | [diff] [blame] | 19 | OBJECTS_DIR = obj/debug |
| 20 | } else { # Release |
| 21 | OBJECTS_DIR = obj/release |
| 22 | } |
vestbo@webkit.org | ce63bc0 | 2009-06-08 14:35:46 +0000 | [diff] [blame] | 23 | OBJECTS_DIR_WTR = $$OBJECTS_DIR$${QMAKE_DIR_SEP} |
hausmann@webkit.org | fdde27d | 2008-11-06 11:46:43 +0000 | [diff] [blame] | 24 | include($$PWD/JavaScriptCore.pri) |
hausmann@webkit.org | 8c4ef5a | 2010-03-26 14:05:09 +0000 | [diff] [blame] | 25 | addJavaScriptCoreLib(.) |
eric@webkit.org | 5708acf | 2009-10-24 15:28:20 +0000 | [diff] [blame] | 26 | |
| 27 | symbian { |
| 28 | TARGET.CAPABILITY = ReadUserData WriteUserData NetworkServices |
| 29 | } |
vestbo@webkit.org | bb10ad1 | 2009-11-11 16:02:17 +0000 | [diff] [blame] | 30 | |
| 31 | mac { |
| 32 | LIBS_PRIVATE += -framework AppKit |
vestbo@webkit.org | 345c0dc | 2010-08-06 13:07:39 +0000 | [diff] [blame] | 33 | } |
| 34 | |
andreas.kling@nokia.com | e0958c8 | 2010-09-23 15:29:42 +0000 | [diff] [blame] | 35 | wince* { |
| 36 | LIBS += mmtimer.lib |
| 37 | } |
| 38 | |
vestbo@webkit.org | 345c0dc | 2010-08-06 13:07:39 +0000 | [diff] [blame] | 39 | # Prevent warnings about difference in visibility on Mac OS X |
| 40 | contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols |
| 41 | unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions |