#
# Copyright (c) 2003-2004 PyX Technologies, Inc.
# Copyright (c) 2005 SBE, Inc.
#
# This file houses the main makefile
#
# 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.
#
MAKE = make
CC = gcc

SRC = ./core-iscsi/src/

default : install

initiatorcheck:
	@if [ ! -f ./initiator_ctl ]; then		\
		cd core-iscsi ;				\
		make -f Makefile initiator_ctl ;	\
	fi

clean:
	@( cd core-iscsi ; make -f Makefile clean )
	@( cd isnsclient-v1.8 ; make clean)

install:
	@( cd core-iscsi ; make -f Makefile initiator_install )
	@( cd isnsclient-v1.8 ; make install )

installconfig:
	@( cd core-iscsi ; make -f Makefile initiator_install_config )

