VirtualBox

Ignore:
Timestamp:
May 10, 2008 2:43:34 AM (17 years ago)
Author:
vboxsync
Message:

VBOX_WINDOWS_ICON_FILE

File:
1 edited

Legend:

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

    r8556 r8748  
    282282endif
    283283
    284 ifdef VBOX_OSE
    285284VirtualBox_SOURCES.win += \
    286         src/win32/VirtualBox_OSE.rc
    287 else
    288 VirtualBox_SOURCES.win += \
    289         src/win32/VirtualBox.rc
    290 endif
    291 
    292 VirtualBox_SOURCES.win += \
    293         src/VBoxFBDDRAW.cpp
     285        src/VBoxFBDDRAW.cpp \
     286        $(PATH_TARGET)/VirtualBox.rc
    294287
    295288VirtualBox_SOURCES.darwin = \
     
    417410
    418411# generated files we need to clean manually
    419 OTHER_CLEAN           = \
     412OTHER_CLEAN        += \
    420413        $(VirtualBox_GENSRCS) \
    421414        $(VirtualBox_GENHDRS) \
    422415        $(WRAPPERSFILE) \
    423416        $(PATH_BIN)/vboxkeyboard.tar.gz
     417
     418
     419#
     420# On Windows we'll have to generate/edit the resource file.
     421# The IDI_ICON1 name is Qt specific.
     422#
     423$(PATH_TARGET)/VirtualBox.rc: Makefile.kmk $(VBOX_WINDOWS_ICON_FILE) | $$(call DIRDEP,$$(@D))
     424        $(RM) -f $@
     425        $(APPEND) $@ 'IDI_ICON1 ICON "$(subst /,\\,$(VBOX_WINDOWS_ICON_FILE))"'
     426        $(CAT) $@
     427
     428OTHER_CLEAN.win += $(PATH_TARGET)/VirtualBox.rc
    424429
    425430
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