139 lines
4.7 KiB
Makefile
139 lines
4.7 KiB
Makefile
#
|
|
# 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
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# 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.
|
|
#
|
|
# 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.
|
|
#
|
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
lib_LTLIBRARIES = libguac-client-spice.la
|
|
|
|
nodist_libguac_client_spice_la_SOURCES = \
|
|
_generated_keymaps.c
|
|
|
|
libguac_client_spice_la_SOURCES = \
|
|
argv.c \
|
|
auth.c \
|
|
channels/audio.c \
|
|
channels/clipboard.c \
|
|
channels/cursor.c \
|
|
channels/display.c \
|
|
channels/file.c \
|
|
channels/file-download.c \
|
|
channels/file-ls.c \
|
|
channels/file-upload.c \
|
|
client.c \
|
|
decompose.c \
|
|
input.c \
|
|
keyboard.c \
|
|
keymap.c \
|
|
log.c \
|
|
settings.c \
|
|
spice.c \
|
|
user.c
|
|
|
|
noinst_HEADERS = \
|
|
argv.h \
|
|
auth.h \
|
|
channels/audio.h \
|
|
channels/clipboard.h \
|
|
channels/cursor.h \
|
|
channels/display.h \
|
|
channels/file.h \
|
|
channels/file-download.h \
|
|
channels/file-ls.h \
|
|
channels/file-upload.h \
|
|
client.h \
|
|
decompose.h \
|
|
input.h \
|
|
keyboard.h \
|
|
keymap.h \
|
|
log.h \
|
|
settings.h \
|
|
spice.h \
|
|
user.h
|
|
|
|
libguac_client_spice_la_CFLAGS = \
|
|
-Werror -Wall -pedantic -Iinclude \
|
|
@COMMON_INCLUDE@ \
|
|
@COMMON_SSH_INCLUDE@ \
|
|
@LIBGUAC_INCLUDE@ \
|
|
@GLIB2_CFLAGS@ \
|
|
@SPICE_CFLAGS@
|
|
|
|
libguac_client_spice_la_LDFLAGS = \
|
|
-version-info 0:0:0 \
|
|
@CAIRO_LIBS@ \
|
|
@GLIB2_LIBS@ \
|
|
@SPICE_LIBS@
|
|
|
|
libguac_client_spice_la_LIBADD = \
|
|
@COMMON_LTLIB@ \
|
|
@LIBGUAC_LTLIB@
|
|
|
|
# Optional SFTP support
|
|
if ENABLE_COMMON_SSH
|
|
libguac_client_spice_la_SOURCES += sftp.c
|
|
noinst_HEADERS += sftp.h
|
|
libguac_client_spice_la_LIBADD += @COMMON_SSH_LTLIB@
|
|
endif
|
|
|
|
#
|
|
# Autogenerated keymaps and channel wrapper functions
|
|
#
|
|
|
|
CLEANFILES = \
|
|
_generated_keymaps.c
|
|
|
|
BUILT_SOURCES = \
|
|
_generated_keymaps.c
|
|
|
|
spice_keymaps = \
|
|
$(srcdir)/keymaps/base.keymap \
|
|
$(srcdir)/keymaps/failsafe.keymap \
|
|
$(srcdir)/keymaps/de_de_qwertz.keymap \
|
|
$(srcdir)/keymaps/de_ch_qwertz.keymap \
|
|
$(srcdir)/keymaps/en_gb_qwerty.keymap \
|
|
$(srcdir)/keymaps/en_us_qwerty.keymap \
|
|
$(srcdir)/keymaps/es_es_qwerty.keymap \
|
|
$(srcdir)/keymaps/es_latam_qwerty.keymap \
|
|
$(srcdir)/keymaps/fr_be_azerty.keymap \
|
|
$(srcdir)/keymaps/fr_ca_qwerty.keymap \
|
|
$(srcdir)/keymaps/fr_ch_qwertz.keymap \
|
|
$(srcdir)/keymaps/fr_fr_azerty.keymap \
|
|
$(srcdir)/keymaps/hu_hu_qwertz.keymap \
|
|
$(srcdir)/keymaps/it_it_qwerty.keymap \
|
|
$(srcdir)/keymaps/ja_jp_qwerty.keymap \
|
|
$(srcdir)/keymaps/no_no_qwerty.keymap \
|
|
$(srcdir)/keymaps/pl_pl_qwerty.keymap \
|
|
$(srcdir)/keymaps/pt_br_qwerty.keymap \
|
|
$(srcdir)/keymaps/sv_se_qwerty.keymap \
|
|
$(srcdir)/keymaps/da_dk_qwerty.keymap \
|
|
$(srcdir)/keymaps/tr_tr_qwerty.keymap
|
|
|
|
_generated_keymaps.c: $(spice_keymaps) $(srcdir)/keymaps/generate.pl
|
|
$(AM_V_GEN) $(srcdir)/keymaps/generate.pl $(spice_keymaps)
|
|
|
|
EXTRA_DIST = \
|
|
$(spice_keymaps) \
|
|
keymaps/generate.pl
|