VirtualBox

Changeset 6560 in vbox for trunk


Ignore:
Timestamp:
Jan 29, 2008 11:16:18 AM (17 years ago)
Author:
vboxsync
Message:

Frontends/VirtualBox: create a source tarball for the LGPLed keyboard handler library

File:
1 edited

Legend:

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

    r6467 r6560  
    5454ifeq ($(filter-out freebsd linux openbsd netbsd solaris,$(BUILD_TARGET)),) # X11
    5555DLLS = VBoxKeyboard
     56OTHERS = $(PATH_BIN)/vboxkeyboard.tar.gz
    5657endif
    5758INSTALLS = VirtualBox.nls
     
    8889VBoxKeyboard_SOURCES  = \
    8990        src/linux/keyboard-new.c
     91VBoxKeyboard_TARSOURCES = \
     92        $(VBoxKeyboard_SOURCES) \
     93        src/linux/COPYING.LIB \
     94        src/linux/keyboard.h \
     95        src/linux/keyboard-layouts.h \
     96        src/linux/keyboard-list.h \
     97        src/linux/keyboard-tables.h \
     98        src/linux/Makefile
    9099VBoxKeyboard_LIBS     = X11
    91100VBoxKeyboard_LIBPATH  = $(VBOX_LIBPATH_X11)
     101
     102
     103#
     104# vboxkeyboard.tar.gz - the LGPLed keyboard library must always be
     105# redistributed with usable sources.
     106#
     107SOURCE_DIRECTORY = vboxkeyboard
     108DIRECTORY_PREFIX = src/linux/
     109
     110$(PATH_TARGET)/$(SOURCE_DIRECTORY):
     111        $(MKDIR) -p $(@D)
     112        $(LN_SYMLINK) $(abspath $(PATH_CURRENT))/$(DIRECTORY_PREFIX) $@
     113
     114$(PATH_BIN)/vboxkeyboard.tar.gz: $(VBoxKeyboard_TARSOURCES) $(PATH_TARGET)/$(SOURCE_DIRECTORY)
     115        $(call MSG_TOOL,tar,,,$@)
     116        $(QUIET)cd $(PATH_TARGET) && tar -chzf $@ $(addprefix $(SOURCE_DIRECTORY)/,$(subst $(DIRECTORY_PREFIX),,$(VBoxKeyboard_TARSOURCES)))
    92117
    93118
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