File: Makefile.am

package info (click to toggle)
libxfce4windowing 4.20.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,840 kB
  • sloc: ansic: 11,378; sh: 5,446; xml: 580; makefile: 514; python: 128; sed: 16
file content (68 lines) | stat: -rw-r--r-- 1,934 bytes parent folder | download | duplicates (2)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
if ENABLE_WAYLAND

noinst_LTLIBRARIES = \
	libwayland-protocols.la

libwayland_protocols_built_sources = \
	ext-workspace-v1.c \
	ext-workspace-v1-client.h \
	wlr-foreign-toplevel-management-unstable-v1.c \
	wlr-foreign-toplevel-management-unstable-v1-client.h \
	xdg-output-unstable-v1.c \
	xdg-output-unstable-v1-client.h

nodist_libwayland_protocols_la_SOURCES = \
	$(libwayland_protocols_built_sources)

libwayland_protocols_la_CFLAGS = \
	$(WAYLAND_CLIENT_CFLAGS)

libwayland_protocols_la_LDFLAGS = \
	-Wl,-no-undefined

libwayland_protocols_la_LIBADD = \
	$(WAYLAND_CLIENT_LIBS)

xdg-output-unstable-v1.c: $(WL_PROTOCOLS_PKGDATADIR)/unstable/xdg-output/xdg-output-unstable-v1.xml
	$(AM_V_GEN) $(WAYLAND_SCANNER) private-code $< $@

xdg-output-unstable-v1-client.h: $(WL_PROTOCOLS_PKGDATADIR)/unstable/xdg-output/xdg-output-unstable-v1.xml
	$(AM_V_GEN) $(WAYLAND_SCANNER) client-header $< $@

if HAVE_WORKSPACE
ext-workspace-v1.c: $(WL_PROTOCOLS_PKGDATADIR)/staging/ext-workspace/ext-workspace-v1.xml
	$(AM_V_GEN) $(WAYLAND_SCANNER) private-code $< $@

ext-workspace-v1-client.h: $(WL_PROTOCOLS_PKGDATADIR)/staging/ext-workspace/ext-workspace-v1.xml
	$(AM_V_GEN) $(WAYLAND_SCANNER) client-header $< $@
else
ext-workspace-v1.c: ext-workspace-v1.xml
	$(AM_V_GEN) $(WAYLAND_SCANNER) private-code $< $@

ext-workspace-v1-client.h: ext-workspace-v1.xml
	$(AM_V_GEN) $(WAYLAND_SCANNER) client-header $< $@
endif

%.c: $(WLR_PROTOCOLS_PKGDATADIR)/unstable/%.xml
	$(AM_V_GEN) $(WAYLAND_SCANNER) private-code $< $@

%-client.h: $(WLR_PROTOCOLS_PKGDATADIR)/unstable/%.xml
	$(AM_V_GEN) $(WAYLAND_SCANNER) client-header $< $@


CLEANFILES = \
	$(libwayland_protocols_built_sources)

BUILT_SOURCES = \
	$(libwayland_protocols_built_sources)

endif

EXTRA_DIST = \
	meson.build \
	wlr-protocols/unstable/wlr-foreign-toplevel-management-unstable-v1.xml \
	ext-workspace-v1.xml \
	$(NULL)

# required for make distcheck (gtk-doc)
dist-hook: all