Changeset 10345 in vbox for trunk/src/VBox/Frontends/VirtualBox4
- Timestamp:
- Jul 7, 2008 11:35:05 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/Makefile.kmk
r10344 r10345 25 25 DEPTH = ../../../.. 26 26 include $(KBUILD_PATH)/header.kmk 27 28 # 29 # Globals. 30 # 31 VBOX_VIRTUALBOX4_SRC := $(PATH_SUB_CURRENT) 32 27 33 28 34 # Disable the debugger for now, this is another story. … … 343 349 PROGRAMS += VirtualBox4 344 350 ifeq ($(filter-out freebsd linux openbsd netbsd solaris,$(KBUILD_TARGET)),) # X11 345 DLLS += VBoxKeyboard4 346 ## @todo convert to install target. 347 OTHERS += $(PATH_BIN)/vboxkeyboard4.tar.gz 351 DLLS += VBoxKeyboard4 352 ## @todo convert to install target. 353 OTHERS += $(PATH_BIN)/vboxkeyboard4.tar.gz 354 CLEAN += $(PATH_BIN)/vboxkeyboard4.tar.gz 348 355 endif 349 356 INSTALLS += VirtualBox4.nls qt4-bin 357 350 358 351 359 # … … 355 363 VBoxKeyboard4_SOURCES = \ 356 364 src/linux/keyboard-new.c 357 VBoxKeyboard4_TARSOURCES = \358 $(VBoxKeyboard4_SOURCES) \359 src/linux/COPYING.LIB \360 src/linux/keyboard.h \361 src/linux/keyboard-layouts.h \362 src/linux/keyboard-list.h \363 src/linux/keyboard-tables.h \364 src/linux/keyboard-types.h \365 src/linux/Makefile366 365 VBoxKeyboard4_LIBS = X11 367 366 VBoxKeyboard4_LIBPATH = $(VBOX_LIBPATH_X11) … … 372 371 # redistributed with usable sources. 373 372 # 374 SOURCE_DIRECTORY = vboxkeyboard4 375 DIRECTORY_PREFIX = src/linux/ 376 377 $(PATH_TARGET)/$(SOURCE_DIRECTORY): 378 $(MKDIR) -p $(@D) 379 $(LN_SYMLINK) $(abspath $(PATH_CURRENT))/$(DIRECTORY_PREFIX) $@ 380 381 $(PATH_BIN)/vboxkeyboard4.tar.gz: $(VBoxKeyboard4_TARSOURCES) $(PATH_TARGET)/$(SOURCE_DIRECTORY) 373 # This rule will link create a temporary symlink to src/linux/ and tar 374 # up the selected files into a tarball that is installed into the 375 # bin directory (probably belongs in /usr/shared/somewhere really, 376 # but wtf, it's not like we're even trying to be FHS compliant). 377 # 378 ## @todo this should be tar'ed down into the output directory and installed using an install target. 379 $(PATH_BIN)/vboxkeyboard4.tar.gz: \ 380 $(VBoxKeyboard4_SOURCES) \ 381 src/linux/COPYING.LIB \ 382 src/linux/keyboard.h \ 383 src/linux/keyboard-layouts.h \ 384 src/linux/keyboard-list.h \ 385 src/linux/keyboard-tables.h \ 386 src/linux/keyboard-types.h \ 387 src/linux/Makefile 382 388 $(call MSG_TOOL,tar/gzip,,$@) 383 $(QUIET)cd $(PATH_TARGET) && tar -chf - $(addprefix $(SOURCE_DIRECTORY)/,$(subst $(DIRECTORY_PREFIX),,$(VBoxKeyboard4_TARSOURCES))) | gzip - > $@ 389 $(QUIET2)$(RM) -f $(PATH_TARGET)/vboxkeyboard4 $@ 390 $(QUIET)$(LN_SYMLINK) $(VBOX_VIRTUALBOX4_SRC)/src/linux/ $(PATH_TARGET)/vboxkeyboard4 391 $(QUIET)cd $(PATH_TARGET) \ 392 && tar -chvf - $(addprefix vboxkeyboard4/,$(notdir $^)) \ 393 | gzip - > $@ 394 $(QUIET2)$(RM) -f $(PATH_TARGET)/vboxkeyboard4 384 395 385 396 … … 1094 1105 testwrappers:: $(WRAPPERSFILE) 1095 1106 1096 $(warning VirtualBox4_BLDDIRS=$(VirtualBox4_BLDDIRS))
Note:
See TracChangeset
for help on using the changeset viewer.