2 xwayland_subdir = xwayland
6 moduledir = $(libdir)/weston
19 DISTCHECK_CONFIGURE_FLAGS = --disable-setuid-install
21 EXTRA_DIST = weston.ini.in wayland-scanner.mk
23 weston.ini : $(srcdir)/weston.ini.in
25 -e 's|@bindir[@]|$(bindir)|g' \
26 -e 's|@abs_top_builddir[@]|$(abs_top_builddir)|g' \
27 -e 's|@libexecdir[@]|$(libexecdir)|g' \
30 all-local : weston.ini
32 CLEANFILES = weston.ini $(BUILT_SOURCES)
35 westondatadir = $(datadir)/weston
36 dist_westondata_DATA = \
42 data/icon_window.png \
44 data/sign_maximize.png \
45 data/sign_minimize.png
49 bin_PROGRAMS += wcap-decode
51 wcap_decode_SOURCES = \
56 wcap_decode_CFLAGS = $(GCC_CFLAGS) $(WCAP_CFLAGS)
57 wcap_decode_LDADD = $(WCAP_LIBS)
61 if ENABLE_DESKTOP_SHELL
63 module_LTLIBRARIES += desktop-shell.la
65 desktop_shell_la_CPPFLAGS = \
66 -I$(top_srcdir)/shared \
68 -I$(top_builddir)/src \
69 -I$(top_builddir)/desktop-shell \
70 -DDATADIR='"$(datadir)"' \
71 -DMODULEDIR='"$(moduledir)"' \
72 -DLIBEXECDIR='"$(libexecdir)"' \
75 desktop_shell_la_LDFLAGS = -module -avoid-version
76 desktop_shell_la_LIBADD = $(COMPOSITOR_LIBS) \
78 desktop_shell_la_CFLAGS = $(GCC_CFLAGS) $(COMPOSITOR_CFLAGS)
79 desktop_shell_la_SOURCES = \
80 desktop-shell/shell.h \
81 desktop-shell/shell.c \
82 desktop-shell/exposay.c \
83 desktop-shell/input-panel.c \
84 desktop-shell/desktop-shell-protocol.c \
85 desktop-shell/desktop-shell-server-protocol.h \
86 desktop-shell/xdg-shell-protocol.c \
87 desktop-shell/xdg-shell-server-protocol.h
90 desktop-shell/desktop-shell-protocol.c \
91 desktop-shell/desktop-shell-server-protocol.h \
92 desktop-shell/xdg-shell-protocol.c \
93 desktop-shell/xdg-shell-server-protocol.h
96 wayland_protocoldir = $(top_srcdir)/protocol
97 include $(top_srcdir)/wayland-scanner.mk