forked from flatpak/xdg-desktop-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
87 lines (69 loc) · 2.3 KB
/
Makefile.am
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
NULL =
bin_PROGRAMS = $(NULL)
noinst_PROGRAMS = $(NULL)
noinst_LTLIBRARIES = $(NULL)
noinst_SCRIPTS =
noinst_DATA =
libexec_PROGRAMS = $(NULL)
test_extra_programs =
CLEANFILES = $(NULL)
DISTCLEANFILES= $(NULL)
BUILT_SOURCES = $(NULL)
EXTRA_DIST = tap-driver.sh tap-test
# All files meson needs
EXTRA_DIST += meson.build \
meson_options.txt \
data/meson.build \
doc/meson.build \
document-portal/meson.build \
meson.build \
po/meson.build \
src/meson.build \
tests/dbs/meson.build \
tests/meson.build \
tests/portals/meson.build \
tests/services/meson.build \
tests/share/applications/meson.build \
tests/share/meson.build \
tests/template.test.in \
$(NULL)
include $(top_srcdir)/glib-tap.mk
include $(top_srcdir)/Makefile.am.inc
SUBDIRS = doc po
%.service: %.service.in
$(AM_V_GEN) $(SED) -e "s|\@libexecdir\@|$(libexecdir)|" -e "s|\@extraargs\@||" $< > $@
dbus_servicedir = $(DBUS_SERVICE_DIR)
service_in_files = $(NULL)
dbus_service_DATA = $(NULL)
systemduserunit_DATA = $(NULL)
CLEANFILES += $(dbus_service_DATA)
CLEANFILES += $(systemduserunit_DATA)
EXTRA_DIST += $(service_in_files)
ACLOCAL_AMFLAGS = --install -I m4 ${ACLOCAL_FLAGS}
AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\"xdg-desktop-portal\" \
-DLIBEXECDIR=\"$(libexecdir)\" \
$(NULL)
lib_LTLIBRARIES =
include data/Makefile.am.inc
include document-portal/Makefile.am.inc
include src/Makefile.am.inc
include tests/backend/Makefile.am.inc
include tests/Makefile.am.inc
pkgconfigdir = $(datadir)/pkgconfig
pkgconfig_DATA = xdg-desktop-portal.pc
EXTRA_DIST += xdg-desktop-portal.pc.in
EXTRA_DIST += README.md
install-data-hook:
$(MAKE) $(AM_MAKEFLAGS) install-test-data-hook
AM_DISTCHECK_CONFIGURE_FLAGS =
.PHONY: coverage lcov-clean genlcov
coverage:
$(AM_V_GEN) $(MAKE) $(AM_MAKEFLAGS) lcov-clean
$(AM_V_GEN) $(MAKE) -j $(getconf _NPROCESSORS_ONLN) check
$(AM_V_GEN) $(MAKE) $(AM_MAKEFLAGS) genlcov
lcov-clean:
$(AM_V_GEN) $(LCOV) --directory $(top_builddir) --zerocounters
genlcov:
$(AM_V_GEN) $(LCOV) --directory $(top_builddir) --capture --output-file coverage.info
$(AM_V_GEN) $(GENHTML) --prefix $(top_builddir) --output-directory coverage coverage.info