Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# CDDL HEADER START
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# The contents of this file are subject to the terms of the
b34025e1e963e60c0f81c01af0f25f1984b9ca54James Phillpotts# Common Development and Distribution License (the "License").
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# You may not use this file except in compliance with the License.
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
685810e390056c123842842f5104daa3179cf2c9Phill Cunnington# or http://www.opensolaris.org/os/licensing.
0d29d2c9c206eb1652fa951dd55bcc0cfa4b48feNeil Madden# See the License for the specific language governing permissions
685810e390056c123842842f5104daa3179cf2c9Phill Cunnington# and limitations under the License.
685810e390056c123842842f5104daa3179cf2c9Phill Cunnington#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# When distributing Covered Code, include this CDDL HEADER in each
b34025e1e963e60c0f81c01af0f25f1984b9ca54James Phillpotts# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b34025e1e963e60c0f81c01af0f25f1984b9ca54James Phillpotts# If applicable, add the following below this CDDL HEADER, with the
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# fields enclosed by brackets "[]" replaced with your own identifying
685810e390056c123842842f5104daa3179cf2c9Phill Cunnington# information: Portions Copyright [yyyy] [name of copyright owner]
685810e390056c123842842f5104daa3179cf2c9Phill Cunnington#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# CDDL HEADER END
685810e390056c123842842f5104daa3179cf2c9Phill Cunnington#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# uts/intel/telmod/Makefile
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# Use is subject to license terms.
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
0d29d2c9c206eb1652fa951dd55bcc0cfa4b48feNeil Madden# This makefile drives the production of the telmod streams kernel
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# module.
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# intel architecture dependent
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# Path to the base of the uts directory tree (usually /usr/src/uts).
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno LavitUTSBASE = ../..
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# Define the module and object file sets.
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno LavitMODULE = telmod
80802511792d4e59a4ac67ad19677009d332b37dBruno LavitOBJECTS = $(TELMOD_OBJS:%=$(OBJS_DIR)/%)
80802511792d4e59a4ac67ad19677009d332b37dBruno LavitLINTS = $(TELMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
80802511792d4e59a4ac67ad19677009d332b37dBruno LavitROOTMODULE = $(USR_STRMOD_DIR)/$(MODULE)
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit
685810e390056c123842842f5104daa3179cf2c9Phill Cunnington#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit# Include common rules.
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavitinclude $(UTSBASE)/intel/Makefile.intel
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit
80802511792d4e59a4ac67ad19677009d332b37dBruno Lavit#
# Define targets
#
ALL_TARGET = $(BINARY)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
#
LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += -_gcc=-Wno-parentheses
#
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/intel/Makefile.targ