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