Makefile revision d14d7d31f2a70b1e0a9c933607d6627f5718980e
82629e3015252bf18319ba3815c773df23e21436Mike Christensen#
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# CDDL HEADER START
82629e3015252bf18319ba3815c773df23e21436Mike Christensen#
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# The contents of this file are subject to the terms of the
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# Common Development and Distribution License (the "License").
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# You may not use this file except in compliance with the License.
82629e3015252bf18319ba3815c773df23e21436Mike Christensen#
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# or http://www.opensolaris.org/os/licensing.
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# See the License for the specific language governing permissions
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# and limitations under the License.
82629e3015252bf18319ba3815c773df23e21436Mike Christensen#
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# When distributing Covered Code, include this CDDL HEADER in each
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# If applicable, add the following below this CDDL HEADER, with the
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# fields enclosed by brackets "[]" replaced with your own identifying
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# information: Portions Copyright [yyyy] [name of copyright owner]
82629e3015252bf18319ba3815c773df23e21436Mike Christensen#
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# CDDL HEADER END
82629e3015252bf18319ba3815c773df23e21436Mike Christensen#
82629e3015252bf18319ba3815c773df23e21436Mike Christensen#
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# uts/intel/kiconv_emea/Makefile
82629e3015252bf18319ba3815c773df23e21436Mike Christensen#
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# Use is subject to license terms.
82629e3015252bf18319ba3815c773df23e21436Mike Christensen#
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# ident "%Z%%M% %I% %E% SMI"
82629e3015252bf18319ba3815c773df23e21436Mike Christensen#
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# This makefile drives the production of the kiconv_emea kernel module.
82629e3015252bf18319ba3815c773df23e21436Mike Christensen#
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# intel architecture dependent
82629e3015252bf18319ba3815c773df23e21436Mike Christensen#
82629e3015252bf18319ba3815c773df23e21436Mike Christensen
82629e3015252bf18319ba3815c773df23e21436Mike Christensen#
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# Path to the base of the uts directory tree (usually /usr/src/uts).
82629e3015252bf18319ba3815c773df23e21436Mike Christensen#
82629e3015252bf18319ba3815c773df23e21436Mike ChristensenUTSBASE = ../..
82629e3015252bf18319ba3815c773df23e21436Mike Christensen
82629e3015252bf18319ba3815c773df23e21436Mike Christensen#
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# Define the module and object file sets.
82629e3015252bf18319ba3815c773df23e21436Mike Christensen#
82629e3015252bf18319ba3815c773df23e21436Mike ChristensenMODULE = kiconv_emea
82629e3015252bf18319ba3815c773df23e21436Mike ChristensenOBJECTS = $(KICONV_EMEA_OBJS:%=$(OBJS_DIR)/%)
82629e3015252bf18319ba3815c773df23e21436Mike ChristensenLINTS = $(KICONV_EMEA_OBJS:%.o=$(LINTS_DIR)/%.ln)
82629e3015252bf18319ba3815c773df23e21436Mike ChristensenROOTMODULE = $(ROOT_KICONV_DIR)/$(MODULE)
82629e3015252bf18319ba3815c773df23e21436Mike Christensen
82629e3015252bf18319ba3815c773df23e21436Mike Christensen#
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# Include common rules.
82629e3015252bf18319ba3815c773df23e21436Mike Christensen#
82629e3015252bf18319ba3815c773df23e21436Mike Christenseninclude $(UTSBASE)/intel/Makefile.intel
82629e3015252bf18319ba3815c773df23e21436Mike Christensen
82629e3015252bf18319ba3815c773df23e21436Mike Christensen#
82629e3015252bf18319ba3815c773df23e21436Mike Christensen# Define targets
82629e3015252bf18319ba3815c773df23e21436Mike Christensen#
82629e3015252bf18319ba3815c773df23e21436Mike ChristensenALL_TARGET = $(BINARY)
82629e3015252bf18319ba3815c773df23e21436Mike ChristensenLINT_TARGET = $(MODULE).lint
82629e3015252bf18319ba3815c773df23e21436Mike ChristensenINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
82629e3015252bf18319ba3815c773df23e21436Mike Christensen
#
# Overrides.
#
CFLAGS += $(CCVERBOSE)
#
# 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_PTRDIFF_OVERFLOW
#
# 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