From: Robert W. <wrw...@us...> - 2006-11-28 22:00:53
|
Update of /cvsroot/linuxisns/isnsNT/isnsclient In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv2415 Modified Files: Makefile Log Message: upgrade make system and eliminate compile warnings Index: Makefile =================================================================== RCS file: /cvsroot/linuxisns/isnsNT/isnsclient/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile 2 Apr 2002 20:56:53 -0000 1.2 --- Makefile 28 Nov 2006 22:00:46 -0000 1.3 *************** *** 1,27 **** ! #/*********************************************************************** ! #/ The contents of this file are subject to the Nishan Systems, Inc. Public ! #/ License Version 1.0 (the "License"); you may not use this file except in ! #/ compliance with the License included with the distribution. You may ! #/ obtain a copy of the License at www.NishanSystems.com. ! #/ ! #/ Software distributed under the License is distributed on an "AS IS" ! #/ basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See ! #/ the License for the specific language governing rights and limitations ! #/ under the License. ! #/ ! #/ The Original Software is Release 1.0 of the iSNS Example Client and ! #/ Server. Portions created by Nishan Systems are Copyright 2001 Nishan ! #/ Systems, Inc. All Rights Reserved. ! #/ ! #/ This Original Software is subject to a standard specification issued ! #/ by the IETF. The Specification is titled iSNS Internet Storage Name ! #/ Service. ! #/ ! #/ The Initial Contributor of the Original Software is Nishan Systems, Inc. ! #/ Revision Contributor(s) are listed below: ! #/ ! #/ Submitted Revision Contributor Name and Date ! #/ ! #/***********************************************************************/ SHELL = /bin/sh --- 1,27 ---- ! # ! # The contents of this file are subject to the Nishan Systems, Inc. Public ! # License Version 1.0 (the "License"); you may not use this file except in ! # compliance with the License included with the distribution. You may ! # obtain a copy of the License at www.NishanSystems.com. ! # ! # Software distributed under the License is distributed on an "AS IS" ! # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See ! # the License for the specific language governing rights and limitations ! # under the License. ! # ! # The Original Software is Release 1.0 of the iSNS Example Client and ! # Server. Portions created by Nishan Systems are Copyright 2001 Nishan ! # Systems, Inc. All Rights Reserved. ! # ! # This Original Software is subject to a standard specification issued ! # by the IETF. The Specification is titled iSNS Internet Storage Name ! # Service. ! # ! # The Initial Contributor of the Original Software is Nishan Systems, Inc. ! # Revision Contributor(s) are listed below: ! # ! # Submitted Revision Contributor Name and Date ! # ! # SHELL = /bin/sh *************** *** 32,61 **** INCDIR += -I/usr/include/ ! CFLAGS += -Wall #CFLAGS += -Werror ! ! SRCS = $(SRCDIR)comm.c \ ! $(SRCDIR)custom.c \ ! $(SRCDIR)entity.c \ ! $(SRCDIR)fcnode.c \ ! $(SRCDIR)getarg.c \ ! $(SRCDIR)ifcp.c \ ! $(SRCDIR)iscsi.c \ ! $(SRCDIR)isns.c \ ! $(SRCDIR)main.c \ ! $(SRCDIR)menu.c \ ! $(SRCDIR)parse.c \ ! $(SRCDIR)portal.c \ ! $(SRCDIR)util.c CFLAGS += -DSNS_LINUX CFLAGS += -DSNS_DEBUG - CFLAGS += -DSNS_VERSION=1 ! all : $(SRCS) ! $(CC) -I$(INCDIR) $(CFLAGS) -lpthread -o isnsc $(SRCS) ! clean : ! rm -f *.o isnsc --- 32,98 ---- INCDIR += -I/usr/include/ ! CFLAGS = -Wall #CFLAGS += -Werror ! OBJECTS = getarg.o ! OBJECTS += main.o ! OBJECTS += comm.o ! OBJECTS += entity.o ! OBJECTS += iscsi.o ! OBJECTS += parse.o ! OBJECTS += isns.o ! OBJECTS += ifcp.o ! OBJECTS += fcnode.o ! OBJECTS += custom.o ! OBJECTS += portal.o ! OBJECTS += util.o ! OBJECTS += menu.o CFLAGS += -DSNS_LINUX CFLAGS += -DSNS_DEBUG ! all : $(OBJECTS) ! $(CC) -lpthread -lgdbm -o isnsc $(OBJECTS) ! getarg.o : $(SRCDIR)getarg.c ! $(CC) -I$(INCDIR) $(CFLAGS) -c $< -o $@ + main.o : $(SRCDIR)main.c + $(CC) -I$(INCDIR) $(CFLAGS) -c $< -o $@ + + comm.o : $(SRCDIR)comm.c + $(CC) -I$(INCDIR) $(CFLAGS) -c $< -o $@ + + menu.o : $(SRCDIR)menu.c + $(CC) -I$(INCDIR) $(CFLAGS) -c $< -o $@ + + entity.o : $(SRCDIR)entity.c + $(CC) -I$(INCDIR) $(CFLAGS) -c $< -o $@ + + parse.o : $(SRCDIR)parse.c + $(CC) -I$(INCDIR) $(CFLAGS) -c $< -o $@ + + util.o : $(SRCDIR)util.c + $(CC) -I$(INCDIR) $(CFLAGS) -c $< -o $@ + + isns.o : $(SRCDIR)isns.c + $(CC) -I$(INCDIR) $(CFLAGS) -c $< -o $@ + + ifcp.o : $(SRCDIR)ifcp.c + $(CC) -I$(INCDIR) $(CFLAGS) -c $< -o $@ + + fcnode.o : $(SRCDIR)fcnode.c + $(CC) -I$(INCDIR) $(CFLAGS) -c $< -o $@ + + custom.o : $(SRCDIR)custom.c + $(CC) -I$(INCDIR) $(CFLAGS) -c $< -o $@ + + portal.o : $(SRCDIR)portal.c + $(CC) -I$(INCDIR) $(CFLAGS) -c $< -o $@ + + iscsi.o : $(SRCDIR)iscsi.c + $(CC) -I$(INCDIR) $(CFLAGS) -c $< -o $@ + + + clean : + rm $(OBJECTS) isnsc |