discover: Support creation of device-mapper devices
[petitboot] / discover / Makefile.am
index 7808110811cb00654f5605a51031235f780be568..1672035fdacc45ab7b74c0cf0425844fc53a971a 100644 (file)
@@ -24,6 +24,8 @@ discover_pb_discover_SOURCES = \
        discover/device-handler.h \
        discover/discover-server.c \
        discover/discover-server.h \
+       discover/devmapper.c \
+       discover/devmapper.h \
        discover/event.c \
        discover/event.h \
        discover/params.c \
@@ -58,6 +60,10 @@ discover_pb_discover_LDADD = \
        $(core_lib) \
        $(UDEV_LIBS)
 
+discover_pb_discover_LDFLAGS = \
+       $(AM_LDFLAGS) \
+       -ldevmapper
+
 discover_pb_discover_CPPFLAGS = \
        $(AM_CPPFLAGS) \
        -DLOCAL_STATE_DIR='"$(localstatedir)"' \