5612N/A#
5612N/A# CDDL HEADER START
5653N/A#
5612N/A# The contents of this file are subject to the terms of the
5819N/A# Common Development and Distribution License (the "License").
5612N/A# You may not use this file except in compliance with the License.
5612N/A#
5612N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5612N/A# or http://www.opensolaris.org/os/licensing.
5819N/A# See the License for the specific language governing permissions
5612N/A# and limitations under the License.
5612N/A#
5612N/A# When distributing Covered Code, include this CDDL HEADER in each
5612N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5612N/A# If applicable, add the following below this CDDL HEADER, with the
5612N/A# fields enclosed by brackets "[]" replaced with your own identifying
5612N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5612N/A#
5612N/A# CDDL HEADER END
5612N/A#
5612N/A#
5612N/A# uts/i86pc/acpidev/Makefile
5612N/A#
5612N/A# Copyright (c) 2009, Intel Corporation.
5612N/A# All rights reserved.
5612N/A#
5612N/A# Copyright 2016, Joyent, Inc.
5612N/A#
5612N/A# This makefile drives the production of the ACPI device configuration
5612N/A# kernel module.
5612N/A#
5612N/A# i86pc architecture dependent
5612N/A#
5612N/A
5612N/A#
5612N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
5612N/A#
5612N/AUTSBASE = ../..
5612N/A
5612N/A#
5612N/A# Define the module and object file sets.
5612N/A#
5612N/AMODULE = acpidev
5612N/AOBJECTS = $(ACPIDEV_OBJS:%=$(OBJS_DIR)/%)
5612N/ALINTS = $(ACPIDEV_OBJS:%.o=$(LINTS_DIR)/%.ln)
5612N/AROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE)
5612N/A
5612N/A#
5612N/A# Include common rules.
5612N/A#
5612N/Ainclude $(UTSBASE)/i86pc/Makefile.i86pc
5612N/A
5612N/A#
5612N/A# Define targets
5612N/A#
5612N/AALL_TARGET = $(BINARY)
5612N/ALINT_TARGET = $(MODULE).lint
5612N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
5612N/A
5612N/A#
5612N/A# Depends on acpica ACPI CA interpreter
5612N/A#
5612N/ALDFLAGS += -dy -N misc/acpica
5612N/A
5612N/ACERRWARN += -_gcc=-Wno-uninitialized
5612N/ACERRWARN += -_gcc=-Wno-unused-function
5612N/ACERRWARN += -_gcc=-Wno-type-limits
5612N/A
5612N/A#
5612N/A# Default build targets.
5612N/A#
5612N/A.KEEP_STATE:
5612N/A
5612N/Adef: $(DEF_DEPS)
5612N/A
5612N/Aall: $(ALL_DEPS)
5612N/A
5612N/Aclean: $(CLEAN_DEPS)
5612N/A
5612N/Aclobber: $(CLOBBER_DEPS)
5612N/A
5612N/Alint: $(LINT_DEPS)
5612N/A
5612N/Amodlintlib: $(MODLINTLIB_DEPS)
5612N/A
5612N/Aclean.lint: $(CLEAN_LINT_DEPS)
5612N/A
5612N/Ainstall: $(INSTALL_DEPS)
5612N/A
5612N/A#
5612N/A# Include common targets.
5612N/A#
5612N/Ainclude $(UTSBASE)/i86pc/Makefile.targ
5612N/A