Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
961N/A#
961N/A# CDDL HEADER START
961N/A#
961N/A# The contents of this file are subject to the terms of the
961N/A# Common Development and Distribution License (the "License").
961N/A# You may not use this file except in compliance with the License.
961N/A#
961N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
961N/A# or http://www.opensolaris.org/os/licensing.
961N/A# See the License for the specific language governing permissions
961N/A# and limitations under the License.
961N/A#
961N/A# When distributing Covered Code, include this CDDL HEADER in each
961N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
961N/A# If applicable, add the following below this CDDL HEADER, with the
961N/A# fields enclosed by brackets "[]" replaced with your own identifying
961N/A# information: Portions Copyright [yyyy] [name of copyright owner]
961N/A#
961N/A# CDDL HEADER END
961N/A#
961N/A#
961N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
961N/A# Use is subject to license terms.
961N/A#
3231N/A
5385N/A#ident "%Z%%M% %I% %E% SMI"
961N/A#
961N/A# This makefile drives the production of the IP generic packet classifier
961N/A# misc kernel module.
5636N/A#
961N/A# sparc architecture dependent
961N/A#
961N/A
5636N/A#
961N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
961N/A#
961N/AUTSBASE = ../..
961N/A
961N/A#
961N/A# Define the module and object file sets.
961N/A#
961N/AMODULE = ipgpc
5636N/AOBJECTS = $(IPGPC_OBJS:%=$(OBJS_DIR)/%)
961N/ALINTS = $(IPGPC_OBJS:%.o=$(LINTS_DIR)/%.ln)
961N/AROOTMODULE = $(ROOT_IPP_DIR)/$(MODULE)
961N/A
5385N/A#
1878N/A# Include common rules.
961N/A#
1878N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
961N/A
961N/A#
1878N/A# Override defaults
961N/A#
961N/A
1878N/A
961N/A#
5636N/A# Define targets
961N/A#
961N/AALL_TARGET = $(BINARY)
961N/ALINT_TARGET = $(MODULE).lint
961N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
961N/A
961N/A#
961N/A# lint pass one enforcement
961N/A#
961N/ACFLAGS += $(CCVERBOSE)
961N/A
961N/ALDFLAGS += -dy -Ndrv/ip
961N/A
5385N/A#
1878N/A# For now, disable these lint checks; maintainers should endeavor
1878N/A# to investigate and remove these for maximum lint coverage.
961N/A# Please do not carry these forward to new Makefiles.
961N/A#
5636N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
961N/ALINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
961N/A
961N/A#
961N/A# Default build targets.
961N/A#
5636N/A.KEEP_STATE:
961N/A
961N/Adef: $(DEF_DEPS)
961N/A
1878N/Aall: $(ALL_DEPS)
5636N/A
961N/Aclean: $(CLEAN_DEPS)
961N/A
961N/Aclobber: $(CLOBBER_DEPS)
1878N/A
1878N/Alint: $(LINT_DEPS)
1878N/A
5636N/Amodlintlib: $(MODLINTLIB_DEPS)
961N/A
1878N/Aclean.lint: $(CLEAN_LINT_DEPS)
961N/A
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/sparc/Makefile.targ