VirtualBox

Changeset 9133 in vbox for trunk


Ignore:
Timestamp:
May 26, 2008 5:21:04 PM (17 years ago)
Author:
vboxsync
Message:

The proper way of building on leopard.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r9130 r9133  
    728728DEFS.x86     = RT_ARCH_X86 __X86__
    729729DEFS.amd64   = RT_ARCH_AMD64 __AMD64__
    730 DEFS.darwin  = RT_OS_DARWIN __DARWIN__ MAC_OS_X_VERSION_MIN_REQUIRED=1040 MAC_OS_X_VERSION_MAX_ALLOWED=1040
     730DEFS.darwin  = RT_OS_DARWIN __DARWIN__
    731731DEFS.darwin.x86 = VBOX_WITH_HYBIRD_32BIT_KERNEL
    732732DEFS.freebsd = RT_OS_FREEBSD __FREEBSD__
     
    998998
    999999#
    1000 # Mac OS X SDK paths.
    1001 #
    1002 # Note: If you change something here you will maybe change DEFS.darwin also.
    1003 VBOX_PATH_MACOSX_SDK ?= /Developer/SDKs/MacOSX10.4u.sdk
    1004 ## @todo We also need -Wl,-classic_linker so we don't slidable images and can skip the
    1005 #        unnecessary hacks in the recompiler.
    1006 #
    1007 #  @todo This should be done in the base templates - not - globally, since we may be
    1008 #        compiling 10.5 specific modules later and this will screw us (also I stronly
    1009 #        dislike global compiler/linker stuff like this). It should also be possible
    1010 #        to make a 10.5 only build if we want that instead of forcing 10.4 on everyone.
    1011 #
    1012 CFLAGS.darwin   += -mmacosx-version-min=10.4 -isysroot $(VBOX_PATH_MACOSX_SDK)
    1013 CXXFLAGS.darwin += -mmacosx-version-min=10.4 -isysroot $(VBOX_PATH_MACOSX_SDK)
    1014 LDFLAGS.darwin  += -mmacosx-version-min=10.4 -Wl,-syslibroot,$(VBOX_PATH_MACOSX_SDK)
     1000# Macros dealing with the darwin version we're targeting.
     1001#
     1002ifeq ($(KBUILD_TARGET),darwin)
     1003 VBOX_DEF_MACOSX_VERSION_MIN ?= 10.4
     1004 ifeq ($(VBOX_DEF_MACOSX_VERSION_MIN),10.4)
     1005  ifeq ($(origin VBOX_DARWIN_CLASSIC_LINKER),undefined)
     1006   VBOX_DARWIN_CLASSIC_LINKER := $(shell ld -v 2>&1 )
     1007   ifneq ($(filter ld64%, $(subst :, , $(VBOX_DARWIN_CLASSIC_LINKER))),)
     1008    export VBOX_DARWIN_CLASSIC_LINKER := -Wl,-classic_linker
     1009   else
     1010    export VBOX_DARWIN_CLASSIC_LINKER :=
     1011   endif
     1012  endif
     1013  VBOX_PATH_MACOSX_SDK ?= /Developer/SDKs/MacOSX$(VBOX_DEF_MACOSX_VERSION_MIN)u.sdk
     1014 else
     1015  VBOX_PATH_MACOSX_SDK ?= /Developer/SDKs/MacOSX$(VBOX_DEF_MACOSX_VERSION_MIN).sdk
     1016 endif
     1017 VBOX_DARWIN_DEF_SDK_DEFS      := MAC_OS_X_VERSION_MIN_REQUIRED=$(subst .,,$(VBOX_DEF_MACOSX_VERSION_MIN))0 \
     1018                                  MAC_OS_X_VERSION_MAX_ALLOWED=$(subst .,,$(VBOX_DEF_MACOSX_VERSION_MIN))0
     1019 VBOX_DARWIN_DEF_SDK_CFLAGS    := -mmacosx-version-min=$(VBOX_DEF_MACOSX_VERSION_MIN) -isysroot $(VBOX_PATH_MACOSX_SDK)
     1020 VBOX_DARWIN_DEF_SDK_CXXFLAGS  := -mmacosx-version-min=$(VBOX_DEF_MACOSX_VERSION_MIN) -isysroot $(VBOX_PATH_MACOSX_SDK)
     1021 VBOX_DARWIN_DEF_SDK_OBJCFLAGS := -mmacosx-version-min=$(VBOX_DEF_MACOSX_VERSION_MIN) -isysroot $(VBOX_PATH_MACOSX_SDK)
     1022 VBOX_DARWIN_DEF_SDK_LDFLAGS   := -mmacosx-version-min=$(VBOX_DEF_MACOSX_VERSION_MIN) -Wl,-syslibroot,$(VBOX_PATH_MACOSX_SDK) $(VBOX_DARWIN_CLASSIC_LINKER)
     1023endif # target=darwin
    10151024
    10161025#
     
    15391548ifeq ($(VBOX_LDR_FMT32),macho)
    15401549TEMPLATE_VBOXGC_TOOL                = GXX4MACHO
    1541 TEMPLATE_VBOXGC_CXXFLAGS            = -g -Wall -pedantic -Wno-long-long -Wno-trigraphs $(VBOX_GCC32_Wno-variadic-macros) -pipe -fno-common -msoft-float -static -fno-exceptions -fno-rtti $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -fno-strict-aliasing
    1542 TEMPLATE_VBOXGC_CFLAGS              = -g -Wall -pedantic -Wno-long-long -Wno-trigraphs $(VBOX_GCC32_Wno-variadic-macros) -pipe -fno-common -msoft-float -static -Wno-trigraphs -Wmissing-prototypes -Wstrict-prototypes $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -fno-strict-aliasing
    1543 TEMPLATE_VBOXGC_LDFLAGS             = -nostdlib
     1550TEMPLATE_VBOXGC_DEFS               += $(VBOX_DARWIN_DEF_SDK_DEFS)
     1551TEMPLATE_VBOXGC_CXXFLAGS            = $(VBOX_DARWIN_DEF_SDK_CXXFLAGS) -g -Wall -pedantic -Wno-long-long -Wno-trigraphs $(VBOX_GCC32_Wno-variadic-macros) -pipe -fno-common -msoft-float -static -fno-exceptions -fno-rtti $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -fno-strict-aliasing
     1552TEMPLATE_VBOXGC_CFLAGS              = $(VBOX_DARWIN_DEF_SDK_CFLAGS)   -g -Wall -pedantic -Wno-long-long -Wno-trigraphs $(VBOX_GCC32_Wno-variadic-macros) -pipe -fno-common -msoft-float -static -Wno-trigraphs -Wmissing-prototypes -Wstrict-prototypes $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -fno-strict-aliasing
     1553TEMPLATE_VBOXGC_LDFLAGS             = $(VBOX_DARWIN_DEF_SDK_LDFLAGS)  -nostdlib
    15441554#TEMPLATE_VBOXGC_LDFLAGS.release     = -Wl,-S ???
    15451555endif
     
    16421652ifeq ($(VBOX_LDR_FMT),macho)
    16431653TEMPLATE_VBOXR0_TOOL                = GXX4MACHO
    1644 TEMPLATE_VBOXR0_CXXFLAGS            = -g -Wall -pedantic -Wno-long-long -Wno-trigraphs $(VBOX_GCC_Wno-variadic-macros) -pipe -fno-common -msoft-float -static -fno-rtti -fno-exceptions $(VBOX_GCC_OPT) $(VBOX_GCC_FP) -fno-strict-aliasing
    1645 TEMPLATE_VBOXR0_CFLAGS              = -g -Wall -pedantic -Wno-long-long -Wno-trigraphs $(VBOX_GCC_Wno-variadic-macros) -pipe -fno-common -msoft-float -static -Wmissing-prototypes -Wstrict-prototypes $(VBOX_GCC_OPT) $(VBOX_GCC_FP) -fno-strict-aliasing
    1646 TEMPLATE_VBOXR0_LDFLAGS             = -nostdlib
     1654TEMPLATE_VBOXR0_DEFS               += $(VBOX_DARWIN_DEF_SDK_DEFS)
     1655TEMPLATE_VBOXR0_CXXFLAGS            = $(VBOX_DARWIN_DEF_SDK_CXXFLAGS) -g -Wall -pedantic -Wno-long-long -Wno-trigraphs $(VBOX_GCC_Wno-variadic-macros) -pipe -fno-common -msoft-float -static -fno-rtti -fno-exceptions $(VBOX_GCC_OPT) $(VBOX_GCC_FP) -fno-strict-aliasing
     1656TEMPLATE_VBOXR0_CFLAGS              = $(VBOX_DARWIN_DEF_SDK_CFLAGS)   -g -Wall -pedantic -Wno-long-long -Wno-trigraphs $(VBOX_GCC_Wno-variadic-macros) -pipe -fno-common -msoft-float -static -Wmissing-prototypes -Wstrict-prototypes $(VBOX_GCC_OPT) $(VBOX_GCC_FP) -fno-strict-aliasing
     1657TEMPLATE_VBOXR0_LDFLAGS             = $(VBOX_DARWIN_DEF_SDK_LDFLAGS)  -nostdlib
    16471658#TEMPLATE_VBOXR0_LDFLAGS.release     = -Wl,-S ???
    16481659endif
     
    17261737ifeq ($(KBUILD_TARGET),darwin)
    17271738TEMPLATE_VBOXR0DRV_TOOL                = GXX4MACHO
    1728 TEMPLATE_VBOXR0DRV_DEFS               += KERNEL KERNEL_PRIVATE DRIVER_PRIVATE APPLE NeXT
     1739TEMPLATE_VBOXR0DRV_DEFS               += $(VBOX_DARWIN_DEF_SDK_DEFS) KERNEL KERNEL_PRIVATE DRIVER_PRIVATE APPLE NeXT
    17291740# I didn't really know why we have to state explicitly the position of the
    17301741# sdk headers. Maybe it has something to do with the fact that the kernel.framework
    17311742# isn't a real framework according to http://developer.apple.com/qa/qa2001/qa1096.html.
    17321743TEMPLATE_VBOXR0DRV_INCS               += $(VBOX_PATH_MACOSX_SDK)/System/Library/Frameworks/Kernel.framework/Headers
    1733 TEMPLATE_VBOXR0DRV_CXXFLAGS            = \
     1744TEMPLATE_VBOXR0DRV_CXXFLAGS            = $(VBOX_DARWIN_DEF_SDK_CXXFLAGS) \
    17341745        -g -Wall -Wno-long-long -Wno-trigraphs -pipe -fno-common -nostdinc -fno-builtin -finline \
    17351746        -fno-keep-inline-functions -force_cpusubtype_ALL -fno-exceptions -msoft-float -static \
     
    17381749TEMPLATE_VBOXR0DRV_CXXFLAGS.profile    = $(TEMPLATE_VBOXR0DRV_CXXFLAGS.release)
    17391750TEMPLATE_VBOXR0DRV_CXXFLAGS.kprofile   = $(TEMPLATE_VBOXR0DRV_CXXFLAGS.release)
    1740 TEMPLATE_VBOXR0DRV_CFLAGS              = \
     1751TEMPLATE_VBOXR0DRV_CFLAGS              = $(VBOX_DARWIN_DEF_SDK_CFLAGS) \
    17411752        -g -Wall -Wno-long-long -Wno-trigraphs -pipe -fno-common -nostdinc -fno-builtin -finline \
    17421753        -fno-keep-inline-functions -force_cpusubtype_ALL -fno-exceptions -msoft-float -static \
     
    17451756TEMPLATE_VBOXR0DRV_CFLAGS.profile      = $(TEMPLATE_VBOXR0DRV_CXXFLAGS.profile)
    17461757TEMPLATE_VBOXR0DRV_CFLAGS.kprofile     = $(TEMPLATE_VBOXR0DRV_CXXFLAGS.kprofile)
    1747 TEMPLATE_VBOXR0DRV_LDFLAGS             = -static -nostdlib -r -Wl,-Y,1455
     1758TEMPLATE_VBOXR0DRV_LDFLAGS             = $(VBOX_DARWIN_DEF_SDK_LDFLAGS) -static -nostdlib -r -Wl,-Y,1455
    17481759TEMPLATE_VBOXR0DRV_LIBS                = kmodc++ kmod cc_kext cpp_kext $(VBOX_GCC_LIBGCC)
    17491760endif
     
    19051916TEMPLATE_VBOXR3EXE_CFLAGS.debug        = $(TEMPLATE_VBOXR3EXE_CXXFLAGS.debug)
    19061917TEMPLATE_VBOXR3EXE_CFLAGS.kprofile     = $(TEMPLATE_VBOXR3EXE_CXXFLAGS.kprofile)
    1907 TEMPLATE_VBOXR3EXE_CFLAGS.darwin       = -fno-common
    19081918TEMPLATE_VBOXR3EXE_CFLAGS.l4           = -nostdinc \
    19091919        $(addprefix -I,$(VBOX_PATH_GCC_INCS) $(L4_INCDIR)) $(DEBUG_L4)
     
    19321942TEMPLATE_VBOXR3EXE_TOOL                = GXX4MACHO
    19331943TEMPLATE_VBOXR3EXE_LIBS                =
    1934 TEMPLATE_VBOXR3EXE_LDFLAGS             = -read_only_relocs suppress
     1944TEMPLATE_VBOXR3EXE_DEFS.darwin         = $(VBOX_DARWIN_DEF_SDK_DEFS)
     1945TEMPLATE_VBOXR3EXE_CFLAGS.darwin       = $(VBOX_DARWIN_DEF_SDK_CFLAGS) -fno-common
     1946TEMPLATE_VBOXR3EXE_CXXFLAGS.darwin     = $(VBOX_DARWIN_DEF_SDK_CXXFLAGS)
     1947TEMPLATE_VBOXR3EXE_OBJCFLAGS.darwin    = $(VBOX_DARWIN_DEF_SDK_OBJCFLAGS)
     1948TEMPLATE_VBOXR3EXE_LDFLAGS.darwin      = $(VBOX_DARWIN_DEF_SDK_LDFLAGS) -read_only_relocs suppress
    19351949 else if1of ($(KBUILD_TARGET),freebsd netbsd openbsd)
    19361950TEMPLATE_VBOXR3EXE_TOOL                = GXX3
     
    20962110  endif
    20972111 endif # x86
     2112 TEMPLATE_VBOXNOCRTGCC_LDFLAGS.darwin   = $(VBOX_DARWIN_DEF_SDK_LDFLAGS)
    20982113 TEMPLATE_VBOXNOCRTGCC_LIBS             = # FIXME - has unwind mess.
    20992114endif
     
    21862201 else ifeq ($(KBUILD_TARGET),darwin)
    21872202TEMPLATE_VBOXMAINEXE_TOOL                = GXX4MACHO
     2203TEMPLATE_VBOXMAINEXE_DEFS               += $(VBOX_DARWIN_DEF_SDK_DEFS)
     2204TEMPLATE_VBOXMAINEXE_CFLAGS             += $(VBOX_DARWIN_DEF_SDK_CFLAGS)
     2205TEMPLATE_VBOXMAINEXE_CXXFLAGS           += $(VBOX_DARWIN_DEF_SDK_CXXFLAGS)
     2206TEMPLATE_VBOXMAINEXE_OBJCFLAGS          += $(VBOX_DARWIN_DEF_SDK_OBJCFLAGS)
     2207TEMPLATE_VBOXMAINEXE_LDFLAGS            += $(VBOX_DARWIN_DEF_SDK_LDFLAGS) -bind_at_load -framework Carbon
    21882208TEMPLATE_VBOXMAINEXE_LIBS                = $(LIB_RUNTIME)
    2189 TEMPLATE_VBOXMAINEXE_LDFLAGS.darwin      = -bind_at_load -framework Carbon
    21902209 else if1of ($(KBUILD_TARGET), freebsd netbsd openbsd)
    21912210TEMPLATE_VBOXMAINEXE_TOOL                = GXX3
     
    23652384  TEMPLATE_VBOXQTGUIEXE_LDFLAGS += $(VBOX_LD_as_needed)
    23662385 else ifeq ($(KBUILD_TARGET),darwin)
    2367   TEMPLATE_VBOXQTGUIEXE_LDFLAGS += -framework Carbon -framework QuickTime -bind_at_load
     2386  TEMPLATE_VBOXQTGUIEXE_DEFS += $(VBOX_DARWIN_DEF_SDK_DEFS)
     2387  TEMPLATE_VBOXQTGUIEXE_CFLAGS += $(VBOX_DARWIN_DEF_SDK_CFLAGS)
     2388  TEMPLATE_VBOXQTGUIEXE_CXXFLAGS += $(VBOX_DARWIN_DEF_SDK_CXXFLAGS)
     2389  TEMPLATE_VBOXQTGUIEXE_OBJCFLAGS += $(VBOX_DARWIN_DEF_SDK_OBJCFLAGS)
     2390  TEMPLATE_VBOXQTGUIEXE_LDFLAGS += $(VBOX_DARWIN_DEF_SDK_LDFLAGS) -framework Carbon -framework QuickTime -bind_at_load
    23682391  TEMPLATE_VBOXQTGUIEXE_LIBS +=
    23692392  TEMPLATE_VBOXQTGUIEXE_LIBPATH +=
     
    25092532 else ifeq ($(KBUILD_HOST),darwin)
    25102533TEMPLATE_VBOXBLDPROG_TOOL                = GXX4MACHO
     2534TEMPLATE_VBOXBLDPROG_CFLAGS.darwin       = $(VBOX_DARWIN_DEF_SDK_CFLAGS) -fno-common
     2535TEMPLATE_VBOXBLDPROG_CXXFLAGS.darwin     = $(VBOX_DARWIN_DEF_SDK_CXXFLAGS)
     2536TEMPLATE_VBOXBLDPROG_OBJCFLAGS.darwin    = $(VBOX_DARWIN_DEF_SDK_OBJCFLAGS)
     2537TEMPLATE_VBOXBLDPROG_LDFLAGS.darwin      = $(VBOX_DARWIN_DEF_SDK_LDFLAGS)
    25112538TEMPLATE_VBOXBLDPROG_LIBS                =
    25122539 else if1of ($(KBUILD_HOST), freebsd netbsd openbsd)
  • trunk/configure

    r9035 r9133  
    9393if [ "`uname`" = "Darwin" ]; then
    9494  ECHO_N="/bin/echo -n"
    95 else 
     95else
    9696  ECHO_N="echo -n"
    9797fi
     
    279279        LIB='lib64'
    280280      else
    281         # Solaris doesn't seem to subscribe to fhs, libs are usually in 
    282         # a '64' subdirectory of the standard 'lib' dirs while some 64-bit 
     281        # Solaris doesn't seem to subscribe to fhs, libs are usually in
     282        # a '64' subdirectory of the standard 'lib' dirs while some 64-bit
    283283        # alternative binaries can be found in 'amd64' subdirs of the 'bin'
    284284        # ones. So, in order to find the right stuff (esp. sdl-config) we'll
     
    429429        [ "$CC" = "gcc" ] && CC="gcc -m64"
    430430        [ "$CXX" = "g++" ] && CXX="g++ -m64"
    431       fi 
     431      fi
    432432    fi
    433433  fi
     
    14451445#
    14461446# Check for compiler.h
    1447 # Some Linux distributions include "compiler.h" in their libc linux 
    1448 # headers package, some don't.  Most don't need it, building might (!) 
     1447# Some Linux distributions include "compiler.h" in their libc linux
     1448# headers package, some don't.  Most don't need it, building might (!)
    14491449# not succeed on openSUSE without it.
    14501450#
     
    15471547    9\.*)
    15481548      darwin_ver="10.5"
    1549       cnf_append "VBOX_TARGET_MAC_OS_X_VERSION_10_5" "1"
     1549      #cnf_append "VBOX_TARGET_MAC_OS_X_VERSION_10_5" "1"
    15501550      ;;
    15511551    8\.*)
    1552       darwin_ver="10.5"
     1552      darwin_ver="10.4"
    15531553      ;;
    15541554    *)
     
    15631563
    15641564#
    1565 # Checks that i386-elf-gcc-3.4.6, i386-elf-gcc-3.4.3, i386-elf-gcc-3.4 or i386-elf-gcc 
    1566 # is around to prevent confusion when the build fails in src/recompiler. 
     1565# Checks that i386-elf-gcc-3.4.6, i386-elf-gcc-3.4.3, i386-elf-gcc-3.4 or i386-elf-gcc
     1566# is around to prevent confusion when the build fails in src/recompiler.
    15671567# Note. Keep the which order in sync with the $(which ) in src/recompiler/Makefile.kmk.
    15681568#
  • trunk/src/libs/xpcom18a4/Makefile.kmk

    r8760 r9133  
    2929TEMPLATE_XPCOM                     = XPCOM libraries (shared)
    3030TEMPLATE_XPCOM_EXTENDS             = VBOXR3NP
     31## @todo correct inheritance here to make it use all the VBOXR3NP settings instead of overriding all of them.
    3132TEMPLATE_XPCOM_ASTOOL              = $(TEMPLATE_VBOXR3NP_TOOL)
    3233TEMPLATE_XPCOM_ASFLAGS             = $(NO_SUCH_VARIABLE)
     
    4142TEMPLATE_XPCOM_CXXFLAGS.release    = -O
    4243TEMPLATE_XPCOM_CXXFLAGS.profile    = -O
    43 TEMPLATE_XPCOM_CXXFLAGS.darwin     = -fpascal-strings -fshort-wchar -fno-common -fno-rtti
     44TEMPLATE_XPCOM_CXXFLAGS.darwin     = -fpascal-strings -fshort-wchar -fno-common -fno-rtti $(VBOX_DARWIN_DEF_SDK_CXXFLAGS)
    4445TEMPLATE_XPCOM_CXXFLAGS.freebsd    = -pthread
    4546TEMPLATE_XPCOM_CXXFLAGS.l4         = -fno-exceptions -nostdinc
     
    6061TEMPLATE_XPCOM_DEFS.x86            = i386=1
    6162TEMPLATE_XPCOM_DEFS.amd64          = HAVE_VA_LIST_AS_ARRAY HAVE_VA_COPY VA_COPY\(a\,b\)=__builtin_va_copy\(a\,b\)
    62 TEMPLATE_XPCOM_DEFS.darwin         = OSTYPE=\"Darwin8.8.1\" OSARCH=\"Darwin\" XP_UNIX=1 XP_MACOSX=1 TARGET_CARBON=1 HAVE_VISIBILITY_ATTRIBUTE=1 DARWIN=1
     63TEMPLATE_XPCOM_DEFS.darwin         = OSTYPE=\"Darwin8.8.1\" OSARCH=\"Darwin\" XP_UNIX=1 XP_MACOSX=1 TARGET_CARBON=1 HAVE_VISIBILITY_ATTRIBUTE=1 DARWIN=1 $(TEMPLATE_VBOXR3NP_DEFS.darwin)
    6364TEMPLATE_XPCOM_DEFS.freebsd        = OSTYPE=\"FreeBSD5+\"   OSARCH=\"FreeBSD\" XP_UNIX=1 FREEBSD=1 HAVE_VISIBILITY_ATTRIBUTE=1
    6465TEMPLATE_XPCOM_DEFS.linux          = OSTYPE=\"Linux2.6\"    OSARCH=\"Linux\"  XP_UNIX=1 _GNU_SOURCE HAVE_VISIBILITY_ATTRIBUTE=1 ## @todo LINUX=1
     
    6768TEMPLATE_XPCOM_DEFS.os2            = OSTYPE=\"OS/2_4.5\"    OSARCH=\"OS/2\"   XP_OS2 XP_PC OS2=4
    6869TEMPLATE_XPCOM_DEFS.solaris        = OSTYPE=\"Solaris10\"   OSARCH=\"Solaris\" XP_UNIX=1 XP_SOLARIS=1 HAVE_LIBDL=1 HAVE_SENDFILEV=1 SOLARIS=1 _REENTRANT
     70## @todo The LDFLAGS inheriting is being hidden here and below where -fPIC is added.
    6971ifdef VBOX_WITH_ORIGIN
    7072TEMPLATE_XPCOM_LDFLAGS            += '$(VBOX_GCC_RPATH_OPT)$$(VBOX_ORIGIN)/'
     
    7274TEMPLATE_XPCOM_LDFLAGS.x86         = -m32
    7375TEMPLATE_XPCOM_LDFLAGS.amd64       = -m64
    74 TEMPLATE_XPCOM_LDFLAGS.darwin      = $(VBOXR3NP_LDFLAGS.darwin) \
     76TEMPLATE_XPCOM_LDFLAGS.darwin      = $(TEMPLATE_VBOXR3NP_LDFLAGS.darwin) \
    7577                                     -fshort-wchar -fno-rtti -fno-exceptions -fpascal-strings \
    7678                                     -framework CoreServices -framework CoreFoundation -framework Foundation -framework AppKit -framework Carbon
     
    163165TEMPLATE_XPCOMBLDPROG                   = XPCOM Build programs executables
    164166TEMPLATE_XPCOMBLDPROG_EXTENDS           = VBOXBLDPROG
     167## @todo Verify that this doesn't blow up because of template inheriance ordering. (we're assuming XPCOMEXE is expanded when this is being used.)
    165168
    166169TEMPLATE_XPCOMBLDPROG_DEFS                      = $(TEMPLATE_BLDPROG_DEFS)                      $(TEMPLATE_XPCOMEXE_DEFS)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette