Makefile revision 7b1019a6d29ccb7999dc76cba3dde1c627e8e609
395N/A#
553N/A# CDDL HEADER START
395N/A#
395N/A# The contents of this file are subject to the terms of the
395N/A# Common Development and Distribution License (the "License").
395N/A# You may not use this file except in compliance with the License.
395N/A#
395N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
395N/A# or http://www.opensolaris.org/os/licensing.
395N/A# See the License for the specific language governing permissions
395N/A# and limitations under the License.
395N/A#
395N/A# When distributing Covered Code, include this CDDL HEADER in each
395N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
395N/A# If applicable, add the following below this CDDL HEADER, with the
395N/A# fields enclosed by brackets "[]" replaced with your own identifying
395N/A# information: Portions Copyright [yyyy] [name of copyright owner]
395N/A#
553N/A# CDDL HEADER END
553N/A#
553N/A#
395N/A# uts/i86pc/acpinex/Makefile
395N/A#
395N/A# Copyright (c) 2009, Intel Corporation.
395N/A# All rights reserved.
395N/A#
395N/A# Copyright 2016, Joyent, Inc.
395N/A#
395N/A# This makefile drives the production of the ACPI virtual nexus
395N/A# kernel module.
395N/A#
395N/A# intel platform dependent
395N/A#
395N/A
395N/A#
395N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
395N/A#
395N/AUTSBASE = ../..
395N/A
395N/A#
395N/A# Define the module and object file sets.
395N/A#
395N/AMODULE = acpinex
395N/AOBJECTS = $(ACPINEX_OBJS:%=$(OBJS_DIR)/%)
395N/ALINTS = $(ACPINEX_OBJS:%.o=$(LINTS_DIR)/%.ln)
395N/AROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
395N/A
395N/A#
395N/A# Include common rules.
395N/A#
395N/Ainclude $(UTSBASE)/i86pc/Makefile.i86pc
395N/A
395N/A#
395N/A# Define targets
#
ALL_TARGET = $(BINARY)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Depends on acpica ACPI CA interpreter
#
LDFLAGS += -dy -N misc/acpica -N misc/acpidev
CERRWARN += -_gcc=-Wno-unused-function
#
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/i86pc/Makefile.targ