adamstark@78: // Xcode target configuration settings for the Max 6 SDK adamstark@78: // Used as the basis for Xcode projects to build Max externals. adamstark@78: // adamstark@78: // Changes to the settings in this file will be applied to all SDK examples adamstark@78: // To change settings for only one of the examples, override the settings using adamstark@78: // Xcode's target inspector. adamstark@78: // adamstark@78: // by Timothy Place adamstark@78: // Copyright © 2012, Cycling '74 adamstark@78: adamstark@78: adamstark@78: // Name & Version adamstark@78: PRODUCT_NAME = $(PROJECT_NAME) adamstark@78: PRODUCT_VERSION = 6.1.4 adamstark@78: //ARCHS = i386 x86_64 adamstark@78: ARCHS = x86_64 adamstark@78: adamstark@78: adamstark@78: // Paths adamstark@78: adamstark@78: // =========================================================================== adamstark@78: // NOTE: SET PATH TO YOUR C74SUPPORT FOLDER IN YOUR MAX SDK HERE adamstark@78: adamstark@78: C74SUPPORT = $(SRCROOT)/../../../SDKs/MaxSDK-6.1.4/c74support/ adamstark@78: adamstark@78: // =========================================================================== adamstark@78: adamstark@78: HEADER_SEARCH_PATHS = "$(C74SUPPORT)/max-includes" "$(C74SUPPORT)/msp-includes" "$(C74SUPPORT)/jit-includes" adamstark@78: FRAMEWORK_SEARCH_PATHS = "$(C74SUPPORT)/max-includes" "$(C74SUPPORT)/msp-includes" "$(C74SUPPORT)/jit-includes" adamstark@78: DSTROOT = $(SRCROOT)/build adamstark@78: // (This next path is relative to DSTROOT) adamstark@78: INSTALL_PATH = / adamstark@78: adamstark@78: adamstark@78: // Special Files adamstark@78: GCC_PREFIX_HEADER = $(C74SUPPORT)/max-includes/macho-prefix.pch adamstark@78: INFOPLIST_FILE = $(SRCROOT)/Info.plist adamstark@78: adamstark@78: adamstark@78: // Architecture and Deployment adamstark@78: ARCHS = i386 x86_64 adamstark@78: adamstark@78: // The following section sets the Mac SDK version to be used. adamstark@78: // For most projects this has little to no impact because there are no direct dependencies on OS function calls. adamstark@78: // In those projects with OS function calls, it should be okay to use the most recent SDK version because the adamstark@78: // MACOSX_DEPLOYMENT_TARGET will disable functionality that is unavailable in the older target OS. adamstark@78: // For this reason, the SDKROOT variable is commented out, telling Xcode to use the default (which is the most recent SDK). adamstark@78: // adamstark@78: // If you do need to define the SDKROOT, different versions of Xcode have varying syntax and varying versions of the SDK present. adamstark@78: adamstark@78: // Xcode 3.x adamstark@78: // SDKROOT = $(DEVELOPER_DIR)/SDKs/MacOSX10.5.sdk adamstark@78: adamstark@78: // Xcode 4.0 - Xcode 4.2 adamstark@78: // SDKROOT = $(DEVELOPER_DIR)/SDKs/MacOSX10.6.sdk adamstark@78: adamstark@78: // Xcode 4.3+ adamstark@78: // SDKROOT = macosx10.6 adamstark@78: adamstark@78: MACOSX_DEPLOYMENT_TARGET = 10.6 adamstark@78: adamstark@78: adamstark@78: // Compiler Version -- leave them all commented out to get the default version provided by Xcode adamstark@78: // GCC_VERSION = 4.2 adamstark@78: // GCC_VERSION = com.apple.compilers.llvmgcc42 adamstark@78: // GCC_VERSION = com.apple.compilers.llvm.clang.1_0 adamstark@78: adamstark@78: adamstark@78: // Preprocessor Defines adamstark@78: GCC_PREPROCESSOR_DEFINITIONS = "DENORM_WANT_FIX = 1" "NO_TRANSLATION_SUPPORT = 1" adamstark@78: adamstark@78: adamstark@78: // Static Configuration (don't change these) adamstark@78: WRAPPER_EXTENSION = mxo; adamstark@78: WARNING_CFLAGS = -Wmost -Wno-four-char-constants -Wno-unknown-pragmas adamstark@78: DEPLOYMENT_LOCATION = YES adamstark@78: GENERATE_PKGINFO_FILE = YES adamstark@78: adamstark@78: adamstark@78: // Flags to enforce some build-time checks for the symbols used while not actually performing a hard link adamstark@78: C74_SYM_LINKER_FLAGS = @$(C74SUPPORT)/max-includes/c74_linker_flags.txt adamstark@78: adamstark@78: adamstark@78: // hide all symbols by default adamstark@78: // mark a function to be exported with the C74_EXPORT macro -- most likely this will only apply to the main() function adamstark@78: OTHER_CFLAGS = -fvisibility=hidden