summaryrefslogtreecommitdiff
path: root/desktop-shell/Makefile.am
blob: fef85f2e6389ac0d6b342e3c295d1146291f2462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
moduledir = $(libdir)/weston
module_LTLIBRARIES = $(desktop_shell)

AM_CPPFLAGS =					\
	-I$(top_srcdir)/shared			\
	-I$(top_srcdir)/src			\
	-I$(top_builddir)/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.h					\
	shell.c					\
	exposay.c				\
	input-panel.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