118 lines
3.5 KiB
Makefile
118 lines
3.5 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.
|
|
#
|
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
lib_LTLIBRARIES = libguac.la
|
|
|
|
libguacincdir = $(includedir)/guacamole
|
|
|
|
libguacinc_HEADERS = \
|
|
guacamole/audio.h \
|
|
guacamole/audio-fntypes.h \
|
|
guacamole/audio-types.h \
|
|
guacamole/client-constants.h \
|
|
guacamole/client.h \
|
|
guacamole/client-fntypes.h \
|
|
guacamole/client-types.h \
|
|
guacamole/error.h \
|
|
guacamole/error-types.h \
|
|
guacamole/hash.h \
|
|
guacamole/layer.h \
|
|
guacamole/layer-types.h \
|
|
guacamole/object.h \
|
|
guacamole/object-types.h \
|
|
guacamole/parser-constants.h \
|
|
guacamole/parser.h \
|
|
guacamole/parser-types.h \
|
|
guacamole/plugin-constants.h \
|
|
guacamole/plugin.h \
|
|
guacamole/pool.h \
|
|
guacamole/pool-types.h \
|
|
guacamole/protocol.h \
|
|
guacamole/protocol-types.h \
|
|
guacamole/socket-constants.h \
|
|
guacamole/socket.h \
|
|
guacamole/socket-fntypes.h \
|
|
guacamole/socket-types.h \
|
|
guacamole/stream.h \
|
|
guacamole/stream-types.h \
|
|
guacamole/timestamp.h \
|
|
guacamole/timestamp-types.h \
|
|
guacamole/unicode.h \
|
|
guacamole/user.h \
|
|
guacamole/user-constants.h \
|
|
guacamole/user-fntypes.h \
|
|
guacamole/user-types.h
|
|
|
|
noinst_HEADERS = \
|
|
id.h \
|
|
encode-jpeg.h \
|
|
encode-png.h \
|
|
palette.h \
|
|
user-handlers.h \
|
|
raw_encoder.h
|
|
|
|
libguac_la_SOURCES = \
|
|
audio.c \
|
|
client.c \
|
|
encode-jpeg.c \
|
|
encode-png.c \
|
|
error.c \
|
|
hash.c \
|
|
id.c \
|
|
palette.c \
|
|
parser.c \
|
|
pool.c \
|
|
protocol.c \
|
|
raw_encoder.c \
|
|
socket.c \
|
|
socket-broadcast.c \
|
|
socket-fd.c \
|
|
socket-nest.c \
|
|
socket-tee.c \
|
|
timestamp.c \
|
|
unicode.c \
|
|
user.c \
|
|
user-handlers.c
|
|
|
|
# Compile WebP support if available
|
|
if ENABLE_WEBP
|
|
libguac_la_SOURCES += encode-webp.c
|
|
noinst_HEADERS += encode-webp.h
|
|
endif
|
|
|
|
|
|
libguac_la_CFLAGS = \
|
|
-Werror -Wall -pedantic -Iguacamole
|
|
|
|
libguac_la_LDFLAGS = \
|
|
-version-info 13:0:1 \
|
|
@CAIRO_LIBS@ \
|
|
@JPEG_LIBS@ \
|
|
@PNG_LIBS@ \
|
|
@PTHREAD_LIBS@ \
|
|
@UUID_LIBS@ \
|
|
@VORBIS_LIBS@ \
|
|
@WEBP_LIBS@
|
|
|
|
libguac_la_LIBADD = \
|
|
@LIBADD_DLOPEN@
|