Makefile revision d30a1dc56ac8d5e7462b900c98440ba40daa3a46
131N/A#
131N/A# CDDL HEADER START
131N/A#
131N/A# The contents of this file are subject to the terms of the
131N/A# Common Development and Distribution License (the "License").
131N/A# You may not use this file except in compliance with the License.
131N/A#
131N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
131N/A# or http://www.opensolaris.org/os/licensing.
131N/A# See the License for the specific language governing permissions
131N/A# and limitations under the License.
131N/A#
131N/A# When distributing Covered Code, include this CDDL HEADER in each
131N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
131N/A# If applicable, add the following below this CDDL HEADER, with the
131N/A# fields enclosed by brackets "[]" replaced with your own identifying
131N/A# information: Portions Copyright [yyyy] [name of copyright owner]
131N/A#
131N/A# CDDL HEADER END
131N/A#
131N/A#
131N/A# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
131N/A#
131N/A#
131N/A# cmd/iscsid/Makefile
131N/A#
131N/A
131N/APROG= iscsid
131N/AMANIFEST= iscsi-initiator.xml
131N/ASVCMETHOD= iscsi-initiator \
131N/A iscsid
131N/A
131N/APRODUCT= $(PROG)
131N/AOBJS= iscsid.o
131N/ASRCS= $(OBJS:%.o=./%.c)
131N/ALLOBJS= $(OBJS:%.o=%.ll)
131N/A
131N/Ainclude ../Makefile.cmd
131N/A
131N/ACCVERBOSE =
131N/ALDLIBS += -lnsl
131N/A
131N/AROOTMANIFESTDIR= $(ROOTSVCNETWORKISCSI)
131N/A$(ROOTSVCNETWORKISCSI)/iscsi-initiator.xml := FILEMODE = 0444
131N/A
131N/A.KEEP_STATE:
131N/A
131N/A$(PROG): $(OBJS)
131N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
131N/A $(POST_PROCESS)
131N/A
131N/ALINTFLAGS += -erroff=E_FUNC_HAS_NO_RETURN_STMT
131N/ALINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN
131N/A
131N/A.PARALLEL: $(OBJS)
all: $(PROG)
clean:
$(RM) $(PROG) $(OBJS) $(LLOBJS)
lint: lint_SRCS
install: all $(ROOTMANIFEST) $(ROOTSVCMETHOD)
check: $(CHKMANIFEST)
include ../Makefile.targ