1*ae115bc7Smrj# 2*ae115bc7Smrj# CDDL HEADER START 3*ae115bc7Smrj# 4*ae115bc7Smrj# The contents of this file are subject to the terms of the 5*ae115bc7Smrj# Common Development and Distribution License (the "License"). 6*ae115bc7Smrj# You may not use this file except in compliance with the License. 7*ae115bc7Smrj# 8*ae115bc7Smrj# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*ae115bc7Smrj# or http://www.opensolaris.org/os/licensing. 10*ae115bc7Smrj# See the License for the specific language governing permissions 11*ae115bc7Smrj# and limitations under the License. 12*ae115bc7Smrj# 13*ae115bc7Smrj# When distributing Covered Code, include this CDDL HEADER in each 14*ae115bc7Smrj# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*ae115bc7Smrj# If applicable, add the following below this CDDL HEADER, with the 16*ae115bc7Smrj# fields enclosed by brackets "[]" replaced with your own identifying 17*ae115bc7Smrj# information: Portions Copyright [yyyy] [name of copyright owner] 18*ae115bc7Smrj# 19*ae115bc7Smrj# CDDL HEADER END 20*ae115bc7Smrj# 21*ae115bc7Smrj# 22*ae115bc7Smrj# uts/intel/vuidm5p/Makefile 23*ae115bc7Smrj# 24*ae115bc7Smrj# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 25*ae115bc7Smrj# Use is subject to license terms. 26*ae115bc7Smrj# 27*ae115bc7Smrj#ident "%Z%%M% %I% %E% SMI" 28*ae115bc7Smrj# 29*ae115bc7Smrj# This makefile drives the production of the vuidm5p streams kernel 30*ae115bc7Smrj# module. 31*ae115bc7Smrj# 32*ae115bc7Smrj# intel architecture dependent 33*ae115bc7Smrj# 34*ae115bc7Smrj 35*ae115bc7Smrj# 36*ae115bc7Smrj# Path to the base of the uts directory tree (usually /usr/src/uts). 37*ae115bc7Smrj# 38*ae115bc7SmrjUTSBASE = ../.. 39*ae115bc7Smrj 40*ae115bc7Smrj# 41*ae115bc7Smrj# Define the module and object file sets. 42*ae115bc7Smrj# 43*ae115bc7SmrjMODULE = vuidm5p 44*ae115bc7SmrjOBJECTS = $(VUIDM5P_OBJS:%=$(OBJS_DIR)/%) 45*ae115bc7SmrjLINTS = $(VUIDM5P_OBJS:%.o=$(LINTS_DIR)/%.ln) 46*ae115bc7SmrjROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) 47*ae115bc7Smrj 48*ae115bc7Smrj# 49*ae115bc7Smrj# Include common rules. 50*ae115bc7Smrj# 51*ae115bc7Smrjinclude $(UTSBASE)/intel/Makefile.intel 52*ae115bc7Smrj 53*ae115bc7Smrj# 54*ae115bc7Smrj# Define targets 55*ae115bc7Smrj# 56*ae115bc7SmrjALL_TARGET = $(BINARY) 57*ae115bc7SmrjLINT_TARGET = $(MODULE).lint 58*ae115bc7SmrjINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 59*ae115bc7Smrj 60*ae115bc7SmrjALL_DEFS += -DVUIDM5P 61*ae115bc7Smrj 62*ae115bc7Smrj# 63*ae115bc7Smrj# For now, disable these lint checks; maintainers should endeavor 64*ae115bc7Smrj# to investigate and remove these for maximum lint coverage. 65*ae115bc7Smrj# Please do not carry these forward to new Makefiles. 66*ae115bc7Smrj# 67*ae115bc7SmrjLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN 68*ae115bc7SmrjLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW 69*ae115bc7Smrj 70*ae115bc7Smrj# 71*ae115bc7Smrj# Default build targets. 72*ae115bc7Smrj# 73*ae115bc7Smrj.KEEP_STATE: 74*ae115bc7Smrj 75*ae115bc7Smrjdef: $(DEF_DEPS) 76*ae115bc7Smrj 77*ae115bc7Smrjall: $(ALL_DEPS) 78*ae115bc7Smrj 79*ae115bc7Smrjclean: $(CLEAN_DEPS) 80*ae115bc7Smrj 81*ae115bc7Smrjclobber: $(CLOBBER_DEPS) 82*ae115bc7Smrj 83*ae115bc7Smrjlint: $(LINT_DEPS) 84*ae115bc7Smrj 85*ae115bc7Smrjmodlintlib: $(MODLINTLIB_DEPS) 86*ae115bc7Smrj 87*ae115bc7Smrjclean.lint: $(CLEAN_LINT_DEPS) 88*ae115bc7Smrj 89*ae115bc7Smrjinstall: $(INSTALL_DEPS) 90*ae115bc7Smrj 91*ae115bc7Smrj# 92*ae115bc7Smrj# Include common targets. 93*ae115bc7Smrj# 94*ae115bc7Smrjinclude $(UTSBASE)/intel/Makefile.targ 95