Changeset 6687 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- Jan 31, 2008 8:46:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/xclient/Makefile.kmk
r6675 r6687 20 20 21 21 # 22 # VBoxClient (clipboard)22 # VBoxClient - clipboard and seamless. 23 23 # 24 24 PROGRAMS += VBoxClient 25 if1of ($(BUILD_TARGET),linux l4) ## @todo Elimiate this too. 26 VBoxClient_TEMPLATE = VBOXLNX32GUESTR3EXE 27 else 28 VBoxClient_TEMPLATE = VBOXGUESTR3CPPEXE 29 endif 30 VBoxClient_DEFS += VBOX_X11_CLIPBOARD VBOX_HGCM 25 VBoxClient_TEMPLATE = VBOXGUESTR3CPPEXE 26 VBoxClient_DEFS += VBOX_X11_CLIPBOARD VBOX_HGCM 31 27 VBoxClient_DEFS.linux += _GNU_SOURCE 32 VBoxClient_SOURCES 28 VBoxClient_SOURCES = \ 33 29 main.cpp 34 35 if1of ($(BUILD_TARGET),linux l4) 30 if1of ($(BUILD_TARGET),linux l4) ## @todo use clipboard-new.cpp everywhere. 36 31 VBoxClient_SOURCES += \ 37 32 clipboard.cpp 38 VBoxClient_LIBPATH = \39 $(VBOX_LIBPATH32_X11)40 VBoxClient_LIBS = \41 $(PATH_LIB)/RuntimeLnx32GuestR3.a \42 $(PATH_LIB)/VBoxGuestR3LibLinux.a \43 $(PATH_LIB)/RuntimeLnx32GuestR3.a \44 pthread \45 rt \46 Xt \47 X1148 33 else 49 34 VBoxClient_SOURCES += \ 50 35 clipboard-new.cpp 51 VBoxClient_LIBS = \ 36 endif 37 VBoxClient_LIBPATH = \ 38 $(VBOX_LIBPATH32_X11) 39 VBoxClient_LIBS = \ 52 40 $(VBOX_LIB_IPRT_GUEST_R3) \ 53 41 $(VBOX_LIB_VBGL_R3) \ 42 $(VBOX_LIB_IPRT_GUEST_R3) 43 if1of ($(BUILD_TARGET),linux l4) ## @todo solaris and linux has to agree upon something that works for both here, this is kinda silly. 44 VBoxClient_LIBS += \ 54 45 X11 \ 55 46 Xt 56 e ndif # ! linux || l457 58 # 59 # VBoxClient (seamless) 60 # 47 else 48 VBoxClient_LIBS += \ 49 X11 \ 50 Xt 51 endif 61 52 ifdef VBOX_X11_SEAMLESS_GUEST 62 53 VBoxClient_DEFS += SEAMLESS_X11 … … 67 58 VBoxClient_LIBS += \ 68 59 Xext 60 endif 69 61 62 # 63 # Link aginst libstdc++.a. (http://www.trilithium.com/johan/2005/06/static-libstdc/). 64 # (It would've been preferred to avoid features depending on libstdc++, of course...) 65 # 66 VBoxClient_LIBPATH += $(PATH_TARGET)/VBoxClient 67 VBoxClient_ORDERDEPS = $(PATH_TARGET)/VBoxClient/libstdc++.a 68 VBoxClient_CLEAN = $(PATH_TARGET)/VBoxClient/libstdc++.a 69 $(PATH_TARGET)/VBoxClient/libstdc++.a: 70 $(call MSG_L1,Forcing static libstdc++) 71 $(QUIET)$(MKDIR) -p $(@D) 72 $(QUIET)$(LN_EXT) -sf `$(TOOL_$(VBOX_GCC32_TOOL)_CXX) -print-file-name=libstdc++.a` $@ \ 73 || $(CP_EXT) -f `$(TOOL_$(VBOX_GCC32_TOOL)_CXX) -print-file-name=libstdc++.a` $@ 74 75 76 ifdef VBOX_X11_SEAMLESS_GUEST 70 77 ifdef VBOX_WITH_TESTCASES 71 78 # … … 75 82 # 76 83 PROGRAMS += tstSeamlessX11 77 tstSeamlessX11_TEMPLATE 78 tstSeamlessX11_SOURCES 84 tstSeamlessX11_TEMPLATE = VBOXR3TSTEXE 85 tstSeamlessX11_SOURCES = \ 79 86 testcase/tstSeamlessX11.cpp \ 80 87 seamless-host.cpp \ 81 88 seamless-x11.cpp \ 82 89 thread.cpp 83 tstSeamlessX11_LIBS 90 tstSeamlessX11_LIBS = \ 84 91 $(LIB_RUNTIME) \ 85 92 Xext \ … … 88 95 endif 89 96 90 91 #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...)94 #95 VBoxClient_LIBPATH += $(PATH_TARGET)/VBoxClient96 VBoxClient_ORDERDEPS = $(PATH_TARGET)/VBoxClient/libstdc++.a97 VBoxClient_CLEAN = $(PATH_TARGET)/VBoxClient/libstdc++.a98 $(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` $@103 104 97 include $(PATH_KBUILD)/footer.kmk
Note:
See TracChangeset
for help on using the changeset viewer.