VirtualBox

Changeset 36401 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 24, 2011 1:16:30 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70755
Message:

VBoxBFE: The testcase/Makefile.kmk is *NOT* allowed to reference variables defined by the parent makefile, that *BREAKS* running make in the testcase subdirectory. tstMouseImpl must use the INTERMEDIATES property just like VBoxBFE to make sure the headers are generated before sources are built, that's probably what caused the build break that r70348 and others tried to fix.

Location:
trunk/src/VBox/Frontends/VBoxBFE
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxBFE/Makefile.kmk

    r36160 r36401  
    55
    66#
    7 # Copyright (C) 2006-2007 Oracle Corporation
     7# Copyright (C) 2006-2011 Oracle Corporation
    88#
    99# This file is part of VirtualBox Open Source Edition (OSE), as
     
    1818SUB_DEPTH = ../../../..
    1919include $(KBUILD_PATH)/subheader.kmk
    20 
    21 #
    22 # Include sub-makefile(s).
    23 #
    24 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
    25 
    2620if !defined(VBOX_WITH_HARDENING) || "$(KBUILD_TARGET)" != "darwin"  # No hardened VBoxBFE on darwin (.m).
    2721
     
    8074        VMControl.cpp \
    8175        $(addprefix $(VBoxBFE_0_OUTDIR)/,$(notdir $(VBOXBFE_MAIN_SRCS)))
    82 
    83 $(VBoxBFE_SOURCES): \
    84     $(addprefix $$(VBoxBFE_0_OUTDIR)/,$(notdir $(VBOXBFE_MAIN_HDRS)))
    8576
    8677ifdef VBOX_WITH_HGCM
     
    176167
    177168# Files we share with Main needs to be copied into the output dir.
    178 VBoxBFE_INTERMEDIATES += $(addprefix $(VBoxBFE_0_OUTDIR)/,$(VBOXBFE_MAIN_HDRS))
     169VBoxBFE_INTERMEDIATES  = $(addprefix $(VBoxBFE_0_OUTDIR)/, $(VBOXBFE_MAIN_HDRS))
    179170VBoxBFE_CLEAN         += $(addprefix $(VBoxBFE_0_OUTDIR)/, $(VBOXBFE_MAIN_HDRS) $(notdir $(VBOXBFE_MAIN_SRCS)))
    180171
     
    189180
    190181
     182if !defined(VBOX_ONLY_SDK) && defined(VBOX_WITH_TESTCASES)
     183 #
     184 # tstMouseImpl
     185 #
     186 PROGRAMS += tstMouseImpl
     187 tstMouseImpl_TEMPLATE = VBOXR3TSTEXE
     188 tstMouseImpl_DEFS = VBOXBFE_WITHOUT_COM
     189 tstMouseImpl_SOURCES  = \
     190        testcase/tstMouseImpl.cpp \
     191        $(addprefix $(VBoxBFE_0_OUTDIR)/,$(notdir $(VBOXBFE_MAIN_SRCS)))
     192 tstMouseImpl_INCS     = \
     193        $(VBoxBFE_0_OUTDIR) \
     194        $(VBOX_PATH_SDK)/include \
     195        .
     196 tstMouseImpl_INTERMEDIATES = $(addprefix $(VBoxBFE_0_OUTDIR)/, $(VBOXBFE_MAIN_HDRS))
     197endif # !VBOX_ONLY_SDK
     198
     199
    191200endif # !VBOX_WITH_HARDENING || !darwin
    192201include $(KBUILD_PATH)/subfooter.kmk
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