VirtualBox

Ignore:
Timestamp:
Sep 9, 2008 3:01:02 AM (16 years ago)
Author:
vboxsync
Message:

Frontends/Makefiles: Converted VirtualBox 3 & 4 into sub-makefiles, eliminated PAHT_TARGET usage, pushed everything up to the root (sub-makefile wise), and fixed VBoxBFE & VBoxSDL exclusion on hardened darwin.

File:
1 edited

Legend:

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

    r12170 r12258  
    2020#
    2121
    22 ifdef VBOX_SINGLE_MAKEFILE
    2322SUB_DEPTH = ../../../..
    24 else
    25 DEPTH    ?= ../../../..
    26 SUB_DEPTH = ..
    27 endif
    2823include $(KBUILD_PATH)/subheader.kmk
    29 
     24if !defined(VBOX_WITH_HARDENING) || "$(KBUILD_TARGET)" == "darwin" # No hardened VBoxSDL on darwin.
    3025
    3126#
     
    3328#
    3429ifdef VBOX_WITH_HARDENING
    35  ifneq ($(KBUILD_TARGET),darwin) # No hardened VBoxSDL on darwin.
    36   PROGRAMS += VBoxSDLHardened
    37   DLLS += VBoxSDL
    38  endif
     30 PROGRAMS += VBoxSDLHardened
     31 DLLS += VBoxSDL
    3932else
    4033 PROGRAMS += VBoxSDL
     
    124117
    125118
     119# Convert the pnm-file to a byte array.
     120$$(PATH_VBoxSDL)/Ico64x01.h: $(PATH_ROOT)/src/VBox/Frontends/VBoxSDL/ico64x01.pnm $(VBOX_BIN2C) | $$(dir $$@)
     121        $(call MSG_TOOL,bin2c,VBoxSDL,$<,$@)
     122        $(QUIET)$(VBOX_BIN2C) Ico64x01 $< $@
     123
     124# Icon include file.
     125$$(PATH_VBoxSDL)/VBoxSDL-icon.rc: $(VBOX_WINDOWS_ICON_FILE) $(VBoxSDL_PATH)/Makefile.kmk | $$(dir $$@)
     126        $(RM) -f $@
     127        $(APPEND) $@ 'IDI_VIRTUALBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_FILE))"'
     128
     129
     130
    126131#
    127132# tstSDL
     
    171176
    172177
    173 # generate rules
     178endif # !VBOX_WITH_HARDENING || "$(KBUILD_TARGET)" != "darwin"
    174179include $(KBUILD_PATH)/subfooter.kmk
    175180
    176181
    177 ifdef PATH_VBoxSDL
    178 # Convert the pnm-file to a byte array.
    179 $(PATH_VBoxSDL)/Ico64x01.h: $(PATH_ROOT)/src/VBox/Frontends/VBoxSDL/ico64x01.pnm $(VBOX_BIN2C) | $(call DIRDEP,$(PATH_VBoxSDL))
    180         $(call MSG_TOOL,bin2c,VBoxSDL,$<,$@)
    181         $(QUIET)$(VBOX_BIN2C) Ico64x01 $< $@
    182 
    183 # Icon include file.
    184 $(PATH_VBoxSDL)/VBoxSDL-icon.rc: $(VBOX_WINDOWS_ICON_FILE) $(VBoxSDL_PATH)/Makefile.kmk | $$(call DIRDEP,$$(@D))
    185         $(RM) -f $@
    186         $(APPEND) $@ 'IDI_VIRTUALBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_FILE))"'
    187 endif
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