Makefile revision 7b1019a6d29ccb7999dc76cba3dde1c627e8e609
147N/A#
147N/A# CDDL HEADER START
147N/A#
147N/A# The contents of this file are subject to the terms of the
147N/A# Common Development and Distribution License (the "License").
147N/A# You may not use this file except in compliance with the License.
147N/A#
147N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
147N/A# or http://www.opensolaris.org/os/licensing.
147N/A# See the License for the specific language governing permissions
147N/A# and limitations under the License.
147N/A#
147N/A# When distributing Covered Code, include this CDDL HEADER in each
147N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
147N/A# If applicable, add the following below this CDDL HEADER, with the
147N/A# fields enclosed by brackets "[]" replaced with your own identifying
147N/A# information: Portions Copyright [yyyy] [name of copyright owner]
147N/A#
147N/A# CDDL HEADER END
147N/A#
3817N/A
147N/A#
147N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
147N/A# Use is subject to license terms.
147N/A#
147N/A# Copyright 2016 Joyent, Inc.
147N/A#
147N/A# This makefile drives the production of the xpv_uppc mach
147N/A# kernel module.
844N/A#
844N/A# i86xpv implementation architecture dependent
147N/A#
1258N/A
147N/A#
2899N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
2899N/A#
3817N/AUTSBASE = ../..
3817N/A
3817N/A#
147N/A# Define the module and object file sets.
147N/A#
147N/AMODULE = xpv_uppc
206N/AOBJECTS = $(XPV_UPPC_OBJS:%=$(OBJS_DIR)/%)
206N/ALINTS = $(XPV_UPPC_OBJS:%.o=$(LINTS_DIR)/%.ln)
206N/AROOTMODULE = $(ROOT_PSM_MACH_DIR)/$(MODULE)
206N/A
806N/A#
806N/A# Include common rules.
806N/A#
806N/Ainclude $(UTSBASE)/i86xpv/Makefile.i86xpv
806N/A
147N/A#
147N/A# Define targets
147N/A#
806N/AALL_TARGET = $(BINARY)
206N/ALINT_TARGET = $(MODULE).lint
147N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
147N/A
147N/A#
147N/A# Overrides.
147N/A#
147N/ADEBUG_FLGS =
5052N/ADEBUG_DEFS += $(DEBUG_FLGS)
5052N/A
5052N/ACERRWARN += -_gcc=-Wno-unused-function
5052N/A
5052N/A#
5052N/A#
5052N/A# Depends on ACPI CA interpreter
5052N/A#
5052N/ALDFLAGS += -dy -N misc/acpica
5052N/A
5052N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
5052N/ALINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
1938N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
1938N/ALINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
3477N/A
3477N/A# Default build targets.
147N/A#
147N/A.KEEP_STATE:
181N/A
147N/Adef: $(DEF_DEPS)
181N/A
147N/Aall: $(ALL_DEPS)
4337N/A
4337N/Aclean: $(CLEAN_DEPS)
147N/A
3817N/Aclobber: $(CLOBBER_DEPS)
3817N/A
3817N/Alint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/i86xpv/Makefile.targ