2011-03-02 09:20:56 +00:00
|
|
|
#
|
2015-07-08 22:16:40 +00:00
|
|
|
# Copyright (C) 2015 Glyptodon LLC
|
2011-03-02 09:20:56 +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-02 09:20:56 +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-02 09:20:56 +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-02 09:20:56 +00:00
|
|
|
#
|
|
|
|
|
2011-03-01 09:04:29 +00:00
|
|
|
AUTOMAKE_OPTIONS = foreign
|
2010-12-08 21:14:04 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2015-07-08 22:16:40 +00:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = libguac.la
|
2010-12-08 21:14:04 +00:00
|
|
|
|
2013-06-05 18:50:48 +00:00
|
|
|
libguacincdir = $(includedir)/guacamole
|
2015-07-08 22:16:40 +00:00
|
|
|
|
2014-04-09 22:43:09 +00:00
|
|
|
libguacinc_HEADERS = \
|
|
|
|
guacamole/audio.h \
|
|
|
|
guacamole/audio-fntypes.h \
|
|
|
|
guacamole/audio-types.h \
|
2015-06-19 20:51:46 +00:00
|
|
|
guacamole/client-constants.h \
|
2014-04-09 22:43:09 +00:00
|
|
|
guacamole/client.h \
|
2015-06-19 20:51:46 +00:00
|
|
|
guacamole/client-fntypes.h \
|
|
|
|
guacamole/client-types.h \
|
2014-04-09 22:43:09 +00:00
|
|
|
guacamole/error.h \
|
2015-06-19 20:51:46 +00:00
|
|
|
guacamole/error-types.h \
|
2014-04-09 22:43:09 +00:00
|
|
|
guacamole/hash.h \
|
2015-06-19 20:51:46 +00:00
|
|
|
guacamole/instruction-constants.h \
|
2014-04-09 22:43:09 +00:00
|
|
|
guacamole/instruction.h \
|
2015-06-19 20:51:46 +00:00
|
|
|
guacamole/instruction-types.h \
|
2014-04-09 22:43:09 +00:00
|
|
|
guacamole/layer.h \
|
2015-06-19 20:51:46 +00:00
|
|
|
guacamole/layer-types.h \
|
2015-06-19 21:12:27 +00:00
|
|
|
guacamole/object.h \
|
|
|
|
guacamole/object-types.h \
|
2015-06-19 20:51:46 +00:00
|
|
|
guacamole/plugin-constants.h \
|
2014-04-09 22:43:09 +00:00
|
|
|
guacamole/plugin.h \
|
2015-06-19 20:51:46 +00:00
|
|
|
guacamole/plugin-types.h \
|
2014-04-09 22:43:09 +00:00
|
|
|
guacamole/pool.h \
|
2015-06-19 20:51:46 +00:00
|
|
|
guacamole/pool-types.h \
|
2014-04-09 22:43:09 +00:00
|
|
|
guacamole/protocol.h \
|
2015-06-19 20:51:46 +00:00
|
|
|
guacamole/protocol-types.h \
|
|
|
|
guacamole/socket-constants.h \
|
2014-04-09 22:43:09 +00:00
|
|
|
guacamole/socket.h \
|
2015-06-19 20:51:46 +00:00
|
|
|
guacamole/socket-fntypes.h \
|
|
|
|
guacamole/socket-types.h \
|
2014-04-09 22:43:09 +00:00
|
|
|
guacamole/stream.h \
|
2015-06-19 20:51:46 +00:00
|
|
|
guacamole/stream-types.h \
|
2014-04-09 22:43:09 +00:00
|
|
|
guacamole/timestamp.h \
|
2015-06-19 20:51:46 +00:00
|
|
|
guacamole/timestamp-types.h \
|
2013-08-05 22:05:52 +00:00
|
|
|
guacamole/unicode.h
|
2012-04-02 04:49:15 +00:00
|
|
|
|
2013-06-05 18:50:48 +00:00
|
|
|
noinst_HEADERS = \
|
|
|
|
client-handlers.h \
|
2015-08-12 03:36:57 +00:00
|
|
|
encode-jpeg.h \
|
2015-08-11 16:35:23 +00:00
|
|
|
encode-png.h \
|
2013-08-09 00:52:09 +00:00
|
|
|
palette.h \
|
|
|
|
wav_encoder.h
|
2013-06-05 18:50:48 +00:00
|
|
|
|
|
|
|
libguac_la_SOURCES = \
|
2013-08-09 00:52:09 +00:00
|
|
|
audio.c \
|
2013-06-05 18:50:48 +00:00
|
|
|
client.c \
|
|
|
|
client-handlers.c \
|
2015-08-12 03:36:57 +00:00
|
|
|
encode-jpeg.c \
|
2015-08-11 16:35:23 +00:00
|
|
|
encode-png.c \
|
2013-06-05 18:50:48 +00:00
|
|
|
error.c \
|
|
|
|
hash.c \
|
|
|
|
instruction.c \
|
|
|
|
palette.c \
|
|
|
|
plugin.c \
|
|
|
|
pool.c \
|
|
|
|
protocol.c \
|
|
|
|
socket.c \
|
|
|
|
socket-fd.c \
|
|
|
|
socket-nest.c \
|
|
|
|
timestamp.c \
|
2013-08-09 01:45:30 +00:00
|
|
|
unicode.c \
|
|
|
|
wav_encoder.c
|
2013-06-05 18:50:48 +00:00
|
|
|
|
2013-08-09 00:52:09 +00:00
|
|
|
# Compile OGG support if available
|
|
|
|
if ENABLE_OGG
|
|
|
|
libguac_la_SOURCES += ogg_encoder.c
|
|
|
|
noinst_HEADERS += ogg_encoder.h
|
|
|
|
endif
|
|
|
|
|
2015-07-08 22:16:40 +00:00
|
|
|
libguac_la_CFLAGS = \
|
|
|
|
-Werror -Wall -pedantic -Iguacamole
|
|
|
|
|
|
|
|
libguac_la_LDFLAGS = \
|
|
|
|
-version-info 9:0:0 \
|
|
|
|
@CAIRO_LIBS@ \
|
2015-07-31 22:41:55 +00:00
|
|
|
@JPEG_LIBS@ \
|
2015-07-08 22:16:40 +00:00
|
|
|
@PNG_LIBS@ \
|
|
|
|
@PTHREAD_LIBS@ \
|
|
|
|
@UUID_LIBS@ \
|
2015-07-31 22:41:55 +00:00
|
|
|
@VORBIS_LIBS@
|
2015-07-08 22:16:40 +00:00
|
|
|
|
|
|
|
libguac_la_LIBADD = \
|
|
|
|
@LIBADD_DLOPEN@
|