xref: /titanic_50/usr/src/uts/sparc/socal/Makefile (revision 3db86aab554edbb4244c8d1a1c90f152eee768af)
1*3db86aabSstevel#
2*3db86aabSstevel# CDDL HEADER START
3*3db86aabSstevel#
4*3db86aabSstevel# The contents of this file are subject to the terms of the
5*3db86aabSstevel# Common Development and Distribution License, Version 1.0 only
6*3db86aabSstevel# (the "License").  You may not use this file except in compliance
7*3db86aabSstevel# with the License.
8*3db86aabSstevel#
9*3db86aabSstevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*3db86aabSstevel# or http://www.opensolaris.org/os/licensing.
11*3db86aabSstevel# See the License for the specific language governing permissions
12*3db86aabSstevel# and limitations under the License.
13*3db86aabSstevel#
14*3db86aabSstevel# When distributing Covered Code, include this CDDL HEADER in each
15*3db86aabSstevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*3db86aabSstevel# If applicable, add the following below this CDDL HEADER, with the
17*3db86aabSstevel# fields enclosed by brackets "[]" replaced with your own identifying
18*3db86aabSstevel# information: Portions Copyright [yyyy] [name of copyright owner]
19*3db86aabSstevel#
20*3db86aabSstevel# CDDL HEADER END
21*3db86aabSstevel#
22*3db86aabSstevel#
23*3db86aabSstevel# uts/sparc/socal/Makefile
24*3db86aabSstevel
25*3db86aabSstevel#
26*3db86aabSstevel# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
27*3db86aabSstevel# Use is subject to license terms.
28*3db86aabSstevel#
29*3db86aabSstevel
30*3db86aabSstevel#ident	"%Z%%M%	%I%	%E% SMI"
31*3db86aabSstevel
32*3db86aabSstevel#
33*3db86aabSstevel#	This makefile drives the production of the socal driver kernel
34*3db86aabSstevel#	module, which is used for the Photon/FC-AL product
35*3db86aabSstevel#
36*3db86aabSstevel#	sparc architecture dependent
37*3db86aabSstevel#
38*3db86aabSstevel
39*3db86aabSstevel#
40*3db86aabSstevel#	Path to the base of the uts directory tree (usually /usr/src/uts).
41*3db86aabSstevel#
42*3db86aabSstevelUTSCLOSED = ../..
43*3db86aabSstevelUTSBASE	  = ../../../../src/uts
44*3db86aabSstevel
45*3db86aabSstevel#
46*3db86aabSstevel#	Define the module and object file sets.
47*3db86aabSstevel#
48*3db86aabSstevelMODULE		= socal
49*3db86aabSstevelOBJECTS		= $(SOCAL_OBJS:%=$(OBJS_DIR)/%)
50*3db86aabSstevelLINTS		= $(SOCAL_OBJS:%.o=$(LINTS_DIR)/%.ln)
51*3db86aabSstevelROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
52*3db86aabSstevel
53*3db86aabSstevel#
54*3db86aabSstevel#	Include common rules.
55*3db86aabSstevel#
56*3db86aabSstevelinclude $(UTSCLOSED)/sparc/Makefile.sparc
57*3db86aabSstevel
58*3db86aabSstevel#
59*3db86aabSstevel#	Define targets
60*3db86aabSstevel#
61*3db86aabSstevelALL_TARGET	= $(BINARY)
62*3db86aabSstevelLINT_TARGET	= $(MODULE).lint
63*3db86aabSstevelINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
64*3db86aabSstevel
65*3db86aabSstevel#
66*3db86aabSstevel#	Overrides
67*3db86aabSstevel#
68*3db86aabSstevelCFLAGS		+= $(CCVERBOSE) -dalign
69*3db86aabSstevel
70*3db86aabSstevel#
71*3db86aabSstevel#	Default build targets.
72*3db86aabSstevel#
73*3db86aabSstevel.KEEP_STATE:
74*3db86aabSstevel
75*3db86aabSstevelall:		$(ALL_DEPS)
76*3db86aabSstevel
77*3db86aabSsteveldef:		$(DEF_DEPS)
78*3db86aabSstevel
79*3db86aabSstevelclean:		$(CLEAN_DEPS)
80*3db86aabSstevel
81*3db86aabSstevelclobber:	$(CLOBBER_DEPS)
82*3db86aabSstevel
83*3db86aabSstevellint:		$(LINT_DEPS)
84*3db86aabSstevel
85*3db86aabSstevelmodlintlib:	$(MODLINTLIB_DEPS)
86*3db86aabSstevel
87*3db86aabSstevelclean.lint:	$(CLEAN_LINT_DEPS)
88*3db86aabSstevel
89*3db86aabSstevelinstall:	$(INSTALL_DEPS)
90*3db86aabSstevel
91*3db86aabSstevel#
92*3db86aabSstevel#	Include common targets.
93*3db86aabSstevel#
94*3db86aabSstevelinclude $(UTSCLOSED)/sparc/Makefile.targ
95*3db86aabSstevel
96*3db86aabSstevelbrowser:	$(BINARY)
97*3db86aabSstevel
98*3db86aabSstevelbrowser		:= CFLAGS += -xsb
99