summaryrefslogtreecommitdiff
path: root/client/x11/Makefile.am
blob: 2bb1c853375d493a81a2325acce39ca3f5492c54 (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
NULL =

SUBDIRS = images

INCLUDES = \
	-DCAIRO_CANVAS_ACCESS_TEST			\
	-DCAIRO_CANVAS_CACHE				\
	-DCAIRO_CANVAS_CACH_IS_SHARED			\
	-DCAIRO_CANVAS_NO_CHUNKS			\
	-DUSE_GLZ					\
	-DUSE_OGL					\
	-I. 						\
	-I..						\
	-I$(top_srcdir)/common				\
	-I$(top_srcdir)/client				\
	$(GL_CFLAGS)					\
	$(ALSA_CFLAGS)					\
	$(FFMPEG_CFLAGS)				\
	$(QCAIRO_CFLAGS)				\
	$(LOG4CPP_CFLAGS)				\
	$(CELT051_CFLAGS)				\
	$(SSL_CFLAGS)					\
	$(XRANDR_CFLAGS)				\
	$(WARN_CFLAGS)                                  \
	$(NULL)


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

bin_PROGRAMS = spicec

spicec_SOURCES =			\
	atomic_count.h			\
	events_loop_p.cpp		\
	events_loop_p.h			\
	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)					\
	$(SPICEC_STATIC_LINKAGE_BDYNAMIC)

spicec_LDADD =						\
	$(QCAIRO_LIBS)					\
	$(FFMPEG_LIBS)					\
	$(ALSA_LIBS)					\
	$(GL_LIBS)					\
	$(XRANDR_LIBS)					\
	-lrt