VirtualBox

Changeset 10190

Show
Ignore:
Timestamp:
07/04/08 04:25:55 (6 months ago)
Author:
vboxsync
Message:

Converted to sub-makefiles + VBOX_SINGLE_MAKEFILE.

Files:

Legend:

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

    r9562 r10190  
    11# $Id$ 
    22## @file 
    3 # Top-level makefile for the external apps. 
     3# Sub-Makefile for the external apps. 
    44# 
    55 
     
    1111# 
    1212 
    13 DEPTH = ../.. 
    14 include $(KBUILD_PATH)/header.kmk 
     13SUB_DEPTH = ../.. 
     14include $(KBUILD_PATH)/subheader.kmk 
    1515 
    1616ifdef VBOX_WITH_KCHMVIEWER 
    17 ifneq ($(wildcard kchmviewer-2.6),) 
    18 SUBDIRS.linux = kchmviewer-2.6 
     17 ifneq ($(wildcard $(PATH_SUB_CURRENT)/kchmviewer-2.6),) 
     18  include $(PATH_SUB_CURRENT)/kchmviewer-2.6/Makefile.kmk 
     19 endif 
    1920endif 
    20 endif 
    21 ifneq ($(wildcard tunctl),) 
    22 SUBDIRS.linux += tunctl 
     21ifneq ($(wildcard $(PATH_SUB_CURRENT)/tunctl),) 
     22 ifeq ($(KBUILD_TARGET),linux) 
     23  include $(PATH_SUB_CURRENT)/tunctl/Makefile.kmk 
     24 endif 
    2325endif 
    2426 
    25 include $(KBUILD_PATH)/rules.kmk 
     27include $(KBUILD_PATH)/subfooter.kmk 
    2628 
  • trunk/src/apps/tunctl/Makefile.kmk

    r9562 r10190  
    11# $Id: Makefile.kmk 31342 2008-05-28 08:44:35Z frank $ 
    22## @file 
    3 # Makefile for VBoxTunctl, which is identical to tunctl from Usermode Linux 
    4 # except for the name. 
     3# Sub-Makefile for VBoxTunctl 
     4
     5# VBoxTunctl is identical to tunctl from Usermode Linux except for the name. 
    56# 
    67 
     
    2122# 
    2223 
    23 DEPTH = ../../.. 
    24 include $(KBUILD_PATH)/header.kmk 
     24SUB_DEPTH = ../../.. 
     25include $(KBUILD_PATH)/subheader.kmk 
    2526 
    26 ifneq ($(KBUILD_HOST),linux) 
    27 $(error "VBoxTunctl can only be built on Linux!") 
    28 endif 
    29  
    30 PROGRAMS       = VBoxTunctl 
    31  
     27PROGRAMS.linux += VBoxTunctl 
    3228VBoxTunctl_TEMPLATE = VBOXR3EXE 
    3329VBoxTunctl_SOURCES  = tunctl.c 
    3430 
    35 include $(KBUILD_PATH)/footer.kmk 
     31include $(KBUILD_PATH)/subfooter.kmk 
     32 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy