QT_DEFINES += -DQT_NO_LIBUDEV -DQT_NO_XCB -DQT_NO_XKBCOMMON -DJSC=QTJSC -Djscyyparse=qtjscyyparse -Djscyylex=qtjscyylex -Djscyyerror=qtjscyyerror -DWTF=QTWTF -DQT_NO_USING_NAMESPACE -DQLALR_NO_QSCRIPTGRAMMAR_DEBUG_INFO -DQT_BUILD_SCRIPT_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DBUILDING_QT__=1 -DNDEBUG -DLOG_DISABLED=1 -DBUILDING_QT__ -DBUILDING_JavaScriptCore -DBUILDING_WTF -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DNDEBUG -DJS_NO_EXPORT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB

QT_INCPATH += \
  qtbase/include \
  qtbase/include/QtCore \
  qtbase/include/QtCore/5.1.0 \
  qtbase/include/QtCore/5.1.0/QtCore \
  qtbase/mkspecs/genode-g++ \
  qtscript/include \
  qtscript/include/QtScript \
  qtscript/include/QtScript/5.1.0 \
  qtscript/include/QtScript/5.1.0/QtScript \
  qtscript/src/3rdparty/javascriptcore \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/API \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/assembler \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/bytecode \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/bytecompiler \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/debugger \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/ForwardingHeaders \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/generated \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/interpreter \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/jit \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/parser \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/pcre \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/profiler \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/runtime \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/tmp \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wrec \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wtf \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wtf/symbian \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/yarr \
  qtscript/src/3rdparty/javascriptcore/WebKit/qt/Api \
  qtscript/src/script \
  qtscript/src/script/../3rdparty/javascriptcore/JavaScriptCore/unicode \
  qtscript/src/script/parser \

