2008-01-03 Alp Toker <alp@atoker.com>
authoralp@webkit.org <alp@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Jan 2008 06:23:42 +0000 (06:23 +0000)
committeralp@webkit.org <alp@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Jan 2008 06:23:42 +0000 (06:23 +0000)
        Reviewed by Mark Rowe.

        Support building in Scratchbox, which has a version of make that fails
        on wildcard syntax. Use a vpath to match IDL files instead.

        * GNUmakefile.am:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29146 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/GNUmakefile.am

index b991d392f17bcee1ba66b712c0107b11a34c0c27..d27b3dd31b2a40fbe746332a54eac18bcbd56494 100644 (file)
@@ -1,3 +1,12 @@
+2008-01-03  Alp Toker  <alp@atoker.com>
+
+        Reviewed by Mark Rowe.
+
+        Support building in Scratchbox, which has a version of make that fails
+        on wildcard syntax. Use a vpath to match IDL files instead.
+
+        * GNUmakefile.am:
+
 2008-01-03  Jon Honeycutt  <jhoneycutt@apple.com>
 
         Reviewed by Darin.
index 5aaf6bb6940ed8fcc3151548264eb2da94aaab9c..b0252a586deb353eb5be61e17581ffe51f448eb8 100644 (file)
@@ -1942,14 +1942,25 @@ SCRIPTS_JS_BINDINGS = \
        $(WebCore)/bindings/scripts/IDLStructure.pm \
        $(WebCore)/bindings/scripts/generate-bindings.pl
 
-DerivedSources/JS%.h DerivedSources/JS%.cpp: $(WebCore)/*/%.idl $(SCRIPTS_JS_BINDINGS)
-       $(PERL) -I $(WebCore)/bindings/scripts                                  \
-       $(WebCore)/bindings/scripts/generate-bindings.pl --defines              \
+vpath %.idl = \
+    $(WebCore) \
+    $(WebCore)/bindings/js \
+    $(WebCore)/bindings/objc \
+    $(WebCore)/css \
+    $(WebCore)/dom \
+    $(WebCore)/html \
+    $(WebCore)/page \
+    $(WebCore)/storage \
+    $(WebCore)/svg \
+    $(WebCore)/xml
+
+$(GENSOURCES)/JS%.h $(GENSOURCES)/JS%.cpp: %.idl $(SCRIPTS_JS_BINDINGS)
+       $(PERL) -I $(WebCore)/bindings/scripts \
+       $(WebCore)/bindings/scripts/generate-bindings.pl --defines \
        "$(FEATURE_DEFINES_JAVASCRIPT)" --generator JS --include $(WebCore)/dom \
        --include $(WebCore)/html --include $(WebCore)/css --include $(WebCore)/page \
        --include $(WebCore)/xml --include $(WebCore)/svg --outputdir $(GENSOURCES) $<
 
-#
 # Clean rules for WebCore
 
 CLEANFILES += \