Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
10139N/A#
10139N/A# CDDL HEADER START
10139N/A#
12208N/A# The contents of this file are subject to the terms of the
10139N/A# Common Development and Distribution License (the "License").
10139N/A# You may not use this file except in compliance with the License.
17185N/A#
10139N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
17177N/A# or http://www.opensolaris.org/os/licensing.
17177N/A# See the License for the specific language governing permissions
17177N/A# and limitations under the License.
10139N/A#
10139N/A# When distributing Covered Code, include this CDDL HEADER in each
10139N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17417N/A# If applicable, add the following below this CDDL HEADER, with the
10139N/A# fields enclosed by brackets "[]" replaced with your own identifying
10139N/A# information: Portions Copyright [yyyy] [name of copyright owner]
10139N/A#
10139N/A# CDDL HEADER END
17417N/A#
10139N/A#
10139N/A# uts/i86pc/apix/Makefile
10139N/A#
10139N/A# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
10139N/A#
10139N/A# This makefile drives the production of the pcplusmp "mach"
10139N/A# kernel module.
10139N/A#
13064N/A# pcplusmp implementation architecture dependent
10243N/A#
14082N/A
14082N/A#
10139N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
10139N/A#
10139N/AUTSBASE = ../..
10139N/A
10139N/A#
10139N/A# Define the module and object file sets.
11393N/A#
10139N/AMODULE = apix
10139N/AOBJECTS = $(APIX_OBJS:%=$(OBJS_DIR)/%)
10139N/ALINTS = $(APIX_OBJS:%.o=$(LINTS_DIR)/%.ln)
10139N/AROOTMODULE = $(ROOT_PSM_MACH_DIR)/$(MODULE)
10139N/A
10139N/A#
10139N/A# Include common rules.
10139N/A#
10139N/Ainclude $(UTSBASE)/i86pc/Makefile.i86pc
10139N/A
10139N/A#
10139N/A# Define targets
10139N/A#
10139N/AALL_TARGET = $(BINARY)
10139N/ALINT_TARGET = $(MODULE).lint
10139N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
10139N/A
10139N/ADEBUG_FLGS =
10139N/A$(NOT_RELEASE_BUILD)DEBUG_DEFS += $(DEBUG_FLGS)
10139N/A
10139N/A#
10139N/A# Depends on ACPI CA interpreter
10139N/A#
10139N/ALDFLAGS += -dy -N misc/acpica
10139N/A
10139N/ACERRWARN += -_gcc=-Wno-uninitialized
10139N/ACERRWARN += -_gcc=-Wno-unused-variable
10139N/ACERRWARN += -_gcc=-Wno-unused-function
10243N/ACERRWARN += -_gcc=-Wno-empty-body
14082N/A
10139N/A#
10139N/A# Default build targets.
10139N/A#
10139N/A.KEEP_STATE:
10139N/A
10139N/Adef: $(DEF_DEPS)
10139N/A
10139N/Aall: $(ALL_DEPS)
10139N/A
10139N/Aclean: $(CLEAN_DEPS)
10139N/A
10139N/Aclobber: $(CLOBBER_DEPS)
12805N/A
12805N/Alint: $(LINT_DEPS)
12805N/A
12805N/Amodlintlib: $(MODLINTLIB_DEPS)
12805N/A
10139N/Aclean.lint: $(CLEAN_LINT_DEPS)
10139N/A
10139N/Ainstall: $(INSTALL_DEPS)
10139N/A
10139N/A#
10139N/A# Include common targets.
10139N/A#
15742N/Ainclude $(UTSBASE)/i86pc/Makefile.targ
15742N/A
15742N/A