summaryrefslogtreecommitdiff
path: root/src/devices/adsl/Makefile.am
blob: a4ec50abf8cc82a0a0532b74eafff7efc36819d8 (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
include $(GLIB_MAKEFILE)

@GNOME_CODE_COVERAGE_RULES@

AM_CPPFLAGS = \
	-I${top_srcdir}/src \
	-I${top_builddir}/src \
	-I${top_srcdir}/src/logging \
	-I${top_srcdir}/src/devices \
	-I${top_srcdir}/src/settings \
	-I${top_srcdir}/src/platform \
	-I${top_srcdir}/src/ppp-manager \
	-I${top_builddir}/include \
	-I${top_srcdir}/include \
	-I${top_builddir}/libnm-util \
	-I${top_srcdir}/libnm-util \
	-DG_LOG_DOMAIN=\""NetworkManager-adsl"\" \
	-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
	$(DBUS_CFLAGS) \
	$(POLKIT_CFLAGS) \
	$(LIBNL_CFLAGS) \
	$(GUDEV_CFLAGS)

GLIB_GENERATED = nm-adsl-enum-types.h nm-adsl-enum-types.c
GLIB_MKENUMS_H_FLAGS = --identifier-prefix NM
GLIB_MKENUMS_C_FLAGS = --identifier-prefix NM
nm_adsl_enum_types_sources = $(srcdir)/nm-device-adsl.h

nm-device-adsl-glue.h: $(top_srcdir)/introspection/nm-device-adsl.xml
	dbus-binding-tool --prefix=nm_device_adsl --mode=glib-server --output=$@ $<

BUILT_SOURCES = $(GLIB_GENERATED) nm-device-adsl-glue.h

pkglib_LTLIBRARIES = libnm-device-plugin-adsl.la

libnm_device_plugin_adsl_la_SOURCES = \
	nm-atm-manager.c \
	nm-atm-manager.h \
	nm-device-adsl.c \
	nm-device-adsl.h \
	\
	$(BUILT_SOURCES)

libnm_device_plugin_adsl_la_LDFLAGS = -module -avoid-version
libnm_device_plugin_adsl_la_LIBADD = \
	$(DBUS_LIBS) \
	$(GUDEV_LIBS)

CLEANFILES = $(BUILT_SOURCES)