2004-06-24 08:02:38 +00:00
#
2015-05-09 00:59:18 +01:00
# Copyright (C) 2004-2015 Red Hat, Inc. All rights reserved.
2004-06-24 08:02:38 +00:00
#
2007-09-21 10:16:45 +00:00
# This file is part of LVM2.
2004-06-24 08:02:38 +00:00
#
# 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,
2016-01-21 11:49:46 +01:00
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2004-06-24 08:02:38 +00:00
srcdir = @srcdir@
top_srcdir = @top_srcdir@
2009-10-02 19:10:31 +00:00
top_builddir = @top_builddir@
2004-06-24 08:02:38 +00:00
2015-03-05 14:00:44 -06:00
.PHONY : dmeventd clvmd cmirrord lvmetad lvmpolld lvmlockd
2008-11-04 15:55:27 +00:00
2004-11-03 10:45:07 +00:00
i f n e q ( "@CLVMD@" , "none" )
2011-09-19 00:29:11 +00:00
SUBDIRS += clvmd
2004-06-24 08:02:38 +00:00
e n d i f
2009-08-28 20:51:40 +00:00
i f e q ( "@BUILD_CMIRRORD@" , "yes" )
2009-09-02 17:36:46 +00:00
SUBDIRS += cmirrord
2009-08-13 16:34:07 +00:00
e n d i f
2009-08-28 20:51:40 +00:00
i f e q ( "@BUILD_DMEVENTD@" , "yes" )
2008-11-03 23:01:21 +00:00
SUBDIRS += dmeventd
2010-03-29 14:11:17 +00:00
i f n e q ( "$(CFLOW_CMD)" , "" )
daemons.cflow : dmeventd .cflow
e n d i f
2008-10-31 22:29:44 +00:00
e n d i f
2014-04-16 11:57:42 +02:00
i f e q ( "@BUILD_LVMETAD@" , "yes" )
SUBDIRS += lvmetad
e n d i f
2015-05-09 00:59:18 +01:00
i f e q ( "@BUILD_LVMPOLLD@" , "yes" )
SUBDIRS += lvmpolld
e n d i f
2015-03-05 14:00:44 -06:00
i f e q ( "@BUILD_LVMLOCKD@" , "yes" )
2016-11-25 21:41:43 +01:00
SUBDIRS += lvmlockd
2015-03-05 14:00:44 -06:00
e n d i f
2016-02-17 23:53:35 +00:00
i f e q ( "@BUILD_LVMDBUSD@" , "yes" )
2016-11-25 21:41:43 +01:00
SUBDIRS += lvmdbusd
2016-02-17 23:53:35 +00:00
e n d i f
2010-03-29 14:09:25 +00:00
i f e q ( $( MAKECMDGOALS ) , d i s t c l e a n )
2016-02-17 23:53:35 +00:00
SUBDIRS = clvmd cmirrord dmeventd lvmetad lvmpolld lvmlockd lvmdbusd
2010-03-29 14:09:25 +00:00
e n d i f
2010-03-04 09:51:37 +00:00
i n c l u d e $( top_builddir ) / m a k e . t m p l
2004-06-24 08:02:38 +00:00
2009-08-28 20:51:40 +00:00
i f e q ( "@BUILD_DMEVENTD@" , "yes" )
2008-11-04 15:55:27 +00:00
device-mapper : dmeventd .device -mapper
2008-11-04 16:41:47 +00:00
e n d i f