summaryrefslogtreecommitdiff
path: root/src/accelerometer/Makefile.am
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-11-17 20:29:02 -0500
committerAnthony G. Basile <blueness@gentoo.org>2012-11-18 07:08:19 -0500
commit814a7243680857496595c21a05b8bb6242664d8e (patch)
treec4f289c8d5165777c686b4ba36470b6b1958e254 /src/accelerometer/Makefile.am
parent7730dfb5e1fc7e2f8b1df0eb9ef62c451a5f725f (diff)
Got helper in src/* and make distcheck working
Diffstat (limited to 'src/accelerometer/Makefile.am')
-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