xref: /illumos-gate/usr/src/uts/intel/ucode/Makefile (revision 0aaef2f5)
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
26*2449e17fSsherrymUTSBASE	= ../..
27*2449e17fSsherrym
28*2449e17fSsherrymMODULE		= ucode
29*2449e17fSsherrymOBJECTS		= $(UCODE_OBJS:%=$(OBJS_DIR)/%)
30*2449e17fSsherrymROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
31*2449e17fSsherrymCONF_SRCDIR	= $(UTSBASE)/intel/io
32*2449e17fSsherrym
33*2449e17fSsherrymINC_PATH	+= -I$(SRC)/common/
34*2449e17fSsherrym
35*2449e17fSsherryminclude $(UTSBASE)/intel/Makefile.intel
36*2449e17fSsherrym
37*2449e17fSsherrymALL_TARGET	= $(BINARY) $(SRC_CONFILE)
38*2449e17fSsherrymINSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
39*2449e17fSsherrym
40*2449e17fSsherrym.KEEP_STATE:
41*2449e17fSsherrym
42*2449e17fSsherrymdef:		$(DEF_DEPS)
43*2449e17fSsherrym
44*2449e17fSsherrymall:		$(ALL_DEPS)
45*2449e17fSsherrym
46*2449e17fSsherrymclean:		$(CLEAN_DEPS)
47*2449e17fSsherrym
48*2449e17fSsherrymclobber:	$(CLOBBER_DEPS)
49*2449e17fSsherrym
50*2449e17fSsherryminstall:	$(INSTALL_DEPS)
51*2449e17fSsherrym
52*2449e17fSsherryminclude $(UTSBASE)/intel/Makefile.targ
53