Add support for SPICE.
[virt-click.git] / Makefile.am
1 # virt-click
2 # Copyright (C) 2011 Red Hat Inc.
3 #
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
18 ACLOCAL_AMFLAGS = -I m4
19
20 EXTRA_DIST = \
21         COPYING \
22         README \
23         virt-click.pod \
24         virt-click.1
25
26 SUBDIRS = po
27
28 bin_PROGRAMS = virt-click
29
30 virt_click_SOURCES = \
31         click.h \
32         commands.c \
33         main.c \
34         spice.c \
35         spice.h \
36         vnc.c \
37         vnc-auth.c
38
39 virt_click_CFLAGS = \
40         $(GVNC_CFLAGS) \
41         $(SPICE_CLIENT_GLIB_CFLAGS)
42 virt_click_LDADD = \
43         $(GVNC_LIBS) \
44         $(SPICE_CLIENT_GLIB_LIBS)
45
46 man_MANS = virt-click.1
47
48 virt-click.1: virt-click.pod
49         pod2man -c "Virtualization Support" --release "$(PACKAGE)-$(VERSION)" \
50           $< > $@