- Timestamp:
- Jan 30, 2008 12:10:22 PM (17 years ago)
- Location:
- trunk/src/VBox/Additions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/Makefile.kmk
r6165 r6595 48 48 $(INSTARGET_vboxmod-bin) \ 49 49 $(PATH_BIN)/additions/vboxadd-timesync \ 50 $(PATH_BIN)/additions/ vboxadd-xclient \50 $(PATH_BIN)/additions/VBoxClient \ 51 51 installer/vboxadd-timesync.sh \ 52 52 installer/98vboxadd-xclient \ … … 83 83 $(QUIET)$(INSTALL) -m 0644 installer/test.c $(PATH_TARGET)/install/module/test/ 84 84 $(QUIET)objcopy -S -R .comment $(PATH_BIN)/additions/vboxadd-timesync $(PATH_TARGET)/install/vboxadd-timesync 85 $(QUIET)objcopy -S -R .comment $(PATH_BIN)/additions/ vboxadd-xclient $(PATH_TARGET)/install/vboxadd-xclient85 $(QUIET)objcopy -S -R .comment $(PATH_BIN)/additions/VBoxClient $(PATH_TARGET)/install/VBoxClient 86 86 $(QUIET)$(SED) "s;_VERSION_;$(VBOX_VERSION_STRING);g" installer/install.sh | $(SED) "s;_BUILD_;$(shell date);g" | $(SED) "s;_OSE_;$(VBOX_OSE);g" | $(SED) "s;_BUILDTYPE_;$(BUILD_TYPE);g" > $(PATH_TARGET)/install/install_.sh 87 87 $(QUIET)$(INSTALL) -m 0755 $(PATH_TARGET)/install/install_.sh $(PATH_TARGET)/install/install.sh -
trunk/src/VBox/Additions/x11/xclient/Makefile.kmk
r6580 r6595 1 1 # $Id$ 2 2 ## @file 3 # Makefile for the VirtualBox LinuxGuest Addition X11 Client.3 # Makefile for the VirtualBox Guest Addition X11 Client. 4 4 # 5 5 … … 19 19 include $(PATH_KBUILD)/header.kmk 20 20 21 if1of ($(BUILD_TARGET),linux l4) 21 # 22 # VBoxClient (clipboard) 23 # 24 PROGRAMS += VBoxClient 25 ifneq ($(BUILD_TARGET),linux) 26 VBoxClient_TEMPLATE = VBOXGUESTR3EXE 27 else 28 VBoxClient_TEMPLATE = VBOXLNX32GUESTR3EXE 29 endif 30 VBoxClient_DEFS += VBOX_X11_CLIPBOARD VBOX_HGCM 31 VBoxClient_DEFS += _GNU_SOURCE 32 VBoxClient_SOURCES = \ 33 main.cpp 22 34 23 # 24 # vboxadd-xclient. 25 # 26 PROGRAMS += vboxadd-xclient 27 vboxadd-xclient_TEMPLATE = VBOXLNX32GUESTR3EXE 28 vboxadd-xclient_SOURCES = clipboard.cpp main.cpp 29 vboxadd-xclient_DEFS += VBOX_X11_CLIPBOARD 30 vboxadd-xclient_DEFS += _GNU_SOURCE VBOX_HGCM 31 vboxadd-xclient_LIBPATH = \ 35 ifneq ($(BUILD_TARGET),linux) 36 VBoxClient_SOURCES += \ 37 clipboard-new.cpp 38 VBoxClient_LIBS = \ 39 $(VBOX_LIB_IPRT_GUEST_R3) \ 40 $(VBOX_LIB_VBGL_R3) \ 41 X11 \ 42 Xt 43 else 44 VBoxClient_SOURCES += \ 45 clipboard.cpp 46 VBoxClient_LIBPATH = \ 32 47 $(VBOX_LIBPATH32_X11) 33 vboxadd-xclient_LIBS = \48 VBoxClient_LIBS = \ 34 49 $(PATH_LIB)/RuntimeLnx32GuestR3.a \ 35 50 $(PATH_LIB)/VBoxGuestR3LibLinux.a \ … … 38 53 rt \ 39 54 Xt \ 40 Xext \41 55 X11 56 endif # target linux 42 57 43 58 # 44 # Link aginst libstdc++.a on linux. (http://www.trilithium.com/johan/2005/06/static-libstdc/). 45 # (It would've been preferred to avoid features depending on libstdc++, of course...) 59 # VBoxClient (seamless) 46 60 # 47 vboxadd-xclient_LIBPATH.linux = $(PATH_TARGET)/vboxadd-xclient48 vboxadd-xclient_ORDERDEPS.linux = $(PATH_TARGET)/vboxadd-xclient/libstdc++.a49 vboxadd-xclient_CLEAN.linux = $(PATH_TARGET)/vboxadd-xclient/libstdc++.a50 $(PATH_TARGET)/vboxadd-xclient/libstdc++.a:51 $(call MSG_L1,Forcing static libstdc++)52 $(QUIET)$(MKDIR) -p $(@D)53 $(QUIET)$(LN_EXT) -sf `$(TOOL_$(VBOX_GCC32_TOOL)_CXX) -print-file-name=libstdc++.a` $@ \54 || $(CP_EXT) -f `$(TOOL_$(VBOX_GCC32_TOOL)_CXX) -print-file-name=libstdc++.a` $@55 56 61 ifdef VBOX_X11_SEAMLESS_GUEST 57 vboxadd-xclient_DEFS += SEAMLESS_X11 58 vboxadd-xclient_SOURCES += \ 59 seamless-host.cpp \ 60 seamless-x11.cpp \ 61 thread.cpp 62 VBoxClient_DEFS += SEAMLESS_X11 63 VBoxClient_SOURCES += \ 64 seamless-host.cpp \ 65 seamless-x11.cpp \ 66 thread.cpp 67 VBoxClient_LIBS += \ 68 Xext 62 69 63 70 ifdef VBOX_WITH_TESTCASES … … 81 88 endif 82 89 83 else ifeq ($(BUILD_TARGET),solaris) 90 84 91 # 85 # VBoxClient. 92 # Link aginst libstdc++.a. (http://www.trilithium.com/johan/2005/06/static-libstdc/). 93 # (It would've been preferred to avoid features depending on libstdc++, of course...) 86 94 # 87 ## @todo r=bird: merge this with the linux additions one way or the other, pleaaaase! 88 PROGRAMS += VBoxClient 89 VBoxClient_TEMPLATE = VBOXGUESTR3EXE 90 VBoxClient_DEFS += VBOX_X11_CLIPBOARD VBOX_HGCM 91 VBoxClient_SOURCES = \ 92 clipboard-new.cpp \ 93 main.cpp 94 VBoxClient_LIBS = \ 95 $(VBOX_LIB_IPRT_GUEST_R3) \ 96 $(VBOX_LIB_VBGL_R3) \ 97 X11 \ 98 Xt 99 endif # target solaris 95 VBoxClient_LIBPATH = $(PATH_TARGET)/VBoxClient 96 VBoxClient_ORDERDEPS = $(PATH_TARGET)/VBoxClient/libstdc++.a 97 VBoxClient_CLEAN = $(PATH_TARGET)/VBoxClient/libstdc++.a 98 $(PATH_TARGET)/VBoxClient/libstdc++.a: 99 $(call MSG_L1,Forcing static libstdc++) 100 $(QUIET)$(MKDIR) -p $(@D) 101 $(QUIET)$(LN_EXT) -sf `$(TOOL_$(VBOX_GCC32_TOOL)_CXX) -print-file-name=libstdc++.a` $@ \ 102 || $(CP_EXT) -f `$(TOOL_$(VBOX_GCC32_TOOL)_CXX) -print-file-name=libstdc++.a` $@ 100 103 101 104 include $(PATH_KBUILD)/footer.kmk
Note:
See TracChangeset
for help on using the changeset viewer.