a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# CDDL HEADER START
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# The contents of this file are subject to the terms of the
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Common Development and Distribution License (the "License").
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# You may not use this file except in compliance with the License.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# See the License for the specific language governing permissions
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# and limitations under the License.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# When distributing Covered Code, include this CDDL HEADER in each
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# If applicable, add the following below this CDDL HEADER, with the
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# fields enclosed by brackets "[]" replaced with your own identifying
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# information: Portions Copyright [yyyy] [name of copyright owner]
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# CDDL HEADER END
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Use is subject to license terms.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Copyright (c) 2010, Intel Corporation.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# All rights reserved.
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek# Copyright 2016 Joyent, Inc.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# This makefile drives the production of the drmach_acpi loadable module.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# i86pc architecture dependent
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Path to the base of the uts directory tree (usually /usr/src/uts).
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Define the module and object file sets.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Include common rules.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Define targets
7b1019a6d29ccb7999dc76cba3dde1c627e8e609Jerry Jelinek$(OBJS_DIR)/drmach_acpi.o := CERRWARN += -_gcc=-Wno-unused-function
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# lint pass one enforcement
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# module dependencies
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Default build targets.
b6805bf78d2bbbeeaea8909a05623587b42d58b3Gordon Ross# This build only 64-bit, but the lint32 below
b6805bf78d2bbbeeaea8909a05623587b42d58b3Gordon Ross# needs corresponding clean/clobber deps.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Include common targets.