summaryrefslogtreecommitdiff
path: root/system-settings/plugins/ifnet/Makefile.am
blob: 86d5ea251419515a4a43e213847e1a46221e2ef1 (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
SUBDIRS = . tests
INCLUDES = \
	-I$(top_srcdir)/src/system-settings \
	-I$(top_srcdir)/include \
	-I$(top_srcdir)/libnm-glib \
	-I$(top_srcdir)/libnm-util

pkglib_LTLIBRARIES = libnm-settings-plugin-ifnet.la

noinst_LTLIBRARIES = lib-ifnet-io.la

libnm_settings_plugin_ifnet_la_SOURCES = \
	nm-ifnet-connection.c \
	nm-ifnet-connection.h \
	plugin.c \
	plugin.h 

libnm_settings_plugin_ifnet_la_CPPFLAGS = \
	$(GLIB_CFLAGS) \
	$(GMODULE_CFLAGS) \
	$(DBUS_CFLAGS) \
	$(GUDEV_CFLAGS) \
	-DG_DISABLE_DEPRECATED \
	-DSYSCONFDIR=\"$(sysconfdir)\"

libnm_settings_plugin_ifnet_la_LDFLAGS = -module -avoid-version

libnm_settings_plugin_ifnet_la_LIBADD = \
	$(top_builddir)/libnm-util/libnm-util.la \
	$(top_builddir)/libnm-glib/libnm-glib.la \
	lib-ifnet-io.la\
	$(GLIB_LIBS) \
	$(GMODULE_LIBS) \
	$(GUDEV_LIBS) \
	$(GIO_LIBS)

lib_ifnet_io_la_SOURCES = \
	net_parser.c\
	net_parser.h\
	connection_parser.c \
	connection_parser.h \
	net_utils.h\
	net_utils.c\
	wpa_parser.h\
	wpa_parser.c

lib_ifnet_io_la_CPPFLAGS = \
			   $(GLIB_CFLAGS) \
		           $(DBUS_CFLAGS) \
		           -DG_DISABLE_DEPRECATED \
		           -DSYSCONFDIR=\"$(sysconfdir)\" \
		           -DSBINDIR=\"$(sbindir)\"

lib_ifnet_io_la_LIBADD = \
			 $(top_builddir)/libnm-util/libnm-util.la \
			 $(GLIB_LIBS)\
			 $(GIO_LIBS)