VirtualBox

Changeset 2784 in vbox for trunk/src/VBox/Devices/testcase


Ignore:
Timestamp:
May 23, 2007 12:10:23 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
21391
Message:

Converted to sub-makefiles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/testcase/Makefile.kmk

    r2478 r2784  
    11# $Id$
    22## @file
    3 # Makefile for the Devices testcases.
     3# Sub-Makefile for the Devices testcases.
    44#
    55
     
    2020#
    2121
    22 DEPTH = ../../../..
    23 include $(PATH_KBUILD)/header.kmk
     22DEPTH ?= ../../../..
     23SUB_DEPTH = ..
     24include $(PATH_KBUILD)/subheader.kmk
    2425
    2526#
    26 # Target lists.
    27 #
    28 PROGRAMS = tstDeviceStructSize tstDeviceStructSizeGC
    29 
    30 
    31 #
    32 # We setup one 'other' targets for executing the structure & alignment
     27# We setup one 'other' target for executing the structure & alignment
    3328# validation testcases. Perhaps a bit hackish, but extremely useful.
    3429#
    3530ifeq ($(BUILD_TARGET),$(BUILD_PLATFORM))
    3631 ifeq ($(filter-out x86.x86 amd64.amd64 x86.amd64, $(BUILD_TARGET_ARCH).$(BUILD_PLATFORM_ARCH)),)
    37   OTHERS          += \
     32  OTHERS += \
    3833        $(PATH_TARGET)/tstDeviceStructSize.run
    3934 endif
    4035endif
    41 OTHER_CLEAN     += \
    42         $(PATH_TARGET)/tstDeviceStructSizeGC.h \
    43         $(PATH_TARGET)/tstDeviceStructSize.run \
     36
     37#
     38# Globals
     39#
     40VBOX_PATH_DEVICES_SRC = $(PATH_SUB_ROOT)
    4441
    4542#
    4643# The testcase generator.
    4744#
     45PROGRAMS += tstDeviceStructSizeGC
    4846tstDeviceStructSizeGC_TEMPLATE  = VBOXGCEXE
    4947tstDeviceStructSizeGC_DEFS      =
     
    5250endif
    5351tstDeviceStructSizeGC_SOURCES   = tstDeviceStructSizeGC.cpp
    54 tstDeviceStructSizeGC_INCS      = .. ../Bus
     52tstDeviceStructSizeGC_INCS      = \
     53        $(VBOX_PATH_DEVICES_SRC) \
     54        $(VBOX_PATH_DEVICES_SRC)/Bus \
     55        $(PATH_TARGET)
    5556
    5657#
    5758# The testcase it self.
    5859#
     60PROGRAMS += tstDeviceStructSize
    5961tstDeviceStructSize_TEMPLATE = VBOXR3EXE
    6062tstDeviceStructSize_DEFS     =
     
    6264tstDeviceStructSize_DEFS    += VBOX_WITH_USB IN_USB_GC
    6365endif
    64 tstDeviceStructSize_INCS     = .. ../Bus $(PATH_TARGET)
     66tstDeviceStructSize_INCS     = \
     67        $(VBOX_PATH_DEVICES_SRC) \
     68        $(VBOX_PATH_DEVICES_SRC)/Bus \
     69        $(PATH_TARGET)
    6570tstDeviceStructSize_SOURCES  = tstDeviceStructSize.cpp
    6671tstDeviceStructSize_LIBS.l4  = $(LIB_RUNTIME)
     72tstDeviceStructSize_CLEAN    = \
     73        $(PATH_TARGET)/tstDeviceStructSizeGC.h \
     74        $(PATH_TARGET)/tstDeviceStructSizeGC.run
    6775tstDeviceStructSize.cpp_DEPS = $(PATH_TARGET)/tstDeviceStructSizeGC.h
    68 
    69 
    70 include $(PATH_KBUILD)/footer.kmk
    71 
    7276
    7377#
     
    9397run-struct-tests: $(PATH_TARGET)/tstDeviceStructSize.run
    9498
     99
     100include $(PATH_KBUILD)/subfooter.kmk
     101
Note: See TracChangeset for help on using the changeset viewer.

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