autotools: Don't use wayland-scanner.m4
[platform/upstream/weston.git] / src / xwayland / Makefile.am
1 AM_CPPFLAGS =                                   \
2         -I$(top_srcdir)/shared                  \
3         -I$(top_builddir)/src                   \
4         -DDATADIR='"$(datadir)"'                \
5         -DMODULEDIR='"$(moduledir)"'            \
6         -DLIBEXECDIR='"$(libexecdir)"'          \
7         -DXSERVER_PATH='"@XSERVER_PATH@"'
8
9 moduledir = @libdir@/weston
10 module_LTLIBRARIES = xwayland.la
11
12 xwayland = xwayland.la
13 xwayland_la_LDFLAGS = -module -avoid-version
14 xwayland_la_LIBADD =                    \
15         $(XWAYLAND_LIBS)                \
16         $(top_builddir)/shared/libshared-cairo.la
17 xwayland_la_CFLAGS =                            \
18         $(GCC_CFLAGS)                           \
19         $(COMPOSITOR_CFLAGS)                    \
20         $(PIXMAN_CFLAGS)                        \
21         $(CAIRO_CFLAGS)
22 xwayland_la_SOURCES =                           \
23         xwayland.h                              \
24         window-manager.c                        \
25         selection.c                             \
26         launcher.c                              \
27         xserver-protocol.c                      \
28         xserver-server-protocol.h               \
29         hash.c                                  \
30         hash.h
31
32 BUILT_SOURCES =                                 \
33         xserver-protocol.c                      \
34         xserver-server-protocol.h
35
36 CLEANFILES = $(BUILT_SOURCES)
37
38 wayland_protocoldir = $(top_srcdir)/protocol
39 include $(top_srcdir)/wayland-scanner.mk