Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
f2472b79d241967fa28f8284470b1c5cafee7b12wrowe#
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna# CDDL HEADER START
84fbf855118f318dd5e511d8e5b902cecc1177c0jim#
84fbf855118f318dd5e511d8e5b902cecc1177c0jim# The contents of this file are subject to the terms of the
0ed19acadd3d3dd593759173d87d2243e97914e2sf# Common Development and Distribution License (the "License").
0ed19acadd3d3dd593759173d87d2243e97914e2sf# You may not use this file except in compliance with the License.
0ed19acadd3d3dd593759173d87d2243e97914e2sf#
0ed19acadd3d3dd593759173d87d2243e97914e2sf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5876f43a746f688a32b7201bced8591ddf19bd43minfrin# or http://www.opensolaris.org/os/licensing.
5876f43a746f688a32b7201bced8591ddf19bd43minfrin# See the License for the specific language governing permissions
5876f43a746f688a32b7201bced8591ddf19bd43minfrin# and limitations under the License.
5876f43a746f688a32b7201bced8591ddf19bd43minfrin#
4aef34911af88f96c5b6d9b71a550a5a97bbc0b6minfrin# When distributing Covered Code, include this CDDL HEADER in each
4aef34911af88f96c5b6d9b71a550a5a97bbc0b6minfrin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4aef34911af88f96c5b6d9b71a550a5a97bbc0b6minfrin# If applicable, add the following below this CDDL HEADER, with the
4aef34911af88f96c5b6d9b71a550a5a97bbc0b6minfrin# fields enclosed by brackets "[]" replaced with your own identifying
4aef34911af88f96c5b6d9b71a550a5a97bbc0b6minfrin# information: Portions Copyright [yyyy] [name of copyright owner]
4cefc38158672f5de8119886d9754cf0609a9371minfrin#
4cefc38158672f5de8119886d9754cf0609a9371minfrin# CDDL HEADER END
4cefc38158672f5de8119886d9754cf0609a9371minfrin#
4cefc38158672f5de8119886d9754cf0609a9371minfrin# uts/sparc/fctl/Makefile
4cefc38158672f5de8119886d9754cf0609a9371minfrin#
11d3c510dca5b5178ad4739ffc1567ef2155bda9minfrin# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
11d3c510dca5b5178ad4739ffc1567ef2155bda9minfrin# Use is subject to license terms.
11d3c510dca5b5178ad4739ffc1567ef2155bda9minfrin#
d974a1624c0bb4f1c2e8b36fcf8ba1f12284ed8dsf# ident "@(#)Makefile 1.10 08/07/25 SMI"
d974a1624c0bb4f1c2e8b36fcf8ba1f12284ed8dsf#
d974a1624c0bb4f1c2e8b36fcf8ba1f12284ed8dsf# This makefile drives the production of fctl driver kernel module.
1a8c329935111a5059363efe927d631371b78414minfrin#
1a8c329935111a5059363efe927d631371b78414minfrin# i86pc architecture dependent
fac37c9794a18c24d187f4e0f97a9476c4344118minfrin#
fac37c9794a18c24d187f4e0f97a9476c4344118minfrin
fac37c9794a18c24d187f4e0f97a9476c4344118minfrin#
fc58f0ff708564b67cd578c626b6500d1cd63a51sf# Path to the base of the uts directory tree (usually /usr/src/uts).
fc58f0ff708564b67cd578c626b6500d1cd63a51sf#
fc58f0ff708564b67cd578c626b6500d1cd63a51sfUTSBASE = ../..
fc58f0ff708564b67cd578c626b6500d1cd63a51sf
fc58f0ff708564b67cd578c626b6500d1cd63a51sf#
fc58f0ff708564b67cd578c626b6500d1cd63a51sf# Define the module and object file sets.
4e5fe1d203ddf3956a77be3c797c01fd4be8b211sf#
4e5fe1d203ddf3956a77be3c797c01fd4be8b211sfMODULE = fctl
4e5fe1d203ddf3956a77be3c797c01fd4be8b211sfOBJECTS = $(FCTL_OBJS:%=$(OBJS_DIR)/%)
dcb4802d9ea9fc4ba89671e8f8faa70c9535b202minfrinLINTS = $(FCTL_OBJS:%.o=$(LINTS_DIR)/%.ln)
dcb4802d9ea9fc4ba89671e8f8faa70c9535b202minfrinROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
dcb4802d9ea9fc4ba89671e8f8faa70c9535b202minfrin
dcb4802d9ea9fc4ba89671e8f8faa70c9535b202minfrin#
dcb4802d9ea9fc4ba89671e8f8faa70c9535b202minfrin# Include common rules.
ce4dc40a4e87991087488f70d96d3447d7557294sf#
ce4dc40a4e87991087488f70d96d3447d7557294sfinclude $(UTSBASE)/Makefile.uts
ce4dc40a4e87991087488f70d96d3447d7557294sfinclude $(UTSBASE)/sparc/Makefile.sparc
9db0b0ee6ffade769db57b37a06b3f4849b5d367minfrin
9db0b0ee6ffade769db57b37a06b3f4849b5d367minfrin#
9db0b0ee6ffade769db57b37a06b3f4849b5d367minfrin# Define targets
9db0b0ee6ffade769db57b37a06b3f4849b5d367minfrin#
033d82412cc4af9d939b7e1645425b9e7f4ebf60minfrinALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
033d82412cc4af9d939b7e1645425b9e7f4ebf60minfrinLINT_TARGET = $(MODULE).lint
033d82412cc4af9d939b7e1645425b9e7f4ebf60minfrinINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
033d82412cc4af9d939b7e1645425b9e7f4ebf60minfrin
033d82412cc4af9d939b7e1645425b9e7f4ebf60minfrin#
1b390add6886fb1c0acdea82be0ef0920f1158casf# header file directories
1b390add6886fb1c0acdea82be0ef0920f1158casf#
1b390add6886fb1c0acdea82be0ef0920f1158casfINCS += -I$(SRC)/uts/common/
5fd471ec540a088d143a223096d35661bf87c15btrawick
5fd471ec540a088d143a223096d35661bf87c15btrawick
5fd471ec540a088d143a223096d35661bf87c15btrawick#
f2472b79d241967fa28f8284470b1c5cafee7b12wrowe# Lint tags
f2472b79d241967fa28f8284470b1c5cafee7b12wrowe#
f2472b79d241967fa28f8284470b1c5cafee7b12wroweLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
f2472b79d241967fa28f8284470b1c5cafee7b12wroweLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
f2472b79d241967fa28f8284470b1c5cafee7b12wroweLINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
f2472b79d241967fa28f8284470b1c5cafee7b12wrowe
c9201c790435060b1322d86949183085ca5f6c0cwroweCERRWARN += -_gcc=-Wno-uninitialized
c9201c790435060b1322d86949183085ca5f6c0cwrowe
c9201c790435060b1322d86949183085ca5f6c0cwrowe#
c9201c790435060b1322d86949183085ca5f6c0cwrowe# Default build targets.
c9201c790435060b1322d86949183085ca5f6c0cwrowe#
c9201c790435060b1322d86949183085ca5f6c0cwrowe.KEEP_STATE:
38bd9dba7627c6b2f331cd0731c272ee6bd876b1wrowe
38bd9dba7627c6b2f331cd0731c272ee6bd876b1wrowedef: $(DEF_DEPS)
38bd9dba7627c6b2f331cd0731c272ee6bd876b1wrowe
38bd9dba7627c6b2f331cd0731c272ee6bd876b1wroweall: $(ALL_DEPS)
c1ba97f41a4526d84fb7a1596afe3dd11e065a2cminfrin
c1ba97f41a4526d84fb7a1596afe3dd11e065a2cminfrinclean: $(CLEAN_DEPS)
c1ba97f41a4526d84fb7a1596afe3dd11e065a2cminfrin
c1ba97f41a4526d84fb7a1596afe3dd11e065a2cminfrinclobber: $(CLOBBER_DEPS)
c1ba97f41a4526d84fb7a1596afe3dd11e065a2cminfrin
97cc46935ec496b83fef9d6feb094d706c895b3bsflint: $(LINT_DEPS)
4ed33a14c26d78bbe6bd0b9d5091cdb184e348basf
4ed33a14c26d78bbe6bd0b9d5091cdb184e348basfmodlintlib: $(MODLINTLIB_DEPS)
4ed33a14c26d78bbe6bd0b9d5091cdb184e348basf
97cc46935ec496b83fef9d6feb094d706c895b3bsfclean.lint: $(CLEAN_LINT_DEPS)
72e3829dbd019a63b1091987fc6e7b1c028b089cminfrin
72e3829dbd019a63b1091987fc6e7b1c028b089cminfrininstall: $(INSTALL_DEPS)
72e3829dbd019a63b1091987fc6e7b1c028b089cminfrin
1081aff66582e2cac722fb3b6f09da4f524b5962minfrin#
1081aff66582e2cac722fb3b6f09da4f524b5962minfrin# Include common targets.
1081aff66582e2cac722fb3b6f09da4f524b5962minfrin#
1081aff66582e2cac722fb3b6f09da4f524b5962minfrininclude $(UTSBASE)/sparc/Makefile.targ
9f0c32ae318f33c93a47d83f4709242c18339bbcminfrin