xref: /titanic_52/usr/src/uts/sparc/iser/Makefile (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
130e7468fSPeter Dunlap#
230e7468fSPeter Dunlap# CDDL HEADER START
330e7468fSPeter Dunlap#
430e7468fSPeter Dunlap# The contents of this file are subject to the terms of the
530e7468fSPeter Dunlap# Common Development and Distribution License (the "License").
630e7468fSPeter Dunlap# You may not use this file except in compliance with the License.
730e7468fSPeter Dunlap#
830e7468fSPeter Dunlap# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
930e7468fSPeter Dunlap# or http://www.opensolaris.org/os/licensing.
1030e7468fSPeter Dunlap# See the License for the specific language governing permissions
1130e7468fSPeter Dunlap# and limitations under the License.
1230e7468fSPeter Dunlap#
1330e7468fSPeter Dunlap# When distributing Covered Code, include this CDDL HEADER in each
1430e7468fSPeter Dunlap# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1530e7468fSPeter Dunlap# If applicable, add the following below this CDDL HEADER, with the
1630e7468fSPeter Dunlap# fields enclosed by brackets "[]" replaced with your own identifying
1730e7468fSPeter Dunlap# information: Portions Copyright [yyyy] [name of copyright owner]
1830e7468fSPeter Dunlap#
1930e7468fSPeter Dunlap# CDDL HEADER END
2030e7468fSPeter Dunlap#
2130e7468fSPeter Dunlap# usr/src/uts/sparc/iser/Makefile
2230e7468fSPeter Dunlap#
2330e7468fSPeter Dunlap# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2430e7468fSPeter Dunlap# Use is subject to license terms.
2530e7468fSPeter Dunlap
2630e7468fSPeter Dunlap#
2730e7468fSPeter Dunlap#	Path to the base of the uts directory tree (usually /usr/src/uts).
2830e7468fSPeter Dunlap#
2930e7468fSPeter DunlapUTSBASE	= ../..
3030e7468fSPeter Dunlap
3130e7468fSPeter Dunlap#
3230e7468fSPeter Dunlap#	Define the module and object file sets.
3330e7468fSPeter Dunlap#
3430e7468fSPeter DunlapMODULE		= iser
3530e7468fSPeter DunlapOBJECTS		= $(ISER_OBJS:%=$(OBJS_DIR)/%)
3630e7468fSPeter DunlapLINTS		= $(ISER_OBJS:%.o=$(LINTS_DIR)/%.ln)
3730e7468fSPeter DunlapROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
3830e7468fSPeter DunlapLDFLAGS		+= -dy -Nmisc/ibtl -Nmisc/ibcm -Nmisc/idm
3930e7468fSPeter DunlapCONF_SRCDIR	= $(UTSBASE)/common/io/ib/clients/iser
4030e7468fSPeter Dunlap
4130e7468fSPeter Dunlap#
4230e7468fSPeter Dunlap#	Include common rules.
4330e7468fSPeter Dunlap#
4430e7468fSPeter Dunlapinclude $(UTSBASE)/sparc/Makefile.sparc
4530e7468fSPeter Dunlap
46*7014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-uninitialized
47*7014882cSRichard Lowe
4830e7468fSPeter Dunlap#
4930e7468fSPeter Dunlap#	Define targets
5030e7468fSPeter Dunlap#
5130e7468fSPeter DunlapALL_TARGET	= $(BINARY) $(SRC_CONFILE)
5230e7468fSPeter DunlapLINT_TARGET	= $(MODULE).lint
5330e7468fSPeter DunlapINSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
5430e7468fSPeter Dunlap
5530e7468fSPeter Dunlap#
5630e7468fSPeter Dunlap#	Default build targets.
5730e7468fSPeter Dunlap#
5830e7468fSPeter Dunlap.KEEP_STATE:
5930e7468fSPeter Dunlap
6030e7468fSPeter Dunlapdef:		$(DEF_DEPS)
6130e7468fSPeter Dunlap
6230e7468fSPeter Dunlapall:		$(ALL_DEPS)
6330e7468fSPeter Dunlap
6430e7468fSPeter Dunlapclean:		$(CLEAN_DEPS)
6530e7468fSPeter Dunlap
6630e7468fSPeter Dunlapclobber:	$(CLOBBER_DEPS)
6730e7468fSPeter Dunlap
6830e7468fSPeter Dunlaplint:		$(LINT_DEPS)
6930e7468fSPeter Dunlap
7030e7468fSPeter Dunlapmodlintlib:	$(MODLINTLIB_DEPS)
7130e7468fSPeter Dunlap
7230e7468fSPeter Dunlapclean.lint:	$(CLEAN_LINT_DEPS)
7330e7468fSPeter Dunlap
7430e7468fSPeter Dunlapinstall:	$(INSTALL_DEPS)
7530e7468fSPeter Dunlap
7630e7468fSPeter Dunlap#
7730e7468fSPeter Dunlap#	Include common targets.
7830e7468fSPeter Dunlap#
7930e7468fSPeter Dunlapinclude $(UTSBASE)/sparc/Makefile.targ
80