xref: /illumos-gate/usr/src/uts/i86pc/apix/Makefile (revision 7ff178cd8db129d385d3177eb20744d3b6efc59b)
1*7ff178cdSJimmy Vetayases#
2*7ff178cdSJimmy Vetayases# CDDL HEADER START
3*7ff178cdSJimmy Vetayases#
4*7ff178cdSJimmy Vetayases# The contents of this file are subject to the terms of the
5*7ff178cdSJimmy Vetayases# Common Development and Distribution License (the "License").
6*7ff178cdSJimmy Vetayases# You may not use this file except in compliance with the License.
7*7ff178cdSJimmy Vetayases#
8*7ff178cdSJimmy Vetayases# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*7ff178cdSJimmy Vetayases# or http://www.opensolaris.org/os/licensing.
10*7ff178cdSJimmy Vetayases# See the License for the specific language governing permissions
11*7ff178cdSJimmy Vetayases# and limitations under the License.
12*7ff178cdSJimmy Vetayases#
13*7ff178cdSJimmy Vetayases# When distributing Covered Code, include this CDDL HEADER in each
14*7ff178cdSJimmy Vetayases# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*7ff178cdSJimmy Vetayases# If applicable, add the following below this CDDL HEADER, with the
16*7ff178cdSJimmy Vetayases# fields enclosed by brackets "[]" replaced with your own identifying
17*7ff178cdSJimmy Vetayases# information: Portions Copyright [yyyy] [name of copyright owner]
18*7ff178cdSJimmy Vetayases#
19*7ff178cdSJimmy Vetayases# CDDL HEADER END
20*7ff178cdSJimmy Vetayases#
21*7ff178cdSJimmy Vetayases#
22*7ff178cdSJimmy Vetayases# uts/i86pc/apix/Makefile
23*7ff178cdSJimmy Vetayases#
24*7ff178cdSJimmy Vetayases# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
25*7ff178cdSJimmy Vetayases#
26*7ff178cdSJimmy Vetayases#	This makefile drives the production of the pcplusmp "mach"
27*7ff178cdSJimmy Vetayases#	kernel module.
28*7ff178cdSJimmy Vetayases#
29*7ff178cdSJimmy Vetayases#	pcplusmp implementation architecture dependent
30*7ff178cdSJimmy Vetayases#
31*7ff178cdSJimmy Vetayases
32*7ff178cdSJimmy Vetayases#
33*7ff178cdSJimmy Vetayases#	Path to the base of the uts directory tree (usually /usr/src/uts).
34*7ff178cdSJimmy Vetayases#
35*7ff178cdSJimmy VetayasesUTSBASE	= ../..
36*7ff178cdSJimmy Vetayases
37*7ff178cdSJimmy Vetayases#
38*7ff178cdSJimmy Vetayases#	Define the module and object file sets.
39*7ff178cdSJimmy Vetayases#
40*7ff178cdSJimmy VetayasesMODULE		= apix
41*7ff178cdSJimmy VetayasesOBJECTS		= $(APIX_OBJS:%=$(OBJS_DIR)/%)
42*7ff178cdSJimmy VetayasesLINTS		= $(APIX_OBJS:%.o=$(LINTS_DIR)/%.ln)
43*7ff178cdSJimmy VetayasesROOTMODULE	= $(ROOT_PSM_MACH_DIR)/$(MODULE)
44*7ff178cdSJimmy Vetayases
45*7ff178cdSJimmy Vetayases#
46*7ff178cdSJimmy Vetayases#	Include common rules.
47*7ff178cdSJimmy Vetayases#
48*7ff178cdSJimmy Vetayasesinclude $(UTSBASE)/i86pc/Makefile.i86pc
49*7ff178cdSJimmy Vetayases
50*7ff178cdSJimmy Vetayases#
51*7ff178cdSJimmy Vetayases#	Define targets
52*7ff178cdSJimmy Vetayases#
53*7ff178cdSJimmy VetayasesALL_TARGET	= $(BINARY)
54*7ff178cdSJimmy VetayasesLINT_TARGET	= $(MODULE).lint
55*7ff178cdSJimmy VetayasesINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
56*7ff178cdSJimmy Vetayases
57*7ff178cdSJimmy VetayasesDEBUG_FLGS      =
58*7ff178cdSJimmy Vetayases$(NOT_RELEASE_BUILD)DEBUG_DEFS	+= $(DEBUG_FLGS)
59*7ff178cdSJimmy Vetayases
60*7ff178cdSJimmy Vetayases#
61*7ff178cdSJimmy Vetayases# Depends on ACPI CA interpreter
62*7ff178cdSJimmy Vetayases#
63*7ff178cdSJimmy VetayasesLDFLAGS		+= -dy -N misc/acpica
64*7ff178cdSJimmy Vetayases
65*7ff178cdSJimmy Vetayases#
66*7ff178cdSJimmy Vetayases#	Default build targets.
67*7ff178cdSJimmy Vetayases#
68*7ff178cdSJimmy Vetayases.KEEP_STATE:
69*7ff178cdSJimmy Vetayases
70*7ff178cdSJimmy Vetayasesdef:		$(DEF_DEPS)
71*7ff178cdSJimmy Vetayases
72*7ff178cdSJimmy Vetayasesall:		$(ALL_DEPS)
73*7ff178cdSJimmy Vetayases
74*7ff178cdSJimmy Vetayasesclean:		$(CLEAN_DEPS)
75*7ff178cdSJimmy Vetayases
76*7ff178cdSJimmy Vetayasesclobber:	$(CLOBBER_DEPS)
77*7ff178cdSJimmy Vetayases
78*7ff178cdSJimmy Vetayaseslint:		$(LINT_DEPS)
79*7ff178cdSJimmy Vetayases
80*7ff178cdSJimmy Vetayasesmodlintlib:	$(MODLINTLIB_DEPS)
81*7ff178cdSJimmy Vetayases
82*7ff178cdSJimmy Vetayasesclean.lint:	$(CLEAN_LINT_DEPS)
83*7ff178cdSJimmy Vetayases
84*7ff178cdSJimmy Vetayasesinstall:	$(INSTALL_DEPS)
85*7ff178cdSJimmy Vetayases
86*7ff178cdSJimmy Vetayases#
87*7ff178cdSJimmy Vetayases#	Include common targets.
88*7ff178cdSJimmy Vetayases#
89*7ff178cdSJimmy Vetayasesinclude $(UTSBASE)/i86pc/Makefile.targ
90*7ff178cdSJimmy Vetayases
91