1*86d7f5d3SJohn Marino# 2*86d7f5d3SJohn Marino# Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved. 3*86d7f5d3SJohn Marino# Copyright (C) 2004 Red Hat, Inc. All rights reserved. 4*86d7f5d3SJohn Marino# 5*86d7f5d3SJohn Marino# This file is part of LVM2. 6*86d7f5d3SJohn Marino# 7*86d7f5d3SJohn Marino# This copyrighted material is made available to anyone wishing to use, 8*86d7f5d3SJohn Marino# modify, copy, or redistribute it subject to the terms and conditions 9*86d7f5d3SJohn Marino# of the GNU General Public License v.2. 10*86d7f5d3SJohn Marino# 11*86d7f5d3SJohn Marino# You should have received a copy of the GNU General Public License 12*86d7f5d3SJohn Marino# along with this program; if not, write to the Free Software Foundation, 13*86d7f5d3SJohn Marino# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14*86d7f5d3SJohn Marino 15*86d7f5d3SJohn MarinoSHELL = /bin/sh 16*86d7f5d3SJohn Marino 17*86d7f5d3SJohn Marinosrcdir = @srcdir@ 18*86d7f5d3SJohn Marinotop_srcdir = @top_srcdir@ 19*86d7f5d3SJohn Marinotop_builddir = @top_builddir@ 20*86d7f5d3SJohn MarinoVPATH = @srcdir@ 21*86d7f5d3SJohn Marino 22*86d7f5d3SJohn MarinoLN_S = @LN_S@ 23*86d7f5d3SJohn Marino 24*86d7f5d3SJohn Marino.PHONY: clean distclean all install pofile install_cluster install_device-mapper 25*86d7f5d3SJohn Marino 26*86d7f5d3SJohn Marinoall: .symlinks_created 27*86d7f5d3SJohn Marino 28*86d7f5d3SJohn Marino.symlinks_created: .symlinks 29*86d7f5d3SJohn Marino find . -maxdepth 1 -type l -exec $(RM) \{\} \; 30*86d7f5d3SJohn Marino for i in `cat $<`; do $(LN_S) $$i ; done 31*86d7f5d3SJohn Marino touch $@ 32*86d7f5d3SJohn Marino 33*86d7f5d3SJohn Marinodistclean: 34*86d7f5d3SJohn Marino find . -maxdepth 1 -type l -exec $(RM) \{\} \; 35*86d7f5d3SJohn Marino $(RM) Makefile .include_symlinks .symlinks_created .symlinks 36*86d7f5d3SJohn Marino 37*86d7f5d3SJohn Marinopofile: all 38*86d7f5d3SJohn Marino 39*86d7f5d3SJohn Marinodevice-mapper: all 40*86d7f5d3SJohn Marino 41*86d7f5d3SJohn Marinoclean: 42*86d7f5d3SJohn Marino 43*86d7f5d3SJohn Marinoinstall: 44*86d7f5d3SJohn Marino 45*86d7f5d3SJohn Marinoinstall_cluster: 46*86d7f5d3SJohn Marino 47*86d7f5d3SJohn Marinoinstall_device-mapper: 48*86d7f5d3SJohn Marino 49*86d7f5d3SJohn Marinoinstall_lvm2: 50*86d7f5d3SJohn Marino 51*86d7f5d3SJohn Marinocflow: 52*86d7f5d3SJohn Marino 53