VirtualBox

Changeset 960 in vbox for trunk/Config.kmk


Ignore:
Timestamp:
Feb 17, 2007 9:12:10 AM (18 years ago)
Author:
vboxsync
Message:

Darwin hacking.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r957 r960  
    4949# Install paths.
    5050PATH_INS            := $(PATH_OUT)
    51 PATH_BIN             = $(PATH_INS)/bin
    52 PATH_DLL             = $(PATH_INS)/bin
    53 PATH_SYS             = $(PATH_INS)/bin
    54 PATH_LIB             = $(PATH_INS)/lib
    55 PATH_DOC             = $(PATH_INS)/doc
    56 INST_TESTCASE        = bin/testcase/
    57 INST_ADDITIONS       = bin/additions/
    58 INST_ADDITIONS_LIB   = lib/additions/
    59 INST_SDK             = bin/sdk
    60 INST_SDK_SAMPLES     = $(INST_SDK)/samples
     51ifeq ($(BUILD_TARGET),darwin)
     52 INST_DIST            = dist/
     53 INST_SDK             = $(INST_DIST)sdk/
     54 INST_SDK_SAMPLES     = $(INST_SDK)samples
     55
     56 # the bundles
     57 INST_VIRTUALBOX      = $(INST_DIST)VirtualBox.app/
     58 INST_VBOXDRV         = $(INST_DIST)VBoxDrv.kext/
     59 INST_VBOXTAP         = $(INST_DIST)VBoxTAP.kext/
     60 INST_VBOXUSB         = $(INST_DIST)VBoxUSB.kext/
     61
     62 # put everything in the VirtualBox app bundle.
     63 INST_BIN             = $(INST_VIRTUALBOX)Contents/MacOS/
     64 INST_DLL             = $(INST_BIN)
     65 INST_SYS             = $(INST_BIN)
     66 INST_TESTCASE        = $(INST_BIN)testcase/
     67 INST_ADDITIONS       = $(INST_BIN)MacOS/additions/
     68
     69 # other paths
     70 INST_LIB             = lib/
     71 INST_ADDITIONS_LIB   = $(PATH_LIB)/additions/
     72
     73else
     74
     75 INST_BIN             = bin/
     76 INST_DIST            = $(INST_BIN)
     77 INST_DLL             = $(INST_BIN)
     78 INST_SDK             = $(INST_BIN)sdk/
     79 INST_SDK_SAMPLES     = $(INST_SDK)samples
     80 INST_DLL             = $(INST_BIN)
     81 INST_SYS             = $(INST_BIN)
     82 INST_TESTCASE        = $(INST_BIN)testcase/
     83 INST_ADDITIONS       = $(INST_BIN)additions/
     84
     85 INST_LIB             = lib/
     86 INST_ADDITIONS_LIB   = $(INST_LIB)additions/
     87endif
     88
     89PATH_BIN              = $(patsubst %/,%,$(PATH_INS)/$(INST_BIN))
     90PATH_DLL              = $(patsubst %/,%,$(PATH_INS)/$(INST_DLL))
     91PATH_SYS              = $(patsubst %/,%,$(PATH_INS)/$(INST_SYS))
     92PATH_LIB              = $(patsubst %/,%,$(PATH_INS)/$(INST_LIB))
     93PATH_DOC              = $(PATH_OUT)/doc
     94VBOX_PATH_SDK         = $(patsubst %/,%,$(PATH_INS)/$(INST_SDK))
     95
     96
    6197
    6298# Delete targets on failure.
     
    602638 LIB_VMM         = $(PATH_BIN)/VBoxVMM.dylib
    603639 LIB_VMMGC       = $(PATH_BIN)/VMMGC.gc
    604  LIB_REM         = $(PATH_BIN)/VBoxREMImp.dylib
     640 LIB_REM         = $(PATH_LIB)/VBoxREMImp.dylib
    605641endif
    606642ifeq ($(BUILD_TARGET),l4)
     
    701737 VBOX_WITH_XPCOM      = 1
    702738 VBOX_XPIDL          ?= $(PATH_OBJ)/src/libs/xpcom18a4/xpidl/xpidl$(HOSTSUFF_EXE)
    703  VBOX_PATH_XPCOM_IDL ?= $(PATH_BIN)/sdk/idl
     739 VBOX_PATH_XPCOM_IDL ?= $(VBOX_PATH_SDK)/idl
    704740 VBOX_XPCOM_INCS     ?= \
    705         $(PATH_BIN)/sdk/include \
    706         $(PATH_BIN)/sdk/include/xpcom \
    707         $(PATH_BIN)/sdk/include/xpcom/nsprpub \
    708         $(PATH_BIN)/sdk/include/xpcom/string \
    709         $(PATH_BIN)/sdk/include/xpcom/xpcom \
    710         $(PATH_BIN)/sdk/include/xpcom/ipcd
     741        $(VBOX_PATH_SDK)/include \
     742        $(VBOX_PATH_SDK)/include/xpcom \
     743        $(VBOX_PATH_SDK)/include/xpcom/nsprpub \
     744        $(VBOX_PATH_SDK)/include/xpcom/string \
     745        $(VBOX_PATH_SDK)/include/xpcom/xpcom \
     746        $(VBOX_PATH_SDK)/include/xpcom/ipcd
    711747 # libIDL-config (for xpcom18a4)
    712748 ifeq ($(origin VBOX_LIBIDL_CONFIG),undefined)
     
    15231559TEMPLATE_VBOXMAINCLIENT_EXTENDS     = VBOXMAINEXE
    15241560TEMPLATE_VBOXMAINCLIENT_INCS        = $(TEMPLATE_VBOXMAINEXE_INCS) \
    1525         $(PATH_BIN)/sdk/include
     1561        $(VBOX_PATH_SDK)/include
    15261562ifdef VBOX_WITH_XPCOM
    15271563TEMPLATE_VBOXMAINCLIENT_INCS       += \
     
    15641600TEMPLATE_VBOXQTGUIEXE_DEFS = IN_RING3 QT_NO_DEBUG QT_THREAD_SUPPORT $(ARCH_BITS_DEFS)
    15651601TEMPLATE_VBOXQTGUIEXE_INCS = \
    1566         $(PATH_BIN)/sdk/include \
     1602        $(VBOX_PATH_SDK)/include \
    15671603        $(VBOX_PATH_QT)/include
    15681604
     
    17851821TEMPLATE_VBOXW32GUESTR3_CFLAGS.kprofile     = $(TEMPLATE_VBOXW32GUESTR3_CXXFLAGS.kprofile)
    17861822TEMPLATE_VBOXW32GUESTR3_INCS                = \
    1787         $(PATH_BIN)/sdk/include
     1823        $(VBOX_PATH_SDK)/include
    17881824TEMPLATE_VBOXW32GUESTR3_LDFLAGS             = \
    17891825        /NOD /INCREMENTAL:NO /MAPINFO:EXPORTS /LARGEADDRESSAWARE \
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