summaryrefslogtreecommitdiffstats
path: root/unit-tests/mm/Makefile.in
diff options
context:
space:
mode:
authorJoe Thornber <thornber@redhat.com>2010-08-09 10:56:01 +0000
committerJoe Thornber <thornber@redhat.com>2010-08-09 10:56:01 +0000
commit52e1564fddf769d481ef8bc89a01c680777bcbbc (patch)
tree9ebf3a6c825029c278ec2300ab2bec33f9b7fc36 /unit-tests/mm/Makefile.in
parentfae2c492595add56718d45efaee36438e4279600 (diff)
downloadlvm2-52e1564fddf769d481ef8bc89a01c680777bcbbc.tar.gz
lvm2-52e1564fddf769d481ef8bc89a01c680777bcbbc.tar.xz
lvm2-52e1564fddf769d481ef8bc89a01c680777bcbbc.zip
[MM] Make valgrind aware of the pool allocators
./configure with --enable-valgrind-pool to enable this.
Diffstat (limited to 'unit-tests/mm/Makefile.in')
-rw-r--r--unit-tests/mm/Makefile.in31
1 files changed, 31 insertions, 0 deletions
diff --git a/unit-tests/mm/Makefile.in b/unit-tests/mm/Makefile.in
new file mode 100644
index 00000000..1b3499ed
--- /dev/null
+++ b/unit-tests/mm/Makefile.in
@@ -0,0 +1,31 @@
+#
+# Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
+# Copyright (C) 2004 Red Hat, Inc. All rights reserved.
+#
+# 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
+# of the GNU General Public License v.2.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+top_builddir = @top_builddir@
+VPATH = @srcdir@
+
+SOURCES=\
+ pool_valgrind_t.c
+
+TARGETS=\
+ pool_valgrind_t
+
+include $(top_builddir)/make.tmpl
+DM_LIBS = -ldevmapper $(LIBS)
+
+pool_valgrind_t: pool_valgrind_t.o
+ $(CC) $(CFLAGS) -o $@ pool_valgrind_t.o $(LDFLAGS) $(DM_LIBS)
+