summaryrefslogtreecommitdiff
path: root/src/scsi_id/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/scsi_id/Makefile.am')
-rw-r--r--src/scsi_id/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/scsi_id/Makefile.am b/src/scsi_id/Makefile.am
index 9628bc2670..6412692afe 100644
--- a/src/scsi_id/Makefile.am
+++ b/src/scsi_id/Makefile.am
@@ -3,6 +3,11 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
rootprefix=@rootprefix@
udevlibexecdir=$(rootprefix)/lib/udev
+AM_CPPFLAGS = \
+ -DVERSION \
+ -I $(top_srcdir)/src/libudev \
+ -I $(top_srcdir)/src/udev
+
udevlibexec_PROGRAMS = \
scsi_id
@@ -13,8 +18,8 @@ scsi_id_SOURCES =\
scsi_id.h
scsi_id_LDADD = \
- $(top_srcdir)/src/libudev/libudev-private.la \
- $(top_srcdir)/src/udev/libudev-core.la
+ $(top_builddir)/src/libudev/libudev-private.la \
+ $(top_builddir)/src/udev/libudev-core.la
EXTRA_DIST = \
README