top level:
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Jul 2007 13:55:11 +0000 (13:55 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Jul 2007 13:55:11 +0000 (13:55 +0000)
        Add a SCRIPTS_PATH variable so Makefiles of differnet nested directories can
        still use this one Makefile.shared as an include.

        * Makefile.shared:

WebKitTools:

        Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
        Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.

        * Drosera/Makefile: Added.
        * Drosera/mac/Makefile:
        * DumpRenderTree/Makefile:
        * Makefile:
        * Makefile.Drosera: Removed.
        * Makefile.shared: Removed.

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

ChangeLog
Makefile.shared
WebKitTools/ChangeLog
WebKitTools/Drosera/Makefile [new file with mode: 0644]
WebKitTools/Drosera/mac/Makefile
WebKitTools/DumpRenderTree/Makefile
WebKitTools/Makefile
WebKitTools/Makefile.Drosera [deleted file]
WebKitTools/Makefile.shared [deleted file]

index 8e92944..c117964 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-07-18  Timothy Hatcher  <timothy@apple.com>
+
+        Add a SCRIPTS_PATH variable so Makefiles of differnet nested directories can
+        still use this one Makefile.shared as an include.
+
+        * Makefile.shared:
+
 2007-07-12  George Staikos  <staikos@kde.org>
 
         Fix build in debug mode.
index df3389c..a036aac 100644 (file)
@@ -1,20 +1,21 @@
-XCODE_OPTIONS = `perl -I../WebKitTools/Scripts -Mwebkitdirs -e 'print XcodeOptionString()'` $(ARGS)
+SCRIPTS_PATH ?= ../WebKitTools/Scripts
+XCODE_OPTIONS = `perl -I$(SCRIPTS_PATH) -Mwebkitdirs -e 'print XcodeOptionString()'` $(ARGS)
 
 all:
        ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
 
 debug d development dev develop: force
-       ../WebKitTools/Scripts/set-webkit-configuration --debug
+       $(SCRIPTS_PATH)/set-webkit-configuration --debug
        ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
 
 release r deployment dep deploy: force
-       ../WebKitTools/Scripts/set-webkit-configuration --release
+       $(SCRIPTS_PATH)/set-webkit-configuration --release
        ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
 
 universal u: force
        ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) 'ARCHS=ppc i386' | grep -v setenv && exit $${PIPESTATUS[0]} )
 
 clean:
-       ( xcodebuild -alltargets clean $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
+       ( xcodebuild $(OTHER_OPTIONS) -alltargets clean $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
 
 force: ;
index b22f25b..05fb2ce 100644 (file)
@@ -1,5 +1,17 @@
 2007-07-18  Timothy Hatcher  <timothy@apple.com>
 
+        Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
+        Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
+
+        * Drosera/Makefile: Added.
+        * Drosera/mac/Makefile:
+        * DumpRenderTree/Makefile:
+        * Makefile:
+        * Makefile.Drosera: Removed.
+        * Makefile.shared: Removed.
+
+2007-07-18  Timothy Hatcher  <timothy@apple.com>
+
         The console log was 20px down from the top for no reason, move it up.
 
         * Drosera/console.css:
diff --git a/WebKitTools/Drosera/Makefile b/WebKitTools/Drosera/Makefile
new file mode 100644 (file)
index 0000000..4fce090
--- /dev/null
@@ -0,0 +1,3 @@
+OTHER_OPTIONS = -project mac/Drosera.xcodeproj
+SCRIPTS_PATH = ../Scripts
+include ../../Makefile.shared
index 7956c67..058c21e 100644 (file)
@@ -1 +1,2 @@
-include ../../Makefile.Drosera
+SCRIPTS_PATH = ../../Scripts
+include ../../../Makefile.shared
index cb4c11a..1f1dbbc 100644 (file)
@@ -1 +1,2 @@
-include ../Makefile.shared
+SCRIPTS_PATH = ../Scripts
+include ../../Makefile.shared
index cade71b..a0f946a 100644 (file)
@@ -1,4 +1,4 @@
-MODULES = Drosera/mac DumpRenderTree
+MODULES = Drosera DumpRenderTree
 
 all:
        @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
diff --git a/WebKitTools/Makefile.Drosera b/WebKitTools/Makefile.Drosera
deleted file mode 100644 (file)
index 6cc76e8..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-XCODE_OPTIONS = `perl -I../../Scripts -Mwebkitdirs -e 'print XcodeOptionString()'` $(ARGS)
-
-all:
-       ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
-
-debug d development dev develop: force
-       ../../Scripts/set-webkit-configuration --debug
-       ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
-
-release r deployment dep deploy: force
-       ../../Scripts/set-webkit-configuration --release
-       ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
-
-universal u: force
-       ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) 'ARCHS=ppc i386' | grep -v setenv && exit $${PIPESTATUS[0]} )
-
-clean:
-       ( xcodebuild -alltargets clean $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
-
-force: ;
diff --git a/WebKitTools/Makefile.shared b/WebKitTools/Makefile.shared
deleted file mode 100644 (file)
index 8a42f12..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-XCODE_OPTIONS = `perl -I../Scripts -Mwebkitdirs -e 'print XcodeOptionString()'` $(ARGS)
-
-all:
-       ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
-
-debug d development dev develop: force
-       ../Scripts/set-webkit-configuration --debug
-       ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
-
-release r deployment dep deploy: force
-       ../Scripts/set-webkit-configuration --release
-       ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
-
-universal u: force
-       ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) 'ARCHS=ppc i386' | grep -v setenv && exit $${PIPESTATUS[0]} )
-
-clean:
-       ( xcodebuild -alltargets clean $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
-
-force: ;