# Enterprise Volume Management System
#
# (C) Copyright IBM Corp. 2003
#
# This program is free software;  you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY;  without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
# the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program;  if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

srcdir = @srcdir@
top_srcdir = @top_srcdir@
include @top_srcdir@/make.rules

NAME		= multipath
TARGET		= $(PLUGIN_TARGET)

MAJOR_VERSION	= 1
MINOR_VERSION	= 0
PATCH_LEVEL	= 4

all: $(TARGET)

$(TARGET): .depend .export $(OBJECTS)
	$(BUILD_PLUGIN)

install: all
	$(MKINSTALLDIRS) $(DESTDIR)$(evmspluginsdir)
	$(INSTALL) -m 755 $(TARGET) $(DESTDIR)$(evmspluginsdir)

uninstall:
	rm -f $(DESTDIR)$(evmspluginsdir)/$(TARGET)

clean:
	rm -f .depend .export $(OBJECTS) $(TARGET)

distclean: clean
	rm -f Makefile

ifeq (.depend, $(wildcard .depend))
include .depend
endif
