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

54 lines
1.7 KiB
Makefile
Raw Normal View History

2011-03-02 09:21:34 +00:00
#
# Copyright (C) 2013 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
AM_CFLAGS = -Werror -Wall -pedantic @LIBGUAC_INCLUDE@
2011-03-25 06:14:20 +00:00
2010-12-18 01:02:19 +00:00
sbin_PROGRAMS = guacd
2011-12-11 07:45:09 +00:00
man_MANS = man/guacd.8
2011-02-28 04:27:12 +00:00
2013-06-05 18:50:48 +00:00
noinst_HEADERS = client.h log.h
guacd_SOURCES = daemon.c client.c log.c
guacd_LDADD = @LIBGUAC_LTLIB@
2013-07-22 03:10:37 +00:00
guacd_LDFLAGS = @PTHREAD_LIBS@ @SSL_LIBS@
2011-02-28 04:27:12 +00:00
EXTRA_DIST = init.d/guacd.in man/guacd.8
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