summaryrefslogtreecommitdiffstats
path: root/client/x11/Makefile.am
blob: e5a3b773920716d92f5c436b0cf78889deafd9fa (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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
NULL =

COMMON_DIR=$(SPICE_COMMON_SRCDIR)
CLIENT_DIR=$(top_srcdir)/client

SUBDIRS = images

INCLUDES = \
	-DCAIRO_CANVAS_ACCESS_TEST			\
	-DCAIRO_CANVAS_CACHE				\
	-DCAIRO_CANVAS_NO_CHUNKS			\
	-DUSE_GLZ					\
	-DUSE_OGL					\
	-D__STDC_LIMIT_MACROS				\
	-I.						\
	-I..						\
	-I$(COMMON_DIR)					\
	-I$(COMMON_DIR)/linux				\
	-I$(CLIENT_DIR)					\
	$(PROTOCOL_CFLAGS)				\
	$(GL_CFLAGS)					\
	$(ALSA_CFLAGS)					\
	$(PIXMAN_CFLAGS)				\
	$(LOG4CPP_CFLAGS)				\
	$(CELT051_CFLAGS)				\
	$(SSL_CFLAGS)					\
	$(XRANDR_CFLAGS)				\
	$(MISC_X_CFLAGS)				\
	$(CEGUI_CFLAGS)					\
	$(WARN_CFLAGS)                                  \
	$(SPICE_NONPKGCONFIG_CFLAGS)			\
	$(NULL)


RED_COMMON_SRCS =					\
	$(CLIENT_DIR)/application.cpp			\
	$(CLIENT_DIR)/application.h			\
	$(CLIENT_DIR)/audio_channels.h			\
	$(CLIENT_DIR)/audio_devices.h			\
	$(CLIENT_DIR)/cache.hpp				\
	$(CLIENT_DIR)/cairo_canvas.cpp			\
	$(CLIENT_DIR)/canvas.cpp			\
	$(CLIENT_DIR)/canvas.h				\
	$(CLIENT_DIR)/canvas_utils.cpp			\
	$(CLIENT_DIR)/red_cairo_canvas.cpp		\
	$(CLIENT_DIR)/red_cairo_canvas.h		\
	$(CLIENT_DIR)/cmd_line_parser.cpp		\
	$(CLIENT_DIR)/cmd_line_parser.h			\
	$(CLIENT_DIR)/client_net_socket.cpp		\
	$(CLIENT_DIR)/client_net_socket.h		\
	$(CLIENT_DIR)/common.h				\
	$(CLIENT_DIR)/cursor_channel.cpp		\
	$(CLIENT_DIR)/cursor_channel.h			\
	$(CLIENT_DIR)/cursor.cpp			\
	$(CLIENT_DIR)/cursor.h				\
	$(CLIENT_DIR)/debug.h				\
	$(CLIENT_DIR)/display_channel.cpp		\
	$(CLIENT_DIR)/display_channel.h			\
	$(CLIENT_DIR)/red_gl_canvas.cpp			\
	$(CLIENT_DIR)/red_gl_canvas.h			\
	$(CLIENT_DIR)/gl_canvas.cpp			\
	$(CLIENT_DIR)/glc.cpp				\
	$(CLIENT_DIR)/glz_decoded_image.h		\
	$(CLIENT_DIR)/glz_decoder_config.h		\
	$(CLIENT_DIR)/glz_decoder.cpp			\
	$(CLIENT_DIR)/glz_decoder.h			\
	$(CLIENT_DIR)/glz_decoder_window.cpp		\
	$(CLIENT_DIR)/glz_decoder_window.h		\
	$(CLIENT_DIR)/inputs_channel.cpp		\
	$(CLIENT_DIR)/inputs_channel.h			\
	$(CLIENT_DIR)/inputs_handler.h			\
	$(CLIENT_DIR)/lz.cpp				\
	$(CLIENT_DIR)/lines.cpp				\
	$(CLIENT_DIR)/monitor.cpp			\
	$(CLIENT_DIR)/monitor.h				\
	$(CLIENT_DIR)/mem.cpp				\
	$(CLIENT_DIR)/menu.cpp				\
	$(CLIENT_DIR)/menu.h				\
	$(CLIENT_DIR)/mjpeg_decoder.h			\
	$(CLIENT_DIR)/mjpeg_decoder.cpp			\
	$(CLIENT_DIR)/pixels_source.h			\
	$(CLIENT_DIR)/pixman_utils.cpp			\
	$(CLIENT_DIR)/platform.h			\
	$(CLIENT_DIR)/playback_channel.cpp		\
	$(CLIENT_DIR)/process_loop.cpp			\
	$(CLIENT_DIR)/quic.cpp				\
	$(CLIENT_DIR)/record_channel.cpp		\
	$(CLIENT_DIR)/red_channel.cpp			\
	$(CLIENT_DIR)/red_channel.h			\
	$(CLIENT_DIR)/red_client.cpp			\
	$(CLIENT_DIR)/red_client.h			\
	$(CLIENT_DIR)/red_drawable.h			\
	$(CLIENT_DIR)/red_key.h				\
	$(CLIENT_DIR)/red_peer.cpp			\
	$(CLIENT_DIR)/red_peer.h			\
	$(CLIENT_DIR)/red_pixmap_cairo.h		\
	$(CLIENT_DIR)/red_pixmap_gl.h			\
	$(CLIENT_DIR)/red_pixmap.h			\
	$(CLIENT_DIR)/red_types.h			\
	$(CLIENT_DIR)/red_window.h			\
	$(CLIENT_DIR)/region.cpp			\
	$(CLIENT_DIR)/rop3.cpp				\
	$(CLIENT_DIR)/screen.cpp			\
	$(CLIENT_DIR)/screen.h				\
	$(CLIENT_DIR)/screen_layer.cpp			\
	$(CLIENT_DIR)/screen_layer.h			\
	$(CLIENT_DIR)/shared_cache.hpp			\
	$(CLIENT_DIR)/hot_keys.cpp			\
	$(CLIENT_DIR)/hot_keys.h			\
	$(CLIENT_DIR)/threads.cpp			\
	$(CLIENT_DIR)/tunnel_channel.cpp		\
	$(CLIENT_DIR)/tunnel_channel.h			\
	$(CLIENT_DIR)/utils.cpp				\
	$(CLIENT_DIR)/utils.h				\
	$(CLIENT_DIR)/icon.h				\
	$(CLIENT_DIR)/gui/softrenderer.h		\
	$(CLIENT_DIR)/gui/softrenderer.cpp		\
	$(CLIENT_DIR)/gui/softtexture.h			\
	$(CLIENT_DIR)/gui/softtexture.cpp		\
	$(CLIENT_DIR)/gui/resource_provider.h		\
	$(CLIENT_DIR)/gui/resource_provider.cpp		\
	$(CLIENT_DIR)/gui/gui.h				\
	$(CLIENT_DIR)/gui/gui.cpp			\
	$(NULL)

bin_PROGRAMS = spicec

spicec_SOURCES =			\
	atomic_count.h			\
	event_sources_p.cpp		\
	main.cpp			\
	named_pipe.h                    \
	named_pipe.cpp                  \
	pixels_source.cpp		\
	pixels_source_p.h		\
	platform.cpp			\
	platform_utils.h                \
	platform_utils.cpp              \
	playback.cpp			\
	playback.h			\
	record.cpp			\
	record.h			\
	red_drawable.cpp		\
	red_pixmap.cpp			\
	red_pixmap_cairo.cpp		\
	red_pixmap_gl.cpp		\
	red_window.cpp			\
	red_window_p.h			\
	res.cpp				\
	res.h				\
	resource.h			\
	x_icon.cpp			\
	x_icon.h			\
	x_platform.h			\
	$(RED_COMMON_SRCS)		\
	$(NULL)

spicec_LDFLAGS = \
	$(SPICEC_STATIC_LINKAGE_BSTATIC)		\
	$(LOG4CPP_LIBS)					\
	$(CELT051_LIBS)					\
	$(SSL_LIBS)					\
	$(CEGUI_LIBS)					\
	$(JPEG_LIBS)					\
	$(SPICE_NONPKGCONFIG_LIBS)

spicec_LDADD =						\
	$(PIXMAN_LIBS)					\
	$(ALSA_LIBS)					\
	$(GL_LIBS)					\
	$(XRANDR_LIBS)					\
	$(MISC_X_LIBS)					\
	$(CEGUI_LIBS)					\
	-lrt