Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
f743002678eb67b99bbc29fee116b65d9530fec0wrowe#
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# CDDL HEADER START
cc5a4a08dc9783fcbc52ce86f11e01c281a43810minfrin#
cb666b29f81df1d11d65002250153353568021fccovener# The contents of this file are subject to the terms of the
cb666b29f81df1d11d65002250153353568021fccovener# Common Development and Distribution License (the "License").
cb666b29f81df1d11d65002250153353568021fccovener# You may not use this file except in compliance with the License.
f58fcd9d79be417ef351cac4e4c0ab264c5521e0trawick#
f58fcd9d79be417ef351cac4e4c0ab264c5521e0trawick# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f58fcd9d79be417ef351cac4e4c0ab264c5521e0trawick# or http://www.opensolaris.org/os/licensing.
f58fcd9d79be417ef351cac4e4c0ab264c5521e0trawick# See the License for the specific language governing permissions
6a80c3c6f4b8ea7ba5e89402b8b779b09ce020e0covener# and limitations under the License.
1c2cab00d988fc48cbe59032cf76cc0bab20d6f7covener#
6a80c3c6f4b8ea7ba5e89402b8b779b09ce020e0covener# When distributing Covered Code, include this CDDL HEADER in each
45dffe6c346dd73571ccaead10295fc7d53b59a6covener# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
45dffe6c346dd73571ccaead10295fc7d53b59a6covener# If applicable, add the following below this CDDL HEADER, with the
45dffe6c346dd73571ccaead10295fc7d53b59a6covener# fields enclosed by brackets "[]" replaced with your own identifying
75a230a728338d84dcfe81edd375352f34de22d0covener# information: Portions Copyright [yyyy] [name of copyright owner]
75a230a728338d84dcfe81edd375352f34de22d0covener#
75a230a728338d84dcfe81edd375352f34de22d0covener# CDDL HEADER END
3694b0116c5729804ed6a5ce119bd8efda116c7fcovener#
3694b0116c5729804ed6a5ce119bd8efda116c7fcovener#
3694b0116c5729804ed6a5ce119bd8efda116c7fcovener# uts/sparc/kiconv_ko/Makefile
3694b0116c5729804ed6a5ce119bd8efda116c7fcovener#
1f50dc34ae069adeed20b2986e5ffdefa5c410e0covener# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
1f50dc34ae069adeed20b2986e5ffdefa5c410e0covener# Use is subject to license terms.
1f50dc34ae069adeed20b2986e5ffdefa5c410e0covener#
63a5ea80bddcc84a462e40f402b4f330e0e05411covener
63a5ea80bddcc84a462e40f402b4f330e0e05411covener#
63a5ea80bddcc84a462e40f402b4f330e0e05411covener# This makefile drives the production of the kiconv_ko
63a5ea80bddcc84a462e40f402b4f330e0e05411covener# kernel module.
986f3ea2c314d4d4b3b937149853a0f23f6119aaminfrin#
986f3ea2c314d4d4b3b937149853a0f23f6119aaminfrin# sparc implementation architecture dependent
986f3ea2c314d4d4b3b937149853a0f23f6119aaminfrin#
f502dd154eaf60ccf6a993e83c490d52cd0a385eminfrin
f502dd154eaf60ccf6a993e83c490d52cd0a385eminfrin#
f502dd154eaf60ccf6a993e83c490d52cd0a385eminfrin# Path to the base of the uts directory tree (usually /usr/src/uts).
65a4e663b82f8bce28ac22ab2edfd7502de36998sf#
65a4e663b82f8bce28ac22ab2edfd7502de36998sfUTSBASE = ../..
65a4e663b82f8bce28ac22ab2edfd7502de36998sf
65a4e663b82f8bce28ac22ab2edfd7502de36998sf#
c7de1955eb0eaeabf7042902476397692672d549sf# Define the module and object file sets.
cc5a4a08dc9783fcbc52ce86f11e01c281a43810minfrin#
cc5a4a08dc9783fcbc52ce86f11e01c281a43810minfrinMODULE = kiconv_ko
cc5a4a08dc9783fcbc52ce86f11e01c281a43810minfrinOBJECTS = $(KICONV_KO_OBJS:%=$(OBJS_DIR)/%)
cc5a4a08dc9783fcbc52ce86f11e01c281a43810minfrinLINTS = $(KICONV_KO_OBJS:%.o=$(LINTS_DIR)/%.ln)
a77a7d850e4496179e1e0f45d5152865c899d421covenerROOTMODULE = $(ROOT_KICONV_DIR)/$(MODULE)
a77a7d850e4496179e1e0f45d5152865c899d421covener
92108a6c4fd7ca6e9acc94d2485920436763e491sf#
df6d5653669f1514b4449aaba99cb950c0013e5fcovener# Include common rules.
df6d5653669f1514b4449aaba99cb950c0013e5fcovener#
df6d5653669f1514b4449aaba99cb950c0013e5fcovenerinclude $(UTSBASE)/sparc/Makefile.sparc
509622419be000045d461ef38fb97df778fdf81djailletc
509622419be000045d461ef38fb97df778fdf81djailletc#
509622419be000045d461ef38fb97df778fdf81djailletc# Define targets
509622419be000045d461ef38fb97df778fdf81djailletc#
1de839c61281d58dc75715c1ae06b4b00764c4efjortonALL_TARGET = $(BINARY)
1de839c61281d58dc75715c1ae06b4b00764c4efjortonLINT_TARGET = $(MODULE).lint
1de839c61281d58dc75715c1ae06b4b00764c4efjortonINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
2e1a0fb12bdf1c20064ffe900a8f44979ec946fcminfrin
2e1a0fb12bdf1c20064ffe900a8f44979ec946fcminfrin#
2e1a0fb12bdf1c20064ffe900a8f44979ec946fcminfrin# Overrides
2e1a0fb12bdf1c20064ffe900a8f44979ec946fcminfrin#
441d366a564bc6faa7c1eaffbacf8c4f37862199minfrinCFLAGS += $(CCVERBOSE)
441d366a564bc6faa7c1eaffbacf8c4f37862199minfrin
441d366a564bc6faa7c1eaffbacf8c4f37862199minfrin#
441d366a564bc6faa7c1eaffbacf8c4f37862199minfrin# For now, disable these lint checks; maintainers should endeavor
441d366a564bc6faa7c1eaffbacf8c4f37862199minfrin# to investigate and remove these for maximum lint coverage.
0b9de55d178312ec929dbe417dd61199b269991djailletc# Please do not carry these forward to new Makefiles.
0b9de55d178312ec929dbe417dd61199b269991djailletc#
0b9de55d178312ec929dbe417dd61199b269991djailletcLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
0b9de55d178312ec929dbe417dd61199b269991djailletc
74e7f6c55fd67b10cb400b3f6d1dc718a303d944minfrinCERRWARN += -_gcc=-Wno-parentheses
74e7f6c55fd67b10cb400b3f6d1dc718a303d944minfrin
74e7f6c55fd67b10cb400b3f6d1dc718a303d944minfrin#
74e7f6c55fd67b10cb400b3f6d1dc718a303d944minfrin# Default build targets.
9e0d78337da0ce66247fc3254b9d5be262cbcea8minfrin#
9e0d78337da0ce66247fc3254b9d5be262cbcea8minfrin.KEEP_STATE:
9e0d78337da0ce66247fc3254b9d5be262cbcea8minfrin
2ae6440d9c0beacb1b2a9726d80b755a8a4a851bjailletcdef: $(DEF_DEPS)
2ae6440d9c0beacb1b2a9726d80b755a8a4a851bjailletc
2ae6440d9c0beacb1b2a9726d80b755a8a4a851bjailletcall: $(ALL_DEPS)
2ae6440d9c0beacb1b2a9726d80b755a8a4a851bjailletc
2f073ef2a21b1725addef84f318a2b11541e912aminfrinclean: $(CLEAN_DEPS)
2f073ef2a21b1725addef84f318a2b11541e912aminfrin
2f073ef2a21b1725addef84f318a2b11541e912aminfrinclobber: $(CLOBBER_DEPS)
2f073ef2a21b1725addef84f318a2b11541e912aminfrin
a511a29faf2ff7ead3b67680154a624effb31aafminfrinlint: $(LINT_DEPS)
a511a29faf2ff7ead3b67680154a624effb31aafminfrin
a511a29faf2ff7ead3b67680154a624effb31aafminfrinmodlintlib: $(MODLINTLIB_DEPS)
a511a29faf2ff7ead3b67680154a624effb31aafminfrin
a511a29faf2ff7ead3b67680154a624effb31aafminfrinclean.lint: $(CLEAN_LINT_DEPS)
a7584fbbf39ae6a78586ed038d80c31b14ce5461minfrin
a7584fbbf39ae6a78586ed038d80c31b14ce5461minfrininstall: $(INSTALL_DEPS)
a7584fbbf39ae6a78586ed038d80c31b14ce5461minfrin
a7584fbbf39ae6a78586ed038d80c31b14ce5461minfrin#
9ea14ade0d235bec11e6c221b888a6630a0be849covener# Include common targets.
9ea14ade0d235bec11e6c221b888a6630a0be849covener#
9ea14ade0d235bec11e6c221b888a6630a0be849covenerinclude $(UTSBASE)/sparc/Makefile.targ
4860eae0821bbdf3e0da78be7b4057ebed5d86e4minfrin