1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

TARGETS macro has to be defined before inclusion of make.tmpl

Use @TESTING@ check in this case.
This commit is contained in:
Zdenek Kabelac 2012-01-27 10:55:02 +00:00
parent 91c631c558
commit 400dede7a6

View File

@ -16,10 +16,12 @@ top_builddir = @top_builddir@
VPATH = $(srcdir)
SOURCES = bitset_t.c matcher_t.c config_t.c run.c
ifeq ("@TESTING@", "yes")
TARGETS = run
endif
include $(top_builddir)/make.tmpl
ifeq ("$(TESTING)", "yes")
TARGETS = run
LDLIBS += -ldevmapper @CUNIT_LIBS@
CFLAGS += @CUNIT_CFLAGS@