]>
Commit | Line | Data |
---|---|---|
795ca3e5 | 1 | # |
6606c3ae | 2 | # Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved. |
be684599 | 3 | # Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved. |
795ca3e5 | 4 | # |
6606c3ae | 5 | # This file is part of the LVM2. |
795ca3e5 | 6 | # |
6606c3ae AK |
7 | # This copyrighted material is made available to anyone wishing to use, |
8 | # modify, copy, or redistribute it subject to the terms and conditions | |
9 | # of the GNU General Public License v.2. | |
795ca3e5 | 10 | # |
6606c3ae AK |
11 | # You should have received a copy of the GNU General Public License |
12 | # along with this program; if not, write to the Free Software Foundation, | |
13 | # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
795ca3e5 AK |
14 | |
15 | srcdir = @srcdir@ | |
16 | top_srcdir = @top_srcdir@ | |
17 | VPATH = @srcdir@ | |
18 | ||
4eee5764 | 19 | SUBDIRS = doc include man scripts |
69792976 AK |
20 | |
21 | ifeq ("@INTL@", "yes") | |
22 | SUBDIRS += po | |
23 | endif | |
24 | ||
d3c8211f | 25 | SUBDIRS += lib tools daemons |
795ca3e5 | 26 | |
06f62ad1 AK |
27 | ifeq ("@DMEVENTD@", "yes") |
28 | SUBDIRS += dmeventd | |
29 | endif | |
30 | ||
5b82db9a | 31 | ifeq ($(MAKECMDGOALS),distclean) |
d3c8211f | 32 | SUBDIRS += daemons/clvmd \ |
06f62ad1 | 33 | dmeventd \ |
d3c8211f | 34 | lib/format1 \ |
d8ac0fbc | 35 | lib/format_pool \ |
d3c8211f | 36 | lib/locking \ |
4922197a AK |
37 | lib/mirror \ |
38 | lib/snapshot \ | |
69792976 | 39 | po \ |
5a52dca9 | 40 | test/mm test/device test/format1 test/regex test/filters |
aba30ebc | 41 | DISTCLEAN_TARGETS += lib/misc/configure.h |
5b82db9a AK |
42 | endif |
43 | ||
795ca3e5 AK |
44 | include make.tmpl |
45 | ||
59376640 | 46 | daemons: lib |
751acb38 | 47 | lib: include |
69792976 | 48 | tools: lib |
06f62ad1 AK |
49 | dmeventd: tools |
50 | po: tools daemons dmeventd | |
751acb38 | 51 | |
69792976 AK |
52 | ifeq ("@INTL@", "yes") |
53 | lib.pofile: include.pofile | |
54 | tools.pofile: lib.pofile | |
d3c8211f | 55 | daemons.pofile: lib.pofile |
06f62ad1 AK |
56 | dmeventd.pofile: tools.pofile |
57 | po.pofile: tools.pofile daemons.pofile dmeventd.pofile | |
69792976 AK |
58 | pofile: po.pofile |
59 | endif | |
751acb38 | 60 | |
8a2fc586 AK |
61 | ifneq ("@CFLOW_CMD@", "") |
62 | tools.cflow: lib.cflow | |
63 | cflow: tools.cflow | |
64 | endif | |
65 | ||
66 | ifneq ("@CSCOPE_CMD@", "") | |
67 | cscope.out: tools | |
68 | @CSCOPE_CMD@ -b -R | |
69 | all: cscope.out | |
70 | endif | |
f0f8fbc6 JM |
71 | |
72 | check: all | |
73 | $(MAKE) -C test all |