VirtualBox

Ignore:
Timestamp:
Dec 30, 2010 1:38:23 PM (14 years ago)
Author:
vboxsync
Message:

Main: source re-org.

File:
1 edited

Legend:

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

    r33590 r35368  
    2323# Files from Main needed for building VBoxBFE
    2424#
    25 VBOXBFE_MAIN_CPP = MouseImpl.cpp
    26 VBOXBFE_MAIN_H  = MouseImpl.h ConsoleEvents.h
     25VBOXBFE_MAIN_SRCS = src-client/MouseImpl.cpp
     26VBOXBFE_MAIN_HDRS = MouseImpl.h ConsoleEvents.h
    2727
    2828#
     
    6969        VMMDevInterface.cpp \
    7070        DisplayImpl.cpp \
    71         $(PATH_VBoxBFE)/MouseImpl.cpp \
    7271        KeyboardImpl.cpp \
    7372        StatusImpl.cpp \
    7473        MachineDebuggerImpl.cpp \
    75         VMControl.cpp
     74        VMControl.cpp \
     75        $(addprefix $(VBoxBFE_0_OUTDIR)/,$(notdir $(VBOXBFE_MAIN_SRCS)))
    7676
    7777ifdef VBOX_WITH_HGCM
     
    166166        $(QUIET)$(VBOX_BIN2C) Ico64x01 $< $@
    167167
    168 VBoxBFE_DEPS += $(addprefix $(PATH_VBoxBFE)/,$(VBOXBFE_MAIN_CPP) $(VBOXBFE_MAIN_H))
     168# Files we share with Main needs to be copied into the output dir.
     169VBoxBFE_INTERMEDIATES += $(addprefix $(VBoxBFE_0_OUTDIR)/,$(VBOXBFE_MAIN_HDRS))
     170VBoxBFE_CLEAN         += $(addprefix $(VBoxBFE_0_OUTDIR)/, $(VBOXBFE_MAIN_HDRS) $(VBOXBFE_MAIN_SRCS))
    169171
    170 # Pattern rules for copying needed files from Main
    171 $(addprefix $$(PATH_VBoxBFE)/,$(VBOXBFE_MAIN_CPP)): \
    172                 $$(PATH_VBoxBFE)/% : $(PATH_ROOT)/src/VBox/Main/% | $$(dir $$@)
     172define def_copy_main_file
     173$$(VBoxBFE_0_OUTDIR)/$(notdir $(file)): $(PATH_ROOT)/src/VBox/Main/$(file) | $$(dir $$@)
    173174        $(call MSG_INST_FILE,$<,$@)
    174         $(QUIET)$(CP_EXT) $< $@
     175        $(QUIET)$(CP_EXT) -f $< $@
     176endef
     177$(foreach file,$(addprefix include/,$(VBOXBFE_MAIN_HDRS)), $(evalval def_copy_main_file))
     178$(foreach file,$(VBOXBFE_MAIN_SRCS), $(evalval def_copy_main_file))
    175179
    176 $(addprefix $$(PATH_VBoxBFE)/,$(VBOXBFE_MAIN_H)): \
    177                 $$(PATH_VBoxBFE)/% : $(PATH_ROOT)/src/VBox/Main/include/% | $$(dir $$@)
    178         $(call MSG_INST_FILE,$<,$@)
    179         $(QUIET)$(CP_EXT) $< $@
    180 
    181 OTHER_CLEAN += \
    182         $(addprefix $(PATH_VBoxBFE)/,$(VBOXBFE_MAIN_CPP)) \
    183         $(addprefix $(PATH_VBoxBFE)/,$(VBOXBFE_MAIN_H))
    184180
    185181
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