Makefile revision ffc349ab772a8ab3ac82d192827e2777ab45d0be
96fc773162e93e5b85686ab152f11baf4498d868rbb#
13ee9baf0119bca0739d3f17591f0bf2c64cdcccrbb# CDDL HEADER START
bcef91d7068817e2e56854f5c5b22b6eb4663a85rbb#
bcef91d7068817e2e56854f5c5b22b6eb4663a85rbb# The contents of this file are subject to the terms of the
bcef91d7068817e2e56854f5c5b22b6eb4663a85rbb# Common Development and Distribution License (the "License").
445997e06464e7625c7f0e22917f8f2d9876cfffrbb# You may not use this file except in compliance with the License.
445997e06464e7625c7f0e22917f8f2d9876cfffrbb#
445997e06464e7625c7f0e22917f8f2d9876cfffrbb# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
445997e06464e7625c7f0e22917f8f2d9876cfffrbb# or http://www.opensolaris.org/os/licensing.
445997e06464e7625c7f0e22917f8f2d9876cfffrbb# See the License for the specific language governing permissions
a2c240fe8836beba2330b03d55569d9e31bb3358trawick# and limitations under the License.
a2c240fe8836beba2330b03d55569d9e31bb3358trawick#
a2c240fe8836beba2330b03d55569d9e31bb3358trawick# When distributing Covered Code, include this CDDL HEADER in each
a2c240fe8836beba2330b03d55569d9e31bb3358trawick# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
13ee9baf0119bca0739d3f17591f0bf2c64cdcccrbb# If applicable, add the following below this CDDL HEADER, with the
13ee9baf0119bca0739d3f17591f0bf2c64cdcccrbb# fields enclosed by brackets "[]" replaced with your own identifying
13ee9baf0119bca0739d3f17591f0bf2c64cdcccrbb# information: Portions Copyright [yyyy] [name of copyright owner]
13ee9baf0119bca0739d3f17591f0bf2c64cdcccrbb#
5a58a10705b7b154b53294e0c0283d64eabdcb7fstoddard# CDDL HEADER END
5a58a10705b7b154b53294e0c0283d64eabdcb7fstoddard#
5a58a10705b7b154b53294e0c0283d64eabdcb7fstoddard#
10a2de5cee9ae5abe675ea200fbe635a54556c8ffanf# uts/sparc/portfs/Makefile
3568de757bac0b47256647504c186d17ca272f85rbb# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
3568de757bac0b47256647504c186d17ca272f85rbb# Use is subject to license terms.
3568de757bac0b47256647504c186d17ca272f85rbb#
98f3c8c547839251cb43e9f917114cc8b16ced9efanf#ident "%Z%%M% %I% %E% SMI"
98f3c8c547839251cb43e9f917114cc8b16ced9efanf#
98f3c8c547839251cb43e9f917114cc8b16ced9efanf# This makefile drives the production of the port kernel module.
1a411968bb62cc88c3cbf14a53caf6587c224259fanf#
1a411968bb62cc88c3cbf14a53caf6587c224259fanf# sparc architecture dependent
10a2de5cee9ae5abe675ea200fbe635a54556c8ffanf#
10a2de5cee9ae5abe675ea200fbe635a54556c8ffanf
10a2de5cee9ae5abe675ea200fbe635a54556c8ffanf#
10a2de5cee9ae5abe675ea200fbe635a54556c8ffanf# Path to the base of the uts directory tree (usually /usr/src/uts).
60777c94cb33363389d4848524c0809c235ba5e5rbb#
6f06d481dafc90f1b553f1d2828bcea50a039854fieldingUTSBASE = ../..
b5140df3124b186e4a977812fd9828d1e295c080wrowe
b5140df3124b186e4a977812fd9828d1e295c080wrowePORTFS_OBJS += port.o port_vnops.o port_fd.o
b5140df3124b186e4a977812fd9828d1e295c080wrowe
b5140df3124b186e4a977812fd9828d1e295c080wrowe#
b5140df3124b186e4a977812fd9828d1e295c080wrowe# Define the module and object file sets.
c9dafaafc2650994e47f88f5239f643c97ec4cb3wrowe#
c9dafaafc2650994e47f88f5239f643c97ec4cb3wroweMODULE = portfs
c9dafaafc2650994e47f88f5239f643c97ec4cb3wroweOBJECTS = $(PORTFS_OBJS:%=$(OBJS_DIR)/%)
c9dafaafc2650994e47f88f5239f643c97ec4cb3wroweLINTS = $(PORTFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
c9dafaafc2650994e47f88f5239f643c97ec4cb3wroweROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
41aef8943f349ee0b5b510dd436301b4c33c628cwrowe
41aef8943f349ee0b5b510dd436301b4c33c628cwrowe#
bb360f1d9bdce4f55f290de07a711db006b25957wrowe# Include common rules.
5727f68f33838686d447f55a100309e54efb20f8fielding#
5727f68f33838686d447f55a100309e54efb20f8fielding
5727f68f33838686d447f55a100309e54efb20f8fieldinginclude $(UTSBASE)/sparc/Makefile.sparc
5727f68f33838686d447f55a100309e54efb20f8fielding
5727f68f33838686d447f55a100309e54efb20f8fielding#
d28c69d8e5f2e88e653d61436bb6fa6302a212b4rbb# Define targets
d28c69d8e5f2e88e653d61436bb6fa6302a212b4rbb#
d28c69d8e5f2e88e653d61436bb6fa6302a212b4rbbALL_TARGET = $(BINARY)
d28c69d8e5f2e88e653d61436bb6fa6302a212b4rbbLINT_TARGET = $(MODULE).lint
d28c69d8e5f2e88e653d61436bb6fa6302a212b4rbbINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
b974a8fc59a9d6193305dcd8690992a411d88232rbb
b974a8fc59a9d6193305dcd8690992a411d88232rbb#
b974a8fc59a9d6193305dcd8690992a411d88232rbb# Overrides.
b974a8fc59a9d6193305dcd8690992a411d88232rbb#
b974a8fc59a9d6193305dcd8690992a411d88232rbbMODSTUBS_DIR = $(OBJS_DIR)
fa996ff928f6170678c8789c8073c368f56d770arbb$(MODSTUBS_O) := AS_CPPFLAGS +=
fa996ff928f6170678c8789c8073c368f56d770arbbCLEANFILES += $(MODSTUBS_O)
fa996ff928f6170678c8789c8073c368f56d770arbb
fa996ff928f6170678c8789c8073c368f56d770arbbCFLAGS += $(CCVERBOSE)
fa996ff928f6170678c8789c8073c368f56d770arbb
fa996ff928f6170678c8789c8073c368f56d770arbb#
a1bbc66131c63e718e3f73fc11a348f7552d7947rbb# For now, disable these lint checks; maintainers should endeavor
a1bbc66131c63e718e3f73fc11a348f7552d7947rbb# to investigate and remove these for maximum lint coverage.
a1bbc66131c63e718e3f73fc11a348f7552d7947rbb# Please do not carry these forward to new Makefiles.
b31025f6f2c0392dc76eecca7f27faad0b902be0wrowe#
b31025f6f2c0392dc76eecca7f27faad0b902be0wroweLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
b31025f6f2c0392dc76eecca7f27faad0b902be0wrowe
b31025f6f2c0392dc76eecca7f27faad0b902be0wrowe#
b31025f6f2c0392dc76eecca7f27faad0b902be0wrowe# Default build targets.
b31025f6f2c0392dc76eecca7f27faad0b902be0wrowe#
4783bc116b4dc37deadcc0b68ce3d3eeb6a7464aben.KEEP_STATE:
4783bc116b4dc37deadcc0b68ce3d3eeb6a7464aben
4783bc116b4dc37deadcc0b68ce3d3eeb6a7464abendef: $(DEF_DEPS)
4783bc116b4dc37deadcc0b68ce3d3eeb6a7464aben
4783bc116b4dc37deadcc0b68ce3d3eeb6a7464abenall: $(ALL_DEPS)
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbb
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbbclean: $(CLEAN_DEPS)
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbb
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbbclobber: $(CLOBBER_DEPS)
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbb
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbblint: $(LINT_DEPS)
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbb
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbbmodlintlib: $(MODLINTLIB_DEPS)
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbb
cab10c98980b42562a7850410cecd37798e170ecrbbclean.lint: $(CLEAN_LINT_DEPS)
cab10c98980b42562a7850410cecd37798e170ecrbb
cab10c98980b42562a7850410cecd37798e170ecrbbinstall: $(INSTALL_DEPS)
cab10c98980b42562a7850410cecd37798e170ecrbb
cab10c98980b42562a7850410cecd37798e170ecrbb#
71715c646d5231de578431f8961e711764b899d3fanf# Include common targets.
71715c646d5231de578431f8961e711764b899d3fanf#
71715c646d5231de578431f8961e711764b899d3fanfinclude $(UTSBASE)/sparc/Makefile.targ
2714d6002fcdf12f5b26cc948c9f2f03ca5e7ee9rbb