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:
parent
91c631c558
commit
400dede7a6
@ -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@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user