summary refs log tree commit diff
path: root/src/generated/Makefile.am
blob: b7f13b88c6de88f6c59dbe9385a3906c45875ea4 (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
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/backends/*.[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 = \
	$(filter-out %-glue.h %-bindings.h, $(wildcard $(nm_daemon_all_sources)))

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)

INCLUDES = \
	-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/backends \
	-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)/src/wimax \
	-I$(top_srcdir)/libnm-util

libnm_generated_la_CPPFLAGS = \
	$(DBUS_CFLAGS) \
	$(GLIB_CFLAGS) \
	$(GUDEV_CFLAGS) \
	$(LIBNL_CFLAGS) \
	$(GMODULE_CFLAGS) \
	$(POLKIT_CFLAGS) \
	$(SYSTEMD_CFLAGS) \
	$(IWMX_SDK_CFLAGS)

libnm_generated_la_LIBADD = \
	$(GLIB_LIBS)

BUILT_SOURCES = $(GLIB_GENERATED)