Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
337N/A#
337N/A# CDDL HEADER START
337N/A#
337N/A# The contents of this file are subject to the terms of the
337N/A# Common Development and Distribution License, Version 1.0 only
337N/A# (the "License"). You may not use this file except in compliance
337N/A# with the License.
337N/A#
337N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
337N/A# or http://www.opensolaris.org/os/licensing.
337N/A# See the License for the specific language governing permissions
337N/A# and limitations under the License.
337N/A#
337N/A# When distributing Covered Code, include this CDDL HEADER in each
337N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
337N/A# If applicable, add the following below this CDDL HEADER, with the
337N/A# fields enclosed by brackets "[]" replaced with your own identifying
337N/A# information: Portions Copyright [yyyy] [name of copyright owner]
873N/A#
337N/A# CDDL HEADER END
337N/A#
337N/A#
337N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
337N/A# Use is subject to license terms.
4134N/A#
337N/A#ident "%Z%%M% %I% %E% SMI"
337N/A#
337N/A# This makefile drives the production of the ttymux driver
337N/A# kernel module.
337N/A#
673N/A# sparc implementation architecture dependent
337N/A#
337N/A
337N/A#
337N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
673N/A#
337N/AUTSBASE = ../..
337N/A
337N/A#
337N/A# Define the module and object file sets.
337N/A#
337N/AMODULE = ttymux
337N/AOBJECTS = $(TTYMUX_OBJS:%=$(OBJS_DIR)/%)
337N/ALINTS = $(TTYMUX_OBJS:%.o=$(LINTS_DIR)/%.ln)
337N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
337N/A
337N/A#
337N/A# Include common rules.
337N/A#
337N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
337N/A
337N/A#
337N/A#Overrides
337N/A#
337N/AALL_BUILDS = $(ALL_BUILDSONLY64)
337N/ADEF_BUILDS = $(DEF_BUILDSONLY64)
337N/ACLEANLINTFILES += $(LINT32_FILES)
337N/A
337N/A#
673N/A# Define targets
673N/A#
673N/AALL_TARGET = $(BINARY)
673N/ALINT_TARGET = $(MODULE).lint
673N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
673N/A
337N/A#
2095N/A# Override defaults to build a unique, local modstubs.o.
2095N/A#
2095N/AMODSTUBS_DIR = $(OBJS_DIR)
2095N/A$(MODSTUBS_O) := AS_CPPFLAGS += -DTTYMUX_MODULE
2095N/ACLEANFILES += $(MODSTUBS_O)
337N/A
337N/A
337N/A#
337N/A# lint pass one enforcement
337N/A#
2484N/ACFLAGS += $(CCVERBOSE)
2484N/A
2484N/A#
337N/A# Default build targets.
337N/A#
337N/A.KEEP_STATE:
337N/A
337N/Adef: $(DEF_DEPS)
337N/A
337N/Aall: $(ALL_DEPS)
337N/A
337N/Aclean: $(CLEAN_DEPS)
337N/A
337N/Aclobber: $(CLOBBER_DEPS)
337N/A
337N/Alint: $(LINT_DEPS)
337N/A
337N/Amodlintlib: $(MODLINTLIB_DEPS) lint32
337N/A
337N/Aclean.lint: $(CLEAN_LINT_DEPS)
337N/A
337N/Ainstall: $(INSTALL_DEPS)
337N/A
337N/A#
337N/A# Include common targets.
337N/A#
337N/Ainclude $(UTSBASE)/sparc/Makefile.targ
337N/A