Make builds conditionally include -framework Quartz.
authorrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Aug 2004 19:27:30 +0000 (19:27 +0000)
committerrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Aug 2004 19:27:30 +0000 (19:27 +0000)
        Reviewed by Chris.

        * WebKit.pbproj/project.pbxproj:

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

WebKit/ChangeLog
WebKit/WebKit.pbproj/project.pbxproj

index 62d98f5f1e891bbec6042d8ea9e692b4389a7467..bc3988b43ff0a25cf592b3f5d0ab89f17178d3be 100644 (file)
@@ -1,3 +1,11 @@
+2004-08-05  Richard Williamson   <rjw@apple.com>
+
+        Make builds conditionally include -framework Quartz.
+               
+        Reviewed by Chris.
+
+        * WebKit.pbproj/project.pbxproj:
+
 2004-08-04  Darin Adler  <darin@apple.com>
 
         - fixed broken Deployment build
index 8571a4d487a208ef16a02bffff8b95854960d45b..0f106c8c5f2ede3297bf980a9e07af9d7992c87b 100644 (file)
@@ -90,6 +90,7 @@
                        productRefGroup = 034768DFFF38A50411DB9C8B;
                        projectDirPath = "";
                        targets = (
+                               51428D5606C1CA3D0073C0E9,
                                0867D69CFE84028FC02AAC07,
                        );
                };
                                6566F34204C12D14008B3232,
                        );
                        buildSettings = {
-                               COMMON_LDFLAGS = "-no-c++filt \"$OBJECT_FILE_DIR/WebKitSecurity.a\" -weak_framework Quartz";
+                               COMMON_LDFLAGS = "-no-c++filt \"$OBJECT_FILE_DIR/WebKitSecurity.a\" $ADDITIONAL_LDFLAGS";
                                COPY_PHASE_STRIP = NO;
                                DEBUG_CFLAGS = "-DNDEBUG";
                                DYLIB_COMPATIBILITY_VERSION = 1;
                        refType = 2;
                        sourceTree = SOURCE_ROOT;
                };
