Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
d5b7ba26785d7494166d48876362ba30ff30b98awrowe#
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames# CDDL HEADER START
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames#
5541a81e194dc99521c0ecf904a940b0b65a93f2nd# The contents of this file are subject to the terms of the
b4c56dbdfb4923d59f0b33f6118719abc8672ce0nd# Common Development and Distribution License (the "License").
b4c56dbdfb4923d59f0b33f6118719abc8672ce0nd# You may not use this file except in compliance with the License.
b4c56dbdfb4923d59f0b33f6118719abc8672ce0nd#
6cc960f79676c01877ecffce659d2dc6a21bfad2nd# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6cc960f79676c01877ecffce659d2dc6a21bfad2nd# or http://www.opensolaris.org/os/licensing.
6cc960f79676c01877ecffce659d2dc6a21bfad2nd# See the License for the specific language governing permissions
a81c9e8561ebd18177a87fecf1226ac654b873f1rederpj# and limitations under the License.
a81c9e8561ebd18177a87fecf1226ac654b873f1rederpj#
a81c9e8561ebd18177a87fecf1226ac654b873f1rederpj# When distributing Covered Code, include this CDDL HEADER in each
a81c9e8561ebd18177a87fecf1226ac654b873f1rederpj# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d1c46782edbd6bd5ae4592c0174969950c5ca8aetrawick# If applicable, add the following below this CDDL HEADER, with the
d1c46782edbd6bd5ae4592c0174969950c5ca8aetrawick# fields enclosed by brackets "[]" replaced with your own identifying
d1c46782edbd6bd5ae4592c0174969950c5ca8aetrawick# information: Portions Copyright [yyyy] [name of copyright owner]
a3954060338ccebc73071e89ac936d4ec15ab352trawick#
a3954060338ccebc73071e89ac936d4ec15ab352trawick# CDDL HEADER END
a3954060338ccebc73071e89ac936d4ec15ab352trawick#
a3954060338ccebc73071e89ac936d4ec15ab352trawick#
3afe511e52d7091898e7294fe9eb6da61c43cd93trawick# uts/sparc/autofs/Makefile
3afe511e52d7091898e7294fe9eb6da61c43cd93trawick# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
3afe511e52d7091898e7294fe9eb6da61c43cd93trawick# Use is subject to license terms.
3afe511e52d7091898e7294fe9eb6da61c43cd93trawick# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
0c8d93ab73ff534c3066192ac75d58ebebeca4c5trawick#
0c8d93ab73ff534c3066192ac75d58ebebeca4c5trawick# This makefile drives the production of the
0c8d93ab73ff534c3066192ac75d58ebebeca4c5trawick# autofs file system kernel module.
0c8d93ab73ff534c3066192ac75d58ebebeca4c5trawick#
0c8d93ab73ff534c3066192ac75d58ebebeca4c5trawick# sparc architecture dependent
ab56518227d474ee08f039e4c5540011c1b8a913trawick#
ab56518227d474ee08f039e4c5540011c1b8a913trawick
ab56518227d474ee08f039e4c5540011c1b8a913trawick#
4e330708371c3e9b04d1043f0a1ac9368bfbd768coar# Path to the base of the uts directory tree (usually /usr/src/uts).
4e330708371c3e9b04d1043f0a1ac9368bfbd768coar#
4e330708371c3e9b04d1043f0a1ac9368bfbd768coarUTSBASE = ../..
532a5de31e1a9732da4923f88e4931d0724ebe72nd
532a5de31e1a9732da4923f88e4931d0724ebe72nd#
532a5de31e1a9732da4923f88e4931d0724ebe72nd# Define the module and object file sets.
219e31b849ef108cd8f58ba0eedae03414e5edb1thommay#
a98959721afc481c7f3a941f85c462f0b90defdathommayMODULE = autofs
a98959721afc481c7f3a941f85c462f0b90defdathommayOBJECTS = $(AUTOFS_OBJS:%=$(OBJS_DIR)/%)
a98959721afc481c7f3a941f85c462f0b90defdathommayLINTS = $(AUTOFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
219e31b849ef108cd8f58ba0eedae03414e5edb1thommayROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
dbb916b882c33a4e340b0dba7d75506cfdd85640trawickROOTLINK = $(ROOT_SYS_DIR)/$(MODULE)
dbb916b882c33a4e340b0dba7d75506cfdd85640trawick
dbb916b882c33a4e340b0dba7d75506cfdd85640trawick#
dbb916b882c33a4e340b0dba7d75506cfdd85640trawick# Include common rules.
dbb916b882c33a4e340b0dba7d75506cfdd85640trawick#
a18a308d7a942230edcde1bf00d7ae9b4b143c90trawickinclude $(UTSBASE)/sparc/Makefile.sparc
a18a308d7a942230edcde1bf00d7ae9b4b143c90trawick
a18a308d7a942230edcde1bf00d7ae9b4b143c90trawick#
9efe68be3c81ee85225972195fb725dbfc2e8b24trawick# Define targets
9098f795fab5db41a52b6b82fa475e8f9b3850f0trawick#
9098f795fab5db41a52b6b82fa475e8f9b3850f0trawickALL_TARGET = $(BINARY)
9098f795fab5db41a52b6b82fa475e8f9b3850f0trawickLINT_TARGET = $(MODULE).lint
9efe68be3c81ee85225972195fb725dbfc2e8b24trawickINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
3b872593fd5f61981d9dd69a4b0b5d5f5f668929trawick
3b872593fd5f61981d9dd69a4b0b5d5f5f668929trawick#
3b872593fd5f61981d9dd69a4b0b5d5f5f668929trawick# Overrides.
fc25339741311efd7d460f18b6287ef38d76bbe6madhum#
fc25339741311efd7d460f18b6287ef38d76bbe6madhumCFLAGS += $(CCVERBOSE)
fc25339741311efd7d460f18b6287ef38d76bbe6madhum
fc25339741311efd7d460f18b6287ef38d76bbe6madhum#
fcdca175a52fe517f2317ba0e2b6e6d14522b869madhum# Define dependencies on rpmod, rpcsec, and mntfs
19fdbc5566bf67dde644be9e8d38d62db4dd0ba5jerenkrantz#
92a2439559cf1161742650ed9c50c6483bd029cemadhumLDFLAGS += -dy -N strmod/rpcmod -N misc/rpcsec -N fs/mntfs
92a2439559cf1161742650ed9c50c6483bd029cemadhum
92a2439559cf1161742650ed9c50c6483bd029cemadhum#
92a2439559cf1161742650ed9c50c6483bd029cemadhum# For now, disable these lint checks; maintainers should endeavor
ebecc16986604cce1369d5075eff65032e3dd0deianh# to investigate and remove these for maximum lint coverage.
0d60370bedd05f9632f54e85c417ce472d463674madhum# Please do not carry these forward to new Makefiles.
ebecc16986604cce1369d5075eff65032e3dd0deianh#
764315969cef40e50cdc6a5e9638454e10c1c06endLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
764315969cef40e50cdc6a5e9638454e10c1c06endLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
764315969cef40e50cdc6a5e9638454e10c1c06endLINTTAGS += -erroff=E_STATIC_UNUSED
764315969cef40e50cdc6a5e9638454e10c1c06end
bfb54bd96690887dcdf184fd9083c2e167898ce2ndCERRWARN += -_gcc=-Wno-parentheses
a2c036f0ca71e35c085b4cd9451a6d3718bc65daakeCERRWARN += -_gcc=-Wno-unused-label
a2c036f0ca71e35c085b4cd9451a6d3718bc65daakeCERRWARN += -_gcc=-Wno-unused-function
a2c036f0ca71e35c085b4cd9451a6d3718bc65daakeCERRWARN += -_gcc=-Wno-uninitialized
a2c036f0ca71e35c085b4cd9451a6d3718bc65daake
b92cba59a0890be43b14aaf1ce30606140be9593nd#
b92cba59a0890be43b14aaf1ce30606140be9593nd# Default build targets.
b92cba59a0890be43b14aaf1ce30606140be9593nd#
b92cba59a0890be43b14aaf1ce30606140be9593nd.KEEP_STATE:
402d23baca89e8c4fcb4e52ad8b2d66a6904baaetrawick
402d23baca89e8c4fcb4e52ad8b2d66a6904baaetrawickdef: $(DEF_DEPS)
402d23baca89e8c4fcb4e52ad8b2d66a6904baaetrawick
4caa28863a3418d26cc20a998dc368c3de3b7e19jerenkrantzall: $(ALL_DEPS)
4caa28863a3418d26cc20a998dc368c3de3b7e19jerenkrantz
4caa28863a3418d26cc20a998dc368c3de3b7e19jerenkrantzclean: $(CLEAN_DEPS)
a3f2646ef3d8a3a5234a5601de0f95f10308c2a6jerenkrantz
a3f2646ef3d8a3a5234a5601de0f95f10308c2a6jerenkrantzclobber: $(CLOBBER_DEPS)
a3f2646ef3d8a3a5234a5601de0f95f10308c2a6jerenkrantz
9e398d701dd430f073ff5418fb720642e064046ajerenkrantzlint: $(LINT_DEPS)
9e398d701dd430f073ff5418fb720642e064046ajerenkrantz
9e398d701dd430f073ff5418fb720642e064046ajerenkrantzmodlintlib: $(MODLINTLIB_DEPS)
1a5b9e0071f0c662036250b482d566ad87ff0b4bjerenkrantz
1a5b9e0071f0c662036250b482d566ad87ff0b4bjerenkrantzclean.lint: $(CLEAN_LINT_DEPS)
1a5b9e0071f0c662036250b482d566ad87ff0b4bjerenkrantz
a7ac9b52c3d9f7ce937f078a0d585023db626c55jerenkrantzinstall: $(INSTALL_DEPS)
a7ac9b52c3d9f7ce937f078a0d585023db626c55jerenkrantz
a7ac9b52c3d9f7ce937f078a0d585023db626c55jerenkrantz$(ROOTLINK): $(ROOT_SYS_DIR) $(ROOTMODULE)
ba6c07204bd224fa5d4cd0e6b8bf256d6daffb74nd -$(RM) $@; ln $(ROOTMODULE) $@
ba6c07204bd224fa5d4cd0e6b8bf256d6daffb74nd
ba6c07204bd224fa5d4cd0e6b8bf256d6daffb74nd#
db5837bbc9bef214303e755fa52122140366cb6fianh# Include common targets.
db5837bbc9bef214303e755fa52122140366cb6fianh#
db5837bbc9bef214303e755fa52122140366cb6fianhinclude $(UTSBASE)/sparc/Makefile.targ
aac2b82fe4f1ac117e2a0702438d6615542642dand