xref: /dflybsd-src/contrib/lvm2/dist/lib/locking/Makefile (revision 86d7f5d305c6adaa56ff4582ece9859d73106103)
186d7f5d3SJohn Marino#
286d7f5d3SJohn Marino# Copyright (C) 2003-2004 Sistina Software, Inc. All rights reserved.
386d7f5d3SJohn Marino# Copyright (C) 2004 Red Hat, Inc. All rights reserved.
486d7f5d3SJohn Marino#
586d7f5d3SJohn Marino# This file is part of LVM2.
686d7f5d3SJohn Marino#
786d7f5d3SJohn Marino# This copyrighted material is made available to anyone wishing to use,
886d7f5d3SJohn Marino# modify, copy, or redistribute it subject to the terms and conditions
986d7f5d3SJohn Marino# of the GNU General Public License v.2.
1086d7f5d3SJohn Marino#
1186d7f5d3SJohn Marino# You should have received a copy of the GNU General Public License
1286d7f5d3SJohn Marino# along with this program; if not, write to the Free Software Foundation,
1386d7f5d3SJohn Marino# Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
1486d7f5d3SJohn Marino
1586d7f5d3SJohn Marinosrcdir = .
1686d7f5d3SJohn Marinotop_srcdir = ../..
1786d7f5d3SJohn Marinotop_builddir = ../..
1886d7f5d3SJohn Marino
1986d7f5d3SJohn Marino
2086d7f5d3SJohn MarinoSOURCES = cluster_locking.c
2186d7f5d3SJohn Marino
2286d7f5d3SJohn MarinoLIB_SHARED = liblvm2clusterlock.so
2386d7f5d3SJohn MarinoLIB_VERSION = $(LIB_VERSION_LVM)
2486d7f5d3SJohn Marino
2586d7f5d3SJohn Marinoinclude ../../make.tmpl
2686d7f5d3SJohn Marino
2786d7f5d3SJohn Marinoinstall install_cluster: liblvm2clusterlock.so
2886d7f5d3SJohn Marino	$(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< \
2986d7f5d3SJohn Marino		$(libdir)/liblvm2clusterlock.so.$(LIB_VERSION)
3086d7f5d3SJohn Marino	$(LN_S) -f liblvm2clusterlock.so.$(LIB_VERSION) \
3186d7f5d3SJohn Marino		$(libdir)/liblvm2clusterlock.so
3286d7f5d3SJohn Marino
33