2011-03-25 21:58:46 -07:00
|
|
|
#
|
2016-03-25 13:03:33 -07:00
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
# or more contributor license agreements. See the NOTICE file
|
|
|
|
# distributed with this work for additional information
|
|
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
|
|
# to you under the Apache License, Version 2.0 (the
|
|
|
|
# "License"); you may not use this file except in compliance
|
|
|
|
# with the License. You may obtain a copy of the License at
|
2011-03-25 21:58:46 -07:00
|
|
|
#
|
2016-03-25 13:03:33 -07:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2011-03-25 21:58:46 -07:00
|
|
|
#
|
2016-03-25 13:03:33 -07:00
|
|
|
# Unless required by applicable law or agreed to in writing,
|
|
|
|
# software distributed under the License is distributed on an
|
|
|
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
# KIND, either express or implied. See the License for the
|
|
|
|
# specific language governing permissions and limitations
|
|
|
|
# under the License.
|
2011-03-25 21:58:46 -07:00
|
|
|
#
|
2018-02-08 16:05:33 -08:00
|
|
|
# NOTE: Parts of this file (Makefile.am) are automatically transcluded verbatim
|
|
|
|
# into Makefile.in. Though the build system (GNU Autotools) automatically adds
|
|
|
|
# its own license boilerplate to the generated Makefile.in, that boilerplate
|
|
|
|
# does not apply to the transcluded portions of Makefile.am which are licensed
|
|
|
|
# to you by the ASF under the Apache License, Version 2.0, as described above.
|
|
|
|
#
|
2011-03-25 21:58:46 -07:00
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libguac-client-rdp.la
|
2019-04-07 13:55:15 -07:00
|
|
|
SUBDIRS = . tests
|
2011-03-25 21:58:46 -07:00
|
|
|
|
2016-11-12 18:56:18 -08:00
|
|
|
nodist_libguac_client_rdp_la_SOURCES = \
|
|
|
|
_generated_keymaps.c
|
|
|
|
|
2012-10-27 20:52:48 -07:00
|
|
|
libguac_client_rdp_la_SOURCES = \
|
2016-04-16 15:54:26 -07:00
|
|
|
audio_input.c \
|
2019-10-06 14:44:06 -07:00
|
|
|
channels.c \
|
2015-07-08 15:16:40 -07:00
|
|
|
client.c \
|
2019-10-11 17:01:26 -07:00
|
|
|
clipboard.c \
|
2018-01-28 01:00:02 -08:00
|
|
|
decompose.c \
|
2019-10-13 15:30:02 -07:00
|
|
|
disp.c \
|
2017-02-11 11:53:34 -08:00
|
|
|
error.c \
|
2016-02-29 21:50:00 -08:00
|
|
|
input.c \
|
2016-08-13 17:33:30 -07:00
|
|
|
keyboard.c \
|
2016-04-16 17:13:39 -07:00
|
|
|
ptr_string.c \
|
2019-10-14 11:12:53 -07:00
|
|
|
rail.c \
|
2016-02-29 21:50:00 -08:00
|
|
|
rdp.c \
|
2015-07-08 15:16:40 -07:00
|
|
|
rdp_bitmap.c \
|
|
|
|
rdp_color.c \
|
|
|
|
rdp_fs.c \
|
|
|
|
rdp_gdi.c \
|
|
|
|
rdp_glyph.c \
|
|
|
|
rdp_keymap.c \
|
2017-02-13 23:51:33 -08:00
|
|
|
rdp_print_job.c \
|
2015-07-08 15:16:40 -07:00
|
|
|
rdp_pointer.c \
|
|
|
|
rdp_settings.c \
|
|
|
|
rdp_stream.c \
|
|
|
|
resolution.c \
|
2016-02-29 21:50:00 -08:00
|
|
|
unicode.c \
|
|
|
|
user.c
|
2012-05-17 00:48:05 -07:00
|
|
|
|
2016-04-17 01:00:42 -07:00
|
|
|
guacai_sources = \
|
2016-04-18 00:32:51 -07:00
|
|
|
audio_input.c \
|
2016-04-17 01:00:42 -07:00
|
|
|
guac_ai/ai_messages.c \
|
|
|
|
guac_ai/ai_service.c \
|
|
|
|
ptr_string.c
|
2016-04-16 15:54:26 -07:00
|
|
|
|
2014-03-01 16:42:39 -08:00
|
|
|
guacsvc_sources = \
|
2015-07-08 15:16:40 -07:00
|
|
|
guac_svc/svc_service.c \
|
|
|
|
rdp_svc.c
|
2014-03-01 16:42:39 -08:00
|
|
|
|
2013-07-17 11:27:38 -07:00
|
|
|
guacsnd_sources = \
|
2015-07-08 15:16:40 -07:00
|
|
|
guac_rdpsnd/rdpsnd_messages.c \
|
|
|
|
guac_rdpsnd/rdpsnd_service.c
|
2013-06-28 11:23:19 -07:00
|
|
|
|
2013-07-27 11:11:14 -07:00
|
|
|
guacdr_sources = \
|
2015-07-08 15:16:40 -07:00
|
|
|
guac_rdpdr/rdpdr_fs_messages.c \
|
|
|
|
guac_rdpdr/rdpdr_fs_messages_dir_info.c \
|
|
|
|
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 \
|
|
|
|
rdp_fs.c \
|
2017-02-13 23:51:33 -08:00
|
|
|
rdp_print_job.c \
|
2015-07-08 15:16:40 -07:00
|
|
|
rdp_stream.c \
|
|
|
|
unicode.c
|
2013-06-18 13:39:07 -07:00
|
|
|
|
2013-07-27 11:11:14 -07:00
|
|
|
noinst_HEADERS = \
|
2016-04-17 01:00:42 -07:00
|
|
|
guac_ai/ai_messages.h \
|
2016-04-16 15:54:26 -07:00
|
|
|
guac_ai/ai_service.h \
|
2015-07-08 15:16:40 -07:00
|
|
|
guac_rdpdr/rdpdr_fs_messages.h \
|
|
|
|
guac_rdpdr/rdpdr_fs_messages_dir_info.h \
|
|
|
|
guac_rdpdr/rdpdr_fs_messages_file_info.h \
|
|
|
|
guac_rdpdr/rdpdr_fs_messages_vol_info.h \
|
|
|
|
guac_rdpdr/rdpdr_fs_service.h \
|
|
|
|
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 \
|
|
|
|
guac_svc/svc_service.h \
|
2016-04-16 15:54:26 -07:00
|
|
|
audio_input.h \
|
2015-07-08 15:16:40 -07:00
|
|
|
client.h \
|
2019-10-11 17:01:26 -07:00
|
|
|
clipboard.h \
|
2019-10-06 14:44:06 -07:00
|
|
|
channels.h \
|
2018-01-28 01:00:02 -08:00
|
|
|
decompose.h \
|
2019-10-13 15:30:02 -07:00
|
|
|
disp.h \
|
2017-02-11 11:53:34 -08:00
|
|
|
error.h \
|
2016-02-29 21:50:00 -08:00
|
|
|
input.h \
|
2016-08-13 17:33:30 -07:00
|
|
|
keyboard.h \
|
2016-04-16 17:13:39 -07:00
|
|
|
ptr_string.h \
|
2019-10-14 11:12:53 -07:00
|
|
|
rail.h \
|
2016-02-29 21:50:00 -08:00
|
|
|
rdp.h \
|
2015-07-08 15:16:40 -07:00
|
|
|
rdp_bitmap.h \
|
|
|
|
rdp_color.h \
|
|
|
|
rdp_fs.h \
|
|
|
|
rdp_gdi.h \
|
|
|
|
rdp_glyph.h \
|
|
|
|
rdp_keymap.h \
|
|
|
|
rdp_pointer.h \
|
2017-02-13 23:51:33 -08:00
|
|
|
rdp_print_job.h \
|
2015-07-08 15:16:40 -07:00
|
|
|
rdp_settings.h \
|
|
|
|
rdp_status.h \
|
|
|
|
rdp_stream.h \
|
|
|
|
resolution.h \
|
2016-02-29 21:50:00 -08:00
|
|
|
unicode.h \
|
|
|
|
user.h
|
2012-05-05 13:30:23 -07:00
|
|
|
|
2015-07-08 15:16:40 -07:00
|
|
|
#
|
|
|
|
# Main RDP client library
|
|
|
|
#
|
|
|
|
|
|
|
|
libguac_client_rdp_la_CFLAGS = \
|
|
|
|
-Werror -Wall -Iinclude \
|
|
|
|
@COMMON_INCLUDE@ \
|
2015-07-10 21:55:28 -07:00
|
|
|
@COMMON_SSH_INCLUDE@ \
|
2019-10-11 16:42:30 -07:00
|
|
|
@LIBGUAC_INCLUDE@ \
|
|
|
|
@RDP_CFLAGS@
|
2012-10-27 18:36:21 -07:00
|
|
|
|
2015-07-08 15:16:40 -07:00
|
|
|
libguac_client_rdp_la_LDFLAGS = \
|
|
|
|
-version-info 0:0:0 \
|
|
|
|
@CAIRO_LIBS@ \
|
|
|
|
@PTHREAD_LIBS@ \
|
|
|
|
@RDP_LIBS@
|
2013-06-04 20:19:33 -07:00
|
|
|
|
2015-07-08 15:16:40 -07:00
|
|
|
libguac_client_rdp_la_LIBADD = \
|
|
|
|
@COMMON_LTLIB@ \
|
|
|
|
@LIBGUAC_LTLIB@
|
|
|
|
|
|
|
|
#
|
|
|
|
# RDPDR
|
|
|
|
#
|
|
|
|
|
|
|
|
guacdr_cflags = \
|
|
|
|
-Werror -Wall -Iinclude \
|
|
|
|
@COMMON_INCLUDE@ \
|
2015-07-10 21:55:28 -07:00
|
|
|
@COMMON_SSH_INCLUDE@ \
|
2019-10-11 16:42:30 -07:00
|
|
|
@LIBGUAC_INCLUDE@ \
|
|
|
|
@RDP_CFLAGS@
|
2015-07-08 15:16:40 -07:00
|
|
|
|
|
|
|
guacdr_ldflags = \
|
|
|
|
-module -avoid-version -shared \
|
|
|
|
@PTHREAD_LIBS@ \
|
|
|
|
@RDP_LIBS@
|
|
|
|
|
|
|
|
guacdr_libadd = \
|
|
|
|
@COMMON_LTLIB@ \
|
|
|
|
@LIBGUAC_LTLIB@
|
|
|
|
|
2016-04-16 15:54:26 -07:00
|
|
|
#
|
|
|
|
# Audio Input
|
|
|
|
#
|
|
|
|
|
|
|
|
guacai_cflags = \
|
|
|
|
-Werror -Wall -Iinclude \
|
|
|
|
@COMMON_INCLUDE@ \
|
|
|
|
@COMMON_SSH_INCLUDE@ \
|
2019-10-11 16:42:30 -07:00
|
|
|
@LIBGUAC_INCLUDE@ \
|
|
|
|
@RDP_CFLAGS@
|
2016-04-16 15:54:26 -07:00
|
|
|
|
|
|
|
guacai_ldflags = \
|
|
|
|
-module -avoid-version -shared \
|
|
|
|
@PTHREAD_LIBS@ \
|
2017-11-06 12:20:25 -05:00
|
|
|
@RDP_LIBS@
|
2016-04-16 15:54:26 -07:00
|
|
|
|
|
|
|
guacai_libadd = \
|
|
|
|
@COMMON_LTLIB@ \
|
|
|
|
@LIBGUAC_LTLIB@
|
|
|
|
|
2015-07-08 15:16:40 -07:00
|
|
|
#
|
|
|
|
# RDPSND
|
|
|
|
#
|
|
|
|
|
|
|
|
guacsnd_cflags = \
|
|
|
|
-Werror -Wall -Iinclude \
|
|
|
|
@COMMON_INCLUDE@ \
|
2015-07-10 21:55:28 -07:00
|
|
|
@COMMON_SSH_INCLUDE@ \
|
2019-10-11 16:42:30 -07:00
|
|
|
@LIBGUAC_INCLUDE@ \
|
|
|
|
@RDP_CFLAGS@
|
2015-07-08 15:16:40 -07:00
|
|
|
|
|
|
|
guacsnd_ldflags = \
|
|
|
|
-module -avoid-version -shared \
|
|
|
|
@PTHREAD_LIBS@ \
|
|
|
|
@RDP_LIBS@
|
|
|
|
|
|
|
|
guacsnd_libadd = \
|
|
|
|
@COMMON_LTLIB@ \
|
|
|
|
@LIBGUAC_LTLIB@
|
|
|
|
|
|
|
|
#
|
|
|
|
# Static Virtual Channels
|
|
|
|
#
|
|
|
|
|
|
|
|
guacsvc_cflags = \
|
|
|
|
-Werror -Wall -Iinclude \
|
|
|
|
@COMMON_INCLUDE@ \
|
2015-07-10 21:55:28 -07:00
|
|
|
@COMMON_SSH_INCLUDE@ \
|
2019-10-11 16:42:30 -07:00
|
|
|
@LIBGUAC_INCLUDE@ \
|
|
|
|
@RDP_CFLAGS@
|
2015-07-08 15:16:40 -07:00
|
|
|
|
|
|
|
guacsvc_ldflags = \
|
|
|
|
-module -avoid-version -shared \
|
|
|
|
@PTHREAD_LIBS@ \
|
|
|
|
@RDP_LIBS@
|
|
|
|
|
|
|
|
guacsvc_libadd = \
|
|
|
|
@COMMON_LTLIB@ \
|
|
|
|
@LIBGUAC_LTLIB@
|
|
|
|
|
2015-07-10 22:26:37 -07:00
|
|
|
#
|
|
|
|
# Optional SFTP support
|
|
|
|
#
|
|
|
|
|
|
|
|
if ENABLE_COMMON_SSH
|
|
|
|
libguac_client_rdp_la_SOURCES += sftp.c
|
|
|
|
noinst_HEADERS += sftp.h
|
|
|
|
libguac_client_rdp_la_LIBADD += @COMMON_SSH_LTLIB@
|
|
|
|
endif
|
|
|
|
|
2015-07-08 15:16:40 -07:00
|
|
|
#
|
2014-01-02 22:24:02 -08:00
|
|
|
# Autogenerate keymaps
|
2015-07-08 15:16:40 -07:00
|
|
|
#
|
|
|
|
|
2014-01-02 22:30:14 -08:00
|
|
|
CLEANFILES = _generated_keymaps.c
|
|
|
|
BUILT_SOURCES = _generated_keymaps.c
|
2014-01-02 22:24:02 -08:00
|
|
|
|
|
|
|
rdp_keymaps = \
|
2017-10-12 15:11:27 +02:00
|
|
|
$(srcdir)/keymaps/base.keymap \
|
|
|
|
$(srcdir)/keymaps/failsafe.keymap \
|
|
|
|
$(srcdir)/keymaps/de_de_qwertz.keymap \
|
2018-11-20 14:10:36 +01:00
|
|
|
$(srcdir)/keymaps/de_ch_qwertz.keymap \
|
2017-11-13 22:26:29 +00:00
|
|
|
$(srcdir)/keymaps/en_gb_qwerty.keymap \
|
2017-10-12 15:11:27 +02:00
|
|
|
$(srcdir)/keymaps/en_us_qwerty.keymap \
|
2017-11-13 22:57:21 +00:00
|
|
|
$(srcdir)/keymaps/es_es_qwerty.keymap \
|
2017-10-12 15:11:27 +02:00
|
|
|
$(srcdir)/keymaps/fr_fr_azerty.keymap \
|
|
|
|
$(srcdir)/keymaps/fr_ch_qwertz.keymap \
|
|
|
|
$(srcdir)/keymaps/it_it_qwerty.keymap \
|
|
|
|
$(srcdir)/keymaps/ja_jp_qwerty.keymap \
|
2017-11-13 22:43:42 +00:00
|
|
|
$(srcdir)/keymaps/pt_br_qwerty.keymap \
|
2018-01-09 10:53:05 +03:00
|
|
|
$(srcdir)/keymaps/sv_se_qwerty.keymap \
|
2019-01-22 16:24:56 +01:00
|
|
|
$(srcdir)/keymaps/da_dk_qwerty.keymap \
|
2018-01-09 10:53:05 +03:00
|
|
|
$(srcdir)/keymaps/tr_tr_qwerty.keymap
|
2014-01-02 22:24:02 -08:00
|
|
|
|
2014-01-02 22:30:14 -08:00
|
|
|
_generated_keymaps.c: $(rdp_keymaps)
|
2017-10-12 15:11:27 +02:00
|
|
|
$(srcdir)/keymaps/generate.pl $(rdp_keymaps)
|
2014-01-02 22:24:02 -08:00
|
|
|
|
2015-07-08 15:16:40 -07:00
|
|
|
EXTRA_DIST = \
|
|
|
|
$(rdp_keymaps) \
|
|
|
|
keymaps/generate.pl
|
2014-03-26 11:07:45 -07:00
|
|
|
|
2013-07-17 11:27:38 -07:00
|
|
|
# FreeRDP 1.1 (and hopefully onward) extensions
|
2015-07-08 15:16:40 -07:00
|
|
|
freerdp_LTLIBRARIES = \
|
2017-03-25 19:59:04 -07:00
|
|
|
guacai-client.la
|
|
|
|
# guacdr-client.la \
|
|
|
|
# guacsnd-client.la \
|
|
|
|
# guacsvc-client.la
|
2014-03-01 16:42:39 -08:00
|
|
|
|
2016-04-16 15:54:26 -07:00
|
|
|
guacai_client_la_SOURCES = ${guacai_sources}
|
|
|
|
guacai_client_la_CFLAGS = ${guacai_cflags}
|
|
|
|
guacai_client_la_LDFLAGS = ${guacai_ldflags}
|
|
|
|
guacai_client_la_LIBADD = ${guacai_libadd}
|
|
|
|
|
2017-03-25 19:59:04 -07:00
|
|
|
#guacdr_client_la_SOURCES = ${guacdr_sources}
|
|
|
|
#guacdr_client_la_CFLAGS = ${guacdr_cflags}
|
|
|
|
#guacdr_client_la_LDFLAGS = ${guacdr_ldflags}
|
|
|
|
#guacdr_client_la_LIBADD = ${guacdr_libadd}
|
2013-07-17 11:27:38 -07:00
|
|
|
|
2017-03-25 19:59:04 -07:00
|
|
|
#guacsnd_client_la_SOURCES = ${guacsnd_sources}
|
|
|
|
#guacsnd_client_la_CFLAGS = ${guacsnd_cflags}
|
|
|
|
#guacsnd_client_la_LDFLAGS = ${guacsnd_ldflags}
|
|
|
|
#guacsnd_client_la_LIBADD = ${guacsnd_libadd}
|
2013-07-17 11:27:38 -07:00
|
|
|
|
2017-03-25 19:59:04 -07:00
|
|
|
#guacsvc_client_la_SOURCES = ${guacsvc_sources}
|
|
|
|
#guacsvc_client_la_CFLAGS = ${guacsvc_cflags}
|
|
|
|
#guacsvc_client_la_LDFLAGS = ${guacsvc_ldflags}
|
|
|
|
#guacsvc_client_la_LIBADD = ${guacsvc_libadd}
|
2013-07-17 11:27:38 -07:00
|
|
|
|
2013-07-18 17:10:04 -07:00
|
|
|
freerdpdir = ${libdir}/freerdp
|
|
|
|
|