Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
12248N/A#
12248N/A# CDDL HEADER START
12248N/A#
12248N/A# The contents of this file are subject to the terms of the
10013N/A# Common Development and Distribution License (the "License").
9541N/A# You may not use this file except in compliance with the License.
9541N/A#
12248N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12248N/A# or http://www.opensolaris.org/os/licensing.
12248N/A# See the License for the specific language governing permissions
12248N/A# and limitations under the License.
9541N/A#
9541N/A# When distributing Covered Code, include this CDDL HEADER in each
12248N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
12248N/A# If applicable, add the following below this CDDL HEADER, with the
12248N/A# fields enclosed by brackets "[]" replaced with your own identifying
12248N/A# information: Portions Copyright [yyyy] [name of copyright owner]
12248N/A#
12248N/A# CDDL HEADER END
12248N/A#
9541N/A#
9541N/A# uts/sun4u/zs/Makefile
12248N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
12248N/A# Use is subject to license terms.
12248N/A#
12248N/A
12248N/A#
12248N/A# This makefile drives the production of the sun4u "zs" driver module.
12248N/A#
12248N/A# sun4u implementation architecture dependent
11195N/A#
12946N/A
12946N/A#
12946N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
11195N/A#
9541N/AUTSBASE = ../..
11195N/A
12248N/A#
9541N/A# Define the module and object file sets.
9541N/A#
9541N/AMODULE = zs
9541N/AOBJECTS = $(ZS_OBJS:%=$(OBJS_DIR)/%)
11922N/ALINTS = $(ZS_OBJS:%.o=$(LINTS_DIR)/%.ln)
11922N/AROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
12946N/A
12822N/A#
12822N/A# Include common rules.
11195N/A#
11195N/Ainclude $(UTSBASE)/sun4u/Makefile.sun4u
11922N/A
9541N/A#
12248N/A# Override defaults to build a unique, local modstubs.o.
9541N/A#
9541N/AMODSTUBS_DIR = $(OBJS_DIR)
12946N/A$(MODSTUBS_O) := AS_CPPFLAGS += -DZS_MODULE
9541N/A
9541N/ACLEANFILES += $(MODSTUBS_O)
9541N/A
9541N/A#
9541N/A# Define targets
11922N/A#
12946N/AALL_TARGET = $(BINARY)
9541N/ALINT_TARGET = $(MODULE).lint
9541N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
9541N/A
12946N/A#
11922N/A# lint pass one enforcement
11922N/A#
11922N/ACFLAGS += $(CCVERBOSE)
12946N/A
12946N/A#
12946N/A# For now, disable these lint checks; maintainers should endeavor
12946N/A# to investigate and remove these for maximum lint coverage.
12946N/A# Please do not carry these forward to new Makefiles.
12946N/A#
12946N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
12946N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
12946N/ALINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
12946N/A
12946N/ACERRWARN += -_gcc=-Wno-parentheses
12946N/ACERRWARN += -_gcc=-Wno-uninitialized
12946N/A
12946N/A#
9541N/A# Default build targets.
11922N/A#
11922N/A.KEEP_STATE:
11922N/A
11922N/Adef: $(DEF_DEPS)
9541N/A
12946N/Aall: $(ALL_DEPS)
9541N/A
12946N/Aclean: $(CLEAN_DEPS)
12946N/A
12248N/Aclobber: $(CLOBBER_DEPS)
11195N/A
11195N/Alint: $(LINT_DEPS)
11195N/A
11195N/Amodlintlib: $(MODLINTLIB_DEPS)
9541N/A
9541N/Aclean.lint: $(CLEAN_LINT_DEPS)
9541N/A
9541N/Ainstall: $(INSTALL_DEPS)
9541N/A
9541N/A#
11195N/A# Include common targets.
11195N/A#
13276N/Ainclude $(UTSBASE)/sun4u/Makefile.targ
13276N/A