1
# Copyright (C) 2011-2012 Red Hat, Inc. All rights reserved.
3
# This file is part of LVM2.
5
# This copyrighted material is made available to anyone wishing to use,
6
# modify, copy, or redistribute it subject to the terms and conditions
7
# of the GNU General Public License v.2.
9
# You should have received a copy of the GNU General Public License
10
# along with this program; if not, write to the Free Software Foundation,
11
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
14
top_srcdir = @top_srcdir@
15
top_builddir = @top_builddir@
18
SOURCES = bitset_t.c matcher_t.c config_t.c string_t.c run.c
19
ifeq ("@TESTING@", "yes")
23
include $(top_builddir)/make.tmpl
24
ifeq ("$(TESTING)", "yes")
25
LDLIBS += -ldevmapper @CUNIT_LIBS@
26
CFLAGS += @CUNIT_CFLAGS@
31
@echo Running unit tests
32
LD_LIBRARY_PATH=$(top_builddir)/libdm ./$(TARGETS)