summaryrefslogtreecommitdiff
path: root/src/backends/Makefile.am
blob: 036dc6de388b32dc8543cf115dd4f8a2cce00d37 (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
INCLUDES = \
	-I${top_srcdir} \
	-I${top_srcdir}/src/logging \
	-I${top_srcdir}/include \
	-I${top_srcdir}/src \
	-I${top_srcdir}/libnm-util

noinst_LTLIBRARIES = libnmbackend.la

libnmbackend_la_SOURCES = NetworkManagerGeneric.c	\
				NetworkManagerGeneric.h

libnmbackend_la_LIBADD =

if TARGET_REDHAT
libnmbackend_la_SOURCES += NetworkManagerRedHat.c
endif

if TARGET_SUSE
libnmbackend_la_SOURCES += NetworkManagerSuSE.c
endif

if TARGET_GENTOO
libnmbackend_la_SOURCES += NetworkManagerGentoo.c
endif

if TARGET_DEBIAN
libnmbackend_la_SOURCES += NetworkManagerDebian.c
endif

if TARGET_SLACKWARE
libnmbackend_la_SOURCES += NetworkManagerSlackware.c
endif

if TARGET_ARCH
libnmbackend_la_SOURCES += NetworkManagerArch.c
endif

if TARGET_PALDO
libnmbackend_la_SOURCES += NetworkManagerPaldo.c
endif

if TARGET_FRUGALWARE
libnmbackend_la_SOURCES += NetworkManagerFrugalware.c
libnmbackend_la_LIBADD += -lfwnetconfig -lfwutil
endif

if TARGET_MANDRIVA
libnmbackend_la_SOURCES += NetworkManagerMandriva.c
endif

if TARGET_PARDUS
libnmbackend_la_SOURCES += NetworkManagerPardus.c
endif

if TARGET_LINEXA
libnmbackend_la_SOURCES += NetworkManagerLinexa.c
endif

libnmbackend_la_LIBADD += \
	$(top_builddir)/src/logging/libnm-logging.la \
	$(DBUS_LIBS) \
	$(GLIB_LIBS)

libnmbackend_la_CPPFLAGS = \
	$(DBUS_CFLAGS) \
	$(GLIB_CFLAGS) \
	-DG_DISABLE_DEPRECATED \
	-DBINDIR=\"$(bindir)\" \
	-DDATADIR=\"$(datadir)\" \
	-DSYSCONFDIR=\"$(sysconfdir)\"