2011-03-26 04:58:46 +00:00
|
|
|
#
|
2013-12-29 04:53:12 +00:00
|
|
|
# Copyright (C) 2013 Glyptodon LLC
|
2011-03-26 04:58:46 +00:00
|
|
|
#
|
2013-12-29 04:53:12 +00:00
|
|
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
# of this software and associated documentation files (the "Software"), to deal
|
|
|
|
# in the Software without restriction, including without limitation the rights
|
|
|
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
# copies of the Software, and to permit persons to whom the Software is
|
|
|
|
# furnished to do so, subject to the following conditions:
|
2011-03-26 04:58:46 +00:00
|
|
|
#
|
2013-12-29 04:53:12 +00:00
|
|
|
# The above copyright notice and this permission notice shall be included in
|
|
|
|
# all copies or substantial portions of the Software.
|
2011-03-26 04:58:46 +00:00
|
|
|
#
|
2013-12-29 04:53:12 +00:00
|
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
|
# THE SOFTWARE.
|
2011-03-26 04:58:46 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2013-06-12 05:41:23 +00:00
|
|
|
AM_CFLAGS = -Werror -Wall -Iinclude @LIBGUAC_INCLUDE@
|
2011-03-26 04:58:46 +00:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = libguac-client-rdp.la
|
|
|
|
|
2012-10-28 03:52:48 +00:00
|
|
|
libguac_client_rdp_la_SOURCES = \
|
2014-01-03 06:30:14 +00:00
|
|
|
_generated_keymaps.c \
|
2013-06-28 18:23:19 +00:00
|
|
|
client.c \
|
|
|
|
default_pointer.c \
|
|
|
|
guac_handlers.c \
|
|
|
|
rdp_bitmap.c \
|
|
|
|
rdp_cliprdr.c \
|
2013-11-04 08:50:10 +00:00
|
|
|
rdp_fs.c \
|
2013-06-28 18:23:19 +00:00
|
|
|
rdp_gdi.c \
|
|
|
|
rdp_glyph.c \
|
|
|
|
rdp_keymap.c \
|
|
|
|
rdp_pointer.c \
|
2013-07-26 18:27:11 +00:00
|
|
|
rdp_settings.c \
|
|
|
|
unicode.c
|
2012-05-17 07:48:05 +00:00
|
|
|
|
2013-07-17 18:27:38 +00:00
|
|
|
guacsnd_sources = \
|
2013-06-28 18:23:19 +00:00
|
|
|
guac_rdpsnd/rdpsnd_messages.c \
|
2013-09-24 19:01:02 +00:00
|
|
|
guac_rdpsnd/rdpsnd_service.c
|
2013-06-28 18:23:19 +00:00
|
|
|
|
2013-07-27 18:11:14 +00:00
|
|
|
guacdr_sources = \
|
|
|
|
guac_rdpdr/rdpdr_fs_messages.c \
|
2013-07-31 22:13:11 +00:00
|
|
|
guac_rdpdr/rdpdr_fs_messages_dir_info.c \
|
2013-07-27 18:11:14 +00:00
|
|
|
guac_rdpdr/rdpdr_fs_messages_file_info.c \
|
|
|
|
guac_rdpdr/rdpdr_fs_messages_vol_info.c \
|
|
|
|
guac_rdpdr/rdpdr_fs_service.c \
|
|
|
|
guac_rdpdr/rdpdr_messages.c \
|
|
|
|
guac_rdpdr/rdpdr_printer.c \
|
|
|
|
guac_rdpdr/rdpdr_service.c \
|
2013-11-04 08:50:10 +00:00
|
|
|
rdp_fs.c \
|
2013-07-26 18:27:11 +00:00
|
|
|
unicode.c
|
2013-06-18 20:39:07 +00:00
|
|
|
|
2013-07-27 18:11:14 +00:00
|
|
|
noinst_HEADERS = \
|
|
|
|
compat/client-cliprdr.h \
|
|
|
|
guac_rdpdr/rdpdr_fs_messages.h \
|
2013-07-31 22:13:11 +00:00
|
|
|
guac_rdpdr/rdpdr_fs_messages_dir_info.h \
|
2013-07-27 18:11:14 +00:00
|
|
|
guac_rdpdr/rdpdr_fs_messages_file_info.h \
|
|
|
|
guac_rdpdr/rdpdr_fs_messages_vol_info.h \
|
2013-11-04 08:50:10 +00:00
|
|
|
guac_rdpdr/rdpdr_fs_service.h \
|
2013-07-27 18:11:14 +00:00
|
|
|
guac_rdpdr/rdpdr_messages.h \
|
|
|
|
guac_rdpdr/rdpdr_printer.h \
|
|
|
|
guac_rdpdr/rdpdr_service.h \
|
|
|
|
guac_rdpsnd/rdpsnd_messages.h \
|
|
|
|
guac_rdpsnd/rdpsnd_service.h \
|
|
|
|
client.h \
|
2013-10-25 01:19:21 +00:00
|
|
|
debug.h \
|
2013-07-27 18:11:14 +00:00
|
|
|
default_pointer.h \
|
|
|
|
guac_handlers.h \
|
|
|
|
rdp_bitmap.h \
|
|
|
|
rdp_cliprdr.h \
|
2013-11-04 08:50:10 +00:00
|
|
|
rdp_fs.h \
|
2013-07-27 18:11:14 +00:00
|
|
|
rdp_gdi.h \
|
|
|
|
rdp_glyph.h \
|
|
|
|
rdp_keymap.h \
|
|
|
|
rdp_pointer.h \
|
|
|
|
rdp_settings.h \
|
2013-11-04 08:50:10 +00:00
|
|
|
rdp_status.h \
|
2013-07-26 18:27:11 +00:00
|
|
|
unicode.h
|
2012-05-05 20:30:23 +00:00
|
|
|
|
2013-07-17 02:40:35 +00:00
|
|
|
# Add compatibility layer for WinPR if not available
|
|
|
|
if ! ENABLE_WINPR
|
2013-08-27 00:07:46 +00:00
|
|
|
noinst_HEADERS += compat/winpr-stream.h compat/winpr-wtypes.h
|
2013-07-17 18:27:38 +00:00
|
|
|
guacsnd_sources += compat/winpr-stream.c
|
2013-08-27 00:07:46 +00:00
|
|
|
guacdr_sources += compat/winpr-stream.c
|
2013-07-17 02:40:35 +00:00
|
|
|
endif
|
|
|
|
|
2013-09-24 19:01:02 +00:00
|
|
|
libguac_client_rdp_la_LDFLAGS = -version-info 0:0:0 @RDP_LIBS@ @PTHREAD_LIBS@ @CAIRO_LIBS@
|
|
|
|
guacsnd_ldflags = -module -avoid-version -shared @RDP_LIBS@ @PTHREAD_LIBS@
|
2013-07-17 18:27:38 +00:00
|
|
|
guacdr_ldflags = -module -avoid-version -shared @RDP_LIBS@ @PTHREAD_LIBS@
|
2012-10-28 01:36:21 +00:00
|
|
|
|
2013-06-12 05:41:23 +00:00
|
|
|
libguac_client_rdp_la_LIBADD = @LIBGUAC_LTLIB@
|
2013-07-17 18:27:38 +00:00
|
|
|
guacsnd_libadd = @LIBGUAC_LTLIB@
|
|
|
|
guacdr_libadd = @LIBGUAC_LTLIB@
|
2013-06-05 03:19:33 +00:00
|
|
|
|
2014-01-03 06:24:02 +00:00
|
|
|
# Autogenerate keymaps
|
2014-01-03 06:30:14 +00:00
|
|
|
CLEANFILES = _generated_keymaps.c
|
|
|
|
BUILT_SOURCES = _generated_keymaps.c
|
2014-01-03 06:24:02 +00:00
|
|
|
|
|
|
|
rdp_keymaps = \
|
|
|
|
keymaps/base.keymap \
|
|
|
|
keymaps/en_us_qwerty.keymap
|
|
|
|
|
2014-01-03 06:30:14 +00:00
|
|
|
_generated_keymaps.c: $(rdp_keymaps)
|
2014-01-03 06:24:02 +00:00
|
|
|
keymaps/generate.pl $(rdp_keymaps)
|
|
|
|
|
2013-07-17 18:27:38 +00:00
|
|
|
if LEGACY_FREERDP_EXTENSIONS
|
|
|
|
|
|
|
|
# FreeRDP 1.0-style extensions
|
|
|
|
freerdp_LTLIBRARIES = guacsnd.la guacdr.la
|
2011-03-26 04:58:46 +00:00
|
|
|
|
2013-07-17 18:27:38 +00:00
|
|
|
guacsnd_la_SOURCES = ${guacsnd_sources}
|
|
|
|
guacsnd_la_LDFLAGS = ${guacsnd_ldflags}
|
|
|
|
guacsnd_la_LIBADD = ${guacsnd_libadd}
|
|
|
|
|
|
|
|
guacdr_la_SOURCES = ${guacdr_sources}
|
|
|
|
guacdr_la_LDFLAGS = ${guacdr_ldflags}
|
|
|
|
guacdr_la_LIBADD = ${guacdr_libadd}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
# FreeRDP 1.1 (and hopefully onward) extensions
|
|
|
|
freerdp_LTLIBRARIES = guacsnd-client.la guacdr-client.la
|
|
|
|
|
|
|
|
guacsnd_client_la_SOURCES = ${guacsnd_sources}
|
|
|
|
guacsnd_client_la_LDFLAGS = ${guacsnd_ldflags}
|
|
|
|
guacsnd_client_la_LIBADD = ${guacsnd_libadd}
|
|
|
|
|
|
|
|
guacdr_client_la_SOURCES = ${guacdr_sources}
|
|
|
|
guacdr_client_la_LDFLAGS = ${guacdr_ldflags}
|
|
|
|
guacdr_client_la_LIBADD = ${guacdr_libadd}
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2013-07-19 00:10:04 +00:00
|
|
|
freerdpdir = ${libdir}/freerdp
|
|
|
|
|