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