summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2011-04-21 15:19:56 +0200
committerMarcel Holtmann <marcel@holtmann.org>2011-10-20 23:54:00 -0700
commit373f8fec2d09c6f1fb4d8acde8b78088019eaef0 (patch)
treefeb01e9aa491b2f3cbe31e3386c5168a896ca68a /Makefile.am
parenta6a091c0d454dd5adfde92e4aea51b4908567842 (diff)
downloadneard-373f8fec2d09c6f1fb4d8acde8b78088019eaef0.tar.gz
neard-373f8fec2d09c6f1fb4d8acde8b78088019eaef0.tar.bz2
neard-373f8fec2d09c6f1fb4d8acde8b78088019eaef0.zip
configure: Add libnl-2.0 dependency
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index a94b7e7..2ab845c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,9 +21,9 @@ libexec_PROGRAMS = src/neard
src_neard_SOURCES = $(gdbus_sources) $(gweb_sources) $(builtin_sources) \
src/main.c src/error.c src/near.h src/types.h \
src/log.h src/log.c src/dbus.c src/manager.c \
- src/adapter.c src/nfcnl.c
+ src/adapter.c src/netlink.c
-src_neard_LDADD = $(builtin_libadd) @GLIB_LIBS@ @DBUS_LIBS@ -lresolv -ldl
+src_neard_LDADD = $(builtin_libadd) @GLIB_LIBS@ @DBUS_LIBS@ @NETLINK_LIBS@ -lresolv -ldl
src_neard_LDFLAGS = -Wl,--export-dynamic
@@ -32,8 +32,8 @@ nodist_src_neard_SOURCES = src/builtin.h
src/builtin.h: src/genbuiltin $(builtin_sources)
$(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@
-AM_CFLAGS = @GLIB_CFLAGS@ @DBUS_CFLAGS@ $(builtin_cflags) \
- -DMMS_PLUGIN_BUILTIN \
+AM_CFLAGS = @GLIB_CFLAGS@ @DBUS_CFLAGS@ @NETLINK_CFLAGS@ $(builtin_cflags) \
+ -DNEARD_PLUGIN_BUILTIN \
-DPLUGINDIR=\""$(plugindir)"\"
INCLUDES = -I$(builddir)/include -I$(builddir)/src -I$(srcdir)/gdbus