2 # Copyright (C) 2010 Red Hat, Inc. All rights reserved.
4 # This file is part of LVM2.
6 # This copyrighted material is made available to anyone wishing to use,
7 # modify, copy, or redistribute it subject to the terms and conditions
8 # of the GNU General Public License v.2.
10 # You should have received a copy of the GNU General Public License
11 # along with this program; if not, write to the Free Software Foundation,
12 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
15 top_srcdir = @top_srcdir@
16 top_builddir = @top_builddir@
18 CLDFLAGS += -L$(top_builddir)/tools
20 SOURCES = dmeventd_lvm.c
22 LIB_SHARED = libdevmapper-event-lvm2.$(LIB_SUFFIX)
23 LIB_VERSION = $(LIB_VERSION_LVM)
25 include $(top_builddir)/make.tmpl
27 LIBS += @LVM2CMD_LIB@ -ldevmapper $(PTHREAD_LIBS)
29 install_lvm2: install_lib_shared
33 DISTCLEAN_TARGETS += .exported_symbols_generated