VirtualBox

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

Last change on this file since 11043 was 10139, checked in by vboxsync, 17 years ago

build fix.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.6 KB
Line 
1# $Id: Makefile.kmk 10139 2008-07-03 04:27:32Z 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
30# rdesktop-vrdp_SDKS = VBOX_OPENSSL - crap, we don't build everything that's required here. :/
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 ssldir=\"/usr\" \
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 STAT_STATVFS=1 HAVE_STRUCT_STATVFS_F_NAMEMAX=1 \
40 HAVE_STRUCT_STATFS_F_NAMELEN=1 HAVE_MNTENT_H=1 HAVE_SETMNTENT=1 \
41 KEYMAP_PATH=$(if $(findstring RTPATH_APP_PRIVATE,$(DEFS)),RTPATH_APP_PRIVATE,\"/opt/VirtualBox-$(VBOX_VERSION_STRING)\")\"/rdesktop-vrdp-keymaps\" \
42 RDPSND_OSS=1 WITH_RDPUSB=1 RDESKTOP=1
43ifdef VBOX_WITHOUT_LINUX_COMPILER_H
44 rdesktop-vrdp_DEFS += VBOX_WITHOUT_LINUX_COMPILER_H
45endif
46rdesktop-vrdp_SOURCES = \
47 tcp.c \
48 iso.c \
49 mcs.c \
50 secure.c \
51 licence.c \
52 rdp.c \
53 orders.c \
54 bitmap.c \
55 cache.c \
56 rdp5.c \
57 channels.c \
58 rdpdr.c \
59 serial.c \
60 printer.c \
61 disk.c \
62 parallel.c \
63 printercache.c \
64 mppc.c \
65 pstcache.c \
66 lspci.c \
67 seamless.c \
68 ssl.c \
69 rdesktop.c \
70 xwin.c \
71 xkeymap.c \
72 ewmhints.c \
73 xclip.c \
74 cliprdr.c \
75 rdpsnd.c \
76 rdpsnd_dsp.c \
77 rdpsnd_oss.c
78rdesktop-vrdp_SOURCES += \
79 vrdp/rdpusb.c \
80 vrdp/USBProxyDevice-linux.c
81rdesktop-vrdp_LIBPATH = \
82 /usr/lib \
83 $(VBOX_LIBPATH_X11)
84rdesktop-vrdp_LIBS = \
85 X11 \
86 crypto
87
88#
89# The keymaps.
90#
91INSTALLS += rdesktop-vrdp-keymaps
92rdesktop-vrdp-keymaps_INST = $(INST_BIN)rdesktop-vrdp-keymaps/
93rdesktop-vrdp-keymaps_MODE = 644
94rdesktop-vrdp-keymaps_SOURCES = $(wildcard $(rdesktop-vrdp-keymaps_PATH)/keymaps/*)
95
96
97#
98# The source tarball (further down).
99#
100## @todo change this to an INSTALLS target.
101OTHERS += $(PATH_BIN)/rdesktop-vrdp.tar.gz
102OTHER_CLEAN += $(OTHERS) $(PATH_TARGET)/$(VBOX_RDESKTOP_SRC_SUBDIR)
103
104
105include $(KBUILD_PATH)/subfooter.kmk
106
107rdesktop-vrdp_TARSOURCES = \
108 COPYING \
109 README \
110 configure \
111 configure.ac \
112 config.sub \
113 config.guess \
114 bootstrap \
115 install-sh \
116 Makefile.in \
117 proto.head \
118 proto.tail \
119 rdesktop.spec \
120 *.c \
121 *.h \
122 keymaps/?? \
123 keymaps/??-?? \
124 keymaps/common \
125 keymaps/modifiers \
126 keymaps/convert-map \
127 doc/HACKING \
128 doc/AUTHORS \
129 doc/TODO \
130 doc/ChangeLog \
131 doc/keymapping.txt \
132 doc/keymap-names.txt \
133 doc/ipv6.txt \
134 doc/licensing.txt \
135 doc/patches.txt \
136 doc/redirection.txt \
137 doc/rdesktop.1 \
138 vrdp/*.c \
139 vrdp/*.h
140
141$(PATH_TARGET)/$(VBOX_RDESKTOP_SRC_SUBDIR):
142 $(MKDIR) -p $(@D)
143 $(LN_SYMLINK) $(abspath $(VBOX_PATH_RDESKTOP_SRC)) $@
144
145$(PATH_BIN)/rdesktop-vrdp.tar.gz: \
146 $(addprefix $(PATH_ROOT)/src/VBox/RDP/client/,$(rdesktop-vrdp_TARSOURCES)) \
147 | $(PATH_TARGET)/$(VBOX_RDESKTOP_SRC_SUBDIR)
148 $(call MSG_TOOL,tar/gzip,,$@)
149 $(QUIET)cd $(PATH_TARGET) && tar -chf - $(addprefix $(VBOX_RDESKTOP_SRC_SUBDIR)/,$(rdesktop-vrdp_TARSOURCES)) | gzip - > $@
150
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