Changeset 6579 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- Jan 29, 2008 9:33:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/xclient/Makefile.kmk
r6469 r6579 20 20 21 21 if1of ($(BUILD_TARGET),linux l4) 22 ifneq ($(USERNAME),bird) # crap23 PROGRAMS = vboxadd-xclient24 endif25 22 26 OTHER_CLEAN = $(PATH_TARGET)/vboxadd-xclient/libstdc++.a 27 23 # 24 # vboxadd-xclient. 25 # 26 PROGRAMS += vboxadd-xclient 28 27 vboxadd-xclient_TEMPLATE = VBOXLNX32GUESTR3EXE 29 28 vboxadd-xclient_SOURCES = clipboard.cpp main.cpp 30 29 vboxadd-xclient_DEFS += VBOX_X11_CLIPBOARD 30 vboxadd-xclient_DEFS += _GNU_SOURCE VBOX_HGCM 31 vboxadd-xclient_LIBPATH = \ 32 $(VBOX_LIBPATH32_X11) 33 vboxadd-xclient_LIBS = \ 34 $(PATH_LIB)/RuntimeLnx32GuestR3.a \ 35 $(PATH_LIB)/VBoxGuestR3LibLinux.a \ 36 $(PATH_LIB)/RuntimeLnx32GuestR3.a \ 37 pthread \ 38 rt \ 39 Xt \ 40 Xext \ 41 X11 31 42 32 ifdef VBOX_X11_SEAMLESS_GUEST 33 vboxadd-xclient_SOURCES += \ 34 seamless-host.cpp \ 35 seamless-x11.cpp \ 36 thread.cpp 37 endif 38 vboxadd-xclient_LIBPATH = $(PATH_TARGET)/vboxadd-xclient $(VBOX_LIBPATH32_X11) 39 # Ugly recursive dependency between the runtime and the guest library. Sorry. 40 vboxadd-xclient_LIBS = \ 41 $(PATH_LIB)/RuntimeLnx32GuestR3.a \ 42 $(PATH_LIB)/VBoxGuestR3LibLinux.a \ 43 $(PATH_LIB)/RuntimeLnx32GuestR3.a \ 44 pthread \ 45 rt \ 46 Xt \ 47 Xext \ 48 X11 49 vboxadd-xclient_DEFS += _GNU_SOURCE VBOX_HGCM 50 51 ifdef VBOX_X11_SEAMLESS_GUEST 52 vboxadd-xclient_DEFS += SEAMLESS_X11 53 endif 54 55 # link agaginst libstdc++.a (http://www.trilithium.com/johan/2005/06/static-libstdc/) 56 $(PATH_TARGET)/vboxadd-xclient/vboxadd-xclient: $(PATH_TARGET)/vboxadd-xclient/libstdc++.a 57 43 # 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...) 46 # 47 vboxadd-xclient_LIBPATH.linux = $(PATH_TARGET)/vboxadd-xclient 48 vboxadd-xclient_DEPS.linux = $(PATH_TARGET)/vboxadd-xclient/libstdc++.a 49 vboxadd-xclient_CLEAN.linux = $(PATH_TARGET)/vboxadd-xclient/libstdc++.a 58 50 $(PATH_TARGET)/vboxadd-xclient/libstdc++.a: 59 51 $(call MSG_L1,Forcing static libstdc++) … … 61 53 62 54 ifdef VBOX_X11_SEAMLESS_GUEST 55 vboxadd-xclient_DEFS += SEAMLESS_X11 56 vboxadd-xclient_SOURCES += \ 57 seamless-host.cpp \ 58 seamless-x11.cpp \ 59 thread.cpp 60 63 61 ifdef VBOX_WITH_TESTCASES 64 # Additional testcase designed to be run manually, which initiates and starts the Linux 65 # guest client part of the seamless additions in the host, faking seamless events from 66 # the host and writing information about guest events to standard output. 67 PROGRAMS += tstSeamlessX11 68 tstSeamlessX11_TEMPLATE = VBOXR3EXE 62 # 63 # Additional testcase designed to be run manually, which initiates and starts the Linux 64 # guest client part of the seamless additions in the host, faking seamless events from 65 # the host and writing information about guest events to standard output. 66 # 67 PROGRAMS += tstSeamlessX11 68 tstSeamlessX11_TEMPLATE = VBOXR3TSTEXE 69 69 tstSeamlessX11_SOURCES = \ 70 71 72 73 70 testcase/tstSeamlessX11.cpp \ 71 seamless-host.cpp \ 72 seamless-x11.cpp \ 73 thread.cpp 74 74 tstSeamlessX11_LIBS = \ 75 $(LIB_RUNTIME) \ 76 Xext \ 77 X11 78 tstSeamlessX11_INST = $(INST_TESTCASE) 75 $(LIB_RUNTIME) \ 76 Xext \ 77 X11 79 78 endif 80 79 endif 81 endif # target linux l482 80 83 ifeq ($(BUILD_TARGET),solaris) 84 PROGRAMS = VBoxClient 85 81 else ifeq ($(BUILD_TARGET),solaris) 82 # 83 # VBoxClient. 84 # 85 ## @todo r=bird: merge this with the linux additions one way or the other, pleaaaase! 86 PROGRAMS += VBoxClient 86 87 VBoxClient_TEMPLATE = VBOXGUESTR3EXE 87 88 VBoxClient_DEFS += VBOX_X11_CLIPBOARD VBOX_HGCM
Note:
See TracChangeset
for help on using the changeset viewer.