xref: /titanic_50/usr/src/uts/sparc/socal/Makefile (revision f344f3d40b0d318a7074e8be0d0c58fd44b676f9)
13db86aabSstevel#
23db86aabSstevel# CDDL HEADER START
33db86aabSstevel#
43db86aabSstevel# The contents of this file are subject to the terms of the
5*f344f3d4Sstevel# Common Development and Distribution License (the "License").
6*f344f3d4Sstevel# You may not use this file except in compliance with the License.
73db86aabSstevel#
83db86aabSstevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
93db86aabSstevel# or http://www.opensolaris.org/os/licensing.
103db86aabSstevel# See the License for the specific language governing permissions
113db86aabSstevel# and limitations under the License.
123db86aabSstevel#
133db86aabSstevel# When distributing Covered Code, include this CDDL HEADER in each
143db86aabSstevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
153db86aabSstevel# If applicable, add the following below this CDDL HEADER, with the
163db86aabSstevel# fields enclosed by brackets "[]" replaced with your own identifying
173db86aabSstevel# information: Portions Copyright [yyyy] [name of copyright owner]
183db86aabSstevel#
193db86aabSstevel# CDDL HEADER END
203db86aabSstevel#
213db86aabSstevel
223db86aabSstevel#
23*f344f3d4Sstevel# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
243db86aabSstevel# Use is subject to license terms.
253db86aabSstevel#
263db86aabSstevel
273db86aabSstevel#ident	"%Z%%M%	%I%	%E% SMI"
283db86aabSstevel
293db86aabSstevel#
303db86aabSstevel#	This makefile drives the production of the socal driver kernel
313db86aabSstevel#	module, which is used for the Photon/FC-AL product
323db86aabSstevel#
333db86aabSstevel#	sparc architecture dependent
343db86aabSstevel#
353db86aabSstevel
363db86aabSstevel#
373db86aabSstevel#	Path to the base of the uts directory tree (usually /usr/src/uts).
383db86aabSstevel#
39*f344f3d4SstevelUTSBASE	  = ../..
403db86aabSstevel
413db86aabSstevel#
423db86aabSstevel#	Define the module and object file sets.
433db86aabSstevel#
443db86aabSstevelMODULE		= socal
453db86aabSstevelOBJECTS		= $(SOCAL_OBJS:%=$(OBJS_DIR)/%)
463db86aabSstevelLINTS		= $(SOCAL_OBJS:%.o=$(LINTS_DIR)/%.ln)
473db86aabSstevelROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
483db86aabSstevel
493db86aabSstevel#
503db86aabSstevel#	Include common rules.
513db86aabSstevel#
52*f344f3d4Sstevelinclude $(UTSBASE)/sparc/Makefile.sparc
533db86aabSstevel
543db86aabSstevel#
553db86aabSstevel#	Define targets
563db86aabSstevel#
573db86aabSstevelALL_TARGET	= $(BINARY)
583db86aabSstevelLINT_TARGET	= $(MODULE).lint
593db86aabSstevelINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
603db86aabSstevel
613db86aabSstevel#
623db86aabSstevel#	Overrides
633db86aabSstevel#
643db86aabSstevelCFLAGS		+= $(CCVERBOSE) -dalign
653db86aabSstevel
663db86aabSstevel#
673db86aabSstevel#	Default build targets.
683db86aabSstevel#
693db86aabSstevel.KEEP_STATE:
703db86aabSstevel
713db86aabSstevelall:		$(ALL_DEPS)
723db86aabSstevel
733db86aabSsteveldef:		$(DEF_DEPS)
743db86aabSstevel
753db86aabSstevelclean:		$(CLEAN_DEPS)
763db86aabSstevel
773db86aabSstevelclobber:	$(CLOBBER_DEPS)
783db86aabSstevel
793db86aabSstevellint:		$(LINT_DEPS)
803db86aabSstevel
813db86aabSstevelmodlintlib:	$(MODLINTLIB_DEPS)
823db86aabSstevel
833db86aabSstevelclean.lint:	$(CLEAN_LINT_DEPS)
843db86aabSstevel
853db86aabSstevelinstall:	$(INSTALL_DEPS)
863db86aabSstevel
873db86aabSstevel#
883db86aabSstevel#	Include common targets.
893db86aabSstevel#
90*f344f3d4Sstevelinclude $(UTSBASE)/sparc/Makefile.targ
913db86aabSstevel
923db86aabSstevelbrowser:	$(BINARY)
933db86aabSstevel
943db86aabSstevelbrowser		:= CFLAGS += -xsb
95