summaryrefslogtreecommitdiff
path: root/src/udev/mtd_probe/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev/mtd_probe/Makefile.am')
-rw-r--r--src/udev/mtd_probe/Makefile.am23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/udev/mtd_probe/Makefile.am b/src/udev/mtd_probe/Makefile.am
new file mode 100644
index 0000000000..400a41138d
--- /dev/null
+++ b/src/udev/mtd_probe/Makefile.am
@@ -0,0 +1,23 @@
+ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
+
+rootprefix=@rootprefix@
+udevlibexecdir=$(rootprefix)/lib/udev
+
+AM_CPPFLAGS = \
+ -include $(top_builddir)/config.h \
+ -DROOTPREFIX=\"$(rootprefix)\" \
+ -DUDEVLIBEXECDIR=\"$(udevlibexecdir)\" \
+ -I $(top_srcdir)/src/libudev \
+ -I $(top_srcdir)/src/udev \
+ -I $(top_srcdir)/src/shared
+
+udevlibexec_PROGRAMS += \
+ mtd_probe
+
+mtd_probe_SOURCES = \
+ mtd_probe.c \
+ mtd_probe.h \
+ probe_smartmedia.c
+
+mtd_probe_CPPFLAGS = \
+ $(AM_CPPFLAGS)