summaryrefslogtreecommitdiff
path: root/src/mtd_probe/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/mtd_probe/Makefile.am')
-rw-r--r--src/mtd_probe/Makefile.am22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/mtd_probe/Makefile.am b/src/mtd_probe/Makefile.am
new file mode 100644
index 0000000000..dc87d37fe3
--- /dev/null
+++ b/src/mtd_probe/Makefile.am
@@ -0,0 +1,22 @@
+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
+
+udevlibexec_PROGRAMS = \
+ mtd_probe
+
+mtd_probe_SOURCES = \
+ mtd_probe.c \
+ mtd_probe.h \
+ probe_smartmedia.c
+
+mtd_probe_CPPFLAGS = \
+ $(AM_CPPFLAGS)