summaryrefslogtreecommitdiffstats
path: root/client/Makefile.am
blob: 255787eb230dc5c53f37c9572745444963e62704 (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
NULL =

SUBDIRS = . $(red_target)
DIST_SUBDIRS = x11 #windows

spice_built_sources = generated_demarshallers.cpp generated_marshallers.cpp generated_demarshallers1.cpp generated_marshallers1.cpp

generated_demarshallers.cpp: $(top_srcdir)/spice.proto
	$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-demarshallers --client --include common.h --include messages.h $(top_srcdir)/spice.proto generated_demarshallers.cpp

generated_demarshallers1.cpp: $(top_srcdir)/spice1.proto
	$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-demarshallers --client --include common.h --include messages.h --prefix 1 $(top_srcdir)/spice1.proto generated_demarshallers1.cpp

generated_marshallers.cpp: $(top_srcdir)/spice.proto
	$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-marshallers -P --include messages.h --include marshallers.h --client $(top_srcdir)/spice.proto generated_marshallers.cpp

generated_marshallers1.cpp: $(top_srcdir)/spice1.proto
	$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-marshallers -P --include messages.h --include marshallers.h --client --prefix 1 $(top_srcdir)/spice1.proto generated_marshallers1.cpp

if SUPPORT_GL
GL_SRCS =				\
	gl_canvas.cpp			\
	glc.cpp				\
	red_gl_canvas.cpp		\
	red_gl_canvas.h			\
	red_pixmap_gl.h
else
GL_SRCS =
endif

RED_COMMON_SRCS =			\
	application.cpp			\
	application.h			\
	audio_channels.h		\
	audio_devices.h			\
	cache.hpp			\
	sw_canvas.cpp			\
	pixman_utils.cpp		\
	lines.cpp			\
	canvas.cpp			\
	canvas.h			\
	canvas_utils.cpp		\
	red_sw_canvas.cpp		\
	red_sw_canvas.h			\
	client_net_socket.cpp		\
	client_net_socket.h		\
	cmd_line_parser.cpp		\
	cmd_line_parser.h		\
	common.h			\
	demarshallers.h			\
	marshallers.h			\
	generated_demarshallers.cpp	\
	generated_demarshallers1.cpp	\
	marshaller.cpp			\
	generated_marshallers.cpp	\
	generated_marshallers1.cpp	\
	cursor_channel.cpp		\
	cursor_channel.h		\
	cursor.cpp			\
	cursor.h			\
	debug.h				\
	display_channel.cpp		\
	display_channel.h		\
	glz_decoded_image.h		\
	glz_decoder_config.h		\
	glz_decoder.cpp			\
	glz_decoder.h			\
	glz_decoder_window.cpp		\
	glz_decoder_window.h		\
	glz_decode_tmpl.c		\
	inputs_channel.cpp		\
	inputs_channel.h		\
	inputs_handler.h		\
	jpeg_decoder.cpp		\
	jpeg_decoder.h			\
	lz.cpp				\
	monitor.cpp			\
	monitor.h			\
	mem.cpp				\
	menu.cpp			\
	menu.h				\
	mjpeg_decoder.h			\
	mjpeg_decoder.cpp		\
	pixels_source.h			\
	platform.h			\
	playback_channel.cpp		\
	process_loop.cpp		\
	quic.cpp			\
	read_write_mutex.h		\
	record_channel.cpp		\
	red_channel.cpp			\
	red_channel.h			\
	red_client.cpp			\
	red_client.h			\
	red_drawable.h			\
	red_key.h			\
	red_peer.cpp			\
	red_peer.h			\
	red_pixmap_sw.h			\
	red_pixmap.h			\
	red_types.h			\
	red_window.h			\
	region.cpp			\
	rop3.cpp			\
	screen.cpp			\
	screen.h			\
	screen_layer.cpp		\
	screen_layer.h			\
	shared_cache.hpp		\
	tunnel_channel.cpp		\
	tunnel_channel.h		\
	hot_keys.cpp			\
	hot_keys.h			\
	threads.cpp			\
	threads.h			\
	utils.cpp			\
	utils.h				\
	zlib_decoder.cpp		\
	zlib_decoder.h			\
	$(NULL)

MAINTAINERCLEANFILES = $(spice_built_sources)

EXTRA_DIST = $(RED_COMMON_SRCS) $(spice_built_sources) $(GL_SRCS)

BUILT_SOURCES = $(spice_built_sources)