Makefile revision b6805bf78d2bbbeeaea8909a05623587b42d58b3
906N/A#
906N/A# CDDL HEADER START
906N/A#
906N/A# The contents of this file are subject to the terms of the
906N/A# Common Development and Distribution License (the "License").
906N/A# You may not use this file except in compliance with the License.
906N/A#
906N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
906N/A# or http://www.opensolaris.org/os/licensing.
906N/A# See the License for the specific language governing permissions
906N/A# and limitations under the License.
906N/A#
906N/A# When distributing Covered Code, include this CDDL HEADER in each
906N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
906N/A# If applicable, add the following below this CDDL HEADER, with the
906N/A# fields enclosed by brackets "[]" replaced with your own identifying
906N/A# information: Portions Copyright [yyyy] [name of copyright owner]
906N/A#
906N/A# CDDL HEADER END
906N/A#
906N/A#
5636N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
906N/A# Use is subject to license terms.
906N/A#
3817N/A# Copyright (c) 2010, Intel Corporation.
3817N/A# All rights reserved.
906N/A#
906N/A# This makefile drives the production of the drmach_acpi loadable module.
906N/A#
5109N/A# i86pc architecture dependent
1799N/A#
1799N/A
906N/A#
906N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
5109N/A#
1799N/AUTSBASE = ../..
1799N/A
906N/A#
5109N/A# Define the module and object file sets.
2899N/A#
1389N/AMODULE = drmach_acpi
1389N/AOBJECTS = $(DRMACH_ACPI_OBJS:%=$(OBJS_DIR)/%)
2410N/ALINTS = $(DRMACH_ACPI_OBJS:%.o=$(LINTS_DIR)/%.ln)
906N/AROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE)
3936N/A
3470N/A#
5636N/A# Include common rules.
4744N/A#
3817N/Ainclude $(UTSBASE)/i86pc/Makefile.i86pc
3817N/A
3817N/A#
906N/A# Define targets
3703N/A#
1389N/AALL_TARGET = $(BINARY)
906N/ALINT_TARGET = $(MODULE).lint
906N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
906N/A
906N/A#
3470N/A# Overrides
3470N/A#
3470N/ADEF_BUILDS = $(DEF_BUILDS64)
3470N/AALL_BUILDS = $(ALL_BUILDS64)
3470N/A
3775N/A#
3775N/A# lint pass one enforcement
3775N/A#
3470N/ACFLAGS += $(CCVERBOSE)
906N/A
1389N/A#
1389N/A# module dependencies
1389N/A#
906N/ALDFLAGS += -dy -Nmisc/acpica -Nmisc/acpidev
3703N/A
3703N/ACLEANFILES += $(DRMACH_GENERR)
3703N/ACLEANFILES += $(DRMACH_IO)/drmach_err.c
906N/A
906N/A#
1389N/A# Default build targets.
1799N/A#
906N/A.KEEP_STATE:
906N/A
906N/Adef: $(DEF_DEPS)
4959N/A
4959N/Aall: $(ALL_DEPS)
4959N/A
4959N/A# This build only 64-bit, but the lint32 below
4959N/A# needs corresponding clean/clobber deps.
4959N/Aclean: $(CLEAN_DEPS) clean.debug32
906N/A
5119N/Aclobber: $(CLOBBER_DEPS) clobber.debug32
2494N/A
3703N/Alint: $(LINT_DEPS)
3470N/A
5077N/Amodlintlib: $(MODLINTLIB_DEPS) lint32
906N/A
5077N/Aclean.lint: $(CLEAN_LINT_DEPS)
3703N/A
5077N/Ainstall: $(INSTALL_DEPS)
2494N/A
5109N/A#
906N/A# Include common targets.
5077N/A#
906N/Ainclude $(UTSBASE)/i86pc/Makefile.targ
4337N/A