## @file
# Copyright (C) 2018, vit9696. All rights reserved.
# Copyright (C) 2018, Download-Fritz. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
#
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
##
[Defines]
PLATFORM_NAME = OpenCorePkg
PLATFORM_GUID = C46F121D-ABC6-42A3-A241-91B09224C357
PLATFORM_VERSION = 1.0
SUPPORTED_ARCHITECTURES = X64|IA32
BUILD_TARGETS = RELEASE|DEBUG|NOOPT
SKUID_IDENTIFIER = DEFAULT
DSC_SPECIFICATION = 0x00010006
[LibraryClasses]
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
BaseRngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
DebugLib|OpenCorePkg/Library/OcDebugLogLib/OcDebugLogLib.inf
DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
MacInfoLib|MacInfoPkg/Library/MacInfoLib/MacInfoLib.inf
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
OcAcpiLib|OpenCorePkg/Library/OcAcpiLib/OcAcpiLib.inf
OcAppleBootCompatLib|OpenCorePkg/Library/OcAppleBootCompatLib/OcAppleBootCompatLib.inf
OcAppleBootPolicyLib|OpenCorePkg/Library/OcAppleBootPolicyLib/OcAppleBootPolicyLib.inf
OcAppleChunklistLib|OpenCorePkg/Library/OcAppleChunklistLib/OcAppleChunklistLib.inf
OcAppleDiskImageLib|OpenCorePkg/Library/OcAppleDiskImageLib/OcAppleDiskImageLib.inf
OcAppleEventLib|OpenCorePkg/Library/OcAppleEventLib/OcAppleEventLib.inf
OcAppleImageConversionLib|OpenCorePkg/Library/OcAppleImageConversionLib/OcAppleImageConversionLib.inf
OcAppleImageVerificationLib|OpenCorePkg/Library/OcAppleImageVerificationLib/OcAppleImageVerificationLib.inf
OcAppleImg4Lib|OpenCorePkg/Library/OcAppleImg4Lib/OcAppleImg4Lib.inf
OcAppleKernelLib|OpenCorePkg/Library/OcAppleKernelLib/OcAppleKernelLib.inf
OcAppleKeyMapLib|OpenCorePkg/Library/OcAppleKeyMapLib/OcAppleKeyMapLib.inf
OcAppleKeysLib|OpenCorePkg/Library/OcAppleKeysLib/OcAppleKeysLib.inf
OcAppleRamDiskLib|OpenCorePkg/Library/OcAppleRamDiskLib/OcAppleRamDiskLib.inf
OcAppleSecureBootLib|OpenCorePkg/Library/OcAppleSecureBootLib/OcAppleSecureBootLib.inf
OcAppleUserInterfaceThemeLib|OpenCorePkg/Library/OcAppleUserInterfaceThemeLib/OcAppleUserInterfaceThemeLib.inf
OcAudioLib|OpenCorePkg/Library/OcAudioLib/OcAudioLib.inf
OcBootManagementLib|OpenCorePkg/Library/OcBootManagementLib/OcBootManagementLib.inf
OcCompressionLib|OpenCorePkg/Library/OcCompressionLib/OcCompressionLib.inf
OcConfigurationLib|OpenCorePkg/Library/OcConfigurationLib/OcConfigurationLib.inf
OcConsoleControlEntryModeLib|OpenCorePkg/Library/OcConsoleControlEntryModeLib/OcConsoleControlEntryModeLib.inf
OcConsoleLib|OpenCorePkg/Library/OcConsoleLib/OcConsoleLib.inf
OcCpuLib|OpenCorePkg/Library/OcCpuLib/OcCpuLib.inf
OcCryptoLib|OpenCorePkg/Library/OcCryptoLib/OcCryptoLib.inf
OcDataHubLib|OpenCorePkg/Library/OcDataHubLib/OcDataHubLib.inf
OcDebugLogLib|OpenCorePkg/Library/OcDebugLogLib/OcDebugLogLib.inf
OcDevicePathLib|OpenCorePkg/Library/OcDevicePathLib/OcDevicePathLib.inf
OcDevicePropertyLib|OpenCorePkg/Library/OcDevicePropertyLib/OcDevicePropertyLib.inf
OcDeviceTreeLib|OpenCorePkg/Library/OcDeviceTreeLib/OcDeviceTreeLib.inf
OcDriverConnectionLib|OpenCorePkg/Library/OcDriverConnectionLib/OcDriverConnectionLib.inf
OcFileLib|OpenCorePkg/Library/OcFileLib/OcFileLib.inf
OcFirmwarePasswordLib|OpenCorePkg/Library/OcFirmwarePasswordLib/OcFirmwarePasswordLib.inf
OcFirmwareVolumeLib|OpenCorePkg/Library/OcFirmwareVolumeLib/OcFirmwareVolumeLib.inf
OcGuardLib|OpenCorePkg/Library/OcGuardLib/OcGuardLib.inf
OcHashServicesLib|OpenCorePkg/Library/OcHashServicesLib/OcHashServicesLib.inf
OcHdaDevicesLib|OpenCorePkg/Library/OcHdaDevicesLib/OcHdaDevicesLib.inf
OcHeciLib|OpenCorePkg/Library/OcHeciLib/OcHeciLib.inf
OcInputLib|OpenCorePkg/Library/OcInputLib/OcInputLib.inf
OcMachoLib|OpenCorePkg/Library/OcMachoLib/OcMachoLib.inf
OcMemoryLib|OpenCorePkg/Library/OcMemoryLib/OcMemoryLib.inf
OcMiscLib|OpenCorePkg/Library/OcMiscLib/OcMiscLib.inf
OcOSInfoLib|OpenCorePkg/Library/OcOSInfoLib/OcOSInfoLib.inf
OcPngLib|OpenCorePkg/Library/OcPngLib/OcPngLib.inf
OcRngLib|OpenCorePkg/Library/OcRngLib/OcRngLib.inf
OcRtcLib|OpenCorePkg/Library/OcRtcLib/OcRtcLib.inf
OcSerializeLib|OpenCorePkg/Library/OcSerializeLib/OcSerializeLib.inf
OcSmbiosLib|OpenCorePkg/Library/OcSmbiosLib/OcSmbiosLib.inf
OcSmcLib|OpenCorePkg/Library/OcSmcLib/OcSmcLib.inf
OcStorageLib|OpenCorePkg/Library/OcStorageLib/OcStorageLib.inf
OcStringLib|OpenCorePkg/Library/OcStringLib/OcStringLib.inf
OcTemplateLib|OpenCorePkg/Library/OcTemplateLib/OcTemplateLib.inf
OcTimerLib|OpenCorePkg/Library/OcTimerLib/OcTimerLib.inf
OcUnicodeCollationEngLib|OpenCorePkg/Library/OcUnicodeCollationEngLib/OcUnicodeCollationEngLib.inf
OcVirtualFsLib|OpenCorePkg/Library/OcVirtualFsLib/OcVirtualFsLib.inf
OcXmlLib|OpenCorePkg/Library/OcXmlLib/OcXmlLib.inf
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
!include NetworkPkg/NetworkLibs.dsc.inc
[Components]
MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf{
!if $(TARGET) == RELEASE
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
!endif
}
MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf{
!if $(TARGET) == RELEASE
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
!endif
}
MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
OpenCorePkg/Application/BootKicker/BootKicker.inf
OpenCorePkg/Application/Bootstrap/Bootstrap.inf
OpenCorePkg/Application/ChipTune/ChipTune.inf
OpenCorePkg/Application/CleanNvram/CleanNvram.inf
OpenCorePkg/Application/FwProtect/FwProtect.inf
OpenCorePkg/Application/GopStop/GopStop.inf
OpenCorePkg/Application/HdaCodecDump/HdaCodecDump.inf
OpenCorePkg/Application/KeyTester/KeyTester.inf
OpenCorePkg/Application/PavpProvision/PavpProvision.inf
OpenCorePkg/Application/VerifyMsrE2/VerifyMsrE2.inf
OpenCorePkg/Debug/GdbSyms/GdbSyms.inf
OpenCorePkg/Library/OcAcpiLib/OcAcpiLib.inf
OpenCorePkg/Library/OcAppleBootCompatLib/OcAppleBootCompatLib.inf
OpenCorePkg/Library/OcAppleBootPolicyLib/OcAppleBootPolicyLib.inf
OpenCorePkg/Library/OcAppleChunklistLib/OcAppleChunklistLib.inf
OpenCorePkg/Library/OcAppleDiskImageLib/OcAppleDiskImageLib.inf
OpenCorePkg/Library/OcAppleEventLib/OcAppleEventLib.inf
OpenCorePkg/Library/OcAppleImageConversionLib/OcAppleImageConversionLib.inf
OpenCorePkg/Library/OcAppleImageVerificationLib/OcAppleImageVerificationLib.inf
OpenCorePkg/Library/OcAppleImg4Lib/OcAppleImg4Lib.inf
OpenCorePkg/Library/OcAppleKernelLib/OcAppleKernelLib.inf
OpenCorePkg/Library/OcAppleKeyMapLib/OcAppleKeyMapLib.inf
OpenCorePkg/Library/OcAppleRamDiskLib/OcAppleRamDiskLib.inf
OpenCorePkg/Library/OcAppleSecureBootLib/OcAppleSecureBootLib.inf
OpenCorePkg/Library/OcAppleUserInterfaceThemeLib/OcAppleUserInterfaceThemeLib.inf
OpenCorePkg/Library/OcAudioLib/OcAudioLib.inf
OpenCorePkg/Library/OcBootManagementLib/OcBootManagementLib.inf
OpenCorePkg/Library/OcCompilerIntrinsicsLib/OcCompilerIntrinsicsLib.inf
OpenCorePkg/Library/OcCompressionLib/OcCompressionLib.inf
OpenCorePkg/Library/OcConfigurationLib/OcConfigurationLib.inf
OpenCorePkg/Library/OcConsoleControlEntryModeLib/OcConsoleControlEntryModeLib.inf
OpenCorePkg/Library/OcConsoleLib/OcConsoleLib.inf
OpenCorePkg/Library/OcCpuLib/OcCpuLib.inf
OpenCorePkg/Library/OcCryptoLib/OcCryptoLib.inf
OpenCorePkg/Library/OcDataHubLib/OcDataHubLib.inf
OpenCorePkg/Library/OcDebugLogLib/OcDebugLogLib.inf
OpenCorePkg/Library/OcDevicePathLib/OcDevicePathLib.inf
OpenCorePkg/Library/OcDevicePropertyLib/OcDevicePropertyLib.inf
OpenCorePkg/Library/OcDeviceTreeLib/OcDeviceTreeLib.inf
OpenCorePkg/Library/OcDriverConnectionLib/OcDriverConnectionLib.inf
OpenCorePkg/Library/OcFileLib/OcFileLib.inf
OpenCorePkg/Library/OcFirmwarePasswordLib/OcFirmwarePasswordLib.inf
OpenCorePkg/Library/OcFirmwareVolumeLib/OcFirmwareVolumeLib.inf
OpenCorePkg/Library/OcGuardLib/OcGuardLib.inf
OpenCorePkg/Library/OcHashServicesLib/OcHashServicesLib.inf
OpenCorePkg/Library/OcHdaDevicesLib/OcHdaDevicesLib.inf
OpenCorePkg/Library/OcHeciLib/OcHeciLib.inf
OpenCorePkg/Library/OcInputLib/OcInputLib.inf
OpenCorePkg/Library/OcMachoLib/OcMachoLib.inf
OpenCorePkg/Library/OcMemoryLib/OcMemoryLib.inf
OpenCorePkg/Library/OcMiscLib/OcMiscLib.inf
OpenCorePkg/Library/OcOSInfoLib/OcOSInfoLib.inf
OpenCorePkg/Library/OcPngLib/OcPngLib.inf
OpenCorePkg/Library/OcRngLib/OcRngLib.inf
OpenCorePkg/Library/OcSerializeLib/OcSerializeLib.inf
OpenCorePkg/Library/OcSmbiosLib/OcSmbiosLib.inf
OpenCorePkg/Library/OcSmcLib/OcSmcLib.inf
OpenCorePkg/Library/OcStorageLib/OcStorageLib.inf
OpenCorePkg/Library/OcStringLib/OcStringLib.inf
OpenCorePkg/Library/OcTemplateLib/OcTemplateLib.inf
OpenCorePkg/Library/OcTimerLib/OcTimerLib.inf
OpenCorePkg/Library/OcUnicodeCollationEngLib/OcUnicodeCollationEngLib.inf
OpenCorePkg/Library/OcVirtualFsLib/OcVirtualFsLib.inf
OpenCorePkg/Library/OcXmlLib/OcXmlLib.inf
OpenCorePkg/Platform/AppleUsbKbDxe/UsbKbDxe.inf
OpenCorePkg/Platform/BootLiquor/BootLiquor.inf
OpenCorePkg/Platform/FwRuntimeServices/FwRuntimeServices.inf
OpenCorePkg/Platform/OpenCore/OpenCore.inf
OpenCorePkg/Tests/AcpiTest/AcpiTest.inf
OpenCorePkg/Tests/AcpiTest/AcpiTestApp.inf
OpenCorePkg/Tests/BlessTest/BlessTest.inf
OpenCorePkg/Tests/BlessTest/BlessTestApp.inf
OpenCorePkg/Tests/CryptoTest/CryptoTest.inf
OpenCorePkg/Tests/CryptoTest/CryptoTestApp.inf
OpenCorePkg/Tests/DataHubTest/DataHubTest.inf
OpenCorePkg/Tests/DataHubTest/DataHubTestApp.inf
OpenCorePkg/Tests/ExternalUi/ExternalUi.inf
OpenCorePkg/Tests/KernelTest/KernelTest.inf
OpenCorePkg/Tests/KernelTest/KernelTestApp.inf
OpenCorePkg/Tests/PropertyTest/PropertyTest.inf
OpenCorePkg/Tests/PropertyTest/PropertyTestApp.inf
OpenCorePkg/Tests/SmbiosTest/SmbiosTest.inf
OpenCorePkg/Tests/SmbiosTest/SmbiosTestApp.inf
# UEFI Shell with all commands integrated
ShellPkg/Application/Shell/Shell.inf {
FILE_GUID = EA4BB293-2D7F-4456-A681-1F22F42CD0BC
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
# For some reason ShellPkg overrides this, so do we.
gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|16000
# Switch to console mode at startup.
NULL|OpenCorePkg/Library/OcConsoleControlEntryModeLib/OcConsoleControlEntryModeLib.inf
# Add the original commands.
NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
NULL|ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf
}
[LibraryClasses]
NULL|OpenCorePkg/Library/OcCompilerIntrinsicsLib/OcCompilerIntrinsicsLib.inf
[PcdsFixedAtBuild]
gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|0
!if $(TARGET) == RELEASE
# DEBUG_PRINT_ENABLED
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|2
# DEBUG_ERROR | DEBUG_WARN
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000002
gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel|0x80000002
!else
# DEBUG_ASSERT_ENABLED | DEBUG_PRINT_ENABLED | DEBUG_CODE_ENABLED | CLEAR_MEMORY_ENABLED | ASSERT_DEADLOOP_ENABLED
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
# DEBUG_ERROR | DEBUG_WARN | DEBUG_INFO
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042
gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel|0x80000042
!endif
[BuildOptions]
# While there are no PCDs as of now, there at least are some custom macros.
DEFINE OCPKG_BUILD_OPTIONS_GEN = -D DISABLE_NEW_DEPRECATED_INTERFACES $(OCPKG_BUILD_OPTIONS)
DEFINE OCPKG_ANAL_OPTIONS_GEN = "-DANALYZER_UNREACHABLE=__builtin_unreachable" "-DANALYZER_NORETURN=__attribute__((noreturn))"
GCC:DEBUG_*_*_CC_FLAGS = -D OC_TARGET_DEBUG=1 $(OCPKG_BUILD_OPTIONS_GEN) $(OCPKG_ANAL_OPTIONS_GEN)
GCC:NOOPT_*_*_CC_FLAGS = -D OC_TARGET_NOOPT=1 $(OCPKG_BUILD_OPTIONS_GEN) $(OCPKG_ANAL_OPTIONS_GEN)
GCC:RELEASE_*_*_CC_FLAGS = -D OC_TARGET_RELEASE=1 $(OCPKG_BUILD_OPTIONS_GEN) $(OCPKG_ANAL_OPTIONS_GEN)
MSFT:DEBUG_*_*_CC_FLAGS = -D OC_TARGET_DEBUG=1 $(OCPKG_BUILD_OPTIONS_GEN)
MSFT:NOOPT_*_*_CC_FLAGS = -D OC_TARGET_NOOPT=1 $(OCPKG_BUILD_OPTIONS_GEN)
MSFT:RELEASE_*_*_CC_FLAGS = -D OC_TARGET_RELEASE=1 $(OCPKG_BUILD_OPTIONS_GEN)
XCODE:DEBUG_*_*_CC_FLAGS = -D OC_TARGET_DEBUG=1 $(OCPKG_BUILD_OPTIONS_GEN) $(OCPKG_ANAL_OPTIONS_GEN)
XCODE:NOOPT_*_*_CC_FLAGS = -D OC_TARGET_NOOPT=1 $(OCPKG_BUILD_OPTIONS_GEN) $(OCPKG_ANAL_OPTIONS_GEN)
XCODE:RELEASE_*_*_CC_FLAGS = -D OC_TARGET_RELEASE=1 $(OCPKG_BUILD_OPTIONS_GEN) $(OCPKG_ANAL_OPTIONS_GEN) -Oz -flto