Makefile.am 1.45 KB
Newer Older
Kristian Høgsberg's avatar
Kristian Høgsberg committed
1 2 3 4
## Process this file with automake to produce Makefile.in
include $(top_srcdir)/Makefile.decl

libgdkincludedir = $(includedir)/gtk-3.0/gdk
5
libgdkwaylandincludedir = $(includedir)/gtk-3.0/gdk/wayland
Kristian Høgsberg's avatar
Kristian Høgsberg committed
6

7
AM_CPPFLAGS =					\
Kristian Høgsberg's avatar
Kristian Høgsberg committed
8 9 10 11 12
	-DG_LOG_DOMAIN=\"Gdk\"			\
	-DGDK_COMPILATION			\
	-I$(top_srcdir)				\
	-I$(top_srcdir)/gdk			\
	-I$(top_builddir)/gdk			\
13
	$(GDK_HIDDEN_VISIBILITY_CFLAGS)		\
Kristian Høgsberg's avatar
Kristian Høgsberg committed
14 15 16 17 18 19 20 21
	$(GTK_DEBUG_FLAGS)			\
	$(GDK_DEP_CFLAGS)

LDADDS = $(GDK_DEP_LIBS)

noinst_LTLIBRARIES =				\
	libgdk-wayland.la

22 23 24 25
BUILT_SOURCES = 				\
	gtk-shell-client-protocol.h		\
	gtk-shell-protocol.c

Kristian Høgsberg's avatar
Kristian Høgsberg committed
26
libgdk_wayland_la_SOURCES =			\
27
	$(BUILT_SOURCES)			\
Kristian Høgsberg's avatar
Kristian Høgsberg committed
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
	gdkapplaunchcontext-wayland.c		\
	gdkcursor-wayland.c			\
	gdkdevice-wayland.c			\
	gdkdisplay-wayland.c			\
	gdkdisplay-wayland.h			\
	gdkdnd-wayland.c			\
	gdkeventsource.c			\
	gdkkeys-wayland.c			\
	gdkscreen-wayland.c			\
	gdkselection-wayland.c			\
	gdkwindow-wayland.c			\
	gdkwayland.h				\
	gdkprivate-wayland.h

libgdkinclude_HEADERS =				\
	gdkwayland.h

45
libgdkwaylandinclude_HEADERS = 			\
46
	gdkwaylanddevice.h			\
47
	gdkwaylanddisplay.h			\
48
	gdkwaylandselection.h			\
49
	gdkwaylandwindow.h
50

Rico Tzschichholz's avatar
Rico Tzschichholz committed
51
%-protocol.c : $(srcdir)/protocol/%.xml
52
	$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
Rico Tzschichholz's avatar
Rico Tzschichholz committed
53
%-server-protocol.h : $(srcdir)/protocol/%.xml
54
	$(AM_V_GEN)$(WAYLAND_SCANNER) server-header < $< > $@
Rico Tzschichholz's avatar
Rico Tzschichholz committed
55
%-client-protocol.h : $(srcdir)/protocol/%.xml
56 57 58 59
	$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@

EXTRA_DIST += protocol/gtk-shell.xml

Kristian Høgsberg's avatar
Kristian Høgsberg committed
60
-include $(top_srcdir)/git.mk