Makefile revision d62bc4badc1c1f1549c961cfb8b420e650e1272b
124N/A#
124N/A# CDDL HEADER START
124N/A#
124N/A# The contents of this file are subject to the terms of the
124N/A# Common Development and Distribution License (the "License").
124N/A# You may not use this file except in compliance with the License.
124N/A#
124N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
124N/A# or http://www.opensolaris.org/os/licensing.
124N/A# See the License for the specific language governing permissions
124N/A# and limitations under the License.
124N/A#
124N/A# When distributing Covered Code, include this CDDL HEADER in each
124N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
124N/A# If applicable, add the following below this CDDL HEADER, with the
124N/A# fields enclosed by brackets "[]" replaced with your own identifying
124N/A# information: Portions Copyright [yyyy] [name of copyright owner]
124N/A#
124N/A# CDDL HEADER END
124N/A#
5680N/A#
5680N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
5230N/A# Use is subject to license terms.
124N/A#
5680N/A#ident "%Z%%M% %I% %E% SMI"
124N/A#
124N/A
124N/A#
7140N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
618N/A#
124N/AUTSBASE = ../..
844N/A
7140N/A#
618N/A# Define the module and object file sets.
124N/A#
7140N/AMODULE = aggr
5648N/AOBJECTS = $(AGGR_OBJS:%=$(OBJS_DIR)/%)
5680N/ALINTS = $(AGGR_OBJS:%.o=$(LINTS_DIR)/%.ln)
6695N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
6695N/ACONF_SRCDIR = $(UTSBASE)/common/io/aggr
6695N/A
6695N/A#
5680N/A# Include common rules.
124N/A#
2960N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
2960N/A
2960N/A#
2960N/A# Define targets
124N/A#
124N/AALL_TARGET = $(BINARY) $(SRC_CONFILE)
5935N/ALINT_TARGET = $(MODULE).lint
5935N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
5935N/A
5935N/A#
7003N/A# Overrides
7003N/A#
7003N/ACFLAGS += $(CCVERBOSE)
5680N/ALDFLAGS += -dy -Ndrv/dld -Nmisc/mac -Nmisc/dls
5680N/A
124N/A#
5617N/A# For now, disable these lint checks; maintainers should endeavor
124N/A# to investigate and remove these for maximum lint coverage.
124N/A# Please do not carry these forward to new Makefiles.
124N/A#
3878N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
7140N/ALINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
5935N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
5935N/ALINTTAGS += -erroff=E_STATIC_UNUSED
124N/A
765N/A#
765N/A# Default build targets.
765N/A#
765N/A.KEEP_STATE:
765N/A
1792N/Adef: $(DEF_DEPS)
1792N/A
1792N/Aall: $(ALL_DEPS)
765N/A
765N/Aclean: $(CLEAN_DEPS)
765N/A
765N/Aclobber: $(CLOBBER_DEPS)
765N/A
6184N/Alint: $(LINT_DEPS)
6184N/A
6184N/Amodlintlib: $(MODLINTLIB_DEPS)
7003N/A
6184N/Aclean.lint: $(CLEAN_LINT_DEPS)
6184N/A
7003N/Ainstall: $(INSTALL_DEPS)
6184N/A
3817N/A#
3817N/A# Include common targets.
3817N/A#
3817N/Ainclude $(UTSBASE)/sparc/Makefile.targ
3817N/A