guacamole-spice-protocol/src/guacd/Makefile.am

84 lines
2.1 KiB
Makefile
Raw Normal View History

2011-03-02 09:21:34 +00:00
#
# Copyright (C) 2015 Glyptodon LLC
2011-03-02 09:21:34 +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:21:34 +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:21:34 +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:21:34 +00:00
#
2011-02-28 04:27:12 +00:00
AUTOMAKE_OPTIONS = foreign
2011-02-28 04:27:12 +00:00
2010-12-18 01:02:19 +00:00
sbin_PROGRAMS = guacd
2014-09-09 20:45:18 +00:00
man_MANS = \
man/guacd.8 \
man/guacd.conf.5
2011-02-28 04:27:12 +00:00
noinst_HEADERS = \
client.h \
client-map.h \
conf-args.h \
conf-file.h \
conf-parse.h \
log.h
guacd_SOURCES = \
daemon.c \
client.c \
client-map.c \
conf-args.c \
conf-file.c \
conf-parse.c \
log.c
guacd_CFLAGS = \
-Werror -Wall -pedantic \
@COMMON_INCLUDE@ \
@LIBGUAC_INCLUDE@
guacd_LDADD = \
@COMMON_LTLIB@ \
@LIBGUAC_LTLIB@
guacd_LDFLAGS = \
@PTHREAD_LIBS@ \
@SSL_LIBS@
EXTRA_DIST = \
init.d/guacd.in \
man/guacd.8 \
man/guacd.conf.5
2011-02-28 04:27:12 +00:00
CLEANFILES = $(init_SCRIPTS)
2013-07-22 03:10:37 +00:00
# SSL support
if ENABLE_SSL
noinst_HEADERS += socket-ssl.h
guacd_SOURCES += socket-ssl.c
endif
# Init script
if ENABLE_INIT
initdir = @init_dir@
init_SCRIPTS = init.d/guacd
2011-02-28 04:27:12 +00:00
init.d/guacd: init.d/guacd.in
sed -e 's,[@]sbindir[@],$(sbindir),g' < init.d/guacd.in > init.d/guacd
chmod +x init.d/guacd
endif
2011-02-28 04:27:12 +00:00