QT_SOURCES += \
  pcre_compile.cpp \
  pcre_exec.cpp \
  pcre_tables.cpp \
  pcre_ucp_searchfuncs.cpp \
  pcre_xclass.cpp \
  JSBase.cpp \
  JSCallbackConstructor.cpp \
  JSCallbackFunction.cpp \
  JSCallbackObject.cpp \
  JSClassRef.cpp \
  JSContextRef.cpp \
  JSObjectRef.cpp \
  JSStringRef.cpp \
  JSValueRef.cpp \
  OpaqueJSString.cpp \
  ARMAssembler.cpp \
  MacroAssemblerARM.cpp \
  CodeBlock.cpp \
  JumpTable.cpp \
  Opcode.cpp \
  SamplingTool.cpp \
  StructureStubInfo.cpp \
  BytecodeGenerator.cpp \
  NodesCodegen.cpp \
  DebuggerActivation.cpp \
  DebuggerCallFrame.cpp \
  Debugger.cpp \
  CallFrame.cpp \
  Interpreter.cpp \
  RegisterFile.cpp \
  ExecutableAllocatorFixedVMPool.cpp \
  ExecutableAllocatorPosix.cpp \
  ExecutableAllocatorSymbian.cpp \
  ExecutableAllocatorWin.cpp \
  ExecutableAllocator.cpp \
  JITArithmetic.cpp \
  JITCall.cpp \
  JIT.cpp \
  JITOpcodes.cpp \
  JITPropertyAccess.cpp \
  JITStubs.cpp \
  Lexer.cpp \
  Nodes.cpp \
  ParserArena.cpp \
  Parser.cpp \
  Profile.cpp \
  ProfileGenerator.cpp \
  ProfileNode.cpp \
  Profiler.cpp \
  ArgList.cpp \
  Arguments.cpp \
  ArrayConstructor.cpp \
  ArrayPrototype.cpp \
  BooleanConstructor.cpp \
  BooleanObject.cpp \
  BooleanPrototype.cpp \
  CallData.cpp \
  Collector.cpp \
  CommonIdentifiers.cpp \
  Completion.cpp \
  ConstructData.cpp \
  DateConstructor.cpp \
  DateConversion.cpp \
  DateInstance.cpp \
  DatePrototype.cpp \
  ErrorConstructor.cpp \
  Error.cpp \
  ErrorInstance.cpp \
  ErrorPrototype.cpp \
  ExceptionHelpers.cpp \
  Executable.cpp \
  FunctionConstructor.cpp \
  FunctionPrototype.cpp \
  GetterSetter.cpp \
  GlobalEvalFunction.cpp \
  Identifier.cpp \
  InitializeThreading.cpp \
  InternalFunction.cpp \
  JSActivation.cpp \
  JSAPIValueWrapper.cpp \
  JSArray.cpp \
  JSByteArray.cpp \
  JSCell.cpp \
  JSFunction.cpp \
  JSGlobalData.cpp \
  JSGlobalObject.cpp \
  JSGlobalObjectFunctions.cpp \
  JSImmediate.cpp \
  JSLock.cpp \
  JSNotAnObject.cpp \
  JSNumberCell.cpp \
  JSObject.cpp \
  JSONObject.cpp \
  JSPropertyNameIterator.cpp \
  JSStaticScopeObject.cpp \
  JSString.cpp \
  JSValue.cpp \
  JSVariableObject.cpp \
  JSWrapperObject.cpp \
  LiteralParser.cpp \
  Lookup.cpp \
  MarkStackPosix.cpp \
  MarkStackSymbian.cpp \
  MarkStackWin.cpp \
  MarkStack.cpp \
  MathObject.cpp \
  NativeErrorConstructor.cpp \
  NativeErrorPrototype.cpp \
  NumberConstructor.cpp \
  NumberObject.cpp \
  NumberPrototype.cpp \
  ObjectConstructor.cpp \
  ObjectPrototype.cpp \
  Operations.cpp \
  PropertyDescriptor.cpp \
  PropertyNameArray.cpp \
  PropertySlot.cpp \
  PrototypeFunction.cpp \
  RegExpConstructor.cpp \
  RegExp.cpp \
  RegExpObject.cpp \
  RegExpPrototype.cpp \
  ScopeChain.cpp \
  SmallStrings.cpp \
  StringConstructor.cpp \
  StringObject.cpp \
  StringPrototype.cpp \
  StructureChain.cpp \
  Structure.cpp \
  TimeoutChecker.cpp \
  UString.cpp \
  UStringImpl.cpp \
  Assertions.cpp \
  ByteArray.cpp \
  CurrentTime.cpp \
  DateMath.cpp \
  dtoa.cpp \
  FastMalloc.cpp \
  HashTable.cpp \
  MainThread.cpp \
  MainThreadQt.cpp \
  ThreadingQt.cpp \
  RandomNumber.cpp \
  RefCountedLeakCounter.cpp \
  BlockAllocatorSymbian.cpp \
  RegisterFileAllocatorSymbian.cpp \
  ThreadingNone.cpp \
  Threading.cpp \
  TypeTraits.cpp \
  CollatorDefault.cpp \
  CollatorICU.cpp \
  UTF8.cpp \
  RegexCompiler.cpp \
  RegexInterpreter.cpp \
  RegexJIT.cpp \
  Grammar.cpp \
  TCSystemAlloc.cpp \
  qscriptclass.cpp \
  qscriptclasspropertyiterator.cpp \
  qscriptcontext.cpp \
  qscriptcontextinfo.cpp \
  qscriptengine.cpp \
  qscriptengineagent.cpp \
  qscriptextensionplugin.cpp \
  qscriptprogram.cpp \
  qscriptstring.cpp \
  qscriptvalue.cpp \
  qscriptvalueiterator.cpp \
  qscriptable.cpp \
  qscriptfunction.cpp \
  qscriptobject.cpp \
  qscriptclassobject.cpp \
  qscriptvariant.cpp \
  qscriptqobject.cpp \
  qscriptglobalobject.cpp \
  qscriptactivationobject.cpp \
  qscriptstaticscopeobject.cpp \
  qscriptdeclarativeobject.cpp \
  qscriptdeclarativeclass.cpp \
  qscriptast.cpp \
  qscriptastvisitor.cpp \
  qscriptgrammar.cpp \
  qscriptsyntaxchecker.cpp \
  qscriptlexer.cpp \
  moc_qscriptextensionplugin.cpp

QT_VPATH += \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/API \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/assembler \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/bytecode \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/bytecompiler \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/debugger \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/generated \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/interpreter \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/jit \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/parser \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/pcre \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/profiler \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/runtime \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wtf \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wtf/qt \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wtf/symbian \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/icu \
  qtscript/src/3rdparty/javascriptcore/JavaScriptCore/yarr \
  qtscript/src/script/api \
  qtscript/src/script/bridge \
  qtscript/src/script/parser \

# some source files need to be generated by moc from other source/header files before
# they get #included again by the original source file in the compiling stage

# source files generated from existing header files ('moc_%.cpp: %.h' rule in import-qt5.inc)
# extracted from 'compiler_moc_header_make_all' target

COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
  moc_qscriptengine.cpp \
  moc_qscriptextensionplugin.cpp \
  moc_qscriptqobject_p.cpp

# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
# extracted from 'compiler_moc_source_make_all' rule

COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
  MainThreadQt.moc \
  ThreadingQt.moc

