xref: /titanic_41/usr/src/uts/intel/kiconv_ja/Makefile (revision 15d9d0b528387242011cdcc6190c9e598cfe3a07)
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_ja/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_ja kernel module.
30*15d9d0b5Syy154373#
31*15d9d0b5Syy154373#	intel architecture dependent
32*15d9d0b5Syy154373#
33*15d9d0b5Syy154373
34*15d9d0b5Syy154373#
35*15d9d0b5Syy154373#	Path to the base of the uts directory tree (usually /usr/src/uts).
36*15d9d0b5Syy154373#
37*15d9d0b5Syy154373UTSBASE	= ../..
38*15d9d0b5Syy154373
39*15d9d0b5Syy154373#
40*15d9d0b5Syy154373#	Define the module and object file sets.
41*15d9d0b5Syy154373#
42*15d9d0b5Syy154373MODULE		= kiconv_ja
43*15d9d0b5Syy154373OBJECTS		= $(KICONV_JA_OBJS:%=$(OBJS_DIR)/%)
44*15d9d0b5Syy154373LINTS		= $(KICONV_JA_OBJS:%.o=$(LINTS_DIR)/%.ln)
45*15d9d0b5Syy154373ROOTMODULE	= $(ROOT_KICONV_DIR)/$(MODULE)
46*15d9d0b5Syy154373
47*15d9d0b5Syy154373#
48*15d9d0b5Syy154373#	Include common rules.
49*15d9d0b5Syy154373#
50*15d9d0b5Syy154373include $(UTSBASE)/intel/Makefile.intel
51*15d9d0b5Syy154373
52*15d9d0b5Syy154373#
53*15d9d0b5Syy154373#	Define targets
54*15d9d0b5Syy154373#
55*15d9d0b5Syy154373ALL_TARGET	= $(BINARY)
56*15d9d0b5Syy154373LINT_TARGET	= $(MODULE).lint
57*15d9d0b5Syy154373INSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
58*15d9d0b5Syy154373
59*15d9d0b5Syy154373#
60*15d9d0b5Syy154373#	Overrides.
61*15d9d0b5Syy154373#
62*15d9d0b5Syy154373CFLAGS		+= $(CCVERBOSE)
63*15d9d0b5Syy154373
64*15d9d0b5Syy154373#
65*15d9d0b5Syy154373# For now, disable these lint checks; maintainers should endeavor
66*15d9d0b5Syy154373# to investigate and remove these for maximum lint coverage.
67*15d9d0b5Syy154373# Please do not carry these forward to new Makefiles.
68*15d9d0b5Syy154373#
69*15d9d0b5Syy154373LINTTAGS	+= -erroff=E_PTRDIFF_OVERFLOW
70*15d9d0b5Syy154373
71*15d9d0b5Syy154373#
72*15d9d0b5Syy154373#	Default build targets.
73*15d9d0b5Syy154373#
74*15d9d0b5Syy154373.KEEP_STATE:
75*15d9d0b5Syy154373
76*15d9d0b5Syy154373def:		$(DEF_DEPS)
77*15d9d0b5Syy154373
78*15d9d0b5Syy154373all:		$(ALL_DEPS)
79*15d9d0b5Syy154373
80*15d9d0b5Syy154373clean:		$(CLEAN_DEPS)
81*15d9d0b5Syy154373
82*15d9d0b5Syy154373clobber:	$(CLOBBER_DEPS)
83*15d9d0b5Syy154373
84*15d9d0b5Syy154373lint:		$(LINT_DEPS)
85*15d9d0b5Syy154373
86*15d9d0b5Syy154373modlintlib:	$(MODLINTLIB_DEPS)
87*15d9d0b5Syy154373
88*15d9d0b5Syy154373clean.lint:	$(CLEAN_LINT_DEPS)
89*15d9d0b5Syy154373
90*15d9d0b5Syy154373install:	$(INSTALL_DEPS)
91*15d9d0b5Syy154373
92*15d9d0b5Syy154373#
93*15d9d0b5Syy154373#	Include common targets.
94*15d9d0b5Syy154373#
95*15d9d0b5Syy154373include $(UTSBASE)/intel/Makefile.targ
96