VirtualBox

Changeset 42276 in vbox


Ignore:
Timestamp:
Jul 20, 2012 3:01:35 PM (13 years ago)
Author:
vboxsync
Message:

/Makefile.kmk: Some cleanups.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.kmk

    r42221 r42276  
    2222# Sub-makefiles / Sub-directories.
    2323#
    24 if defined(VBOX_WITH_DOCS) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_EXTPACKS) && !defined(VBOX_ONLY_TESTSUITE)
     24if defined(VBOX_WITH_DOCS) && (!defined(VBOX_ONLY_BUILD) || defined(VBOX_ONLY_DOCS) || defined(VBOX_ONLY_SDK))
    2525 include $(PATH_SUB_CURRENT)/doc/manual/Makefile.kmk
    2626endif
    2727include $(PATH_SUB_CURRENT)/src/Makefile.kmk
     28
     29
     30## @todo split up this file!
    2831
    2932
     
    4649 && !defined(VBOX_ONLY_DOCS) \
    4750 && !defined(VBOX_ONLY_EXTPACKS) \
    48  && !defined(VBOX_ONLY_TESTSUITE) # -> line 418b ;-)
    49 
    50 ifndef VBOX_OSE
    51  #
    52  # Install the license (and misc non-executable stuff).
    53  #
    54  INSTALLS += nobin
    55  nobin_INST = $(INST_BIN)
    56  nobin_MODE = 0644
    57  nobin_SOURCES =
    58  ifdef VBOX_LICENSE_FILES
    59   nobin_SOURCES += \
     51 && !defined(VBOX_ONLY_TESTSUITE) # -> line 426b ;-)
     52
     53 if !defined(VBOX_OSE) && defined(VBOX_LICENSE_FILES)
     54  #
     55  # Install the license (and misc non-executable stuff).
     56  #
     57  INSTALLS += InstallLicenseFiles
     58  InstallLicenseFiles_INST = $(INST_BIN)
     59  InstallLicenseFiles_MODE = 0644
     60  InstallLicenseFiles_SOURCES =
     61  InstallLicenseFiles_SOURCES += \
    6062        $(VBOX_BRAND_LICENSE_HTML)=>License-$(VBOX_LICENSE_VER).html \
    61         $(foreach f,$(VBOX_INSTALLER_ADD_LANGUAGES),$(VBOX_BRAND_$(f)_LICENSE_HTML)=>License-$(VBOX_LICENSE_VER)-$(f).html)
    62  endif
    63 endif # !OSE
     63        $(foreach f,$(VBOX_INSTALLER_ADD_LANGUAGES),$(VBOX_BRAND_$(f)_LICENSE_HTML)=>License-$(VBOX_LICENSE_VER)-$(f).html)
     64 endif
    6465
    6566
    6667#
    6768# Install external binaries (mostly redistributable parts of tools we use).
    68 # This must be done *before* we build the manual.
    6969#
    7070# To avoid dragging in unnecessary tools and sdks here, we don't use the .win
    7171# and .linux property suffixes.
    7272#
    73 INSTALLS += bin
    74 
    75 bin_INST = $(INST_BIN)
     73INSTALLS += InstallExternalLibs
     74
     75InstallExternalLibs_INST = $(INST_BIN)
    7676
    7777# The SDL DLLs
     
    7979 ifneq ($(VBOX_WITH_VBOXSDL)$(VBOX_WITH_VBOXBFE),)
    8080  include $(KBUILD_PATH)/sdks/LIBSDL.kmk
    81   bin_SOURCES += \
     81  InstallExternalLibs_SOURCES += \
    8282        $(DLL_SDK_LIBSDL_SDL)
    8383  ifdef VBOX_WITH_SECURELABEL
    84    bin_SOURCES += \
     84   InstallExternalLibs_SOURCES += \
    8585        $(DLL_SDK_LIBSDL_SDLTTF)
    8686  endif
    8787  ifeq ($(KBUILD_TARGET),os2)
    88    bin_SOURCES += \
     88   InstallExternalLibs_SOURCES += \
    8989        $(DLL_SDK_LIBSDL_FSLIB)
    9090  endif
     
    9999   VBOX_PATH_VCC_REDIST_CRT     = $(VBOX_PATH_VCC_REDIST)/$(subst amd64,x64,$(KBUILD_TARGET_ARCH))/Microsoft.VC100.CRT
    100100   VBOX_PATH_VCC_REDIST_CRT_DBG = $(VBOX_PATH_VCC_REDIST)/Debug_NonRedist/$(subst amd64,x64,$(KBUILD_TARGET_ARCH))/Microsoft.VC100.DebugCRT
    101    bin_SOURCES += \
     101   InstallExternalLibs_SOURCES += \
    102102        $(VBOX_PATH_VCC_REDIST_CRT)/msvcr100.dll \
    103103        $(VBOX_PATH_VCC_REDIST_CRT)/msvcp100.dll \
     
    114114  include $(KBUILD_PATH)/tools/VCC80X86.kmk
    115115  include $(KBUILD_PATH)/tools/VCC80AMD64.kmk
    116   bin_SOURCES.x86 += \
     116  InstallExternalLibs_SOURCES.x86 += \
    117117        $(PATH_TOOL_VCC80X86)/redist/x86/Microsoft.VC80.CRT/Microsoft.VC80.CRT.manifest=>Microsoft.VC80.CRT/Microsoft.VC80.CRT.manifest \
    118118        $(PATH_TOOL_VCC80X86)/redist/x86/Microsoft.VC80.CRT/msvcr80.dll=>Microsoft.VC80.CRT/msvcr80.dll \
     
    121121        $(PATH_TOOL_VCC80X86)/redist/x86/Microsoft.VC80.CRT/msvcr80.dll=>testcase/Microsoft.VC80.CRT/msvcr80.dll \
    122122        $(PATH_TOOL_VCC80X86)/redist/x86/Microsoft.VC80.CRT/msvcp80.dll=>testcase/Microsoft.VC80.CRT/msvcp80.dll
    123   bin_SOURCES.amd64 += \
     123  InstallExternalLibs_SOURCES.amd64 += \
    124124        $(PATH_TOOL_VCC80AMD64)/redist/amd64/Microsoft.VC80.CRT/Microsoft.VC80.CRT.manifest=>Microsoft.VC80.CRT/Microsoft.VC80.CRT.manifest \
    125125        $(PATH_TOOL_VCC80AMD64)/redist/amd64/Microsoft.VC80.CRT/msvcr80.dll=>Microsoft.VC80.CRT/msvcr80.dll \
     
    129129        $(PATH_TOOL_VCC80AMD64)/redist/amd64/Microsoft.VC80.CRT/msvcp80.dll=>testcase/Microsoft.VC80.CRT/msvcp80.dll
    130130  ifeq ($(VBOX_VCC_CRT_TYPE),d)
    131    bin_SOURCES.x86 += \
     131   InstallExternalLibs_SOURCES.x86 += \
    132132        $(PATH_TOOL_VCC80X86)/redist/Debug_NonRedist/x86/Microsoft.VC80.DebugCRT/Microsoft.VC80.DebugCRT.manifest=>Microsoft.VC80.DebugCRT/Microsoft.VC80.DebugCRT.manifest \
    133133        $(PATH_TOOL_VCC80X86)/redist/Debug_NonRedist/x86/Microsoft.VC80.DebugCRT/msvcr80d.dll=>Microsoft.VC80.DebugCRT/msvcr80d.dll \
     
    136136        $(PATH_TOOL_VCC80X86)/redist/Debug_NonRedist/x86/Microsoft.VC80.DebugCRT/msvcr80d.dll=>testcase/Microsoft.VC80.DebugCRT/msvcr80d.dll \
    137137        $(PATH_TOOL_VCC80X86)/redist/Debug_NonRedist/x86/Microsoft.VC80.DebugCRT/msvcp80d.dll=>testcase/Microsoft.VC80.DebugCRT/msvcp80d.dll
    138    bin_SOURCES.amd64 += \
     138   InstallExternalLibs_SOURCES.amd64 += \
    139139        $(PATH_TOOL_VCC80AMD64)/redist/Debug_NonRedist/amd64/Microsoft.VC80.DebugCRT/Microsoft.VC80.DebugCRT.manifest=>Microsoft.VC80.DebugCRT/Microsoft.VC80.DebugCRT.manifest \
    140140        $(PATH_TOOL_VCC80AMD64)/redist/Debug_NonRedist/amd64/Microsoft.VC80.DebugCRT/msvcr80d.dll=>Microsoft.VC80.DebugCRT/msvcr80d.dll \
     
    159159  DLL_TOOL_VCC70_MSVCR71 ?= $(PATH_TOOL_VCC70)/bin/msvcr71.dll
    160160  ifneq ($(wildcard $(DLL_TOOL_VCC70_MSVCR71)),)
    161    bin_SOURCES += \
     161   InstallExternalLibs_SOURCES += \
    162162        $(DLL_TOOL_VCC70_MSVCR71)=>msvcr71.dll \
    163163        $(DLL_TOOL_VCC70_MSVCR71)=>testcase/msvcr71.dll
     
    166166   DLL_TOOL_VCC70_MSVCR71D ?= $(PATH_TOOL_VCC70)/bin/msvcr71d.dll
    167167   ifneq ($(wildcard $(DLL_TOOL_VCC70_MSVCR71D)),)
    168     bin_SOURCES += \
     168    InstallExternalLibs_SOURCES += \
    169169        $(DLL_TOOL_VCC70_MSVCR71D)=>msvcr71d.dll \
    170170        $(DLL_TOOL_VCC70_MSVCR71D)=>testcase/msvcr71d.dll
     
    174174  DLL_TOOL_VCC70_MSVCP71 ?= $(PATH_TOOL_VCC70)/bin/msvcp71.dll
    175175  ifneq ($(wildcard $(DLL_TOOL_VCC70_MSVCP71)),)
    176    bin_SOURCES += \
     176   InstallExternalLibs_SOURCES += \
    177177        $(DLL_TOOL_VCC70_MSVCP71)=>msvcp71.dll \
    178178        $(DLL_TOOL_VCC70_MSVCP71)=>testcase/msvcp71.dll
     
    181181   DLL_TOOL_VCC70_MSVCP71D ?= $(PATH_TOOL_VCC70)/bin/msvcp71d.dll
    182182   ifneq ($(wildcard $(DLL_TOOL_VCC70_MSVCP71D)),)
    183     bin_SOURCES += \
     183    InstallExternalLibs_SOURCES += \
    184184        $(DLL_TOOL_VCC70_MSVCP71D)=>msvcp71d.dll \
    185185        $(DLL_TOOL_VCC70_MSVCP71D)=>testcase/msvcp71d.dll
     
    189189  DLL_TOOL_VCC70_MSVCRT  ?= $(PATH_TOOL_VCC70)/bin/msvcrt.dll
    190190  ifneq ($(wildcard $(DLL_TOOL_VCC70_MSVCRT)),)
    191    bin_SOURCES += \
     191   InstallExternalLibs_SOURCES += \
    192192        $(DLL_TOOL_VCC70_MSVCRT)=>msvcrt.dll \
    193193        $(DLL_TOOL_VCC70_MSVCRT)=>testcase/msvcrt.dll
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