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 15 SHELL = /bin/sh 16 17 srcdir = . 18 top_srcdir = .. 19 top_builddir = .. 20 21 22 LN_S = ln -s 23 24 .PHONY: clean distclean all install pofile install_cluster install_device-mapper 25 26 all: .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 33 distclean: 34 find . -maxdepth 1 -type l -exec $(RM) \{\} \; 35 $(RM) Makefile .include_symlinks .symlinks_created .symlinks 36 37 pofile: all 38 39 device-mapper: all 40 41 clean: 42 43 install: 44 45 install_cluster: 46 47 install_device-mapper: 48 49 install_lvm2: 50 51 cflow: 52 53