README: update to reflect recently added features
[vd_agent/hramrach.git] / Makefile.am
blob304ca7bb8f6883b0ac2b814097fdba3fbb7579fb
1 ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
3 bin_PROGRAMS = src/spice-vdagent
4 sbin_PROGRAMS = src/spice-vdagentd
6 src_spice_vdagent_CFLAGS = $(X_CFLAGS) $(SPICE_CFLAGS)
7 src_spice_vdagent_LDADD = $(X_LIBS) $(SPICE_LIBS)
8 src_spice_vdagent_SOURCES = src/vdagent.c src/vdagent-x11.c src/udscs.c
10 src_spice_vdagentd_CFLAGS = $(DBUS_CFLAGS) $(PCIACCESS_CFLAGS) $(SPICE_CFLAGS)
11 src_spice_vdagentd_LDADD = $(DBUS_LIBS) $(PCIACCESS_LIBS) $(SPICE_LIBS)
12 src_spice_vdagentd_SOURCES = src/vdagentd.c \
13                              src/vdagentd-uinput.c \
14                              src/vdagentd-xorg-conf.c \
15                              src/vdagent-virtio-port.c \
16                              src/udscs.c
17 if HAVE_CONSOLE_KIT
18 src_spice_vdagentd_SOURCES += src/console-kit.c
19 endif
21 noinst_HEADERS = src/console-kit.h \
22                  src/vdagentd-proto-strings.h \
23                  src/vdagent-x11.h \
24                  src/udscs.h \
25                  src/vdagentd-uinput.h \
26                  src/vdagentd-xorg-conf.h \
27                  src/vdagentd-proto.h \
28                  src/vdagent-virtio-port.h
30 xdgautostartdir = $(sysconfdir)/xdg/autostart
31 xdgautostart_DATA = $(top_srcdir)/data/spice-vdagent.desktop
33 gdmautostartdir = $(datadir)/gdm/autostart/LoginWindow
34 gdmautostart_DATA = $(top_srcdir)/data/spice-vdagent.desktop
36 initdir = $(sysconfdir)/rc.d/init.d
37 init_SCRIPTS = $(top_srcdir)/data/spice-vdagentd
39 install-data-local:
40         $(mkdir_p) $(DESTDIR)$(localstatedir)/log/spice-vdagentd
41         $(mkdir_p) $(DESTDIR)$(localstatedir)/run/spice-vdagentd
44 tmpfilesdir = $(sysconfdir)/tmpfiles.d
45 tmpfiles_DATA = $(top_srcdir)/data/spice-vdagentd.conf
47 EXTRA_DIST = $(xdgautostart_DATA) $(gdmautostart_DATA) $(init_SCRIPTS) \
48              $(tmpfiles_DATA) README.RHEL-5 data/xorg.conf.RHEL-5