desktop-shell: Move to new desktop-shell subdirectory
This commit is contained in:
@@ -10,6 +10,7 @@ SUBDIRS = \
|
|||||||
shared \
|
shared \
|
||||||
src \
|
src \
|
||||||
$(xwayland_subdir) \
|
$(xwayland_subdir) \
|
||||||
|
desktop-shell \
|
||||||
clients \
|
clients \
|
||||||
data \
|
data \
|
||||||
protocol \
|
protocol \
|
||||||
|
|||||||
@@ -491,6 +491,7 @@ AC_CONFIG_FILES([Makefile
|
|||||||
shared/Makefile
|
shared/Makefile
|
||||||
src/Makefile
|
src/Makefile
|
||||||
xwayland/Makefile
|
xwayland/Makefile
|
||||||
|
desktop-shell/Makefile
|
||||||
src/version.h
|
src/version.h
|
||||||
src/weston.pc
|
src/weston.pc
|
||||||
clients/Makefile
|
clients/Makefile
|
||||||
|
|||||||
@@ -0,0 +1,35 @@
|
|||||||
|
moduledir = $(libdir)/weston
|
||||||
|
module_LTLIBRARIES = $(desktop_shell)
|
||||||
|
|
||||||
|
AM_CPPFLAGS = \
|
||||||
|
-I$(top_srcdir)/shared \
|
||||||
|
-I$(top_srcdir)/src \
|
||||||
|
-DDATADIR='"$(datadir)"' \
|
||||||
|
-DMODULEDIR='"$(moduledir)"' \
|
||||||
|
-DLIBEXECDIR='"$(libexecdir)"' \
|
||||||
|
-DIN_WESTON
|
||||||
|
|
||||||
|
if ENABLE_DESKTOP_SHELL
|
||||||
|
desktop_shell = desktop-shell.la
|
||||||
|
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 = \
|
||||||
|
shell.c \
|
||||||
|
desktop-shell-protocol.c \
|
||||||
|
desktop-shell-server-protocol.h \
|
||||||
|
xdg-shell-protocol.c \
|
||||||
|
xdg-shell-server-protocol.h
|
||||||
|
endif
|
||||||
|
|
||||||
|
BUILT_SOURCES = \
|
||||||
|
desktop-shell-protocol.c \
|
||||||
|
desktop-shell-server-protocol.h \
|
||||||
|
xdg-shell-protocol.c \
|
||||||
|
xdg-shell-server-protocol.h
|
||||||
|
|
||||||
|
CLEANFILES = $(BUILT_SOURCES)
|
||||||
|
|
||||||
|
wayland_protocoldir = $(top_srcdir)/protocol
|
||||||
|
include $(top_srcdir)/wayland-scanner.mk
|
||||||
@@ -107,7 +107,6 @@ westoninclude_HEADERS = \
|
|||||||
|
|
||||||
moduledir = $(libdir)/weston
|
moduledir = $(libdir)/weston
|
||||||
module_LTLIBRARIES = \
|
module_LTLIBRARIES = \
|
||||||
$(desktop_shell) \
|
|
||||||
$(cms_static) \
|
$(cms_static) \
|
||||||
$(cms_colord) \
|
$(cms_colord) \
|
||||||
$(gl_renderer) \
|
$(gl_renderer) \
|
||||||
@@ -277,20 +276,6 @@ rdp_backend_la_CFLAGS = \
|
|||||||
rdp_backend_la_SOURCES = compositor-rdp.c
|
rdp_backend_la_SOURCES = compositor-rdp.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if ENABLE_DESKTOP_SHELL
|
|
||||||
desktop_shell = desktop-shell.la
|
|
||||||
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 = \
|
|
||||||
shell.c \
|
|
||||||
desktop-shell-protocol.c \
|
|
||||||
desktop-shell-server-protocol.h \
|
|
||||||
xdg-shell-protocol.c \
|
|
||||||
xdg-shell-server-protocol.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
if HAVE_LCMS
|
if HAVE_LCMS
|
||||||
cms_static = cms-static.la
|
cms_static = cms-static.la
|
||||||
cms_static_la_LDFLAGS = -module -avoid-version
|
cms_static_la_LDFLAGS = -module -avoid-version
|
||||||
@@ -328,16 +313,12 @@ BUILT_SOURCES = \
|
|||||||
screenshooter-protocol.c \
|
screenshooter-protocol.c \
|
||||||
text-cursor-position-server-protocol.h \
|
text-cursor-position-server-protocol.h \
|
||||||
text-cursor-position-protocol.c \
|
text-cursor-position-protocol.c \
|
||||||
desktop-shell-protocol.c \
|
|
||||||
desktop-shell-server-protocol.h \
|
|
||||||
text-protocol.c \
|
text-protocol.c \
|
||||||
text-server-protocol.h \
|
text-server-protocol.h \
|
||||||
input-method-protocol.c \
|
input-method-protocol.c \
|
||||||
input-method-server-protocol.h \
|
input-method-server-protocol.h \
|
||||||
workspaces-server-protocol.h \
|
workspaces-server-protocol.h \
|
||||||
workspaces-protocol.c \
|
workspaces-protocol.c \
|
||||||
xdg-shell-protocol.c \
|
|
||||||
xdg-shell-server-protocol.h \
|
|
||||||
git-version.h
|
git-version.h
|
||||||
|
|
||||||
CLEANFILES = $(BUILT_SOURCES)
|
CLEANFILES = $(BUILT_SOURCES)
|
||||||
|
|||||||
Reference in New Issue
Block a user