Makefile.am (9616B)
1# 2# Licensed to the Apache Software Foundation (ASF) under one 3# or more contributor license agreements. See the NOTICE file 4# distributed with this work for additional information 5# regarding copyright ownership. The ASF licenses this file 6# to you under the Apache License, Version 2.0 (the 7# "License"); you may not use this file except in compliance 8# with the License. You may obtain a copy of the License at 9# 10# http://www.apache.org/licenses/LICENSE-2.0 11# 12# Unless required by applicable law or agreed to in writing, 13# software distributed under the License is distributed on an 14# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15# KIND, either express or implied. See the License for the 16# specific language governing permissions and limitations 17# under the License. 18# 19# NOTE: Parts of this file (Makefile.am) are automatically transcluded verbatim 20# into Makefile.in. Though the build system (GNU Autotools) automatically adds 21# its own license boilerplate to the generated Makefile.in, that boilerplate 22# does not apply to the transcluded portions of Makefile.am which are licensed 23# to you by the ASF under the Apache License, Version 2.0, as described above. 24# 25 26AUTOMAKE_OPTIONS = foreign 27ACLOCAL_AMFLAGS = -I m4 28 29lib_LTLIBRARIES = libguac-client-rdp.la 30SUBDIRS = . tests 31 32# 33# Main RDP client library 34# 35 36nodist_libguac_client_rdp_la_SOURCES = \ 37 _generated_channel_entry_wrappers.c \ 38 _generated_keymaps.c 39 40libguac_client_rdp_la_SOURCES = \ 41 argv.c \ 42 beep.c \ 43 bitmap.c \ 44 channels/audio-input/audio-buffer.c \ 45 channels/audio-input/audio-input.c \ 46 channels/cliprdr.c \ 47 channels/common-svc.c \ 48 channels/disp.c \ 49 channels/pipe-svc.c \ 50 channels/rail.c \ 51 channels/rdpdr/rdpdr-fs-messages-dir-info.c \ 52 channels/rdpdr/rdpdr-fs-messages-file-info.c \ 53 channels/rdpdr/rdpdr-fs-messages-vol-info.c \ 54 channels/rdpdr/rdpdr-fs-messages.c \ 55 channels/rdpdr/rdpdr-fs.c \ 56 channels/rdpdr/rdpdr-messages.c \ 57 channels/rdpdr/rdpdr-printer.c \ 58 channels/rdpdr/rdpdr.c \ 59 channels/rdpei.c \ 60 channels/rdpsnd/rdpsnd-messages.c \ 61 channels/rdpsnd/rdpsnd.c \ 62 client.c \ 63 color.c \ 64 decompose.c \ 65 download.c \ 66 error.c \ 67 fs.c \ 68 gdi.c \ 69 glyph.c \ 70 input.c \ 71 keyboard.c \ 72 keymap.c \ 73 log.c \ 74 ls.c \ 75 plugins/channels.c \ 76 plugins/ptr-string.c \ 77 pointer.c \ 78 print-job.c \ 79 rdp.c \ 80 resolution.c \ 81 settings.c \ 82 unicode.c \ 83 upload.c \ 84 user.c 85 86noinst_HEADERS = \ 87 argv.h \ 88 beep.h \ 89 bitmap.h \ 90 channels/audio-input/audio-buffer.h \ 91 channels/audio-input/audio-input.h \ 92 channels/cliprdr.h \ 93 channels/common-svc.h \ 94 channels/disp.h \ 95 channels/pipe-svc.h \ 96 channels/rail.h \ 97 channels/rdpdr/rdpdr-fs-messages-dir-info.h \ 98 channels/rdpdr/rdpdr-fs-messages-file-info.h \ 99 channels/rdpdr/rdpdr-fs-messages-vol-info.h \ 100 channels/rdpdr/rdpdr-fs-messages.h \ 101 channels/rdpdr/rdpdr-fs.h \ 102 channels/rdpdr/rdpdr-messages.h \ 103 channels/rdpdr/rdpdr-printer.h \ 104 channels/rdpdr/rdpdr.h \ 105 channels/rdpei.h \ 106 channels/rdpsnd/rdpsnd-messages.h \ 107 channels/rdpsnd/rdpsnd.h \ 108 client.h \ 109 color.h \ 110 decompose.h \ 111 download.h \ 112 error.h \ 113 fs.h \ 114 gdi.h \ 115 glyph.h \ 116 input.h \ 117 keyboard.h \ 118 keymap.h \ 119 log.h \ 120 ls.h \ 121 plugins/channels.h \ 122 plugins/guacai/guacai-messages.h \ 123 plugins/guacai/guacai.h \ 124 plugins/ptr-string.h \ 125 pointer.h \ 126 print-job.h \ 127 rdp.h \ 128 resolution.h \ 129 settings.h \ 130 unicode.h \ 131 upload.h \ 132 user.h 133 134libguac_client_rdp_la_CFLAGS = \ 135 -Werror -Wall -Iinclude \ 136 @COMMON_INCLUDE@ \ 137 @COMMON_SSH_INCLUDE@ \ 138 @LIBGUAC_INCLUDE@ \ 139 @RDP_CFLAGS@ 140 141libguac_client_rdp_la_LDFLAGS = \ 142 -version-info 0:0:0 \ 143 @CAIRO_LIBS@ \ 144 @PTHREAD_LIBS@ \ 145 @RDP_LIBS@ 146 147libguac_client_rdp_la_LIBADD = \ 148 @COMMON_LTLIB@ \ 149 @LIBGUAC_LTLIB@ 150 151# 152# Plugins for FreeRDP 153# 154 155freerdp_LTLIBRARIES = \ 156 libguac-common-svc-client.la \ 157 libguacai-client.la 158 159freerdpdir = @FREERDP2_PLUGIN_DIR@ 160 161# 162# Common SVC plugin (shared by RDPDR, RDPSND, etc.) 163# 164 165libguac_common_svc_client_la_SOURCES = \ 166 plugins/guac-common-svc/guac-common-svc.c 167 168libguac_common_svc_client_la_CFLAGS = \ 169 -Werror -Wall -Iinclude \ 170 @LIBGUAC_INCLUDE@ \ 171 @RDP_CFLAGS@ 172 173libguac_common_svc_client_la_LDFLAGS = \ 174 -module -avoid-version -shared \ 175 @RDP_LIBS@ 176 177libguac_common_svc_client_la_LIBADD = \ 178 @LIBGUAC_LTLIB@ 179 180# 181# Audio Input 182# 183 184libguacai_client_la_SOURCES = \ 185 channels/audio-input/audio-buffer.c \ 186 plugins/guacai/guacai-messages.c \ 187 plugins/guacai/guacai.c \ 188 plugins/ptr-string.c 189 190libguacai_client_la_CFLAGS = \ 191 -Werror -Wall -Iinclude \ 192 @COMMON_INCLUDE@ \ 193 @COMMON_SSH_INCLUDE@ \ 194 @LIBGUAC_INCLUDE@ \ 195 @RDP_CFLAGS@ 196 197libguacai_client_la_LDFLAGS = \ 198 -module -avoid-version -shared \ 199 @PTHREAD_LIBS@ \ 200 @RDP_LIBS@ 201 202libguacai_client_la_LIBADD = \ 203 @COMMON_LTLIB@ \ 204 @LIBGUAC_LTLIB@ 205 206# 207# Optional SFTP support 208# 209 210if ENABLE_COMMON_SSH 211libguac_client_rdp_la_SOURCES += sftp.c 212noinst_HEADERS += sftp.h 213libguac_client_rdp_la_LIBADD += @COMMON_SSH_LTLIB@ 214endif 215 216# 217# Autogenerated keymaps and channel wrapper functions 218# 219 220CLEANFILES = \ 221 _generated_channel_entry_wrappers.c \ 222 _generated_keymaps.c 223 224BUILT_SOURCES = \ 225 _generated_channel_entry_wrappers.c \ 226 _generated_keymaps.c 227 228rdp_keymaps = \ 229 $(srcdir)/keymaps/base.keymap \ 230 $(srcdir)/keymaps/failsafe.keymap \ 231 $(srcdir)/keymaps/de_de_qwertz.keymap \ 232 $(srcdir)/keymaps/de_ch_qwertz.keymap \ 233 $(srcdir)/keymaps/en_gb_qwerty.keymap \ 234 $(srcdir)/keymaps/en_us_qwerty.keymap \ 235 $(srcdir)/keymaps/es_es_qwerty.keymap \ 236 $(srcdir)/keymaps/es_latam_qwerty.keymap \ 237 $(srcdir)/keymaps/fr_be_azerty.keymap \ 238 $(srcdir)/keymaps/fr_ch_qwertz.keymap \ 239 $(srcdir)/keymaps/fr_fr_azerty.keymap \ 240 $(srcdir)/keymaps/hu_hu_qwertz.keymap \ 241 $(srcdir)/keymaps/it_it_qwerty.keymap \ 242 $(srcdir)/keymaps/ja_jp_qwerty.keymap \ 243 $(srcdir)/keymaps/no_no_qwerty.keymap \ 244 $(srcdir)/keymaps/pl_pl_qwerty.keymap \ 245 $(srcdir)/keymaps/pt_br_qwerty.keymap \ 246 $(srcdir)/keymaps/sv_se_qwerty.keymap \ 247 $(srcdir)/keymaps/da_dk_qwerty.keymap \ 248 $(srcdir)/keymaps/tr_tr_qwerty.keymap 249 250_generated_keymaps.c: $(rdp_keymaps) $(srcdir)/keymaps/generate.pl 251 $(AM_V_GEN) $(srcdir)/keymaps/generate.pl $(rdp_keymaps) 252 253_generated_channel_entry_wrappers.c: $(srcdir)/plugins/channels.h $(srcdir)/plugins/generate-entry-wrappers.pl 254 $(AM_V_GEN) $(srcdir)/plugins/generate-entry-wrappers.pl $(srcdir)/plugins/channels.h 255 256EXTRA_DIST = \ 257 $(rdp_keymaps) \ 258 keymaps/generate.pl \ 259 plugins/generate-entry-wrappers.pl 260