VirtualBox

Changeset 6004

Show
Ignore:
Timestamp:
12/07/07 21:36:47 (9 months ago)
Author:
vboxsync
Message:

Introducing VBOX_ONLY_ADDITIONS.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Makefile.kmk

    r5999 r6004  
    2424SUBDIRS += src 
    2525 
     26ifndef VBOX_ONLY_ADDITIONS 
    2627# 
    2728# Install external binaries (mostly redistributable parts of tools we use). 
     
    175176endif 
    176177 
     178endif # !VBOX_ONLY_ADDITIONS 
    177179 
    178180 
  • trunk/src/Makefile.kmk

    r5999 r6004  
    2828endif 
    2929 
    30 SUBDIRS += bldprogs libs VBox recompiler 
    31 ifneq ($(wildcard apps),) 
    32  SUBDIRS += apps 
    33 endif 
    34 ifdef VBOX_WITH_TESTSUITE 
    35  SUBDIRS +=  tests 
    36 endif 
    37 ifdef VBOX_WITH_TESTCASES 
    38  SUBDIRS +=  testcase 
    39 endif 
     30SUBDIRS += bldprogs libs VBox 
     31ifndef VBOX_ONLY_ADDITIONS 
     32 SUBDIRS += recompiler 
     33 ifneq ($(wildcard apps),) 
     34  SUBDIRS += apps 
     35 endif 
     36 ifdef VBOX_WITH_TESTSUITE 
     37  SUBDIRS +=  tests 
     38 endif 
     39 ifdef VBOX_WITH_TESTCASES 
     40  SUBDIRS +=  testcase 
     41 endif 
     42endif # !VBOX_ONLY_ADDITIONS 
    4043 
    4144include $(PATH_KBUILD)/footer.kmk 
  • trunk/src/VBox/Makefile.kmk

    r5999 r6004  
    11# $Id$ 
    2 ## @file  
     2## @file 
    33# Top-level makefile for src/VBox. 
    44# 
     
    1919include $(PATH_KBUILD)/header.kmk 
    2020 
    21 SUBDIRS_BLDPROGS = Devices 
     21ifdef VBOX_ONLY_ADDITIONS 
     22 SUBDIRS = \ 
     23        Runtime \ 
     24        Additions 
    2225 
    23 SUBDIRS = \ 
     26else  # !VBOX_ONLY_ADDITIONS 
     27 SUBDIRS_BLDPROGS = Devices 
     28 
     29 SUBDIRS = \ 
    2430        Runtime \ 
    2531        HostDrivers \ 
     
    2733        Devices \ 
    2834        Disassembler \ 
    29         HostServices \ 
    30         Debugger  
     35       HostServices \ 
     36        Debugger 
    3137 
    32 ifdef VBOX_WITH_MAIN 
    33 SUBDIRS += Main 
    34 endif 
     38 ifdef VBOX_WITH_MAIN 
     39  SUBDIRS += Main 
     40 endif 
    3541 
    36 ifdef VBOX_WITH_VRDP 
    37 SUBDIRS += RDP 
    38 endif 
     42 ifdef VBOX_WITH_VRDP 
     43  SUBDIRS += RDP 
     44 endif 
    3945 
    40 ifneq ($(VBOX_WITH_WIN32_ADDITIONS)$(VBOX_WITH_LINUX_ADDITIONS),) 
    41 SUBDIRS += Additions 
    42 endif 
     46 ifneq ($(VBOX_WITH_WIN32_ADDITIONS)$(VBOX_WITH_LINUX_ADDITIONS),) 
     47  SUBDIRS += Additions 
     48 endif 
    4349 
    44 SUBDIRS += Frontends 
     50 SUBDIRS += Frontends 
    4551 
    46 # This must be the last one. 
    47 ifdef VBOX_WITH_INSTALLER 
    48 SUBDIRS += Installer 
    49 endif 
     52 # This must be the last one. 
     53 ifdef VBOX_WITH_INSTALLER 
     54  SUBDIRS += Installer 
     55 endif 
     56endif # !VBOX_ONLY_ADDITIONS 
    5057 
    5158include $(PATH_KBUILD)/footer.kmk 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy