about summary refs log tree commit diff
path: root/src/devices/wifi/Makefile.am
blob: e35a84b439db9160fec31a3c326a1333749257aa (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
include $(GLIB_MAKEFILE)

@GNOME_CODE_COVERAGE_RULES@

if ENABLE_TESTS
SUBDIRS=. tests
endif

AM_CPPFLAGS = \
	-I${top_srcdir}/src \
	-I${top_builddir}/src \
	-I${top_srcdir}/src/devices \
	-I${top_srcdir}/src/settings \
	-I${top_srcdir}/src/platform \
	-I${top_srcdir}/src/supplicant-manager \
	-I${top_builddir}/introspection \
	-I${top_srcdir}/shared \
	-I$(top_builddir)/shared \
	-I${top_builddir}/libnm-core \
	-I${top_srcdir}/libnm-core \
	-DG_LOG_DOMAIN=\""NetworkManager-wifi"\" \
	-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
	$(GLIB_CFLAGS)

pkglib_LTLIBRARIES = libnm-device-plugin-wifi.la

libnm_device_plugin_wifi_la_SOURCES = \
	nm-wifi-factory.c \
	nm-device-wifi.c \
	nm-device-wifi.h \
	nm-wifi-ap.c \
	nm-wifi-ap.h \
	nm-wifi-ap-utils.c \
	nm-wifi-ap-utils.h \
	nm-device-olpc-mesh.c \
	nm-device-olpc-mesh.h

SYMBOL_VIS_FILE=$(srcdir)/exports.ver

libnm_device_plugin_wifi_la_LDFLAGS = \
	-module -avoid-version \
	 -Wl,--version-script=$(SYMBOL_VIS_FILE)

libnm_device_plugin_wifi_la_LIBADD = \
	$(top_builddir)/introspection/libnmdbus.la \
	$(GLIB_LIBS) \
	$(GUDEV_LIBS)

EXTRA_DIST = $(SYMBOL_VIS_FILE)

if ENABLE_TESTS

check-local:
	$(top_srcdir)/tools/check-exports.sh $(builddir)/.libs/libnm-device-plugin-wifi.so $(SYMBOL_VIS_FILE)

endif