]> sourceware.org Git - lvm2.git/blobdiff - daemons/dmeventd/plugins/mirror/Makefile.in
Reflect new file locations, include file updates etc.
[lvm2.git] / daemons / dmeventd / plugins / mirror / Makefile.in
index bd13fb213590f8a98cd8267d5fd3b718cb83262f..85b33c93b40b901415621c73eb5b3acf3d361a21 100644 (file)
@@ -1,8 +1,8 @@
 #
 # Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
-# Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved.
+# Copyright (C) 2004-2005, 2008-2011 Red Hat, Inc. All rights reserved.
 #
-# This file is part of the LVM2.
+# This file is part of LVM2.
 #
 # This copyrighted material is made available to anyone wishing to use,
 # modify, copy, or redistribute it subject to the terms and conditions
 
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
-VPATH = @srcdir@
+top_builddir = @top_builddir@
 
-INCLUDES += -I${top_srcdir}/tools
-CLDFLAGS += -L${top_srcdir}/tools -ldevmapper -llvm2cmd
+INCLUDES += -I$(top_srcdir)/tools -I$(top_srcdir)/daemons/dmeventd/plugins/lvm2
+CLDFLAGS += -L$(top_builddir)/tools -L$(top_builddir)/daemons/dmeventd/plugins/lvm2
 
 SOURCES = dmeventd_mirror.c
 
-ifeq ("@LIB_SUFFIX@","dylib")
-  LIB_SHARED = libdevmapper-event-lvm2mirror.dylib
-else
-  LIB_SHARED = libdevmapper-event-lvm2mirror.so
-endif
+LIB_NAME = libdevmapper-event-lvm2mirror
+LIB_SHARED = $(LIB_NAME).$(LIB_SUFFIX)
+LIB_VERSION = $(LIB_VERSION_LVM)
 
-include $(top_srcdir)/make.tmpl
+CFLOW_LIST = $(SOURCES)
+CFLOW_LIST_TARGET = $(LIB_NAME).cflow
 
-install: libdevmapper-event-lvm2mirror.$(LIB_SUFFIX)
-       $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< \
-               $(libdir)/$<.$(LIB_VERSION)
-       $(LN_S) -f $<.$(LIB_VERSION) $(libdir)/$<
+include $(top_builddir)/make.tmpl
 
+LIBS += -ldevmapper-event-lvm2 -ldevmapper $(DAEMON_LIBS)
+
+install_lvm2: install_dm_plugin
+
+install: install_lvm2
This page took 0.023531 seconds and 5 git commands to generate.