blob: b313e454257ce21a43aafaaf85497e685488dc09 (
plain)
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
88
89
90
91
|
include $(GLIB_MAKEFILE)
noinst_LTLIBRARIES = libnm-generated.la
libnm_generated_la_SOURCES = \
nm-enum-types.c \
nm-enum-types.h \
nm-marshal.c \
nm-marshal.h
nm_daemon_all_sources = \
$(top_srcdir)/src/*.[ch] \
$(top_srcdir)/src/logging/*.[ch] \
$(top_srcdir)/src/dns-manager/*.[ch] \
$(top_srcdir)/src/vpn-manager/*.[ch] \
$(top_srcdir)/src/dhcp-manager/*.[ch] \
$(top_srcdir)/src/ip6-manager/*.[ch] \
$(top_srcdir)/src/supplicant-manager/*.[ch] \
$(top_srcdir)/src/ppp-manager/*.[ch] \
$(top_srcdir)/src/dnsmasq-manager/*.[ch] \
$(top_srcdir)/src/modem-manager/*.[ch] \
$(top_srcdir)/src/bluez-manager/*.[ch] \
$(top_srcdir)/src/firewall-manager/*.[ch] \
$(top_srcdir)/src/settings/*.[ch]
if WITH_WIMAX
nm_daemon_all_sources += $(top_srcdir)/src/wimax/*.[ch]
endif
nm_daemon_sources_no_bindings = \
$(filter-out %-glue.h %-bindings.h, $(wildcard $(nm_daemon_all_sources)))
if WITH_MODEM_MANAGER_1
# We filter out this file, which doesn't have any enum, and which clashes
# with ModemManager1-defined symbols
nm_daemon_sources = \
$(filter-out $(top_srcdir)/src/modem-manager/nm-modem-types.h, $(wildcard $(nm_daemon_sources_no_bindings)))
else
# Don't include ModemManager1-specific headers if we're not compiling with
# ModemManager1 support.
nm_daemon_sources = \
$(filter-out $(top_srcdir)/src/modem-manager/nm-modem-broadband.h, $(wildcard $(nm_daemon_sources_no_bindings)))
endif
GLIB_GENERATED = nm-enum-types.h nm-enum-types.c
nm_enum_types_sources = $(nm_daemon_sources)
GLIB_MKENUMS_H_FLAGS = --identifier-prefix NM
GLIB_MKENUMS_C_FLAGS = --identifier-prefix NM
GLIB_GENERATED += nm-marshal.h nm-marshal.c
nm_marshal_sources = $(nm_daemon_sources)
libnm_generated_la_CPPFLAGS = \
-I${top_srcdir}/include \
-I${top_builddir}/include \
-I${top_srcdir}/src \
-I${top_srcdir}/src/logging \
-I${top_srcdir}/src/dns-manager \
-I${top_srcdir}/src/vpn-manager \
-I${top_srcdir}/src/dhcp-manager \
-I${top_srcdir}/src/ip6-manager \
-I${top_srcdir}/src/supplicant-manager \
-I${top_srcdir}/src/ppp-manager \
-I${top_srcdir}/src/dnsmasq-manager \
-I${top_srcdir}/src/modem-manager \
-I$(top_srcdir)/src/bluez-manager \
-I$(top_srcdir)/src/firewall-manager \
-I$(top_srcdir)/src/settings \
-I$(top_srcdir)/src/wifi \
-I$(top_srcdir)/libnm-util \
$(DBUS_CFLAGS) \
$(GLIB_CFLAGS) \
$(GUDEV_CFLAGS) \
$(LIBNL_CFLAGS) \
$(POLKIT_CFLAGS) \
$(SYSTEMD_LOGIN_CFLAGS) \
$(IWMX_SDK_CFLAGS)
if WITH_WIMAX
libnm_generated_la_CPPFLAGS += -I$(top_srcdir)/src/wimax
endif
if WITH_MODEM_MANAGER_1
libnm_generated_la_CPPFLAGS += $(MM_GLIB_CFLAGS)
endif
libnm_generated_la_LIBADD = \
$(GLIB_LIBS)
BUILT_SOURCES = $(GLIB_GENERATED)
|