- Timestamp:
- Jul 3, 2008 3:36:30 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/RDP/client/Makefile.kmk
r9902 r10131 1 1 # $Id$ 2 2 ## @file 3 # VBox - rdesktop with VRDP enhancements makefile.3 # VBox - rdesktop with VRDP enhancements sub-makefile. 4 4 # 5 5 … … 11 11 # 12 12 13 DEPTH = ../../../.. 14 include $(KBUILD_PATH)/header.kmk 13 ifdef VBOX_KBUILD_HACKING 14 SUB_DEPTH = ../../../.. 15 else 16 SUB_DEPTH = .. 17 DEPTH ?= ../../../.. 18 endif 19 include $(KBUILD_PATH)/subheader.kmk 15 20 16 SOURCE_DIRECTORY = rdesktop-1.6.0-vrdp 21 # Globals 22 VBOX_PATH_RDESKTOP_SRC := $(PATH_SUB_CURRENT) 23 VBOX_RDESKTOP_SRC_SUBDIR = rdesktop-1.6.0-vrdp 17 24 18 PROGRAMS = rdesktop-vrdp 19 OTHERS = $(PATH_BIN)/rdesktop-vrdp.tar.gz 20 OTHER_CLEAN = $(OTHERS) $(PATH_TARGET)/$(SOURCE_DIRECTORY) 21 INSTALLS += rdesktop-vrdp-keymaps 22 25 # 26 # The rdesktop-vrdp program. 27 # 28 PROGRAMS += rdesktop-vrdp 23 29 rdesktop-vrdp_TEMPLATE = VBOXR3NPEXE 24 30 # rdesktop-vrdp_SDKS = VBOX_OPENSSL - crap, we don't build everything that's required here. :/ 31 rdesktop-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 43 ifdef VBOX_WITHOUT_LINUX_COMPILER_H 44 rdesktop-vrdp_DEFS += VBOX_WITHOUT_LINUX_COMPILER_H 45 endif 25 46 rdesktop-vrdp_SOURCES = \ 26 47 tcp.c \ … … 58 79 vrdp/rdpusb.c \ 59 80 vrdp/USBProxyDevice-linux.c 60 rdesktop-vrdp_DEFS = \61 PACKAGE_NAME=\"rdesktop-vrdp\" PACKAGE_TARNAME=\"rdesktop-vrdp\" PACKAGE_VERSION=\"1.6.0\" \62 PACKAGE_STRING=\"rdesktop\ 1.6.0\" PACKAGE_BUGREPORT=\"\" STDC_HEADERS=1 L_ENDIAN=1 \63 HAVE_SYS_TYPES_H=1 HAVE_SYS_STAT_H=1 HAVE_STDLIB_H=1 HAVE_STRING_H=1 HAVE_MEMORY_H=1 \64 HAVE_STRINGS_H=1 HAVE_INTTYPES_H=1 HAVE_STDINT_H=1 HAVE_UNISTD_H=1 HAVE_SYS_SELECT_H=1 \65 HAVE_LOCALE_H=1 HAVE_LANGINFO_H=1 HAVE_ICONV_H=1 ssldir=\"/usr\" \66 EGD_SOCKET=\"/var/run/egd-pool\" WITH_RDPSND=1 HAVE_DIRENT_H=1 HAVE_DIRFD=1 HAVE_DECL_DIRFD=1 \67 HAVE_ICONV=1 ICONV_CONST= HAVE_SYS_VFS_H=1 HAVE_SYS_STATVFS_H=1 HAVE_SYS_STATFS_H=1 \68 HAVE_SYS_PARAM_H=1 HAVE_SYS_MOUNT_H=1 STAT_STATVFS=1 HAVE_STRUCT_STATVFS_F_NAMEMAX=1 \69 HAVE_STRUCT_STATFS_F_NAMELEN=1 HAVE_MNTENT_H=1 HAVE_SETMNTENT=1 \70 KEYMAP_PATH=$(if $(findstring RTPATH_APP_PRIVATE,$(DEFS)),RTPATH_APP_PRIVATE,\"/opt/VirtualBox-$(VBOX_VERSION_STRING)\")\"/rdesktop-vrdp-keymaps\" \71 RDPSND_OSS=1 WITH_RDPUSB=1 RDESKTOP=172 ifdef VBOX_WITHOUT_LINUX_COMPILER_H73 rdesktop-vrdp_DEFS += VBOX_WITHOUT_LINUX_COMPILER_H74 endif75 81 rdesktop-vrdp_LIBPATH = \ 76 82 /usr/lib \ … … 80 86 crypto 81 87 88 # 89 # The keymaps. 90 # 91 INSTALLS += rdesktop-vrdp-keymaps 82 92 rdesktop-vrdp-keymaps_INST = $(INST_BIN)rdesktop-vrdp-keymaps 83 93 rdesktop-vrdp-keymaps_MODE = 644 84 94 rdesktop-vrdp-keymaps_SOURCES = $(wildcard keymaps/*) 85 95 86 include $(KBUILD_PATH)/footer.kmk 96 97 # 98 # The source tarball (further down). 99 # 100 ## @todo change this to an INSTALLS target. 101 OTHERS += $(PATH_BIN)/rdesktop-vrdp.tar.gz 102 OTHER_CLEAN += $(OTHERS) $(PATH_TARGET)/$(VBOX_RDESKTOP_SRC_SUBDIR) 103 104 105 include $(KBUILD_PATH)/subfooter.kmk 87 106 88 107 rdesktop-vrdp_TARSOURCES = \ 89 COPYING README configure configure.ac config.sub \ 90 config.guess bootstrap install-sh Makefile.in proto.head \ 91 proto.tail rdesktop.spec *.c *.h keymaps/?? keymaps/??-?? \ 92 keymaps/common keymaps/modifiers keymaps/convert-map \ 93 doc/HACKING doc/AUTHORS doc/TODO doc/ChangeLog \ 94 doc/keymapping.txt doc/keymap-names.txt \ 95 doc/ipv6.txt doc/licensing.txt doc/patches.txt \ 96 doc/redirection.txt doc/rdesktop.1 \ 97 vrdp/*.c vrdp/*.h 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 98 140 99 $(PATH_TARGET)/$( SOURCE_DIRECTORY):141 $(PATH_TARGET)/$(VBOX_RDESKTOP_SRC_SUBDIR): 100 142 $(MKDIR) -p $(@D) 101 $(LN_SYMLINK) $(abspath $( PATH_CURRENT)) $@143 $(LN_SYMLINK) $(abspath $(VBOX_PATH_RDESKTOP_SRC)) $@ 102 144 103 $(PATH_BIN)/rdesktop-vrdp.tar.gz: $(rdesktop-vrdp_TARSOURCES) $(PATH_TARGET)/$(SOURCE_DIRECTORY) 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) 104 148 $(call MSG_TOOL,tar/gzip,,$@) 105 $(QUIET)cd $(PATH_TARGET) && tar -chf - $(addprefix $(SOURCE_DIRECTORY)/,$(rdesktop-vrdp_TARSOURCES)) | gzip - > $@ 149 $(QUIET)cd $(PATH_TARGET) && tar -chf - $(addprefix $(VBOX_RDESKTOP_SRC_SUBDIR)/,$(rdesktop-vrdp_TARSOURCES)) | gzip - > $@ 150
Note:
See TracChangeset
for help on using the changeset viewer.