ded71e0b8169503602eb2e7e5f12d9b6983cc515
[profile/ivi/wayland.git] / compositor / Makefile.am
1 noinst_PROGRAMS = compositor
2
3 INCLUDES =                                      \
4         -I$(top_srcdir)/wayland                 \
5         -I$(top_builddir)/wayland               \
6         $(COMPOSITOR_CFLAGS)
7
8 AM_CFLAGS = $(GCC_CFLAGS)
9 AM_CPPFLAGS = -DDATADIR='"$(datadir)"'
10
11 compositor_LDADD =                                      \
12         $(top_builddir)/wayland/libwayland-server.la    \
13         $(top_builddir)/wayland/libwayland-client.la    \
14         $(COMPOSITOR_LIBS)
15
16 compositor_SOURCES =                            \
17         compositor.c                            \
18         compositor.h                            \
19         compositor-drm.c                        \
20         compositor-x11.c                        \
21         compositor-wayland.c                    \
22         screenshooter.c                         \
23         screenshooter-protocol.c                \
24         screenshooter-server-protocol.h         \
25         tty.c                                   \
26         evdev.c                                 \
27         drm.c                                   \
28         shm.c
29
30 udevrulesddir = $(sysconfdir)/udev/rules.d
31
32 dist_udevrulesd_DATA =                          \
33         70-wayland.rules
34
35 BUILT_SOURCES =                                 \
36         screenshooter-server-protocol.h         \
37         screenshooter-protocol.c
38
39 CLEANFILES = $(BUILT_SOURCES)
40
41 include $(top_srcdir)/wayland/scanner.mk