xref: /titanic_41/usr/src/uts/i86pc/i86hvm/hvm_bootstrap/Makefile (revision eb0cc229f19c437a6b538d3ac0d0443268290b7e)
1*eb0cc229Sedp#
2*eb0cc229Sedp# CDDL HEADER START
3*eb0cc229Sedp#
4*eb0cc229Sedp# The contents of this file are subject to the terms of the
5*eb0cc229Sedp# Common Development and Distribution License (the "License").
6*eb0cc229Sedp# You may not use this file except in compliance with the License.
7*eb0cc229Sedp#
8*eb0cc229Sedp# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*eb0cc229Sedp# or http://www.opensolaris.org/os/licensing.
10*eb0cc229Sedp# See the License for the specific language governing permissions
11*eb0cc229Sedp# and limitations under the License.
12*eb0cc229Sedp#
13*eb0cc229Sedp# When distributing Covered Code, include this CDDL HEADER in each
14*eb0cc229Sedp# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*eb0cc229Sedp# If applicable, add the following below this CDDL HEADER, with the
16*eb0cc229Sedp# fields enclosed by brackets "[]" replaced with your own identifying
17*eb0cc229Sedp# information: Portions Copyright [yyyy] [name of copyright owner]
18*eb0cc229Sedp#
19*eb0cc229Sedp# CDDL HEADER END
20*eb0cc229Sedp#
21*eb0cc229Sedp
22*eb0cc229Sedp#
23*eb0cc229Sedp# uts/i86pc/hvm_bootstrap/Makefile
24*eb0cc229Sedp#
25*eb0cc229Sedp# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
26*eb0cc229Sedp# Use is subject to license terms.
27*eb0cc229Sedp#
28*eb0cc229Sedp# ident	"%Z%%M%	%I%	%E% SMI"
29*eb0cc229Sedp#
30*eb0cc229Sedp#	i86pc architecture dependent
31*eb0cc229Sedp#
32*eb0cc229Sedp#	Path to the base of the uts directory tree (usually /usr/src/uts).
33*eb0cc229Sedp#
34*eb0cc229SedpUTSBASE	= ../../..
35*eb0cc229Sedp
36*eb0cc229Sedp#
37*eb0cc229Sedp#	Define the module and object file sets.
38*eb0cc229Sedp#
39*eb0cc229SedpMODULE		= hvm_bootstrap
40*eb0cc229SedpOBJECTS		= $(HVM_BOOTSTRAP_OBJS:%=$(OBJS_DIR)/%)
41*eb0cc229SedpLINTS		= $(HVM_BOOTSTRAP_OBJS:%.o=$(LINTS_DIR)/%.ln)
42*eb0cc229SedpROOTMODULE	= $(ROOT_HVM_MISC_DIR)/$(MODULE)
43*eb0cc229Sedp
44*eb0cc229Sedp#
45*eb0cc229Sedp#	Include common rules.
46*eb0cc229Sedp#
47*eb0cc229Sedpinclude $(UTSBASE)/i86pc/i86hvm/Makefile.i86hvm
48*eb0cc229Sedp
49*eb0cc229Sedp#
50*eb0cc229Sedp#	Define targets
51*eb0cc229Sedp#
52*eb0cc229SedpALL_TARGET	= $(BINARY)
53*eb0cc229SedpLINT_TARGET	= $(MODULE).lint
54*eb0cc229SedpINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
55*eb0cc229Sedp
56*eb0cc229Sedp# Overrides
57*eb0cc229SedpLDFLAGS		+= -dy
58*eb0cc229Sedp
59*eb0cc229Sedp#
60*eb0cc229Sedp#	Default build targets.
61*eb0cc229Sedp#
62*eb0cc229Sedp.KEEP_STATE:
63*eb0cc229Sedp
64*eb0cc229Sedpdef:		$(DEF_DEPS)
65*eb0cc229Sedp
66*eb0cc229Sedpall:		$(ALL_DEPS)
67*eb0cc229Sedp
68*eb0cc229Sedpclean:		$(CLEAN_DEPS)
69*eb0cc229Sedp
70*eb0cc229Sedpclobber:	$(CLOBBER_DEPS)
71*eb0cc229Sedp
72*eb0cc229Sedplint:		$(LINT_DEPS)
73*eb0cc229Sedp
74*eb0cc229Sedpmodlintlib:	$(MODLINTLIB_DEPS)
75*eb0cc229Sedp
76*eb0cc229Sedpclean.lint:	$(CLEAN_LINT_DEPS)
77*eb0cc229Sedp
78*eb0cc229Sedpinstall:	$(INSTALL_DEPS)
79*eb0cc229Sedp
80*eb0cc229Sedp#
81*eb0cc229Sedp#	Include common targets.
82*eb0cc229Sedp#
83*eb0cc229Sedpinclude $(UTSBASE)/i86pc/i86hvm/Makefile.targ
84