Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# CDDL HEADER START
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# The contents of this file are subject to the terms of the
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# Common Development and Distribution License, Version 1.0 only
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# (the "License"). You may not use this file except in compliance
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# with the License.
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# or http://www.opensolaris.org/os/licensing.
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# See the License for the specific language governing permissions
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# and limitations under the License.
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# When distributing Covered Code, include this CDDL HEADER in each
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# If applicable, add the following below this CDDL HEADER, with the
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# fields enclosed by brackets "[]" replaced with your own identifying
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# information: Portions Copyright [yyyy] [name of copyright owner]
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# CDDL HEADER END
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# Use is subject to license terms.
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott#ident "%Z%%M% %I% %E% SMI"
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# This makefile drives the production of the ttymux driver
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# kernel module.
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# sparc implementation architecture dependent
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# Path to the base of the uts directory tree (usually /usr/src/uts).
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# Define the module and object file sets.
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# Include common rules.
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# Define targets
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# Override defaults to build a unique, local modstubs.o.
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott$(MODSTUBS_O) := AS_CPPFLAGS += -DTTYMUX_MODULE
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# lint pass one enforcement
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# Default build targets.
35ab1c5bca11317474fe12bdd8d22c17cdaf2697Robert Wapshott# Include common targets.