-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile.am
46 lines (36 loc) · 1.26 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
libexec_PROGRAMS = \
flatpak-sample-authenticator \
$(NULL)
%.service: %.service.in config.log
$(AM_V_GEN) $(SED) -e "s|\@libexecdir\@|$(libexecdir)|" \
-e "s|\@localstatedir\@|$(localstatedir)|" \
-e "s|\@extraargs\@||" $< > $@
dbus_servicedir = $(DBUS_SERVICE_DIR)
service_in_files = org.flatpak.Authenticator.Sample.service.in
dbus_service_DATA = org.flatpak.Authenticator.Sample.service
dbus_built_sources = flatpak-dbus-generated.c flatpak-dbus-generated.h
flatpak-dbus-generated.c: $(FLATPAK_INTERFACES_DIR)/org.freedesktop.Flatpak.Authenticator.xml Makefile
$(AM_V_GEN) $(GDBUS_CODEGEN) \
--interface-prefix org.freedesktop.Flatpak. \
--c-namespace Flatpak \
--generate-c-code $(builddir)/flatpak-dbus-generated \
$(FLATPAK_INTERFACES_DIR)/org.freedesktop.Flatpak.Authenticator.xml \
$(NULL)
flatpak-dbus-generated.h: flatpak-dbus-generated.c
flatpak_sample_authenticator_SOURCES = \
sample-authenticator.c \
flatpak-authenticator-webflow.h \
flatpak-authenticator-webflow.c \
auth-utils.c \
auth-utils.h \
$(dbus_built_sources) \
$(NULL)
flatpak_sample_authenticator_LDADD = \
$(AM_LDADD) \
$(BASE_LIBS) \
$(NULL)
flatpak_sample_authenticator_CFLAGS = \
$(AM_CFLAGS) \
$(BASE_CFLAGS) \
$(NULL)
BUILT_SOURCES = $(dbus_built_sources)