1#
2# Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
3# Copyright (C) 2004 Red Hat, Inc. All rights reserved.
4#
5# This file is part of LVM2.
6#
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.
10#
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
14
15SHELL = /bin/sh
16
17srcdir = @srcdir@
18top_srcdir = @top_srcdir@
19top_builddir = @top_builddir@
20VPATH = @srcdir@
21
22LN_S = @LN_S@
23
24.PHONY: clean distclean all install pofile install_cluster install_device-mapper
25
26all: .symlinks_created
27
28.symlinks_created: .symlinks
29	find . -maxdepth 1 -type l -exec $(RM) \{\} \;
30	for i in `cat $<`; do $(LN_S) $$i ; done
31	touch $@
32
33distclean:
34	find . -maxdepth 1 -type l -exec $(RM) \{\} \;
35	$(RM) Makefile .include_symlinks .symlinks_created .symlinks
36
37pofile: all
38
39device-mapper: all
40
41clean:
42
43install:
44
45install_cluster:
46
47install_device-mapper:
48
49install_lvm2:
50
51cflow:
52
53