VirtualBox

Ignore:
Timestamp:
Aug 27, 2008 8:09:03 PM (16 years ago)
Author:
vboxsync
Message:
  • completly divorced SDK and binary, use 'kmk sdk' to build SDK
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/Makefile.kmk

    r11610 r11721  
    3434PACKING       += $(PATH_BIN)/VirtualBox.tar.bz2
    3535
    36 ifdef VBOX_WITH_SEPARATE_SDK
    37 PACKING       += $(PATH_BIN)/VirtualBox-SDK.zip
    38 SDK_IN_SEPARATE=sdk
    39 SDK_IN_NORMAL=
    40 else
    41 SDK_IN_SEPARATE=
    42 SDK_IN_NORMAL=sdk
     36ifdef VBOX_ONLY_SDK
     37SDK_ZIP        = $(PATH_BIN)/VirtualBox-$(VBOX_VERSION_STRING)-SDK.zip
     38PACKING        = $(SDK_ZIP)
    4339endif
    4440
     
    111107        VBoxAddIF.sh \
    112108        $(if $(VBOX_WITH_QT4GUI),VirtualBox.desktop,) \
    113         src \
    114         $(SDK_IN_NORMAL)
     109        src
    115110
    116111# Qt4 GUI
     
    233228# .tar.bz2 for converting into .run
    234229$(PATH_TARGET)/install/VirtualBox.tar.bz2: \
    235                 $(if $(VBOX_WITH_SEPARATE_SDK), $(PATH_BIN)/VirtualBox-SDK.zip) \
     230                $(SDK_ZIP) \
    236231                $(addprefix $(PATH_TARGET)/archive/, $(LINUXARCHFILES)) \
    237232                Makefile.kmk \
     
    256251
    257252
     253ifneq ($(SDK_ZIP),)
    258254# make separate VirtualBox SDK delivery
    259 $(PATH_BIN)/VirtualBox-SDK.zip:            \
    260                 $(PATH_TARGET)/archive/sdk \
    261                 $(VBOX_VERSION_STAMP)      \
    262                 $(PATH_TARGET)/VirtualBox-$(VBOX_VERSION_STRING)
    263         $(call MSG_L1,Making separate SDK delivery $@)
    264         $(QUIET)$(REDIRECT) -C $(PATH_TARGET)/archive -- zip -r9 $@ sdk
    265         $(QUIET)$(RM) -Rf -- $(PATH_TARGET)/archive/sdk
     255$(SDK_ZIP):    \
     256                $(PATH_BIN)/sdk \
     257                $(VBOX_VERSION_STAMP)
     258        $(call MSG_L1,Making SDK delivery $@)
     259        $(QUIET)$(REDIRECT) -C $(PATH_BIN) -- zip -r9 $@ sdk
     260endif
    266261
    267262$(PATH_TARGET)/VirtualBox-$(VBOX_VERSION_STRING): $(PATH_TARGET)/archive
     
    300295        $(QUIET)$(if $(VBOX_DO_STRIP),objcopy --strip-unneeded -R .comment $< $@,cp $< $@)
    301296
    302 $(foreach f,$(LINUXNOSTRIP) $(SDK_IN_SEPARATE),$(PATH_TARGET)/archive/$(f)): \
     297$(foreach f,$(LINUXNOSTRIP),$(PATH_TARGET)/archive/$(f)): \
    303298                $(PATH_TARGET)/archive/% : $(PATH_BIN)/% | $(call DIRDEP,$(PATH_TARGET)/archive)
    304299        $(call MSG_INST_SYM,$<,$@)
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