Makefile revision c8343062f6e25afd9c2a31b65df357030e69fa55
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose#
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose# CDDL HEADER START
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose#
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose# The contents of this file are subject to the terms of the
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose# Common Development and Distribution License, Version 1.0 only
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose# (the "License"). You may not use this file except in compliance
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose# with the License.
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose#
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose# or http://www.opensolaris.org/os/licensing.
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose# See the License for the specific language governing permissions
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose# and limitations under the License.
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose#
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose# When distributing Covered Code, include this CDDL HEADER in each
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose# If applicable, add the following below this CDDL HEADER, with the
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose# fields enclosed by brackets "[]" replaced with your own identifying
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose# information: Portions Copyright [yyyy] [name of copyright owner]
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose#
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose# CDDL HEADER END
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose#
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose#
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose# uts/i86pc/vuidm4p/Makefile
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose#
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose# Use is subject to license terms.
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose#
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose#ident "%Z%%M% %I% %E% SMI"
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose#
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose# This makefile drives the production of the vuidm4p streams kernel
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose# module.
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose#
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose# i86pc implementation architecture dependent
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose#
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose#
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose# Path to the base of the uts directory tree (usually /usr/src/uts).
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose#
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit BoseUTSBASE = ../..
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose#
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose# Define the module and object file sets.
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose#
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit BoseMODULE = vuidm4p
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit BoseOBJECTS = $(VUIDM4P_OBJS:%=$(OBJS_DIR)/%)
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit BoseLINTS = $(VUIDM4P_OBJS:%.o=$(LINTS_DIR)/%.ln)
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit BoseROOTMODULE = $(ROOT_PSM_STRMOD_DIR)/$(MODULE)
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose#
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose# Include common rules.
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose#
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Boseinclude $(UTSBASE)/i86pc/Makefile.i86pc
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose#
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose# Define targets
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit Bose#
dd17a3aaddab6f122dff3bd15b7005464c07c0eaSumit BoseALL_TARGET = $(BINARY)
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit BoseLINT_TARGET = $(MODULE).lint
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit BoseINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose#
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose# Overrides.
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose#
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit BoseALL_DEFS += -DVUIDM4P
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose#
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose# Default build targets.
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose#
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose.KEEP_STATE:
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bosedef: $(DEF_DEPS)
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Boseall: $(ALL_DEPS)
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Boseclean: $(CLEAN_DEPS)
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Boseclobber: $(CLOBBER_DEPS)
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Boselint: $(LINT_DEPS)
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bosemodlintlib: $(MODLINTLIB_DEPS)
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Boseclean.lint: $(CLEAN_LINT_DEPS)
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Boseinstall: $(INSTALL_DEPS)
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose#
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose# Include common targets.
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose#
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Boseinclude $(UTSBASE)/i86pc/Makefile.targ
bc052ea17d858c19f9cb9c9e2bc602e754f68831Sumit Bose