summaryrefslogtreecommitdiffstats
path: root/server/Makefile.am
blob: 97e7dfed28dc4beec6f6c0ffd9ad2fc547686d8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
NULL =
SUBDIRS = . tests

AM_CPPFLAGS =					\
	-DRED_STATISTICS			\
	$(CELT051_CFLAGS)			\
	$(COMMON_CFLAGS)			\
	$(PIXMAN_CFLAGS)			\
	$(SASL_CFLAGS)				\
	$(SLIRP_CFLAGS)				\
	$(SMARTCARD_CFLAGS)			\
	$(SSL_CFLAGS)				\
	$(VISIBILITY_HIDDEN_CFLAGS)		\
	$(WARN_CFLAGS)				\
	$(NULL)

lib_LTLIBRARIES = libspice-server.la

libspice_server_la_LDFLAGS =			\
	-version-number $(SPICE_LT_VERSION)	\
	-no-undefined				\
	$(NULL)

if HAVE_LD_VERSION_SCRIPT
libspice_server_la_LDFLAGS += \
	-Wl,--version-script=$(top_srcdir)/server/spice-server.syms
endif

libspice_server_la_LIBADD =						\
	$(top_builddir)/spice-common/common/libspice-common.la		\
	$(top_builddir)/spice-common/common/libspice-common-server.la	\
	$(CELT051_LIBS)							\
	$(GL_LIBS)							\
	$(JPEG_LIBS)							\
	$(LIBRT)							\
	$(PIXMAN_LIBS)							\
	$(SASL_LIBS)							\
	$(SLIRP_LIBS)							\
	$(SSL_LIBS)							\
	$(Z_LIBS)							\
	$(NULL)

libspice_server_la_SOURCES =			\
	agent-msg-filter.c			\
	agent-msg-filter.h			\
	char_device.h				\
	demarshallers.h				\
	glz_encoder.c				\
	glz_encoder.h				\
	glz_encoder_config.h			\
	glz_encoder_dictionary.c		\
	glz_encoder_dictionary.h		\
	glz_encoder_dictionary_protected.h	\
	inputs_channel.c			\
	inputs_channel.h			\
	jpeg_encoder.c				\
	jpeg_encoder.h				\
	main_channel.c				\
	main_channel.h				\
	mjpeg_encoder.c				\
	mjpeg_encoder.h				\
	red_bitmap_utils.h			\
	red_channel.c				\
	red_channel.h				\
	red_client_cache.h			\
	red_client_shared_cache.h		\
	red_common.h				\
	dispatcher.c				\
	dispatcher.h				\
	red_dispatcher.c			\
	red_dispatcher.h			\
	main_dispatcher.c			\
	main_dispatcher.h			\
	red_memslots.c				\
	red_memslots.h				\
	red_parse_qxl.c				\
	red_parse_qxl.h				\
	red_worker.c				\
	red_worker.h				\
	reds.c					\
	reds.h					\
	reds_sw_canvas.c			\
	reds_sw_canvas.h			\
	snd_worker.c				\
	snd_worker.h				\
	spice-experimental.h			\
	spice.h					\
	stat.h					\
	spicevmc.c				\
	zlib_encoder.c				\
	zlib_encoder.h				\
	$(NULL)

if SUPPORT_TUNNEL
libspice_server_la_SOURCES +=	\
	red_tunnel_worker.c	\
	red_tunnel_worker.h	\
	$(NULL)
endif

if SUPPORT_GL
libspice_server_la_SOURCES +=	\
	reds_gl_canvas.c	\
	reds_gl_canvas.h	\
	$(NULL)
endif

if SUPPORT_SMARTCARD
libspice_server_la_SOURCES +=	\
	smartcard.c		\
	smartcard.h		\
	$(NULL)
endif

libspice_serverincludedir = $(includedir)/spice-server
libspice_serverinclude_HEADERS =		\
	spice.h					\
	spice-experimental.h			\
	$(NULL)

EXTRA_DIST =					\
	glz_encode_match_tmpl.c			\
	glz_encode_tmpl.c			\
	spice-server.syms			\
	$(NULL)

BUILT_SOURCES = $(spice_built_sources)