Makefile.am (5163B)
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.la 30SUBDIRS = . tests 31 32# 33# Public headers 34# 35 36libguacincdir = $(includedir)/guacamole 37 38libguacinc_HEADERS = \ 39 guacamole/argv.h \ 40 guacamole/argv-constants.h \ 41 guacamole/argv-fntypes.h \ 42 guacamole/audio.h \ 43 guacamole/audio-fntypes.h \ 44 guacamole/audio-types.h \ 45 guacamole/client-constants.h \ 46 guacamole/client.h \ 47 guacamole/client-fntypes.h \ 48 guacamole/client-types.h \ 49 guacamole/error.h \ 50 guacamole/error-types.h \ 51 guacamole/fips.h \ 52 guacamole/hash.h \ 53 guacamole/layer.h \ 54 guacamole/layer-types.h \ 55 guacamole/mem.h \ 56 guacamole/object.h \ 57 guacamole/object-types.h \ 58 guacamole/parser-constants.h \ 59 guacamole/parser.h \ 60 guacamole/parser-types.h \ 61 guacamole/plugin-constants.h \ 62 guacamole/plugin.h \ 63 guacamole/pool.h \ 64 guacamole/pool-types.h \ 65 guacamole/protocol.h \ 66 guacamole/protocol-constants.h \ 67 guacamole/protocol-types.h \ 68 guacamole/recording.h \ 69 guacamole/rwlock.h \ 70 guacamole/socket-constants.h \ 71 guacamole/socket.h \ 72 guacamole/socket-fntypes.h \ 73 guacamole/socket-types.h \ 74 guacamole/stream.h \ 75 guacamole/stream-types.h \ 76 guacamole/string.h \ 77 guacamole/timestamp.h \ 78 guacamole/timestamp-types.h \ 79 guacamole/unicode.h \ 80 guacamole/user.h \ 81 guacamole/user-constants.h \ 82 guacamole/user-fntypes.h \ 83 guacamole/user-types.h \ 84 guacamole/wol.h \ 85 guacamole/wol-constants.h 86 87# 88# Private, installed headers 89# 90 91libguacprivincdir = $(includedir)/guacamole/private 92 93libguacprivinc_HEADERS = \ 94 guacamole/private/mem.h 95 96# 97# Private, non-installed headers 98# 99 100noinst_HEADERS = \ 101 id.h \ 102 encode-jpeg.h \ 103 encode-png.h \ 104 palette.h \ 105 user-handlers.h \ 106 raw_encoder.h \ 107 wait-fd.h 108 109libguac_la_SOURCES = \ 110 argv.c \ 111 audio.c \ 112 client.c \ 113 encode-jpeg.c \ 114 encode-png.c \ 115 error.c \ 116 fips.c \ 117 hash.c \ 118 id.c \ 119 mem.c \ 120 rwlock.c \ 121 palette.c \ 122 parser.c \ 123 pool.c \ 124 protocol.c \ 125 raw_encoder.c \ 126 recording.c \ 127 socket.c \ 128 socket-broadcast.c \ 129 socket-fd.c \ 130 socket-nest.c \ 131 socket-tee.c \ 132 string.c \ 133 timestamp.c \ 134 unicode.c \ 135 user.c \ 136 user-handlers.c \ 137 user-handshake.c \ 138 wait-fd.c \ 139 wol.c 140 141# Compile WebP support if available 142if ENABLE_WEBP 143libguac_la_SOURCES += encode-webp.c 144noinst_HEADERS += encode-webp.h 145endif 146 147# SSL support 148if ENABLE_SSL 149libguac_la_SOURCES += socket-ssl.c 150libguacinc_HEADERS += guacamole/socket-ssl.h 151endif 152 153# Winsock support 154if ENABLE_WINSOCK 155libguac_la_SOURCES += socket-wsa.c 156libguacinc_HEADERS += guacamole/socket-wsa.h 157endif 158 159libguac_la_CFLAGS = \ 160 -Werror -Wall -pedantic 161 162libguac_la_LDFLAGS = \ 163 -version-info 23:0:0 \ 164 -no-undefined \ 165 @CAIRO_LIBS@ \ 166 @DL_LIBS@ \ 167 @JPEG_LIBS@ \ 168 @PNG_LIBS@ \ 169 @PTHREAD_LIBS@ \ 170 @SSL_LIBS@ \ 171 @UUID_LIBS@ \ 172 @VORBIS_LIBS@ \ 173 @WEBP_LIBS@ \ 174 @WINSOCK_LIBS@ 175