summaryrefslogtreecommitdiff
path: root/src/udev/mtd_probe
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-11-17 00:33:19 -0500
committerAnthony G. Basile <blueness@gentoo.org>2012-11-17 00:33:19 -0500
commita27ee4898f1d423de21edcddfdf97e9d63c88307 (patch)
tree4ed42f8ae245a321fd9a26f68cf0f59aa4167c9b /src/udev/mtd_probe
parent8b9605d16a070dcfb4fdf2c88d2f361c9db48d18 (diff)
src/udev: breakout Makefile.am for helpers
Diffstat (limited to 'src/udev/mtd_probe')
-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)