GUACAMOLE-249: Migrate to plugin naming style used by FreeRDP 2.0.0.

This commit is contained in:
Michael Jumper 2019-10-14 11:39:00 -07:00
parent 6dc8b57ca4
commit 77a32398e5

View File

@ -29,6 +29,10 @@ ACLOCAL_AMFLAGS = -I m4
lib_LTLIBRARIES = libguac-client-rdp.la lib_LTLIBRARIES = libguac-client-rdp.la
SUBDIRS = . tests SUBDIRS = . tests
#
# Main RDP client library
#
nodist_libguac_client_rdp_la_SOURCES = \ nodist_libguac_client_rdp_la_SOURCES = \
_generated_keymaps.c _generated_keymaps.c
@ -59,34 +63,6 @@ libguac_client_rdp_la_SOURCES = \
unicode.c \ unicode.c \
user.c user.c
guacai_sources = \
audio_input.c \
guac_ai/ai_messages.c \
guac_ai/ai_service.c \
ptr_string.c
guacsvc_sources = \
guac_svc/svc_service.c \
rdp_svc.c
guacsnd_sources = \
guac_rdpsnd/rdpsnd_messages.c \
guac_rdpsnd/rdpsnd_service.c
guacdr_sources = \
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 \
rdp_print_job.c \
rdp_stream.c \
unicode.c
noinst_HEADERS = \ noinst_HEADERS = \
guac_ai/ai_messages.h \ guac_ai/ai_messages.h \
guac_ai/ai_service.h \ guac_ai/ai_service.h \
@ -128,10 +104,6 @@ noinst_HEADERS = \
unicode.h \ unicode.h \
user.h user.h
#
# Main RDP client library
#
libguac_client_rdp_la_CFLAGS = \ libguac_client_rdp_la_CFLAGS = \
-Werror -Wall -Iinclude \ -Werror -Wall -Iinclude \
@COMMON_INCLUDE@ \ @COMMON_INCLUDE@ \
@ -149,85 +121,125 @@ libguac_client_rdp_la_LIBADD = \
@COMMON_LTLIB@ \ @COMMON_LTLIB@ \
@LIBGUAC_LTLIB@ @LIBGUAC_LTLIB@
#
# Plugins for FreeRDP
#
freerdp_LTLIBRARIES = \
libguacai-client.la
# libguacdr-client.la \
# libguacsnd-client.la \
# libguacsvc-client.la
freerdpdir = ${libdir}/freerdp2
# #
# RDPDR # RDPDR
# #
guacdr_cflags = \ #libguacdr_client_la_SOURCES = \
-Werror -Wall -Iinclude \ # guac_rdpdr/rdpdr_fs_messages.c \
@COMMON_INCLUDE@ \ # guac_rdpdr/rdpdr_fs_messages_dir_info.c \
@COMMON_SSH_INCLUDE@ \ # guac_rdpdr/rdpdr_fs_messages_file_info.c \
@LIBGUAC_INCLUDE@ \ # guac_rdpdr/rdpdr_fs_messages_vol_info.c \
@RDP_CFLAGS@ # guac_rdpdr/rdpdr_fs_service.c \
# guac_rdpdr/rdpdr_messages.c \
guacdr_ldflags = \ # guac_rdpdr/rdpdr_printer.c \
-module -avoid-version -shared \ # guac_rdpdr/rdpdr_service.c \
@PTHREAD_LIBS@ \ # rdp_fs.c \
@RDP_LIBS@ # rdp_print_job.c \
# rdp_stream.c \
guacdr_libadd = \ # unicode.c
@COMMON_LTLIB@ \ #
@LIBGUAC_LTLIB@ #libguacdr_client_la_CFLAGS = \
# -Werror -Wall -Iinclude \
# @COMMON_INCLUDE@ \
# @COMMON_SSH_INCLUDE@ \
# @LIBGUAC_INCLUDE@ \
# @RDP_CFLAGS@
#
#libguacdr_client_la_LDFLAGS = \
# -module -avoid-version -shared \
# @PTHREAD_LIBS@ \
# @RDP_LIBS@
#
#libguacdr_client_la_LIBADD = \
# @COMMON_LTLIB@ \
# @LIBGUAC_LTLIB@
# #
# Audio Input # Audio Input
# #
guacai_cflags = \ libguacai_client_la_SOURCES = \
audio_input.c \
guac_ai/ai_messages.c \
guac_ai/ai_service.c \
ptr_string.c
libguacai_client_la_CFLAGS = \
-Werror -Wall -Iinclude \ -Werror -Wall -Iinclude \
@COMMON_INCLUDE@ \ @COMMON_INCLUDE@ \
@COMMON_SSH_INCLUDE@ \ @COMMON_SSH_INCLUDE@ \
@LIBGUAC_INCLUDE@ \ @LIBGUAC_INCLUDE@ \
@RDP_CFLAGS@ @RDP_CFLAGS@
guacai_ldflags = \ libguacai_client_la_LDFLAGS = \
-module -avoid-version -shared \ -module -avoid-version -shared \
@PTHREAD_LIBS@ \ @PTHREAD_LIBS@ \
@RDP_LIBS@ @RDP_LIBS@
guacai_libadd = \ libguacai_client_la_LIBADD = \
@COMMON_LTLIB@ \ @COMMON_LTLIB@ \
@LIBGUAC_LTLIB@ @LIBGUAC_LTLIB@
# #
# RDPSND # RDPSND
# #
guacsnd_cflags = \ #libguacsnd_client_la_SOURCES = \
-Werror -Wall -Iinclude \ # guac_rdpsnd/rdpsnd_messages.c \
@COMMON_INCLUDE@ \ # guac_rdpsnd/rdpsnd_service.c
@COMMON_SSH_INCLUDE@ \ #
@LIBGUAC_INCLUDE@ \ #libguacsnd_client_la_CFLAGS = \
@RDP_CFLAGS@ # -Werror -Wall -Iinclude \
# @COMMON_INCLUDE@ \
guacsnd_ldflags = \ # @COMMON_SSH_INCLUDE@ \
-module -avoid-version -shared \ # @LIBGUAC_INCLUDE@ \
@PTHREAD_LIBS@ \ # @RDP_CFLAGS@
@RDP_LIBS@ #
#libguacsnd_client_la_LDFLAGS = \
guacsnd_libadd = \ # -module -avoid-version -shared \
@COMMON_LTLIB@ \ # @PTHREAD_LIBS@ \
@LIBGUAC_LTLIB@ # @RDP_LIBS@
#
#libguacsnd_client_la_LIBADD = \
# @COMMON_LTLIB@ \
# @LIBGUAC_LTLIB@
# #
# Static Virtual Channels # Static Virtual Channels
# #
guacsvc_cflags = \ #libguacsvc_client_la_SOURCES = \
-Werror -Wall -Iinclude \ # guac_svc/svc_service.c \
@COMMON_INCLUDE@ \ # rdp_svc.c
@COMMON_SSH_INCLUDE@ \ #
@LIBGUAC_INCLUDE@ \ #libguacsvc_client_la_CFLAGS = \
@RDP_CFLAGS@ # -Werror -Wall -Iinclude \
# @COMMON_INCLUDE@ \
guacsvc_ldflags = \ # @COMMON_SSH_INCLUDE@ \
-module -avoid-version -shared \ # @LIBGUAC_INCLUDE@ \
@PTHREAD_LIBS@ \ # @RDP_CFLAGS@
@RDP_LIBS@ #
#libguacsvc_client_la_LDFLAGS = \
guacsvc_libadd = \ # -module -avoid-version -shared \
@COMMON_LTLIB@ \ # @PTHREAD_LIBS@ \
@LIBGUAC_LTLIB@ # @RDP_LIBS@
#
#libguacsvc_client_la_LIBADD = \
# @COMMON_LTLIB@ \
# @LIBGUAC_LTLIB@
# #
# Optional SFTP support # Optional SFTP support
@ -270,32 +282,3 @@ EXTRA_DIST = \
$(rdp_keymaps) \ $(rdp_keymaps) \
keymaps/generate.pl keymaps/generate.pl
# FreeRDP 1.1 (and hopefully onward) extensions
freerdp_LTLIBRARIES = \
guacai-client.la
# guacdr-client.la \
# guacsnd-client.la \
# guacsvc-client.la
guacai_client_la_SOURCES = ${guacai_sources}
guacai_client_la_CFLAGS = ${guacai_cflags}
guacai_client_la_LDFLAGS = ${guacai_ldflags}
guacai_client_la_LIBADD = ${guacai_libadd}
#guacdr_client_la_SOURCES = ${guacdr_sources}
#guacdr_client_la_CFLAGS = ${guacdr_cflags}
#guacdr_client_la_LDFLAGS = ${guacdr_ldflags}
#guacdr_client_la_LIBADD = ${guacdr_libadd}
#guacsnd_client_la_SOURCES = ${guacsnd_sources}
#guacsnd_client_la_CFLAGS = ${guacsnd_cflags}
#guacsnd_client_la_LDFLAGS = ${guacsnd_ldflags}
#guacsnd_client_la_LIBADD = ${guacsnd_libadd}
#guacsvc_client_la_SOURCES = ${guacsvc_sources}
#guacsvc_client_la_CFLAGS = ${guacsvc_cflags}
#guacsvc_client_la_LDFLAGS = ${guacsvc_ldflags}
#guacsvc_client_la_LIBADD = ${guacsvc_libadd}
freerdpdir = ${libdir}/freerdp