+               51428D5606C1CA3D0073C0E9 = {
+                       buildPhases = (
+                               51428D5906C1CA4A0073C0E9,
+                       );
+                       buildSettings = {
+                               OTHER_CFLAGS = "";
+                               OTHER_LDFLAGS = "";
+                               OTHER_REZFLAGS = "";
+                               PRODUCT_NAME = Root;
+                               SECTORDER_FLAGS = "";
+                               WARNING_CFLAGS = "-Wmost -Wno-four-char-constants -Wno-unknown-pragmas";
+                       };
+                       dependencies = (
+                       );
+                       isa = PBXAggregateTarget;
+                       name = Root;
+                       productName = Root;
+               };
+               51428D5906C1CA4A0073C0E9 = {
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       inputPaths = (
+                       );
+                       isa = PBXShellScriptBuildPhase;
+                       outputPaths = (
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+                       shellPath = /bin/sh;
+                       shellScript = "# Only link with Quartz if it is available, i.e. on Tiger or greater.\nif [ -f /System/Library/Frameworks/Quartz.framework/Quartz ]; then\n    export ADDITIONAL_LDFLAGS=\"-framework\\\" \\\"Quartz\"\nelse\n    export ADDITIONAL_LDFLAGS=\"\"\nfi\n\nunset CACHE_ROOT;export CACHE_ROOT\nunset CCHROOT;export CCHROOT\nunset CLONE_HEADERS;export CLONE_HEADERS\nunset COPY_PHASE_STRIP;export COPY_PHASE_STRIP\nunset COPY_RESOURCES_FROM_STATIC_FRAMEWORKS;export COPY_RESOURCES_FROM_STATIC_FRAMEWORKS\nunset CURRENT_PROJECT_VERSION;export CURRENT_PROJECT_VERSION\nunset DEBUGGING_SYMBOLS;export DEBUGGING_SYMBOLS\nunset DEBUG_CFLAGS;export DEBUG_CFLAGS\nunset DEPLOYMENT_LOCATION;export DEPLOYMENT_LOCATION\nunset DERIVED_PATHS;export DERIVED_PATHS\nunset GCC_DYNAMIC_NO_PIC;export GCC_DYNAMIC_NO_PIC\nunset GCC_ENABLE_FIX_AND_CONTINUE;export GCC_ENABLE_FIX_AND_CONTINUE\nunset GCC_GENERATE_DEBUGGING_SYMBOLS;export GCC_GENERATE_DEBUGGING_SYMBOLS\nunset GCC_OPTIMIZATION_LEVEL;export GCC_OPTIMIZATION_LEVEL\nunset GCC_TREAT_WARNINGS_AS_ERRORS;export GCC_TREAT_WARNINGS_AS_ERRORS\nunset GCC_VERSION;export GCC_VERSION\nunset GENERATE_PKGINFO_FILE;export GENERATE_PKGINFO_FILE\nunset GENERATE_PROFILING_CODE;export GENERATE_PROFILING_CODE\nunset GLOBAL_CFLAGS;export GLOBAL_CFLAGS\nunset HEADER_SEARCH_PATHS;export HEADER_SEARCH_PATHS\nunset LIBRARY_SEARCH_PATHS;export LIBRARY_SEARCH_PATHS\nunset LINKER_LIBRARY_FLAGS;export LINKER_LIBRARY_FLAGS\nunset LINK_FILE_LIST_normal;export LINK_FILE_LIST_normal\nunset MACOSX_DEPLOYMENT_TARGET;export MACOSX_DEPLOYMENT_TARGET\nunset MAC_OS_X_VERSION_MAX_ALLOWED;export MAC_OS_X_VERSION_MAX_ALLOWED\nunset MAC_OS_X_VERSION_MIN_REQUIRED;export MAC_OS_X_VERSION_MIN_REQUIRED\nunset MAKEFLAGS;export MAKEFLAGS\nunset MAKELEVEL;export MAKELEVEL\nunset MFLAGS;export MFLAGS\nunset NO_COMMON;export NO_COMMON\nunset OPTERR;export OPTERR\nunset OPTIMIZATION_CFLAGS;export OPTIMIZATION_CFLAGS\nunset OPTIMIZATION_LEVEL;export OPTIMIZATION_LEVEL\nunset OPTIND;export OPTIND\nunset OSAC;export OSAC\nunset OTHER_CFLAGS;export OTHER_CFLAGS\nunset OTHER_CPLUSPLUSFLAGS;export OTHER_CPLUSPLUSFLAGS\nunset OTHER_LDFLAGS;export OTHER_LDFLAGS\nunset OTHER_MIGFLAGS;export OTHER_MIGFLAGS\nunset OTHER_OSAFLAGS;export OTHER_OSAFLAGS\nunset OTHER_PRECOMP_CFLAGS;export OTHER_PRECOMP_CFLAGS\nunset OTHER_RESMERGERFLAGS;export OTHER_RESMERGERFLAGS\nunset OTHER_REZFLAGS;export OTHER_REZFLAGS\nunset PACKAGE_TYPE;export PACKAGE_TYPE\nunset PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES;export PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES\nunset PBDEVELOPMENTPLIST_PATH;export PBDEVELOPMENTPLIST_PATH\nunset PREBINDING;export PREBINDING\nunset PRIVATE_HEADERS_FOLDER_PATH;export PRIVATE_HEADERS_FOLDER_PATH\nunset PRODUCT_NAME;export PRODUCT_NAME\nunset PRODUCT_SETTINGS_PATH;export PRODUCT_SETTINGS_PATH\nunset PRODUCT_TYPE;export PRODUCT_TYPE\nunset PRODUCT_TYPE_CFLAGS;export PRODUCT_TYPE_CFLAGS\nunset PRODUCT_TYPE_CPLUSPLUSFLAGS;export PRODUCT_TYPE_CPLUSPLUSFLAGS\nunset PRODUCT_TYPE_HEADER_SEARCH_PATHS;export PRODUCT_TYPE_HEADER_SEARCH_PATHS\nunset PROJECT;export PROJECT\nunset PROJECT_DERIVED_FILE_DIR;export PROJECT_DERIVED_FILE_DIR\nunset PROJECT_NAME;export PROJECT_NAME\nunset PROJECT_TEMP_DIR;export PROJECT_TEMP_DIR\nunset PUBLIC_HEADERS_FOLDER_PATH;export PUBLIC_HEADERS_FOLDER_PATH\nunset QMAKESPEC;export QMAKESPEC\nunset REMOVE_CVS_FROM_RESOURCES;export REMOVE_CVS_FROM_RESOURCES\nunset RETAIN_RAW_BINARIES;export RETAIN_RAW_BINARIES\nunset REZ_SEARCH_PATHS;export REZ_SEARCH_PATHS\nunset SCRIPTS_FOLDER_PATH;export SCRIPTS_FOLDER_PATH\nunset SCRIPT_INPUT_FILE_COUNT;export SCRIPT_INPUT_FILE_COUNT\nunset SCRIPT_OUTPUT_FILE_COUNT;export SCRIPT_OUTPUT_FILE_COUNT\nunset SDKROOT;export SDKROOT\nunset SECTORDER_FLAGS;export SECTORDER_FLAGS\nunset SECURITYSESSIONID;export SECURITYSESSIONID\nunset SKIP_INSTALL;export SKIP_INSTALL\nunset USE_DYNAMIC_NO_PIC;export USE_DYNAMIC_NO_PIC\nunset USE_GCC3_PFE_SUPPORT;export USE_GCC3_PFE_SUPPORT\nunset USE_HEADERMAP;export USE_HEADERMAP\nunset USE_HEADER_SYMLINKS;export USE_HEADER_SYMLINKS\n\nxcodebuild -target WebKit -buildstyle ${BUILD_STYLE} OBJROOT=${OBJROOT} SYMROOT=${SYMROOT} DSTROOT=${DSTROOT}\n";
+               };
                51443F9A0429392B00CA2D3A = {
                        fileEncoding = 30;
                        isa = PBXFileReference;