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