xref: /titanic_50/usr/src/uts/sun4u/sf/Makefile (revision 3d19cdae966d9ac4218dd9859640463bd7da19d8)
1*3d19cdaeSstevel#
2*3d19cdaeSstevel# CDDL HEADER START
3*3d19cdaeSstevel#
4*3d19cdaeSstevel# The contents of this file are subject to the terms of the
5*3d19cdaeSstevel# Common Development and Distribution License (the "License").
6*3d19cdaeSstevel# You may not use this file except in compliance with the License.
7*3d19cdaeSstevel#
8*3d19cdaeSstevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*3d19cdaeSstevel# or http://www.opensolaris.org/os/licensing.
10*3d19cdaeSstevel# See the License for the specific language governing permissions
11*3d19cdaeSstevel# and limitations under the License.
12*3d19cdaeSstevel#
13*3d19cdaeSstevel# When distributing Covered Code, include this CDDL HEADER in each
14*3d19cdaeSstevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*3d19cdaeSstevel# If applicable, add the following below this CDDL HEADER, with the
16*3d19cdaeSstevel# fields enclosed by brackets "[]" replaced with your own identifying
17*3d19cdaeSstevel# information: Portions Copyright [yyyy] [name of copyright owner]
18*3d19cdaeSstevel#
19*3d19cdaeSstevel# CDDL HEADER END
20*3d19cdaeSstevel#
21*3d19cdaeSstevel#
22*3d19cdaeSstevel# uts/sun4u/sf/Makefile
23*3d19cdaeSstevel#
24*3d19cdaeSstevel# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
25*3d19cdaeSstevel# Use is subject to license terms.
26*3d19cdaeSstevel#
27*3d19cdaeSstevel#ident	"%Z%%M%	%I%	%E% SMI"
28*3d19cdaeSstevel#
29*3d19cdaeSstevel#	This makefile drives the production of the sf driver kernel module.
30*3d19cdaeSstevel#
31*3d19cdaeSstevel#	sun4u architecture dependent
32*3d19cdaeSstevel#
33*3d19cdaeSstevel
34*3d19cdaeSstevel#
35*3d19cdaeSstevel#	Path to the base of the uts directory tree (usually /usr/src/uts).
36*3d19cdaeSstevel#
37*3d19cdaeSstevelUTSBASE	  = ../..
38*3d19cdaeSstevel
39*3d19cdaeSstevel#
40*3d19cdaeSstevel#	Define the module and object file sets.
41*3d19cdaeSstevel#
42*3d19cdaeSstevelMODULE		= sf
43*3d19cdaeSstevelOBJECTS		= $(SF_OBJS:%=$(OBJS_DIR)/%)
44*3d19cdaeSstevelLINTS		= $(SF_OBJS:%.o=$(LINTS_DIR)/%.ln)
45*3d19cdaeSstevelROOTMODULE	= $(ROOT_PSM_DRV_DIR)/$(MODULE)
46*3d19cdaeSstevelCONF_SRCDIR	= $(UTSBASE)/sun/io/scsi/adapters
47*3d19cdaeSstevel
48*3d19cdaeSstevel
49*3d19cdaeSstevel#
50*3d19cdaeSstevel#	Include common rules.
51*3d19cdaeSstevel#
52*3d19cdaeSstevelinclude $(UTSBASE)/sun4u/Makefile.sun4u
53*3d19cdaeSstevel
54*3d19cdaeSstevel#
55*3d19cdaeSstevel#	Define targets
56*3d19cdaeSstevel#
57*3d19cdaeSstevelALL_TARGET	= $(BINARY) $(SRC_CONFFILE)
58*3d19cdaeSstevelLINT_TARGET	= $(MODULE).lint
59*3d19cdaeSstevelINSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
60*3d19cdaeSstevel
61*3d19cdaeSstevel#
62*3d19cdaeSstevel#	Overrides
63*3d19cdaeSstevel#
64*3d19cdaeSstevelCFLAGS		+= $(CCVERBOSE)
65*3d19cdaeSstevel
66*3d19cdaeSstevel#
67*3d19cdaeSstevel#	Default build targets.
68*3d19cdaeSstevel#
69*3d19cdaeSstevel.KEEP_STATE:
70*3d19cdaeSstevel
71*3d19cdaeSsteveldef:		$(DEF_DEPS)
72*3d19cdaeSstevel
73*3d19cdaeSstevelall:		$(ALL_DEPS)
74*3d19cdaeSstevel
75*3d19cdaeSstevelclean:		$(CLEAN_DEPS)
76*3d19cdaeSstevel
77*3d19cdaeSstevelclobber:	$(CLOBBER_DEPS)
78*3d19cdaeSstevel
79*3d19cdaeSstevellint:		$(LINT_DEPS)
80*3d19cdaeSstevel
81*3d19cdaeSstevelmodlintlib:	$(MODLINTLIB_DEPS)
82*3d19cdaeSstevel
83*3d19cdaeSstevelclean.lint:	$(CLEAN_LINT_DEPS)
84*3d19cdaeSstevel
85*3d19cdaeSstevelinstall:	$(INSTALL_DEPS)
86*3d19cdaeSstevel
87*3d19cdaeSstevel#
88*3d19cdaeSstevel#	Include common targets.
89*3d19cdaeSstevel#
90*3d19cdaeSstevelinclude $(UTSBASE)/sun4u/Makefile.targ
91