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