summaryrefslogtreecommitdiff
path: root/src/accelerometer
diff options
context:
space:
mode:
Diffstat (limited to 'src/accelerometer')
-rw-r--r--src/accelerometer/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/accelerometer/Makefile.am b/src/accelerometer/Makefile.am
index dc06d4f747..5bb7ee4a58 100644
--- a/src/accelerometer/Makefile.am
+++ b/src/accelerometer/Makefile.am
@@ -3,6 +3,10 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
rootprefix=@rootprefix@
udevlibexecdir=$(rootprefix)/lib/udev
+AM_CPPFLAGS = \
+ -I $(top_srcdir)/src/libudev \
+ -I $(top_srcdir)/src/udev
+
udevlibexec_PROGRAMS = \
accelerometer
@@ -10,5 +14,6 @@ accelerometer_SOURCES = \
accelerometer.c
accelerometer_LDADD = \
- $(top_srcdir)/src/libudev/libudev.la \
+ $(top_builddir)/src/libudev/libudev-private.la \
+ $(top_builddir)/src/udev/libudev-core.la \
-lm