xref: /illumos-gate/usr/src/uts/i86pc/i86hvm/Makefile (revision fe7a23c8)
1eb0cc229Sedp#
2eb0cc229Sedp# CDDL HEADER START
3eb0cc229Sedp#
4eb0cc229Sedp# The contents of this file are subject to the terms of the
5eb0cc229Sedp# Common Development and Distribution License (the "License").
6eb0cc229Sedp# You may not use this file except in compliance with the License.
7eb0cc229Sedp#
8eb0cc229Sedp# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9eb0cc229Sedp# or http://www.opensolaris.org/os/licensing.
10eb0cc229Sedp# See the License for the specific language governing permissions
11eb0cc229Sedp# and limitations under the License.
12eb0cc229Sedp#
13eb0cc229Sedp# When distributing Covered Code, include this CDDL HEADER in each
14eb0cc229Sedp# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15eb0cc229Sedp# If applicable, add the following below this CDDL HEADER, with the
16eb0cc229Sedp# fields enclosed by brackets "[]" replaced with your own identifying
17eb0cc229Sedp# information: Portions Copyright [yyyy] [name of copyright owner]
18eb0cc229Sedp#
19eb0cc229Sedp# CDDL HEADER END
20eb0cc229Sedp#
21eb0cc229Sedp#
22eb0cc229Sedp# uts/i86pc/i86hvm/Makefile
23eb0cc229Sedp# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24eb0cc229Sedp# Use is subject to license terms.
25eb0cc229Sedp#
26*fe7a23c8SAndy Fiddaman# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
27eb0cc229Sedp#
28eb0cc229Sedp#	This makefile drives the production of the i86hvm platform modules.
29eb0cc229Sedp#
30eb0cc229Sedp#	i86pc implementation architecture dependent
31eb0cc229Sedp#
32eb0cc229Sedp
33eb0cc229Sedp#
34eb0cc229Sedp#	Path to the base of the uts directory tree (usually /usr/src/uts).
35eb0cc229Sedp#
36eb0cc229SedpUTSBASE	= ../..
37eb0cc229Sedp
38eb0cc229Sedp#
39eb0cc229Sedp#	Include common rules.
40eb0cc229Sedp#
41eb0cc229Sedpinclude $(UTSBASE)/i86pc/i86hvm/Makefile.i86hvm
42eb0cc229Sedp
43eb0cc229Sedpdef		:=	TARGET= def
44eb0cc229Sedpall		:=	TARGET= all
45eb0cc229Sedpinstall		:=	TARGET= install
46eb0cc229Sedpinstall_h	:=	TARGET= install_h
47eb0cc229Sedpclean		:=	TARGET= clean
48eb0cc229Sedpclobber		:=	TARGET= clobber
49eb0cc229Sedpmodlist		:=	TARGET= modlist
50eb0cc229Sedpmodlist		:=	NO_STATE= -K $$MODSTATE$$$$
51eb0cc229Sedpcheck		:=	TARGET= check
52eb0cc229Sedp
53eb0cc229Sedp#
54eb0cc229Sedp#	Default build targets.
55eb0cc229Sedp#
56eb0cc229Sedp.KEEP_STATE:
57eb0cc229Sedp
58eb0cc229Sedp.PARALLEL: $(HVM_KMODS)
59eb0cc229Sedp
60*fe7a23c8SAndy Fiddamandef all clean clobber modlist:	$(HVM_KMODS)
61eb0cc229Sedp
62eb0cc229Sedpinstall: install_implementations .WAIT \
63eb0cc229Sedp	$(HVM_KMODS)
64eb0cc229Sedp
65eb0cc229Sedpinstall_implementations: \
66eb0cc229Sedp	$(ROOT_HVM_DIR) \
67eb0cc229Sedp	$(ROOT_HVM_DRV_DIR) \
68eb0cc229Sedp	$(ROOT_HVM_MISC_DIR) \
69eb0cc229Sedp	$(USR_HVM_DIR)
70eb0cc229Sedp
71eb0cc229Sedp$(HVM_KMODS):	FRC
72eb0cc229Sedp	@cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
73eb0cc229Sedp
74eb0cc229Sedpinstall_h check:	FRC
75eb0cc229Sedp
76eb0cc229Sedp#
77eb0cc229Sedp#	Include common targets.
78eb0cc229Sedp#
79eb0cc229Sedpinclude $(UTSBASE)/$(PLATFORM)/i86hvm/Makefile.targ
80