xref: /titanic_51/usr/src/uts/intel/ucode/Makefile (revision 2449e17f82f6097fd2c665b64723e31ceecbeca6)
1*2449e17fSsherrym#
2*2449e17fSsherrym# CDDL HEADER START
3*2449e17fSsherrym#
4*2449e17fSsherrym# The contents of this file are subject to the terms of the
5*2449e17fSsherrym# Common Development and Distribution License (the "License").
6*2449e17fSsherrym# You may not use this file except in compliance with the License.
7*2449e17fSsherrym#
8*2449e17fSsherrym# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*2449e17fSsherrym# or http://www.opensolaris.org/os/licensing.
10*2449e17fSsherrym# See the License for the specific language governing permissions
11*2449e17fSsherrym# and limitations under the License.
12*2449e17fSsherrym#
13*2449e17fSsherrym# When distributing Covered Code, include this CDDL HEADER in each
14*2449e17fSsherrym# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*2449e17fSsherrym# If applicable, add the following below this CDDL HEADER, with the
16*2449e17fSsherrym# fields enclosed by brackets "[]" replaced with your own identifying
17*2449e17fSsherrym# information: Portions Copyright [yyyy] [name of copyright owner]
18*2449e17fSsherrym#
19*2449e17fSsherrym# CDDL HEADER END
20*2449e17fSsherrym#
21*2449e17fSsherrym#
22*2449e17fSsherrym# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23*2449e17fSsherrym# Use is subject to license terms.
24*2449e17fSsherrym#
25*2449e17fSsherrym#ident	"%Z%%M%	%I%	%E% SMI"
26*2449e17fSsherrym
27*2449e17fSsherrymUTSBASE	= ../..
28*2449e17fSsherrym
29*2449e17fSsherrymMODULE		= ucode
30*2449e17fSsherrymOBJECTS		= $(UCODE_OBJS:%=$(OBJS_DIR)/%)
31*2449e17fSsherrymLINTS		= $(UCODE_OBJS:%.o=$(LINTS_DIR)/%.ln)
32*2449e17fSsherrymROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
33*2449e17fSsherrymCONF_SRCDIR	= $(UTSBASE)/intel/io
34*2449e17fSsherrym
35*2449e17fSsherrymINC_PATH	+= -I$(SRC)/common/
36*2449e17fSsherrym
37*2449e17fSsherryminclude $(UTSBASE)/intel/Makefile.intel
38*2449e17fSsherrym
39*2449e17fSsherrymALL_TARGET	= $(BINARY) $(SRC_CONFILE)
40*2449e17fSsherrymLINT_TARGET	= $(MODULE).lint
41*2449e17fSsherrymINSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
42*2449e17fSsherrym
43*2449e17fSsherrym.KEEP_STATE:
44*2449e17fSsherrym
45*2449e17fSsherrymdef:		$(DEF_DEPS)
46*2449e17fSsherrym
47*2449e17fSsherrymall:		$(ALL_DEPS)
48*2449e17fSsherrym
49*2449e17fSsherrymclean:		$(CLEAN_DEPS)
50*2449e17fSsherrym
51*2449e17fSsherrymclobber:	$(CLOBBER_DEPS)
52*2449e17fSsherrym
53*2449e17fSsherrymlint:		$(LINT_DEPS)
54*2449e17fSsherrym
55*2449e17fSsherrymmodlintlib:	$(MODLINTLIB_DEPS)
56*2449e17fSsherrym
57*2449e17fSsherrymclean.lint:	$(CLEAN_LINT_DEPS)
58*2449e17fSsherrym
59*2449e17fSsherryminstall:	$(INSTALL_DEPS)
60*2449e17fSsherrym
61*2449e17fSsherryminclude $(UTSBASE)/intel/Makefile.targ
62