VirtualBox

Changeset 35380 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Dec 30, 2010 4:06:17 PM (14 years ago)
Author:
vboxsync
Message:

Makefiles: The PATH_<target> variable is deprated, use <target>_0_OUTDIR instead.

Location:
trunk/src/VBox/Frontends
Files:
3 edited

Legend:

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

    r35368 r35380  
    115115
    116116VBoxBFE_INCS = \
    117         $(PATH_VBoxBFE) \
     117        $(VBoxBFE_0_OUTDIR) \
    118118        $(VBOX_PATH_SDK)/include \
    119119        $(PATH_ROOT)/src/VBox/Frontends/VBoxBFE
     
    158158        -fno-rtti -fno-exceptions -fshort-wchar -pthread
    159159
    160 VBoxBFE_CLEAN = $(PATH_VBoxBFE)/Ico64x01.h
    161 VBoxBFE_SDLConsole.cpp_DEPS = $(PATH_VBoxBFE)/Ico64x01.h
     160VBoxBFE_CLEAN = $(VBoxBFE_0_OUTDIR)/Ico64x01.h
     161VBoxBFE_SDLConsole.cpp_DEPS = $(VBoxBFE_0_OUTDIR)/Ico64x01.h
    162162
    163163# Convert the pnm-file to a byte array.
    164 $$(PATH_VBoxBFE)/Ico64x01.h: $(PATH_ROOT)/src/VBox/Frontends/VBoxBFE/ico64x01.pnm $(VBOX_BIN2C) | $$(dir $$@)
     164$$(VBoxBFE_0_OUTDIR)/Ico64x01.h: $(PATH_ROOT)/src/VBox/Frontends/VBoxBFE/ico64x01.pnm $(VBOX_BIN2C) | $$(dir $$@)
    165165        $(call MSG_TOOL,bin2c,VBoxBFE,$<,$@)
    166166        $(QUIET)$(VBOX_BIN2C) Ico64x01 $< $@
  • trunk/src/VBox/Frontends/VBoxSDL/Makefile.kmk

    r33590 r35380  
    7474
    7575VBoxSDL_INCS = \
    76         $(PATH_VBoxSDL)
     76        $(VBoxSDL_0_OUTDIR)
    7777ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),) # X11
    7878VBoxSDL_INCS += \
     
    9999        -framework Foundation -framework AppKit
    100100
    101 VBoxSDL_CLEAN = $(PATH_VBoxSDL)/Ico64x01.h
    102 VBoxSDL_INTERMEDIATES = $(PATH_VBoxSDL)/Ico64x01.h
     101VBoxSDL_CLEAN = $(VBoxSDL_0_OUTDIR)/Ico64x01.h
     102VBoxSDL_INTERMEDIATES = $(VBoxSDL_0_OUTDIR)/Ico64x01.h
    103103
    104104
    105105# Convert the pnm-file to a byte array.
    106 $$(PATH_VBoxSDL)/Ico64x01.h: $(PATH_ROOT)/src/VBox/Frontends/VBoxSDL/ico64x01.pnm $(VBOX_BIN2C) | $$(dir $$@)
     106$$(VBoxSDL_0_OUTDIR)/Ico64x01.h: $(PATH_ROOT)/src/VBox/Frontends/VBoxSDL/ico64x01.pnm $(VBOX_BIN2C) | $$(dir $$@)
    107107        $(call MSG_TOOL,bin2c,VBoxSDL,$<,$@)
    108108        $(QUIET)$(VBOX_BIN2C) Ico64x01 $< $@
    109109
    110110# Icon include file.
    111 $$(PATH_VBoxSDL)/VBoxSDL-icon.rc: $(VBOX_WINDOWS_ICON_FILE) $$(VBoxSDL_PATH)/Makefile.kmk | $$(dir $$@)
     111$$(VBoxSDL_0_OUTDIR)/VBoxSDL-icon.rc: $(VBOX_WINDOWS_ICON_FILE) $$(VBoxSDL_PATH)/Makefile.kmk | $$(dir $$@)
    112112        $(RM) -f $@
    113113        $(APPEND) $@ 'IDI_VIRTUALBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_FILE))"'
     
    130130tstSDL_DEFS.linux = VBOX_OPENGL
    131131endif
    132 tstSDL_INCS = \
    133         $(PATH_tstSDL)
    134132
    135133tstSDL_LIBS = \
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r34813 r35380  
    194194VirtualBox_INCS = \
    195195        $(VBOX_GUI_INC_DIRS) \
    196         $(PATH_VirtualBox)/include
     196        $(VirtualBox_0_OUTDIR)/include
    197197
    198198# Necessary for the hdd backend enumeration
     
    659659## @todo This needs some cleaning up perhaps...
    660660## @todo kBuild: Non-existing +| targets should be tried remade or what?
    661 VirtualBox_BLDDIRS       += $(PATH_VirtualBox)/include
    662 VirtualBox_INTERMEDIATES += $(PATH_VirtualBox)/include/COMWrappers.h
     661VirtualBox_BLDDIRS       += $(VirtualBox_0_OUTDIR)/include
     662VirtualBox_INTERMEDIATES += $(VirtualBox_0_OUTDIR)/include/COMWrappers.h
    663663VirtualBox_CLEAN         += \
    664         $(PATH_VirtualBox)/include/COMWrappers \
    665         $(PATH_VirtualBox)/include/COMWrappers.tmp \
    666         $(PATH_VirtualBox)/include/COMWrappers.h \
    667         $(PATH_VirtualBox)/include/COMWrappers.cpp
    668 VirtualBox_SOURCES       += $(PATH_VirtualBox)/include/COMWrappers.cpp
    669 
    670 $$(PATH_VirtualBox)/include/COMWrappers \
    671 +| $$(PATH_VirtualBox)/include/COMWrappers.h \
    672 +| $$(PATH_VirtualBox)/include/COMWrappers.cpp: \
     664        $(VirtualBox_0_OUTDIR)/include/COMWrappers \
     665        $(VirtualBox_0_OUTDIR)/include/COMWrappers.tmp \
     666        $(VirtualBox_0_OUTDIR)/include/COMWrappers.h \
     667        $(VirtualBox_0_OUTDIR)/include/COMWrappers.cpp
     668VirtualBox_SOURCES       += $(VirtualBox_0_OUTDIR)/include/COMWrappers.cpp
     669
     670$$(VirtualBox_0_OUTDIR)/include/COMWrappers \
     671+| $$(VirtualBox_0_OUTDIR)/include/COMWrappers.h \
     672+| $$(VirtualBox_0_OUTDIR)/include/COMWrappers.cpp: \
    673673                $(VBOX_XIDL_FILE) \
    674674                $(VBOX_VIRTUALBOX4_SRC)/src/globals/COMWrappers.xsl \
     
    697697
    698698# alias for generating the COM Wrappers file.
    699 testwrappers:: $$(PATH_VirtualBox)/include/COMWrappers.h
     699testwrappers:: $$(VirtualBox_0_OUTDIR)/include/COMWrappers.h
    700700
    701701
     
    818818# The IDI_ICON1 name is Qt specific.
    819819#
    820 src/platform/win/VirtualBox.rc_INCS  = $(PATH_VirtualBox)
    821 src/platform/win/VirtualBox.rc_DEPS  = $(PATH_VirtualBox)/VirtualBox-icon.rc
    822 src/platform/win/VirtualBox.rc_CLEAN = $(PATH_VirtualBox)/VirtualBox-icon.rc
    823 
    824 $$(PATH_VirtualBox)/VirtualBox-icon.rc: $(MAKEFILE_CURRENT) $(VBOX_WINDOWS_ICON_FILE) | $$(dir $$@)
     820src/platform/win/VirtualBox.rc_INCS  = $(VirtualBox_0_OUTDIR)
     821src/platform/win/VirtualBox.rc_DEPS  = $(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc
     822src/platform/win/VirtualBox.rc_CLEAN = $(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc
     823
     824$$(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc: $(MAKEFILE_CURRENT) $(VBOX_WINDOWS_ICON_FILE) | $$(dir $$@)
    825825        $(APPEND) -t $@ 'IDI_ICON1 ICON "$(subst /,\\,$(VBOX_WINDOWS_ICON_FILE))"'
    826826
     
    847847VirtualBox.app_SOURCES = \
    848848        src/platform/darwin/PkgInfo \
    849         $(PATH_VirtualBox.app)/Info.plist \
     849        $(VirtualBox_0_OUTDIR.app)/Info.plist \
    850850        $(VBOX_MACOSX_ICON_FILE)=>Resources/virtualbox.icns \
    851851        $(VBOX_BRAND_GUI_VBOX_64PX_PNG)=>Resources/virtualbox.png \
     
    855855        $(PATH_ROOT)/src/VBox/Resources/darwin/virtualbox-ova.icns=>Resources/virtualbox-ova.icns
    856856
    857 $$(PATH_VirtualBox.app)/Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/Info.plist $(VBOX_VERSION_MK) | $$(@D)/
     857$$(VirtualBox_0_OUTDIR.app)/Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/Info.plist $(VBOX_VERSION_MK) | $$(@D)/
    858858        $(call MSG_GENERATE,VirtualBox.app,$<,$@)
    859859        $(QUIET)$(RM) -f $@
     
    873873VirtualBoxVM.app_SOURCES = \
    874874        src/platform/darwin/VM-PkgInfo=>PkgInfo \
    875         $(PATH_VirtualBoxVM.app)/VM-Info.plist=>Info.plist
     875        $(VirtualBoxVM.app_0_OUTDIR)/VM-Info.plist=>Info.plist
    876876VirtualBoxVM.app_SYMLINKS = \
    877877        MacOS=>../../../MacOS/ \
    878878        Resources=>../../../Resources/
    879879
    880 $$(PATH_VirtualBoxVM.app)/VM-Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/VM-Info.plist $(VBOX_VERSION_MK) | $$(@D)/
     880$$(VirtualBoxVM.app_0_OUTDIR)/VM-Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/VM-Info.plist $(VBOX_VERSION_MK) | $$(@D)/
    881881        $(call MSG_GENERATE,VirtualBoxVM.app,$<,$@)
    882882        $(QUIET)$(RM) -f $@
     
    902902vmstarter.app_SOURCES = \
    903903        src/platform/darwin/vmstarter-PkgInfo=>PkgInfo \
    904         $(PATH_vmstarter.app)/vmstarter-Info.plist=>Info.plist
     904        $(vmstarter.app_0_OUTDIR)/vmstarter-Info.plist=>Info.plist
    905905vmstarter.app_SYMLINKS = \
    906906    MacOS=>../../../MacOS \
    907907    Resources=>../../../Resources
    908908
    909 $$(PATH_vmstarter.app)/vmstarter-Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/vmstarter-Info.plist $(VBOX_VERSION_MK) | $$(@D)/
     909$$(vmstarter.app_0_OUTDIR)/vmstarter-Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/vmstarter-Info.plist $(VBOX_VERSION_MK) | $$(@D)/
    910910        $(call MSG_GENERATE,vmstarter.app,$<,$@)
    911911        $(QUIET)$(RM) -f $@
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