📄 makefile
字号:
# initiator/Makefile# # vi: set autoindent tabstop=4 shiftwidth=4 :## Copyright (C) 2001-2003 InterOperability Lab (IOL)# University of New Hampshier (UNH)# Durham, NH 03824## 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, 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.## The name of IOL and/or UNH may not be used to endorse or promote products# derived from this software without specific prior written permission.#include ../Rules.makeCFLAGS = $(COMMON_CFLAGS) $(EXTRA_CFLAGS)OBJS = iscsi_initiator.o initiator_utilities.o initiator_error_rec.o initiator_proc_iface.o initiator_rx.o initiator_tx.o iscsi_device.o COMMON_OBJS= ../common/common_functions.o ../common/initiator_negotiate.o ../common/lun_packing.o ../security/security_functions.oDEPS = iscsi_initiator.h initiator_utilities.h initiator_error_rec.h ../common/iscsi_common.h ../common/debug.h ../common/text_param.h ../common/initiator_negotiate.h ../common/my_memory.h ../common/range.h ../common/tcp_utilities.h ../common/crc.h ../common/lun_packing.h ../security/chap/chap.h ../security/srp/srp.h ../security/misc/misc_func.hMODULE = unh_iscsi_initiator.oall: $(MODULE) $(MODULE): version $(OBJS) $(COMMON_OBJS) $(LD) $(LDFLAGS) -r -o $@ $(OBJS) $(COMMON_OBJS)version: $(shell /bin/echo "#define OUR_NAME \"UNH-IOL iSCSI Initiator. RPM: `cat RPM | grep -v ^#`. Kernel: `uname -r`. Built on `date`. \"" > version.h)%.o : %.c $(DEPS) $(CC) $(CFLAGS) -o $@ -c $<.PHONY: cleanclean: $(RM) *.o scsi_disk_file_0_* $(MODULE) version.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -