Makefile revision 7b1019a6d29ccb7999dc76cba3dde1c627e8e609
1058N/A#
2362N/A# CDDL HEADER START
1058N/A#
1058N/A# The contents of this file are subject to the terms of the
1058N/A# Common Development and Distribution License (the "License").
1058N/A# You may not use this file except in compliance with the License.
1058N/A#
1058N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1058N/A# or http://www.opensolaris.org/os/licensing.
1058N/A# See the License for the specific language governing permissions
1058N/A# and limitations under the License.
1058N/A#
1058N/A# When distributing Covered Code, include this CDDL HEADER in each
1058N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1058N/A# If applicable, add the following below this CDDL HEADER, with the
1058N/A# fields enclosed by brackets "[]" replaced with your own identifying
1058N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1058N/A#
2362N/A# CDDL HEADER END
2362N/A#
2362N/A#
1058N/A# uts/i86pc/pcplusmp/Makefile
1058N/A#
1058N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
1058N/A# Use is subject to license terms.
1058N/A#
1058N/A# Copyright 2016, Joyent, Inc.
1058N/A#
1058N/A
1058N/A#
1058N/A# This makefile drives the production of the pcplusmp "mach"
1058N/A# kernel module.
1058N/A#
1058N/A# pcplusmp implementation architecture dependent
1058N/A#
1058N/A
1058N/A#
1058N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
1058N/A#
1058N/AUTSBASE = ../..
1058N/A
1058N/A#
1058N/A# Define the module and object file sets.
1058N/A#
1058N/AMODULE = pcplusmp
1058N/AOBJECTS = $(PCPLUSMP_OBJS:%=$(OBJS_DIR)/%)
1058N/ALINTS = $(PCPLUSMP_OBJS:%.o=$(LINTS_DIR)/%.ln)
1058N/AROOTMODULE = $(ROOT_PSM_MACH_DIR)/$(MODULE)
1058N/A
1058N/A#
1058N/A# Include common rules.
1058N/A#
1058N/Ainclude $(UTSBASE)/i86pc/Makefile.i86pc
1058N/A
1058N/A#
1058N/A# Define targets
1058N/A#
1058N/AALL_TARGET = $(BINARY)
1058N/ALINT_TARGET = $(MODULE).lint
1058N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
1058N/A
1058N/ADEBUG_FLGS =
1058N/A$(NOT_RELEASE_BUILD)DEBUG_DEFS += $(DEBUG_FLGS)
1058N/A
1058N/A#
1058N/A# Depends on ACPI CA interpreter
1058N/A#
1058N/ALDFLAGS += -dy -N misc/acpica
1058N/A
1058N/ACERRWARN += -_gcc=-Wno-unused-function
1058N/A
1058N/A#
1058N/A# For now, disable these lint checks; maintainers should endeavor
1058N/A# to investigate and remove these for maximum lint coverage.
1058N/A# Please do not carry these forward to new Makefiles.
1058N/A#
1058N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
1058N/ALINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
1058N/ALINTTAGS += -erroff=E_STATIC_UNUSED
1058N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
1058N/A
1058N/ACERRWARN += -_gcc=-Wno-uninitialized
1058N/A
1058N/A#
1058N/A# Default build targets.
1058N/A#
1058N/A.KEEP_STATE:
1058N/A
1058N/Adef: $(DEF_DEPS)
1058N/A
1058N/Aall: $(ALL_DEPS)
1058N/A
1058N/Aclean: $(CLEAN_DEPS)
1058N/A
1058N/Aclobber: $(CLOBBER_DEPS)
1058N/A
1058N/Alint: $(LINT_DEPS)
1058N/A
1058N/Amodlintlib: $(MODLINTLIB_DEPS)
1058N/A
1058N/Aclean.lint: $(CLEAN_LINT_DEPS)
1058N/A
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/i86pc/Makefile.targ