2 moduledir = $(libdir)/weston
14 DISTCHECK_CONFIGURE_FLAGS = --disable-setuid-install
16 EXTRA_DIST = weston.ini.in wayland-scanner.mk
18 weston.ini : $(srcdir)/weston.ini.in
20 -e 's|@bindir[@]|$(bindir)|g' \
21 -e 's|@abs_top_builddir[@]|$(abs_top_builddir)|g' \
22 -e 's|@libexecdir[@]|$(libexecdir)|g' \
25 all-local : weston.ini
27 CLEANFILES = weston.ini $(BUILT_SOURCES)
30 westondatadir = $(datadir)/weston
31 dist_westondata_DATA = \
37 data/icon_window.png \
39 data/sign_maximize.png \
40 data/sign_minimize.png
44 bin_PROGRAMS += wcap-decode
46 wcap_decode_SOURCES = \
51 wcap_decode_CFLAGS = $(GCC_CFLAGS) $(WCAP_CFLAGS)
52 wcap_decode_LDADD = $(WCAP_LIBS)
56 if ENABLE_DESKTOP_SHELL
58 module_LTLIBRARIES += desktop-shell.la
60 desktop_shell_la_CPPFLAGS = \
61 -I$(top_srcdir)/shared \
63 -I$(top_builddir)/src \
64 -I$(top_builddir)/desktop-shell \
65 -DDATADIR='"$(datadir)"' \
66 -DMODULEDIR='"$(moduledir)"' \
67 -DLIBEXECDIR='"$(libexecdir)"' \
70 desktop_shell_la_LDFLAGS = -module -avoid-version
71 desktop_shell_la_LIBADD = $(COMPOSITOR_LIBS) \
73 desktop_shell_la_CFLAGS = $(GCC_CFLAGS) $(COMPOSITOR_CFLAGS)
74 desktop_shell_la_SOURCES = \
75 desktop-shell/shell.h \
76 desktop-shell/shell.c \
77 desktop-shell/exposay.c \
78 desktop-shell/input-panel.c \
79 desktop-shell/desktop-shell-protocol.c \
80 desktop-shell/desktop-shell-server-protocol.h \
81 desktop-shell/xdg-shell-protocol.c \
82 desktop-shell/xdg-shell-server-protocol.h
85 desktop-shell/desktop-shell-protocol.c \
86 desktop-shell/desktop-shell-server-protocol.h \
87 desktop-shell/xdg-shell-protocol.c \
88 desktop-shell/xdg-shell-server-protocol.h
94 module_LTLIBRARIES += xwayland.la
96 xwayland_la_CPPFLAGS = \
97 -I$(top_srcdir)/shared \
99 -I$(top_builddir)/src \
100 -I$(top_builddir)/xwayland \
101 -DDATADIR='"$(datadir)"' \
102 -DMODULEDIR='"$(moduledir)"' \
103 -DLIBEXECDIR='"$(libexecdir)"' \
104 -DXSERVER_PATH='"@XSERVER_PATH@"'
106 xwayland_la_LDFLAGS = -module -avoid-version
107 xwayland_la_LIBADD = \
109 $(top_builddir)/shared/libshared-cairo.la
110 xwayland_la_CFLAGS = \
112 $(COMPOSITOR_CFLAGS) \
115 xwayland_la_SOURCES = \
116 xwayland/xwayland.h \
117 xwayland/window-manager.c \
118 xwayland/selection.c \
120 xwayland/launcher.c \
121 xwayland/xserver-protocol.c \
122 xwayland/xserver-server-protocol.h \
127 xwayland/xserver-protocol.c \
128 xwayland/xserver-server-protocol.h
131 wayland_protocoldir = $(top_srcdir)/protocol
132 include $(top_srcdir)/wayland-scanner.mk