2013-12-04 04:38:15 +04:00
|
|
|
if ENABLE_XWAYLAND
|
|
|
|
xwayland_subdir = xwayland
|
|
|
|
endif
|
|
|
|
|
2014-01-28 09:46:30 +04:00
|
|
|
bin_PROGRAMS =
|
2014-01-28 09:56:12 +04:00
|
|
|
moduledir = $(libdir)/weston
|
|
|
|
module_LTLIBRARIES =
|
|
|
|
BUILT_SOURCES =
|
2014-01-28 09:46:30 +04:00
|
|
|
|
2013-12-04 04:38:15 +04:00
|
|
|
SUBDIRS = \
|
|
|
|
shared \
|
|
|
|
src \
|
|
|
|
$(xwayland_subdir) \
|
|
|
|
clients \
|
|
|
|
protocol \
|
|
|
|
tests \
|
|
|
|
man
|
2012-05-26 21:19:22 +04:00
|
|
|
|
2012-02-09 18:20:44 +04:00
|
|
|
DISTCHECK_CONFIGURE_FLAGS = --disable-setuid-install
|
2013-02-25 22:03:15 +04:00
|
|
|
|
2013-11-22 20:46:00 +04:00
|
|
|
EXTRA_DIST = weston.ini.in wayland-scanner.mk
|
|
|
|
|
|
|
|
weston.ini : $(srcdir)/weston.ini.in
|
|
|
|
$(AM_V_GEN)$(SED) \
|
|
|
|
-e 's|@bindir[@]|$(bindir)|g' \
|
|
|
|
-e 's|@abs_top_builddir[@]|$(abs_top_builddir)|g' \
|
|
|
|
-e 's|@libexecdir[@]|$(libexecdir)|g' \
|
|
|
|
$< > $@
|
|
|
|
|
|
|
|
all-local : weston.ini
|
2013-12-17 11:12:46 +04:00
|
|
|
|
2014-01-28 09:56:12 +04:00
|
|
|
CLEANFILES = weston.ini $(BUILT_SOURCES)
|
2014-01-28 09:40:28 +04:00
|
|
|
|
|
|
|
|
|
|
|
westondatadir = $(datadir)/weston
|
|
|
|
dist_westondata_DATA = \
|
|
|
|
data/wayland.svg \
|
|
|
|
data/wayland.png \
|
|
|
|
data/pattern.png \
|
|
|
|
data/terminal.png \
|
|
|
|
data/border.png \
|
|
|
|
data/icon_window.png \
|
|
|
|
data/sign_close.png \
|
|
|
|
data/sign_maximize.png \
|
|
|
|
data/sign_minimize.png
|
2014-01-28 09:46:30 +04:00
|
|
|
|
|
|
|
|
|
|
|
if BUILD_WCAP_TOOLS
|
|
|
|
bin_PROGRAMS += wcap-decode
|
|
|
|
|
|
|
|
wcap_decode_SOURCES = \
|
|
|
|
wcap/main.c \
|
|
|
|
wcap/wcap-decode.c \
|
|
|
|
wcap/wcap-decode.h
|
|
|
|
|
|
|
|
wcap_decode_CFLAGS = $(GCC_CFLAGS) $(WCAP_CFLAGS)
|
|
|
|
wcap_decode_LDADD = $(WCAP_LIBS)
|
|
|
|
endif
|
2014-01-28 09:56:12 +04:00
|
|
|
|
|
|
|
|
|
|
|
if ENABLE_DESKTOP_SHELL
|
|
|
|
|
|
|
|
module_LTLIBRARIES += desktop-shell.la
|
|
|
|
|
|
|
|
desktop_shell_la_CPPFLAGS = \
|
|
|
|
-I$(top_srcdir)/shared \
|
|
|
|
-I$(top_srcdir)/src \
|
|
|
|
-I$(top_builddir)/src \
|
|
|
|
-I$(top_builddir)/desktop-shell \
|
|
|
|
-DDATADIR='"$(datadir)"' \
|
|
|
|
-DMODULEDIR='"$(moduledir)"' \
|
|
|
|
-DLIBEXECDIR='"$(libexecdir)"' \
|
|
|
|
-DIN_WESTON
|
|
|
|
|
|
|
|
desktop_shell_la_LDFLAGS = -module -avoid-version
|
|
|
|
desktop_shell_la_LIBADD = $(COMPOSITOR_LIBS) \
|
|
|
|
shared/libshared.la
|
|
|
|
desktop_shell_la_CFLAGS = $(GCC_CFLAGS) $(COMPOSITOR_CFLAGS)
|
|
|
|
desktop_shell_la_SOURCES = \
|
|
|
|
desktop-shell/shell.h \
|
|
|
|
desktop-shell/shell.c \
|
|
|
|
desktop-shell/exposay.c \
|
|
|
|
desktop-shell/input-panel.c \
|
|
|
|
desktop-shell/desktop-shell-protocol.c \
|
|
|
|
desktop-shell/desktop-shell-server-protocol.h \
|
|
|
|
desktop-shell/xdg-shell-protocol.c \
|
|
|
|
desktop-shell/xdg-shell-server-protocol.h
|
|
|
|
|
|
|
|
BUILT_SOURCES += \
|
|
|
|
desktop-shell/desktop-shell-protocol.c \
|
|
|
|
desktop-shell/desktop-shell-server-protocol.h \
|
|
|
|
desktop-shell/xdg-shell-protocol.c \
|
|
|
|
desktop-shell/xdg-shell-server-protocol.h
|
|
|
|
endif
|
|
|
|
|
|
|
|
wayland_protocoldir = $(top_srcdir)/protocol
|
|
|
|
include $(top_srcdir)/wayland-scanner.mk
|