VirtualBox

source: vbox/trunk/src/VBox/RDP/client/Makefile.kmk@ 11611

Last change on this file since 11611 was 11611, checked in by vboxsync, 16 years ago

RDP/client: Solaris build fix

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.9 KB
Line 
1# $Id: Makefile.kmk 11611 2008-08-25 13:47:01Z vboxsync $
2## @file
3# VBox - rdesktop with VRDP enhancements sub-makefile.
4#
5
6#
7# Copyright (C) 2006-2007 Sun Microsystems, Inc.
8#
9# Sun Microsystems, Inc. confidential
10# All rights reserved
11#
12
13ifdef VBOX_KBUILD_HACKING
14SUB_DEPTH = ../../../..
15else
16SUB_DEPTH = ..
17DEPTH ?= ../../../..
18endif
19include $(KBUILD_PATH)/subheader.kmk
20
21# Globals
22VBOX_PATH_RDESKTOP_SRC := $(PATH_SUB_CURRENT)
23VBOX_RDESKTOP_SRC_SUBDIR = rdesktop-1.6.0-vrdp
24
25#
26# The rdesktop-vrdp program.
27#
28PROGRAMS += rdesktop-vrdp
29rdesktop-vrdp_TEMPLATE = VBOXR3NPEXE
30rdesktop-vrdp_SDKS = VBOX_OPENSSL
31rdesktop-vrdp_DEFS = \
32 PACKAGE_NAME=\"rdesktop-vrdp\" PACKAGE_TARNAME=\"rdesktop-vrdp\" PACKAGE_VERSION=\"1.6.0\" \
33 PACKAGE_STRING=\"rdesktop\ 1.6.0\" PACKAGE_BUGREPORT=\"\" STDC_HEADERS=1 L_ENDIAN=1 \
34 HAVE_SYS_TYPES_H=1 HAVE_SYS_STAT_H=1 HAVE_STDLIB_H=1 HAVE_STRING_H=1 HAVE_MEMORY_H=1 \
35 HAVE_STRINGS_H=1 HAVE_INTTYPES_H=1 HAVE_STDINT_H=1 HAVE_UNISTD_H=1 HAVE_SYS_SELECT_H=1 \
36 HAVE_LOCALE_H=1 HAVE_LANGINFO_H=1 HAVE_ICONV_H=1 \
37 EGD_SOCKET=\"/var/run/egd-pool\" WITH_RDPSND=1 HAVE_DIRENT_H=1 HAVE_DIRFD=1 HAVE_DECL_DIRFD=1 \
38 HAVE_ICONV=1 ICONV_CONST= HAVE_SYS_VFS_H=1 HAVE_SYS_STATVFS_H=1 HAVE_SYS_STATFS_H=1 \
39 HAVE_SYS_PARAM_H=1 HAVE_SYS_MOUNT_H=1 HAVE_STRUCT_STATVFS_F_NAMEMAX=1 \
40 KEYMAP_PATH=$(if $(findstring RTPATH_APP_PRIVATE,$(DEFS)),RTPATH_APP_PRIVATE,\"/opt/VirtualBox-$(VBOX_VERSION_STRING)\")\"/rdesktop-vrdp-keymaps\" \
41 WITH_RDPUSB=1 RDESKTOP=1
42
43rdesktop-vrdp_DEFS.linux = \
44 HAVE_MNTENT_H=1 HAVE_SETMNTENT=1 STAT_STATVFS=1 HAVE_STRUCT_STATFS_F_NAMELEN=1 \
45 RDPSND_OSS=1 WITH_RDPUSB=1
46ifdef VBOX_WITHOUT_LINUX_COMPILER_H
47 rdesktop-vrdp_DEFS.linux += VBOX_WITHOUT_LINUX_COMPILER_H
48endif
49# @todo once rdp proxy is available on Solaris, add WITH_RDPUSB=1
50rdesktop-vrdp_DEFS.solaris = \
51 HAVE_SYS_FILIO_H=1 RDPSND_SUN=1 HAVE_ICONV_H=1 ICONV_CONST=const STAT_STATVFS64=1 _FILE_OFFSET_BITS=64
52
53rdesktop-vrdp_SOURCES = \
54 tcp.c \
55 iso.c \
56 mcs.c \
57 secure.c \
58 licence.c \
59 rdp.c \
60 orders.c \
61 bitmap.c \
62 cache.c \
63 rdp5.c \
64 channels.c \
65 rdpdr.c \
66 serial.c \
67 printer.c \
68 disk.c \
69 parallel.c \
70 printercache.c \
71 mppc.c \
72 pstcache.c \
73 lspci.c \
74 seamless.c \
75 ssl.c \
76 rdesktop.c \
77 xwin.c \
78 xkeymap.c \
79 ewmhints.c \
80 xclip.c \
81 cliprdr.c \
82 rdpsnd.c \
83 rdpsnd_dsp.c
84rdesktop-vrdp_SOURCES.linux = \
85 rdpsnd_oss.c \
86 vrdp/rdpusb.c \
87 vrdp/USBProxyDevice-linux.c
88# @todo implement usb proxy for Solaris
89rdesktop-vrdp_SOURCES.solaris = \
90 rdpsnd_sun.c
91rdesktop-vrdp_LIBPATH = \
92 /usr/lib \
93 $(VBOX_LIBPATH_X11)
94rdesktop-vrdp_LIBS = \
95 X11
96
97#
98# The keymaps.
99#
100INSTALLS += rdesktop-vrdp-keymaps
101rdesktop-vrdp-keymaps_INST = $(INST_BIN)rdesktop-vrdp-keymaps/
102rdesktop-vrdp-keymaps_MODE = 644
103rdesktop-vrdp-keymaps_SOURCES = $(wildcard $(rdesktop-vrdp-keymaps_PATH)/keymaps/*)
104
105
106#
107# The source tarball (further down).
108#
109## @todo change this to an INSTALLS target.
110OTHERS += $(PATH_BIN)/rdesktop-vrdp.tar.gz
111OTHER_CLEAN += $(OTHERS) $(PATH_TARGET)/$(VBOX_RDESKTOP_SRC_SUBDIR)
112
113
114include $(KBUILD_PATH)/subfooter.kmk
115
116rdesktop-vrdp_TARSOURCES = \
117 COPYING \
118 README \
119 configure \
120 configure.ac \
121 config.sub \
122 config.guess \
123 bootstrap \
124 install-sh \
125 Makefile.in \
126 proto.head \
127 proto.tail \
128 rdesktop.spec \
129 *.c \
130 *.h \
131 keymaps/?? \
132 keymaps/??-?? \
133 keymaps/common \
134 keymaps/modifiers \
135 keymaps/convert-map \
136 doc/HACKING \
137 doc/AUTHORS \
138 doc/TODO \
139 doc/ChangeLog \
140 doc/keymapping.txt \
141 doc/keymap-names.txt \
142 doc/ipv6.txt \
143 doc/licensing.txt \
144 doc/patches.txt \
145 doc/redirection.txt \
146 doc/rdesktop.1 \
147 vrdp/*.c \
148 vrdp/*.h
149
150$(PATH_TARGET)/$(VBOX_RDESKTOP_SRC_SUBDIR):
151 $(MKDIR) -p $(@D)
152 $(LN_SYMLINK) $(abspath $(VBOX_PATH_RDESKTOP_SRC)) $@
153
154$(PATH_BIN)/rdesktop-vrdp.tar.gz: \
155 $(addprefix $(PATH_ROOT)/src/VBox/RDP/client/,$(rdesktop-vrdp_TARSOURCES)) \
156 | $(PATH_TARGET)/$(VBOX_RDESKTOP_SRC_SUBDIR)
157 $(call MSG_TOOL,tar/gzip,,$@)
158 $(QUIET)cd $(PATH_TARGET) && tar -chf - $(addprefix $(VBOX_RDESKTOP_SRC_SUBDIR)/,$(rdesktop-vrdp_TARSOURCES)) | gzip - > $@
159
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette