Makefile revision 89b43686db1fe9681d80a7cf5662730cb9378cae
7f007e36bec06aba6b3a0f84a64f2abf99edfcd8gstein#
020fe2135763b51ac6221adcc51c3fb6509e7a95brianp# CDDL HEADER START
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# The contents of this file are subject to the terms of the
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Common Development and Distribution License (the "License").
a8d5ccbcbde8cb6cf3a9dcf2eb05f393ab76baa9ianh# You may not use this file except in compliance with the License.
694514f7e6e99917e084943e3a05950b3c7c106ajerenkrantz#
4214e98fc9045e5010e66f9a967bd6d68f40d342aaron# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8721697e2aece27b0e738519329f7976c72b27bfjerenkrantz# or http://www.opensolaris.org/os/licensing.
4a257be29f8aeab984fe5622fa69e0b2aab204d7jerenkrantz# See the License for the specific language governing permissions
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# and limitations under the License.
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz#
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# When distributing Covered Code, include this CDDL HEADER in each
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ab71b233b3a36489e44a7b061c48293be0b17788jwoolley# If applicable, add the following below this CDDL HEADER, with the
571760de5e60c0b459cb11be45507b923cd023eejwoolley# fields enclosed by brackets "[]" replaced with your own identifying
571760de5e60c0b459cb11be45507b923cd023eejwoolley# information: Portions Copyright [yyyy] [name of copyright owner]
9180a5933673ffb1af633c255ceee029340f3b1erbb#
bcb6e1be6041dfeb549c8ea8d37f97ad4e90a0c3rbb# CDDL HEADER END
9bd71e35f5d26d26d23fe3a677401828e842ed72wrowe#
2900ab946a2d76b73a14cebfe2985d253f01c967stoddard#
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# uts/intel/cachefs/Makefile
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb#
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
b876b7bcf0ce3d232da723246d709e8dbbfe8762rbb# Use is subject to license terms.
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
35330e0d79ceb8027223bbb8330a381b1f989d6etrawick#
6f6f4a4bca281779d196acbdd5c017bb90858305trawick# This makefile drives the production of the cachefs file system
8dd4618c4709236b4ea297d7250d282e463ce2d8rbb# kernel module.
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawick#
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb# intel architecture dependent
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb#
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
af4c982a7cf4515f124935f99a329744035fc699slive# Path to the base of the uts directory tree (usually /usr/src/uts).
af4c982a7cf4515f124935f99a329744035fc699slive#
af4c982a7cf4515f124935f99a329744035fc699sliveUTSBASE = ../..
af4c982a7cf4515f124935f99a329744035fc699slive
af4c982a7cf4515f124935f99a329744035fc699slive#
af4c982a7cf4515f124935f99a329744035fc699slive# Define the module and object file sets.
af4c982a7cf4515f124935f99a329744035fc699slive#
10270f6f94b2069d0d357805c140a9897449b9ccianhMODULE = cachefs
2a6c49cfaef5979a5a06098f3ce987cd76769409manojOBJECTS = $(CACHEFS_OBJS:%=$(OBJS_DIR)/%)
10270f6f94b2069d0d357805c140a9897449b9ccianhLINTS = $(CACHEFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
10270f6f94b2069d0d357805c140a9897449b9ccianhROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
58e0ed3d1f052d695078b1d2a61c19246776eab5jerenkrantz
10270f6f94b2069d0d357805c140a9897449b9ccianh#
020fe2135763b51ac6221adcc51c3fb6509e7a95brianp# Include common rules.
10270f6f94b2069d0d357805c140a9897449b9ccianh#
10270f6f94b2069d0d357805c140a9897449b9ccianhinclude $(UTSBASE)/intel/Makefile.intel
10270f6f94b2069d0d357805c140a9897449b9ccianh
10270f6f94b2069d0d357805c140a9897449b9ccianh#
10270f6f94b2069d0d357805c140a9897449b9ccianh# Define targets
10270f6f94b2069d0d357805c140a9897449b9ccianh#
10270f6f94b2069d0d357805c140a9897449b9ccianhALL_TARGET = $(BINARY)
10270f6f94b2069d0d357805c140a9897449b9ccianhLINT_TARGET = $(MODULE).lint
10270f6f94b2069d0d357805c140a9897449b9ccianhINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
10270f6f94b2069d0d357805c140a9897449b9ccianh
10270f6f94b2069d0d357805c140a9897449b9ccianh#
58e0ed3d1f052d695078b1d2a61c19246776eab5jerenkrantz# Define dependency on rpcmod
10270f6f94b2069d0d357805c140a9897449b9ccianh#
10270f6f94b2069d0d357805c140a9897449b9ccianhLDFLAGS += -dy -N strmod/rpcmod
77304e37d675303eef0355fc3bb9a12bb506547ajerenkrantz
77304e37d675303eef0355fc3bb9a12bb506547ajerenkrantz#
77304e37d675303eef0355fc3bb9a12bb506547ajerenkrantz# For now, disable these lint checks; maintainers should endeavor
19e870b033aa490f18d22394c35552d0dca9e058stoddard# to investigate and remove these for maximum lint coverage.
77304e37d675303eef0355fc3bb9a12bb506547ajerenkrantz# Please do not carry these forward to new Makefiles.
77304e37d675303eef0355fc3bb9a12bb506547ajerenkrantz#
10270f6f94b2069d0d357805c140a9897449b9ccianhLINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
10270f6f94b2069d0d357805c140a9897449b9ccianhLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
531c23ff01a2489646f0a2029097013b328d935agsteinLINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
c00273b9c51c617ede471e9cb95c22420f1227fbbrianpLINTTAGS += -erroff=E_STATIC_UNUSED
c00273b9c51c617ede471e9cb95c22420f1227fbbrianpLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
c00273b9c51c617ede471e9cb95c22420f1227fbbrianpLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
6758b07b4b79f898b0f56375016cea7da0bfb495wrowe
6758b07b4b79f898b0f56375016cea7da0bfb495wrowe#
6758b07b4b79f898b0f56375016cea7da0bfb495wrowe# Default build targets.
6758b07b4b79f898b0f56375016cea7da0bfb495wrowe#
020fe2135763b51ac6221adcc51c3fb6509e7a95brianp.KEEP_STATE:
020fe2135763b51ac6221adcc51c3fb6509e7a95brianp
c00273b9c51c617ede471e9cb95c22420f1227fbbrianpdef: $(DEF_DEPS)
54e1babd5a5a56c576eeeace54110150769cc916coar
54e1babd5a5a56c576eeeace54110150769cc916coarall: $(ALL_DEPS)
54e1babd5a5a56c576eeeace54110150769cc916coar
77304e37d675303eef0355fc3bb9a12bb506547ajerenkrantzclean: $(CLEAN_DEPS)
77304e37d675303eef0355fc3bb9a12bb506547ajerenkrantz
77304e37d675303eef0355fc3bb9a12bb506547ajerenkrantzclobber: $(CLOBBER_DEPS)
77304e37d675303eef0355fc3bb9a12bb506547ajerenkrantz
77304e37d675303eef0355fc3bb9a12bb506547ajerenkrantzlint: $(LINT_DEPS)
54e1babd5a5a56c576eeeace54110150769cc916coar
7fe18c15b669db9d191859695901dc4fcf3829dawrowemodlintlib: $(MODLINTLIB_DEPS)
7fe18c15b669db9d191859695901dc4fcf3829dawrowe
7fe18c15b669db9d191859695901dc4fcf3829dawroweclean.lint: $(CLEAN_LINT_DEPS)
b84f66c93f820824b1d5455181f55598b766319cwrowe
7fe18c15b669db9d191859695901dc4fcf3829dawroweinstall: $(INSTALL_DEPS)
976501adbc040220270f7d1d77c4b8373033be69wrowe
976501adbc040220270f7d1d77c4b8373033be69wrowe#
976501adbc040220270f7d1d77c4b8373033be69wrowe# Include common targets.
976501adbc040220270f7d1d77c4b8373033be69wrowe#
976501adbc040220270f7d1d77c4b8373033be69wroweinclude $(UTSBASE)/intel/Makefile.targ
b84f66c93f820824b1d5455181f55598b766319cwrowe