2001-09-21 16:37:43 +04:00
#
2004-03-30 23:35:44 +04:00
# Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
# Copyright (C) 2004 Red Hat, Inc. All rights reserved.
2001-09-21 16:37:43 +04:00
#
2004-03-30 23:35:44 +04:00
# This file is part of the LVM2.
2001-09-21 16:37:43 +04:00
#
2004-03-30 23:35:44 +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.
2001-09-21 16:37:43 +04:00
#
2004-03-30 23:35:44 +04:00
# 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
2001-09-21 16:37:43 +04:00
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
2006-11-20 23:03:26 +03:00
SUBDIRS = doc include man scripts
2004-02-14 01:56:45 +03:00
i f e q ( "@INTL@" , "yes" )
SUBDIRS += po
e n d i f
2004-06-24 12:02:38 +04:00
SUBDIRS += lib tools daemons
2001-09-21 16:37:43 +04:00
2005-12-02 22:52:06 +03:00
i f e q ( "@DMEVENTD@" , "yes" )
SUBDIRS += dmeventd
e n d i f
2001-12-11 19:26:34 +03:00
i f e q ( $( MAKECMDGOALS ) , d i s t c l e a n )
2004-06-24 12:02:38 +04:00
SUBDIRS += daemons/clvmd \
2005-12-02 22:52:06 +03:00
dmeventd \
2004-06-24 12:02:38 +04:00
lib/format1 \
2004-06-07 23:10:21 +04:00
lib/format_pool \
2004-06-24 12:02:38 +04:00
lib/locking \
2004-05-05 01:25:57 +04:00
lib/mirror \
lib/snapshot \
2004-02-14 01:56:45 +03:00
po \
2002-11-18 17:04:08 +03:00
test/mm test/device test/format1 test/regex test/filters
2006-05-17 00:53:13 +04:00
DISTCLEAN_TARGETS += lib/misc/configure.h
2001-12-11 19:26:34 +03:00
e n d i f
2001-09-21 16:37:43 +04:00
i n c l u d e m a k e . t m p l
2005-02-07 17:45:38 +03:00
daemons : lib
2002-01-21 19:02:55 +03:00
lib : include
2004-02-14 01:56:45 +03:00
tools : lib
2005-12-02 22:52:06 +03:00
dmeventd : tools
po : tools daemons dmeventd
2002-01-21 19:02:55 +03:00
2004-02-14 01:56:45 +03:00
i f e q ( "@INTL@" , "yes" )
lib.pofile : include .pofile
tools.pofile : lib .pofile
2004-06-24 12:02:38 +04:00
daemons.pofile : lib .pofile
2005-12-02 22:52:06 +03:00
dmeventd.pofile : tools .pofile
po.pofile : tools .pofile daemons .pofile dmeventd .pofile
2004-02-14 01:56:45 +03:00
pofile : po .pofile
e n d i f
2002-01-21 19:02:55 +03:00
2006-04-19 19:33:07 +04:00
i f n e q ( "@CFLOW_CMD@" , "" )
tools.cflow : lib .cflow
cflow : tools .cflow
e n d i f
i f n e q ( "@CSCOPE_CMD@" , "" )
cscope.out : tools
@CSCOPE_CMD@ -b -R
all : cscope .out
e n d i f