public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2/test/unit Makefile.in
@ 2012-01-26 21:40 zkabelac
0 siblings, 0 replies; 2+ messages in thread
From: zkabelac @ 2012-01-26 21:40 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac@sourceware.org 2012-01-26 21:40:36
Modified files:
test/unit : Makefile.in
Log message:
Build test run target only for $(TESTING)
Add libraries properly in LDLIBS.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/unit/Makefile.in.diff?cvsroot=lvm2&r1=1.5&r2=1.6
--- LVM2/test/unit/Makefile.in 2011/12/11 15:19:41 1.5
+++ LVM2/test/unit/Makefile.in 2012/01/26 21:40:36 1.6
@@ -1,4 +1,4 @@
-# Copyright (C) 2011 Red Hat, Inc. All rights reserved.
+# Copyright (C) 2011-2012 Red Hat, Inc. All rights reserved.
#
# This file is part of LVM2.
#
@@ -16,11 +16,11 @@
VPATH = $(srcdir)
SOURCES = bitset_t.c matcher_t.c config_t.c run.c
-TARGETS = run
include $(top_builddir)/make.tmpl
ifeq ("$(TESTING)", "yes")
-LDFLAGS += -ldevmapper @CUNIT_LIBS@
+TARGETS = run
+LDLIBS += -ldevmapper @CUNIT_LIBS@
CFLAGS += @CUNIT_CFLAGS@
all: unit
^ permalink raw reply [flat|nested] 2+ messages in thread
* LVM2/test/unit Makefile.in
@ 2012-01-27 10:55 zkabelac
0 siblings, 0 replies; 2+ messages in thread
From: zkabelac @ 2012-01-27 10:55 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac@sourceware.org 2012-01-27 10:55:02
Modified files:
test/unit : Makefile.in
Log message:
TARGETS macro has to be defined before inclusion of make.tmpl
Use @TESTING@ check in this case.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/unit/Makefile.in.diff?cvsroot=lvm2&r1=1.6&r2=1.7
--- LVM2/test/unit/Makefile.in 2012/01/26 21:40:36 1.6
+++ LVM2/test/unit/Makefile.in 2012/01/27 10:55:02 1.7
@@ -16,10 +16,12 @@
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@
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-27 10:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-26 21:40 LVM2/test/unit Makefile.in zkabelac
2012-01-27 10:55 zkabelac
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).