2004-06-24 12:02:38 +04:00
#
2010-03-29 18:11:17 +04:00
# Copyright (C) 2004-2010 Red Hat, Inc. All rights reserved.
2004-06-24 12:02:38 +04:00
#
2007-09-21 14:16:45 +04:00
# This file is part of LVM2.
2004-06-24 12:02:38 +04: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,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
srcdir = @srcdir@
top_srcdir = @top_srcdir@
2009-10-02 23:10:31 +04:00
top_builddir = @top_builddir@
2004-06-24 12:02:38 +04:00
2011-09-01 21:56:53 +04:00
i f e q ( "@BUILD_LVMETAD@" , "yes" )
2011-08-31 15:31:57 +04:00
LIB_STATIC = libdaemon.a
SOURCES = common/daemon-shared.c common/daemon-server.c common/daemon-client.c
2011-09-01 21:56:53 +04:00
e n d i f
2011-08-31 15:31:57 +04:00
.PHONY : dmeventd clvmd cmirrord lvmetad
2008-11-04 18:55:27 +03:00
2004-11-03 13:45:07 +03:00
i f n e q ( "@CLVMD@" , "none" )
2004-06-24 12:02:38 +04:00
SUBDIRS = clvmd
e n d i f
2009-08-29 00:51:40 +04:00
i f e q ( "@BUILD_CMIRRORD@" , "yes" )
2009-09-02 21:36:46 +04:00
SUBDIRS += cmirrord
2009-08-13 20:34:07 +04:00
e n d i f
2011-08-31 15:31:57 +04:00
i f e q ( "@BUILD_LVMETAD@" , "yes" )
SUBDIRS += lvmetad
2011-09-02 18:49:00 +04:00
# FIXME: build dependency order needs rule fixing, using hack
all : libdaemon .a
2011-08-31 15:31:57 +04:00
e n d i f
2009-08-29 00:51:40 +04:00
i f e q ( "@BUILD_DMEVENTD@" , "yes" )
2008-11-04 02:01:21 +03:00
SUBDIRS += dmeventd
2010-03-29 18:11:17 +04:00
i f n e q ( "$(CFLOW_CMD)" , "" )
daemons.cflow : dmeventd .cflow
e n d i f
2008-11-01 01:29:44 +03:00
e n d i f
2010-03-29 18:09:25 +04:00
i f e q ( $( MAKECMDGOALS ) , d i s t c l e a n )
2011-08-31 15:31:57 +04:00
SUBDIRS = clvmd cmirrord dmeventd lvmetad
2010-03-29 18:09:25 +04:00
e n d i f
2010-03-04 12:51:37 +03:00
i n c l u d e $( top_builddir ) / m a k e . t m p l
2004-06-24 12:02:38 +04:00
2009-08-29 00:51:40 +04:00
i f e q ( "@BUILD_DMEVENTD@" , "yes" )
2008-11-04 18:55:27 +03:00
device-mapper : dmeventd .device -mapper
2008-11-04 19:41:47 +03:00
e n d i f