Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
9174efb969475801d0dc88eee35aae40c748d450nd#
ec79b29695b183f794264bbb578c51e93d1f9b1emartin# CDDL HEADER START
6aa2272cc4af77e605ba2c4a4781f8567408b7e3pquerna#
ee508128c414648982d1cca7801f63b01a0a4f8aminfrin# The contents of this file are subject to the terms of the
347c9301068524042be654db3b2b055a9ec20633rpluem# Common Development and Distribution License (the "License").
347c9301068524042be654db3b2b055a9ec20633rpluem# You may not use this file except in compliance with the License.
347c9301068524042be654db3b2b055a9ec20633rpluem#
29d3b95754d5730dde08bbda9dc76785894f10f8rpluem# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
29d3b95754d5730dde08bbda9dc76785894f10f8rpluem# or http://www.opensolaris.org/os/licensing.
29d3b95754d5730dde08bbda9dc76785894f10f8rpluem# See the License for the specific language governing permissions
1266e0c1535091b37a0c6ea86183094e575cb8dagregames# and limitations under the License.
1266e0c1535091b37a0c6ea86183094e575cb8dagregames#
29d3b95754d5730dde08bbda9dc76785894f10f8rpluem# When distributing Covered Code, include this CDDL HEADER in each
dfd7e0be46ab5ef5b84339b4645d60fdc44cb4a5rpluem# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dfd7e0be46ab5ef5b84339b4645d60fdc44cb4a5rpluem# If applicable, add the following below this CDDL HEADER, with the
dfd7e0be46ab5ef5b84339b4645d60fdc44cb4a5rpluem# fields enclosed by brackets "[]" replaced with your own identifying
dfd7e0be46ab5ef5b84339b4645d60fdc44cb4a5rpluem# information: Portions Copyright [yyyy] [name of copyright owner]
7461431ba407b0e1eac3d6a81440a4184e652e9fniq#
7461431ba407b0e1eac3d6a81440a4184e652e9fniq# CDDL HEADER END
17d53ea32c4968e47733f1c2c063ae07d280efd6jerenkrantz#
17d53ea32c4968e47733f1c2c063ae07d280efd6jerenkrantz#
17d53ea32c4968e47733f1c2c063ae07d280efd6jerenkrantz# uts/sparc/mntfs/Makefile
2d5532b13110a8d85653da92e97795b09cc25cc2trawick# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
b38565306421ff53e9f7499bc728d6df5cec294dpquerna# Use is subject to license terms.
b38565306421ff53e9f7499bc728d6df5cec294dpquerna#
b38565306421ff53e9f7499bc728d6df5cec294dpquerna
b38565306421ff53e9f7499bc728d6df5cec294dpquerna#
3aeb30211790fef38a8297f990b7ad3b2c46ece9colm# This makefile drives the production of the mntfs file system
3aeb30211790fef38a8297f990b7ad3b2c46ece9colm# kernel module.
a17ca1093e7dc28c1a54cfd9741f65653f5b2b19jim#
a17ca1093e7dc28c1a54cfd9741f65653f5b2b19jim# sparc architecture dependent
a17ca1093e7dc28c1a54cfd9741f65653f5b2b19jim#
fa735cac4e86858f11c0de4f7cea50fa63eab87ecolm
fa735cac4e86858f11c0de4f7cea50fa63eab87ecolm#
fa735cac4e86858f11c0de4f7cea50fa63eab87ecolm# Path to the base of the uts directory tree (usually /usr/src/uts).
dbb3b82abaa9c0ad199a0a3d6a7a505136137c61colm#
dbb3b82abaa9c0ad199a0a3d6a7a505136137c61colmUTSBASE = ../..
dbb3b82abaa9c0ad199a0a3d6a7a505136137c61colm
3d76cdd5855071bbfb95a27de7d77a8855d1e893niq#
3d76cdd5855071bbfb95a27de7d77a8855d1e893niq# Define the module and object file sets.
3d76cdd5855071bbfb95a27de7d77a8855d1e893niq#
3d76cdd5855071bbfb95a27de7d77a8855d1e893niqMODULE = mntfs
3d76cdd5855071bbfb95a27de7d77a8855d1e893niqOBJECTS = $(MNTFS_OBJS:%=$(OBJS_DIR)/%)
3d76cdd5855071bbfb95a27de7d77a8855d1e893niqLINTS = $(MNTFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
3d76cdd5855071bbfb95a27de7d77a8855d1e893niqROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
3d76cdd5855071bbfb95a27de7d77a8855d1e893niq
bf0dec31a67271a4a67a6d3a3a9b3cdb41278390rpluem#
bf0dec31a67271a4a67a6d3a3a9b3cdb41278390rpluem# Include common rules.
bf0dec31a67271a4a67a6d3a3a9b3cdb41278390rpluem#
bf0dec31a67271a4a67a6d3a3a9b3cdb41278390rplueminclude $(UTSBASE)/sparc/Makefile.sparc
7612604db51e61f6ec4a6593c188e6d0640646abwrowe
7612604db51e61f6ec4a6593c188e6d0640646abwrowe#
7612604db51e61f6ec4a6593c188e6d0640646abwrowe# Define targets
7612604db51e61f6ec4a6593c188e6d0640646abwrowe#
7612604db51e61f6ec4a6593c188e6d0640646abwroweALL_TARGET = $(BINARY)
7612604db51e61f6ec4a6593c188e6d0640646abwroweLINT_TARGET = $(MODULE).lint
0a2c6381b34b977101327f412a4b1ddc8a361ae7rpluemINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
0a2c6381b34b977101327f412a4b1ddc8a361ae7rpluem
0a2c6381b34b977101327f412a4b1ddc8a361ae7rpluem#
0a2c6381b34b977101327f412a4b1ddc8a361ae7rpluem# Overrides.
8828f8c859fabac8c0080440392bc279877f9802rpluem#
8828f8c859fabac8c0080440392bc279877f9802rpluemMODSTUBS_DIR = $(OBJS_DIR)
8828f8c859fabac8c0080440392bc279877f9802rpluem$(MODSTUBS_O) := AS_CPPFLAGS += -DMNTTAB_MODULE
0830215c2542165c027f092c18924f2885c98b49trawickCLEANFILES += $(MODSTUBS_O)
0830215c2542165c027f092c18924f2885c98b49trawickCFLAGS += $(CCVERBOSE)
0830215c2542165c027f092c18924f2885c98b49trawick
0830215c2542165c027f092c18924f2885c98b49trawick#
be2abc811ae62b872703a7b43235598d641f8d8dmjc# For now, disable these lint checks; maintainers should endeavor
8f1c5a2aca731a7676bf74cdce67ec28557ec299trawick# to investigate and remove these for maximum lint coverage.
bc886ee8559b4feb30d32dc8a50ba2c013c3cc02trawick# Please do not carry these forward to new Makefiles.
8f1c5a2aca731a7676bf74cdce67ec28557ec299trawick#
9505e1a9012d92bfd2b6228e675156f44a27aa04colmLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
9505e1a9012d92bfd2b6228e675156f44a27aa04colm
3aeb30211790fef38a8297f990b7ad3b2c46ece9colmCERRWARN += -_gcc=-Wno-parentheses
3aeb30211790fef38a8297f990b7ad3b2c46ece9colm
3aeb30211790fef38a8297f990b7ad3b2c46ece9colm#
3aeb30211790fef38a8297f990b7ad3b2c46ece9colm# Default build targets.
6eb3a057b5e4f046faba79104d7941552de755dacolm#
6eb3a057b5e4f046faba79104d7941552de755dacolm.KEEP_STATE:
2e02c854b4531480fe3f7ab353154c99c5bd97e8jorton
2e02c854b4531480fe3f7ab353154c99c5bd97e8jortondef: $(DEF_DEPS)
2e02c854b4531480fe3f7ab353154c99c5bd97e8jorton
2e02c854b4531480fe3f7ab353154c99c5bd97e8jortonall: $(ALL_DEPS)
2e02c854b4531480fe3f7ab353154c99c5bd97e8jorton
c07be90520f577cdffc0ee59a81e7f2be4ab24c6martinclean: $(CLEAN_DEPS)
2e02c854b4531480fe3f7ab353154c99c5bd97e8jorton
2e02c854b4531480fe3f7ab353154c99c5bd97e8jortonclobber: $(CLOBBER_DEPS)
2e02c854b4531480fe3f7ab353154c99c5bd97e8jorton
2e02c854b4531480fe3f7ab353154c99c5bd97e8jortonlint: $(LINT_DEPS)
2e02c854b4531480fe3f7ab353154c99c5bd97e8jorton
6a9a6a63bae82591ea75fc602d5260109b8fa02ccolmmodlintlib: $(MODLINTLIB_DEPS)
70706a4d1ead0d72a443eac1cc446a0f1a4de069colm
70706a4d1ead0d72a443eac1cc446a0f1a4de069colmclean.lint: $(CLEAN_LINT_DEPS)
70706a4d1ead0d72a443eac1cc446a0f1a4de069colm
70706a4d1ead0d72a443eac1cc446a0f1a4de069colminstall: $(INSTALL_DEPS)
70706a4d1ead0d72a443eac1cc446a0f1a4de069colm
9cfe09f7e922f7bdf61bfe10a47e8f25145cdf92colm#
9cfe09f7e922f7bdf61bfe10a47e8f25145cdf92colm# Include common targets.
9cfe09f7e922f7bdf61bfe10a47e8f25145cdf92colm#
9cfe09f7e922f7bdf61bfe10a47e8f25145cdf92colminclude $(UTSBASE)/sparc/Makefile.targ
be2abc811ae62b872703a7b43235598d641f8d8dmjc