summaryrefslogtreecommitdiffstats
path: root/Source/JavaScriptCore/DerivedSources.make
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2011-05-13 16:23:25 +0100
committerBen Murdoch <benm@google.com>2011-05-16 11:35:02 +0100
commit65f03d4f644ce73618e5f4f50dd694b26f55ae12 (patch)
treef478babb801e720de7bfaee23443ffe029f58731 /Source/JavaScriptCore/DerivedSources.make
parent47de4a2fb7262c7ebdb9cd133ad2c54c187454d0 (diff)
downloadexternal_webkit-65f03d4f644ce73618e5f4f50dd694b26f55ae12.zip
external_webkit-65f03d4f644ce73618e5f4f50dd694b26f55ae12.tar.gz
external_webkit-65f03d4f644ce73618e5f4f50dd694b26f55ae12.tar.bz2
Merge WebKit at r75993: Initial merge by git.
Change-Id: I602bbdc3974787a3b0450456a30a7868286921c3
Diffstat (limited to 'Source/JavaScriptCore/DerivedSources.make')
-rw-r--r--Source/JavaScriptCore/DerivedSources.make23
1 files changed, 16 insertions, 7 deletions
diff --git a/Source/JavaScriptCore/DerivedSources.make b/Source/JavaScriptCore/DerivedSources.make
index 2e8adb4..4de4a88 100644
--- a/Source/JavaScriptCore/DerivedSources.make
+++ b/Source/JavaScriptCore/DerivedSources.make
@@ -1,4 +1,4 @@
-# Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
+# Copyright (C) 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -37,20 +37,21 @@ VPATH = \
.PHONY : all
all : \
ArrayPrototype.lut.h \
- chartables.c \
DatePrototype.lut.h \
+ HeaderDetection.h \
JSONObject.lut.h \
+ JavaScriptCore.JSVALUE32.exp \
+ JavaScriptCore.JSVALUE32_64.exp \
+ JavaScriptCore.JSVALUE64.exp \
Lexer.lut.h \
MathObject.lut.h \
NumberConstructor.lut.h \
RegExpConstructor.lut.h \
+ RegExpJitTables.h \
RegExpObject.lut.h \
StringPrototype.lut.h \
+ chartables.c \
docs/bytecode.html \
- RegExpJitTables.h \
- JavaScriptCore.JSVALUE32.exp \
- JavaScriptCore.JSVALUE32_64.exp \
- JavaScriptCore.JSVALUE64.exp \
#
# lookup tables for classes
@@ -68,10 +69,13 @@ chartables.c : dftables
docs/bytecode.html: make-bytecode-docs.pl Interpreter.cpp
perl $^ $@
-#character tables for Yarr
+# character tables for Yarr
+
RegExpJitTables.h: create_regex_tables
python $^ > $@
+# export files
+
JavaScriptCore.JSVALUE32.exp: JavaScriptCore.exp JavaScriptCore.JSVALUE32only.exp
cat $^ > $@
@@ -80,3 +84,8 @@ JavaScriptCore.JSVALUE32_64.exp: JavaScriptCore.exp JavaScriptCore.JSVALUE32_64o
JavaScriptCore.JSVALUE64.exp: JavaScriptCore.exp JavaScriptCore.JSVALUE64only.exp
cat $^ > $@
+
+# header detection
+
+HeaderDetection.h : DerivedSources.make
+ if [ -f $SDKROOT/System/Library/Frameworks/System.framework/PrivateHeaders/pthread_machdep.h ]; then echo "#define HAVE_PTHREAD_MACHDEP_H 1" > $@; else echo > $@; fi