Makefile revision 7ff178cd8db129d385d3177eb20744d3b6efc59b
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# CDDL HEADER START
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# The contents of this file are subject to the terms of the
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# Common Development and Distribution License (the "License").
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# You may not use this file except in compliance with the License.
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# or http://www.opensolaris.org/os/licensing.
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# See the License for the specific language governing permissions
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# and limitations under the License.
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# When distributing Covered Code, include this CDDL HEADER in each
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# If applicable, add the following below this CDDL HEADER, with the
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# fields enclosed by brackets "[]" replaced with your own identifying
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# information: Portions Copyright [yyyy] [name of copyright owner]
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# CDDL HEADER END
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# uts/i86pc/apix/Makefile
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# This makefile drives the production of the pcplusmp "mach"
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# kernel module.
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# pcplusmp implementation architecture dependent
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# Path to the base of the uts directory tree (usually /usr/src/uts).
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy VetayasesUTSBASE = ../..
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# Define the module and object file sets.
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy VetayasesMODULE = apix
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy VetayasesOBJECTS = $(APIX_OBJS:%=$(OBJS_DIR)/%)
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy VetayasesLINTS = $(APIX_OBJS:%.o=$(LINTS_DIR)/%.ln)
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy VetayasesROOTMODULE = $(ROOT_PSM_MACH_DIR)/$(MODULE)
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# Include common rules.
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayasesinclude $(UTSBASE)/i86pc/Makefile.i86pc
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# Define targets
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy VetayasesALL_TARGET = $(BINARY)
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy VetayasesLINT_TARGET = $(MODULE).lint
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy VetayasesINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy VetayasesDEBUG_FLGS =
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases$(NOT_RELEASE_BUILD)DEBUG_DEFS += $(DEBUG_FLGS)
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# Depends on ACPI CA interpreter
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy VetayasesLDFLAGS += -dy -N misc/acpica
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# Default build targets.
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases.KEEP_STATE:
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayasesdef: $(DEF_DEPS)
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayasesall: $(ALL_DEPS)
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayasesclean: $(CLEAN_DEPS)
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayasesclobber: $(CLOBBER_DEPS)
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayaseslint: $(LINT_DEPS)
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayasesmodlintlib: $(MODLINTLIB_DEPS)
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayasesclean.lint: $(CLEAN_LINT_DEPS)
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayasesinstall: $(INSTALL_DEPS)
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases# Include common targets.
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases#
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayasesinclude $(UTSBASE)/i86pc/Makefile.targ
7ff178cd8db129d385d3177eb20744d3b6efc59bJimmy Vetayases