Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
ada40193c85276867c6904545601c7c01e3236c3Mark Andrews#
ada40193c85276867c6904545601c7c01e3236c3Mark Andrews# CDDL HEADER START
ada40193c85276867c6904545601c7c01e3236c3Mark Andrews#
ada40193c85276867c6904545601c7c01e3236c3Mark Andrews# The contents of this file are subject to the terms of the
ada40193c85276867c6904545601c7c01e3236c3Mark Andrews# Common Development and Distribution License, Version 1.0 only
1946c596b47b0495ce745fe2fff7da799919b0d2Mark Andrews# (the "License"). You may not use this file except in compliance
1946c596b47b0495ce745fe2fff7da799919b0d2Mark Andrews# with the License.
1946c596b47b0495ce745fe2fff7da799919b0d2Mark Andrews#
020c4484fe510434c1b3aaac040ab6cfb3340115Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
020c4484fe510434c1b3aaac040ab6cfb3340115Mark Andrews# or http://www.opensolaris.org/os/licensing.
e94c7d23589f79d5ece5a068ee6a661cebf9c2b4Mark Andrews# See the License for the specific language governing permissions
30d9cf665d32984fe1dc62ae355ab5b2a0fe3a35Mark Andrews# and limitations under the License.
30d9cf665d32984fe1dc62ae355ab5b2a0fe3a35Mark Andrews#
0a1009ae64036ad2473bc48be8c98a54392b6cb5Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
0a1009ae64036ad2473bc48be8c98a54392b6cb5Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0a1009ae64036ad2473bc48be8c98a54392b6cb5Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
2801318d3cf49e23ee2bfda45f66cbaa7409f0aaMark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
2801318d3cf49e23ee2bfda45f66cbaa7409f0aaMark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
88a8e5a8d0784a91ac7b28656bbbf904882f55e3Mark Andrews#
88a8e5a8d0784a91ac7b28656bbbf904882f55e3Mark Andrews# CDDL HEADER END
88a8e5a8d0784a91ac7b28656bbbf904882f55e3Mark Andrews#
88a8e5a8d0784a91ac7b28656bbbf904882f55e3Mark Andrews#
88a8e5a8d0784a91ac7b28656bbbf904882f55e3Mark Andrews# uts/sun4u/vis/Makefile
48a3b282636db2c67c6e2dc10833689f58b05422Vernon Schryver# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
48a3b282636db2c67c6e2dc10833689f58b05422Vernon Schryver# Use is subject to license terms.
48a3b282636db2c67c6e2dc10833689f58b05422Vernon Schryver#
48a3b282636db2c67c6e2dc10833689f58b05422Vernon Schryver#
88a8e5a8d0784a91ac7b28656bbbf904882f55e3Mark Andrews# This makefile drives the production of the vis kernel module
ebe4f01a8fd93b6b8aeec936ae0703a97784f7b4Mark Andrews#
ebe4f01a8fd93b6b8aeec936ae0703a97784f7b4Mark Andrews# sun4u implementation architecture dependent
ebe4f01a8fd93b6b8aeec936ae0703a97784f7b4Mark Andrews#
2801318d3cf49e23ee2bfda45f66cbaa7409f0aaMark Andrews
af850c4120c5bee9462de4def85d0b4c1b583963Mark Andrews#
af850c4120c5bee9462de4def85d0b4c1b583963Mark Andrews# Path to the base of the uts directory tree (usually /usr/src/uts).
dc2e6272391c6e89eeba3de07736a9d4d01dc5d4Mark Andrews#
dc2e6272391c6e89eeba3de07736a9d4d01dc5d4Mark Andrews#
dc2e6272391c6e89eeba3de07736a9d4d01dc5d4Mark AndrewsUTSBASE = ../..
dc2e6272391c6e89eeba3de07736a9d4d01dc5d4Mark Andrews
02286522fbc6db783b5f0b4318289db0cefbfbcbMark Andrews#
02286522fbc6db783b5f0b4318289db0cefbfbcbMark Andrews# Define the module and object file sets.
02286522fbc6db783b5f0b4318289db0cefbfbcbMark Andrews#
653a78de956fc92049c6ec15a654b65a61aea2a1Evan HuntMODULE = vis
653a78de956fc92049c6ec15a654b65a61aea2a1Evan HuntOBJECTS = $(VIS_OBJS:%=$(OBJS_DIR)/%)
653a78de956fc92049c6ec15a654b65a61aea2a1Evan HuntLINTS = $(VIS_OBJS:%.o=$(LINTS_DIR)/%.ln)
653a78de956fc92049c6ec15a654b65a61aea2a1Evan HuntROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE)
793814f80703afdd69b59ade91e63efa81ae4178Evan Hunt
793814f80703afdd69b59ade91e63efa81ae4178Evan Hunt#
793814f80703afdd69b59ade91e63efa81ae4178Evan Hunt# Include common rules.
793814f80703afdd69b59ade91e63efa81ae4178Evan Hunt#
b2086d798b442a428d50ddc247925f114aa4112fEvan Huntinclude $(UTSBASE)/sun4u/Makefile.sun4u
b2086d798b442a428d50ddc247925f114aa4112fEvan Hunt
b2086d798b442a428d50ddc247925f114aa4112fEvan Hunt#
b2086d798b442a428d50ddc247925f114aa4112fEvan Hunt# Define targets
1dacfa0ea8ee078030411d55d2021f7619568ea3Scott Mann#
1dacfa0ea8ee078030411d55d2021f7619568ea3Scott MannALL_TARGET = $(BINARY)
1dacfa0ea8ee078030411d55d2021f7619568ea3Scott MannLINT_TARGET = $(MODULE).lint
1dacfa0ea8ee078030411d55d2021f7619568ea3Scott MannINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
2cc56f582c1b13e5f8537610b71c1c283261a7dcMark Andrews
2cc56f582c1b13e5f8537610b71c1c283261a7dcMark Andrews#
2cc56f582c1b13e5f8537610b71c1c283261a7dcMark Andrews# lint pass one enforcement
8c0f354bdf003852894a9a5ad6b829eafef0d405Mark Andrews#
8c0f354bdf003852894a9a5ad6b829eafef0d405Mark AndrewsCFLAGS += $(CCVERBOSE)
8c0f354bdf003852894a9a5ad6b829eafef0d405Mark AndrewsCERRWARN += -_gcc=-Wno-uninitialized
8c0f354bdf003852894a9a5ad6b829eafef0d405Mark Andrews
a6c74da2b0a5d4ec8c7d3f4d4b240f20e3fd8334Evan Hunt.KEEP_STATE:
a6c74da2b0a5d4ec8c7d3f4d4b240f20e3fd8334Evan Hunt
a6c74da2b0a5d4ec8c7d3f4d4b240f20e3fd8334Evan Huntdef: $(DEF_DEPS)
a6c74da2b0a5d4ec8c7d3f4d4b240f20e3fd8334Evan Hunt
a6c74da2b0a5d4ec8c7d3f4d4b240f20e3fd8334Evan Huntall: $(ALL_DEPS)
a6c74da2b0a5d4ec8c7d3f4d4b240f20e3fd8334Evan Hunt
a6c74da2b0a5d4ec8c7d3f4d4b240f20e3fd8334Evan Huntclean: $(CLEAN_DEPS)
a6c74da2b0a5d4ec8c7d3f4d4b240f20e3fd8334Evan Hunt
1219f8d1948a3e39bfeee1980ef4931fb19c4485Evan Huntclobber: $(CLOBBER_DEPS)
1219f8d1948a3e39bfeee1980ef4931fb19c4485Evan Hunt
1219f8d1948a3e39bfeee1980ef4931fb19c4485Evan Huntlint: $(LINT_DEPS)
3d5423a48472936f3b1ad423995c5baffe9ff3b1Evan Hunt
41ce9f5c27cfb50874b3274cea4f93d1fac14a91Mark Andrewsmodlintlib: $(MODLINTLIB_DEPS)
41ce9f5c27cfb50874b3274cea4f93d1fac14a91Mark Andrews
41ce9f5c27cfb50874b3274cea4f93d1fac14a91Mark Andrewsclean.lint: $(CLEAN_LINT_DEPS)
67e3b3b9fcaa9150cd79b6db0d757bd131fce913Evan Hunt
67e3b3b9fcaa9150cd79b6db0d757bd131fce913Evan Huntinstall: $(INSTALL_DEPS)
67e3b3b9fcaa9150cd79b6db0d757bd131fce913Evan Hunt
84f0bd3bc7ac72289cc0dfedd3d17872ad1169feEvan Hunt#
84f0bd3bc7ac72289cc0dfedd3d17872ad1169feEvan Hunt# Include common targets.
84f0bd3bc7ac72289cc0dfedd3d17872ad1169feEvan Hunt#
fad5116b3d68e825d29f87a1d3cb41409f42e8f5Scott Manninclude $(UTSBASE)/sun4u/Makefile.targ
de382ae91aa6b3df7f8684135f08e6db45ab1402Scott Mann