Makefile revision 4246c8e92ef9ad6ada2b992b7af02832ff071bf7
278N/A#
278N/A# CDDL HEADER START
278N/A#
278N/A# The contents of this file are subject to the terms of the
278N/A# Common Development and Distribution License (the "License").
278N/A# You may not use this file except in compliance with the License.
278N/A#
278N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
278N/A# or http://www.opensolaris.org/os/licensing.
278N/A# See the License for the specific language governing permissions
278N/A# and limitations under the License.
278N/A#
278N/A# When distributing Covered Code, include this CDDL HEADER in each
278N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
278N/A# If applicable, add the following below this CDDL HEADER, with the
278N/A# fields enclosed by brackets "[]" replaced with your own identifying
278N/A# information: Portions Copyright [yyyy] [name of copyright owner]
278N/A#
278N/A# CDDL HEADER END
278N/A#
2363N/A#
278N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
278N/A# Use is subject to license terms.
278N/A#
278N/A#
2363N/A# cmd/iscsid/Makefile
618N/A#
278N/A
278N/APROG= iscsi-initiator
844N/AMANIFEST= iscsi-initiator.xml
2363N/ASVCMETHOD= iscsi-initiator
278N/A
1258N/APRODUCT= $(PROG)
278N/AOBJS= iscsid.o
2899N/ASRCS= $(OBJS:%.o=./%.c)
2899N/ALLOBJS= $(OBJS:%.o=%.ll)
278N/APOFILES= $(OBJS:%.o=%.po)
278N/APOFILE= iscsi-initiator.po
278N/A
278N/Ainclude ../Makefile.cmd
278N/A
278N/ACCVERBOSE =
278N/ALDLIBS += -ldoor -lnsl
278N/A
278N/AROOTMANIFESTDIR= $(ROOTSVCNETWORKISCSI)
278N/A$(ROOTSVCNETWORKISCSI)/iscsi-initiator.xml := OWNER = root
278N/A$(ROOTSVCNETWORKISCSI)/iscsi-initiator.xml := GROUP = bin
278N/A$(ROOTSVCNETWORKISCSI)/iscsi-initiator.xml := FILEMODE = 0444
278N/A
278N/A.KEEP_STATE:
1845N/A
1845N/A$(PROG): $(OBJS)
1845N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
278N/A $(POST_PROCESS)
1938N/A
1938N/ALINTFLAGS += -erroff=E_FUNC_HAS_NO_RETURN_STMT
278N/ALINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN
278N/A
278N/A.PARALLEL: $(OBJS)
278N/A
278N/Aall: $(PROG)
278N/A
278N/Aclean:
278N/A $(RM) $(PROG) $(OBJS) $(LLOBJS)
278N/A
lint: lint_SRCS
$(POFILE): $(POFILES)
$(RM) $@
cat $(POFILES) > $@
install: all $(ROOTMANIFEST) $(ROOTSVCMETHOD)
check: $(CHKMANIFEST)
include ../Makefile.targ