4 # gdbus-codegen 2.38 will emit code that requires glib 2.38, which
5 # will then cause availability warnings if we define
6 # GLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32.
8 # This is fixed in GLib 2.40 (it emits code that takes
9 # GLIB_VERSION_MAX_ALLOWED into account), so this workaround can go
10 # away when we depend on that.
11 AM_CPPFLAGS = $(filter-out -DGLIB_VERSION_MAX_ALLOWED%,$(GLIB_CFLAGS))
13 nodist_libnmdbus_la_SOURCES = \
14 nmdbus-access-point.c \
15 nmdbus-access-point.h \
16 nmdbus-active-connection.c \
17 nmdbus-active-connection.h \
18 nmdbus-agent-manager.c \
19 nmdbus-agent-manager.h \
20 nmdbus-device-adsl.c \
21 nmdbus-device-adsl.h \
22 nmdbus-device-bond.c \
23 nmdbus-device-bond.h \
24 nmdbus-device-bridge.c \
25 nmdbus-device-bridge.h \
28 nmdbus-device-ethernet.c \
29 nmdbus-device-ethernet.h \
32 nmdbus-device-generic.c \
33 nmdbus-device-generic.h \
34 nmdbus-device-infiniband.c \
35 nmdbus-device-infiniband.h \
36 nmdbus-device-ip-tunnel.c \
37 nmdbus-device-ip-tunnel.h \
38 nmdbus-device-macvlan.c \
39 nmdbus-device-macvlan.h \
40 nmdbus-device-modem.c \
41 nmdbus-device-modem.h \
42 nmdbus-device-olpc-mesh.c \
43 nmdbus-device-olpc-mesh.h \
44 nmdbus-device-team.c \
45 nmdbus-device-team.h \
48 nmdbus-device-veth.c \
49 nmdbus-device-veth.h \
50 nmdbus-device-vlan.c \
51 nmdbus-device-vlan.h \
52 nmdbus-device-vxlan.c \
53 nmdbus-device-vxlan.h \
54 nmdbus-device-wifi.c \
55 nmdbus-device-wifi.h \
56 nmdbus-device-wimax.c \
57 nmdbus-device-wimax.h \
58 nmdbus-dhcp4-config.c \
59 nmdbus-dhcp4-config.h \
60 nmdbus-dhcp6-config.c \
61 nmdbus-dhcp6-config.h \
68 nmdbus-ppp-manager.c \
69 nmdbus-ppp-manager.h \
70 nmdbus-secret-agent.c \
71 nmdbus-secret-agent.h \
72 nmdbus-settings-connection.c \
73 nmdbus-settings-connection.h \
76 nmdbus-vpn-connection.c \
77 nmdbus-vpn-connection.h \
81 define _make_nmdbus_rule
82 $(1): $(patsubst nmdbus-%.c,nm-%.xml,$(1))
83 $$(AM_V_GEN) gdbus-codegen \
84 --generate-c-code $$(basename $$@) \
85 --c-namespace NMDBus \
86 --interface-prefix org.freedesktop.NetworkManager \
89 $(basename $(1)).h: $(1)
93 $(foreach f,$(filter %.c,$(nodist_libnmdbus_la_SOURCES)),$(eval $(call _make_nmdbus_rule,$f)))
95 CLEANFILES = $(nodist_libnmdbus_la_SOURCES)
102 nm-access-point.xml \
103 nm-active-connection.xml \
104 nm-agent-manager.xml \
107 nm-device-bridge.xml \
109 nm-device-ethernet.xml \
110 nm-device-generic.xml \
111 nm-device-infiniband.xml \
112 nm-device-ip-tunnel.xml \
113 nm-device-macvlan.xml \
114 nm-device-modem.xml \
115 nm-device-olpc-mesh.xml \
120 nm-device-vxlan.xml \
122 nm-device-wimax.xml \
124 nm-dhcp4-config.xml \
125 nm-dhcp6-config.xml \
130 nm-secret-agent.xml \
131 nm-settings-connection.xml \
133 nm-vpn-connection.xml \