Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER START
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# The contents of this file are subject to the terms of the
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock# Common Development and Distribution License (the "License").
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock# You may not use this file except in compliance with the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fa9e4066f08beec538e775443c5be79dd423fcabahrens# or http://www.opensolaris.org/os/licensing.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# See the License for the specific language governing permissions
fa9e4066f08beec538e775443c5be79dd423fcabahrens# and limitations under the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# When distributing Covered Code, include this CDDL HEADER in each
fa9e4066f08beec538e775443c5be79dd423fcabahrens# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# If applicable, add the following below this CDDL HEADER, with the
fa9e4066f08beec538e775443c5be79dd423fcabahrens# fields enclosed by brackets "[]" replaced with your own identifying
fa9e4066f08beec538e775443c5be79dd423fcabahrens# information: Portions Copyright [yyyy] [name of copyright owner]
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER END
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
8f2529de2d60d4fff8eb4d86f71b51584342934eMark Shellenbaum# uts/sparc/pckt/Makefile
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Use is subject to license terms.
75c7619736838143dd41b3c5c9d7adec4683488fpeteh#
75c7619736838143dd41b3c5c9d7adec4683488fpeteh#ident "%Z%%M% %I% %E% SMI"
55434c770c89aa1b84474f2559a106803511aba0ek#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# This makefile drives the production of the pckt streams kernel
fa9e4066f08beec538e775443c5be79dd423fcabahrens# module.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# sparc architecture dependent
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
72fc53bc90bd3b199d29d03ee68adb4a5a17d35bmarks# Path to the base of the uts directory tree (usually /usr/src/uts).
de8267e0f723ed2c38ea9def92d465f69a300f56timh#
ab04eb8ef60d9dc9614d6cccffc474f24ca1d162timhUTSBASE = ../..
fa9e4066f08beec538e775443c5be79dd423fcabahrens
aa59c4cb15a6ac5d4e585dadf7a055b580abf579rsb#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Define the module and object file sets.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrensMODULE = pckt
fa9e4066f08beec538e775443c5be79dd423fcabahrensOBJECTS = $(PCKT_OBJS:%=$(OBJS_DIR)/%)
fa9e4066f08beec538e775443c5be79dd423fcabahrensLINTS = $(PCKT_OBJS:%.o=$(LINTS_DIR)/%.ln)
fa9e4066f08beec538e775443c5be79dd423fcabahrensROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Include common rules.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrensinclude $(UTSBASE)/sparc/Makefile.sparc
fa9e4066f08beec538e775443c5be79dd423fcabahrens
104e2ed78d9ef0a0f89f320108b8ca29ca3850d5perrin#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Define targets
0a586cea3ceec7e5e50e7e54c745082a7a333ac2Mark Shellenbaum#
fa9e4066f08beec538e775443c5be79dd423fcabahrensALL_TARGET = $(BINARY)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwLINT_TARGET = $(MODULE).lint
55434c770c89aa1b84474f2559a106803511aba0ekINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
55434c770c89aa1b84474f2559a106803511aba0ek
55434c770c89aa1b84474f2559a106803511aba0ek#
55434c770c89aa1b84474f2559a106803511aba0ek# Overrides.
55434c770c89aa1b84474f2559a106803511aba0ek#
55434c770c89aa1b84474f2559a106803511aba0ekCFLAGS += $(CCVERBOSE)
55434c770c89aa1b84474f2559a106803511aba0ek
0a586cea3ceec7e5e50e7e54c745082a7a333ac2Mark Shellenbaum#
0a586cea3ceec7e5e50e7e54c745082a7a333ac2Mark Shellenbaum# For now, disable these lint checks; maintainers should endeavor
99d5e173470cf967aa87653364ed614299e7b511Tim Haley# to investigate and remove these for maximum lint coverage.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Please do not carry these forward to new Makefiles.
de8267e0f723ed2c38ea9def92d465f69a300f56timh#
0a586cea3ceec7e5e50e7e54c745082a7a333ac2Mark ShellenbaumLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
de8267e0f723ed2c38ea9def92d465f69a300f56timhLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
b5fca8f855054d167d04d3b4de5210c83ed2083ctomee
b5fca8f855054d167d04d3b4de5210c83ed2083ctomee#
b5fca8f855054d167d04d3b4de5210c83ed2083ctomee# Default build targets.
b5fca8f855054d167d04d3b4de5210c83ed2083ctomee#
b5fca8f855054d167d04d3b4de5210c83ed2083ctomee.KEEP_STATE:
b5fca8f855054d167d04d3b4de5210c83ed2083ctomee
b5fca8f855054d167d04d3b4de5210c83ed2083ctomeedef: $(DEF_DEPS)
b5fca8f855054d167d04d3b4de5210c83ed2083ctomee
b5fca8f855054d167d04d3b4de5210c83ed2083ctomeeall: $(ALL_DEPS)
b5fca8f855054d167d04d3b4de5210c83ed2083ctomee
b5fca8f855054d167d04d3b4de5210c83ed2083ctomeeclean: $(CLEAN_DEPS)
b5fca8f855054d167d04d3b4de5210c83ed2083ctomee
b5fca8f855054d167d04d3b4de5210c83ed2083ctomeeclobber: $(CLOBBER_DEPS)
b5fca8f855054d167d04d3b4de5210c83ed2083ctomee
55434c770c89aa1b84474f2559a106803511aba0eklint: $(LINT_DEPS)
55434c770c89aa1b84474f2559a106803511aba0ek
55434c770c89aa1b84474f2559a106803511aba0ekmodlintlib: $(MODLINTLIB_DEPS)
55434c770c89aa1b84474f2559a106803511aba0ek
55434c770c89aa1b84474f2559a106803511aba0ekclean.lint: $(CLEAN_LINT_DEPS)
55434c770c89aa1b84474f2559a106803511aba0ek
4e9583b23260dab68308b306795694143381ab0fTom Ericksoninstall: $(INSTALL_DEPS)
4e9583b23260dab68308b306795694143381ab0fTom Erickson
4e9583b23260dab68308b306795694143381ab0fTom Erickson#
4e9583b23260dab68308b306795694143381ab0fTom Erickson# Include common targets.
4e9583b23260dab68308b306795694143381ab0fTom Erickson#
4e9583b23260dab68308b306795694143381ab0fTom Ericksoninclude $(UTSBASE)/sparc/Makefile.targ
b5fca8f855054d167d04d3b4de5210c83ed2083ctomee