Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
d5b7ba26785d7494166d48876362ba30ff30b98awrowe#
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames# CDDL HEADER START
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames#
14763a0db22322626dd8cd59dfbc3a4fcc655d99trawick# The contents of this file are subject to the terms of the
4ac7a7c09ac5732b09f8bf28873f7e9efcab34d5bnicholes# Common Development and Distribution License (the "License").
4ac7a7c09ac5732b09f8bf28873f7e9efcab34d5bnicholes# You may not use this file except in compliance with the License.
4ac7a7c09ac5732b09f8bf28873f7e9efcab34d5bnicholes#
4ac7a7c09ac5732b09f8bf28873f7e9efcab34d5bnicholes# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4ac7a7c09ac5732b09f8bf28873f7e9efcab34d5bnicholes# or http://www.opensolaris.org/os/licensing.
4ac7a7c09ac5732b09f8bf28873f7e9efcab34d5bnicholes# See the License for the specific language governing permissions
4ac7a7c09ac5732b09f8bf28873f7e9efcab34d5bnicholes# and limitations under the License.
4ac7a7c09ac5732b09f8bf28873f7e9efcab34d5bnicholes#
4ac7a7c09ac5732b09f8bf28873f7e9efcab34d5bnicholes# When distributing Covered Code, include this CDDL HEADER in each
ce8490f3812311582d1deee96b012c377311b317minfrin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ce8490f3812311582d1deee96b012c377311b317minfrin# If applicable, add the following below this CDDL HEADER, with the
ce8490f3812311582d1deee96b012c377311b317minfrin# fields enclosed by brackets "[]" replaced with your own identifying
9d52ebe6234fff3bee221e13f94e547f5b8d02a4trawick# information: Portions Copyright [yyyy] [name of copyright owner]
9d52ebe6234fff3bee221e13f94e547f5b8d02a4trawick#
9d52ebe6234fff3bee221e13f94e547f5b8d02a4trawick# CDDL HEADER END
0967fa2b2d694e2ac6d9c4001eb4aa71a1046b15trawick#
0967fa2b2d694e2ac6d9c4001eb4aa71a1046b15trawick#
0967fa2b2d694e2ac6d9c4001eb4aa71a1046b15trawick# uts/sun4u/todds1287/Makefile
38f6ebaca968b7b23c25c0b30d0be1c7aad7412bjorton# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
38f6ebaca968b7b23c25c0b30d0be1c7aad7412bjorton# Use is subject to license terms.
38f6ebaca968b7b23c25c0b30d0be1c7aad7412bjorton#
80ce75fd8bfc1066f75082336dfe8537c07f8ec1jorton
80ce75fd8bfc1066f75082336dfe8537c07f8ec1jorton#
80ce75fd8bfc1066f75082336dfe8537c07f8ec1jorton# This makefile drives the production of todds1287 kernel module.
80ce75fd8bfc1066f75082336dfe8537c07f8ec1jorton#
916a784737a5d797a722aaa5727c0f5eeb51a85bjorton# sun4u implementation architecture dependent
916a784737a5d797a722aaa5727c0f5eeb51a85bjorton#
916a784737a5d797a722aaa5727c0f5eeb51a85bjorton
916a784737a5d797a722aaa5727c0f5eeb51a85bjorton#
916a784737a5d797a722aaa5727c0f5eeb51a85bjorton# Path to the base of the uts directory tree (usually /usr/src/uts).
cc7d8b55b16eee88be925a090473ca94b0a6e770jorton#
cc7d8b55b16eee88be925a090473ca94b0a6e770jortonUTSBASE = ../..
cc7d8b55b16eee88be925a090473ca94b0a6e770jorton
f82a01b2f6687b358b750c3dbe91f4ca7f8f42dctrawick#
f82a01b2f6687b358b750c3dbe91f4ca7f8f42dctrawick# Define the module and object file sets.
f82a01b2f6687b358b750c3dbe91f4ca7f8f42dctrawick#
f2b43354f9ac8496ab7003ae01211af739efba1atrawickMODULE = todds1287
f2b43354f9ac8496ab7003ae01211af739efba1atrawickOBJECTS = $(TODDS1287_OBJS:%=$(OBJS_DIR)/%)
2555a6b5da21d61804f47084d8fcc98eb4acbc42wroweLINTS = $(TODDS1287_OBJS:%.o=$(LINTS_DIR)/%.ln)
2555a6b5da21d61804f47084d8fcc98eb4acbc42wroweROOTMODULE = $(ROOT_PSM_TOD_DIR)/$(MODULE)
2555a6b5da21d61804f47084d8fcc98eb4acbc42wrowe
2555a6b5da21d61804f47084d8fcc98eb4acbc42wrowe#
2555a6b5da21d61804f47084d8fcc98eb4acbc42wrowe# Include common rules.
2555a6b5da21d61804f47084d8fcc98eb4acbc42wrowe#
2555a6b5da21d61804f47084d8fcc98eb4acbc42wroweinclude $(UTSBASE)/sun4u/Makefile.sun4u
2555a6b5da21d61804f47084d8fcc98eb4acbc42wrowe
2555a6b5da21d61804f47084d8fcc98eb4acbc42wrowe#
1e9cd35f0e3e8029c8b8f70ef57413d6e7730480jorton# Define targets
1e9cd35f0e3e8029c8b8f70ef57413d6e7730480jorton#
1e9cd35f0e3e8029c8b8f70ef57413d6e7730480jortonALL_TARGET = $(BINARY)
4f89256ac9e0f6ce27744dc6ca7eee6893262c62jerenkrantzLINT_TARGET = $(MODULE).lint
4f89256ac9e0f6ce27744dc6ca7eee6893262c62jerenkrantzINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
4f89256ac9e0f6ce27744dc6ca7eee6893262c62jerenkrantz
eb6e3a3e784021abc1e28247158db3a8b07186b9minfrin#
eb6e3a3e784021abc1e28247158db3a8b07186b9minfrin# lint pass one enforcement
eb6e3a3e784021abc1e28247158db3a8b07186b9minfrin#
eb6e3a3e784021abc1e28247158db3a8b07186b9minfrinCFLAGS += $(CCVERBOSE)
f5098e2eb6ed9dfd7052f25761bb5e97779b8460minfrin
f5098e2eb6ed9dfd7052f25761bb5e97779b8460minfrin#
f5098e2eb6ed9dfd7052f25761bb5e97779b8460minfrin# For now, disable these lint checks; maintainers should endeavor
d86551ca954d666d5b15ad38e9daf45680516c25jerenkrantz# to investigate and remove these for maximum lint coverage.
d86551ca954d666d5b15ad38e9daf45680516c25jerenkrantz# Please do not carry these forward to new Makefiles.
c79b5caf7c5462ef707363c69cc63ea2606310abtrawick#
c79b5caf7c5462ef707363c69cc63ea2606310abtrawickLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
c79b5caf7c5462ef707363c69cc63ea2606310abtrawick
1551c2366551d7a361bedbf7ae54f1abd74ef822minfrinCERRWARN += -_gcc=-Wno-uninitialized
1551c2366551d7a361bedbf7ae54f1abd74ef822minfrin
1551c2366551d7a361bedbf7ae54f1abd74ef822minfrin#
1e9cd35f0e3e8029c8b8f70ef57413d6e7730480jorton# Default build targets.
833fe934fab4f802aef9e5621169d65a33b75c4djerenkrantz#
f1826b4cf1fbeb049c569761cc95b04e3496efd6bnicholes.KEEP_STATE:
f1826b4cf1fbeb049c569761cc95b04e3496efd6bnicholes
f1826b4cf1fbeb049c569761cc95b04e3496efd6bnicholesdef: $(DEF_DEPS)
f1826b4cf1fbeb049c569761cc95b04e3496efd6bnicholes
103a93c625bcde1a6a7a5155b64dcda36f612180pquernaall: $(ALL_DEPS)
103a93c625bcde1a6a7a5155b64dcda36f612180pquerna
103a93c625bcde1a6a7a5155b64dcda36f612180pquernaclean: $(CLEAN_DEPS)
103a93c625bcde1a6a7a5155b64dcda36f612180pquerna
87a528a7622973988232079ba02763748c9c7071pquernaclobber: $(CLOBBER_DEPS)
87a528a7622973988232079ba02763748c9c7071pquerna
87a528a7622973988232079ba02763748c9c7071pquernalint: $(LINT_DEPS)
1a986bbad9314beb8739401cac822e87bb04bbfepquerna
1a986bbad9314beb8739401cac822e87bb04bbfepquernamodlintlib: $(MODLINTLIB_DEPS)
1a986bbad9314beb8739401cac822e87bb04bbfepquerna
1a986bbad9314beb8739401cac822e87bb04bbfepquernaclean.lint: $(CLEAN_LINT_DEPS)
1a986bbad9314beb8739401cac822e87bb04bbfepquerna
752ec04fdfa6e936047811b9e506cf829d7a69f7pquernainstall: $(INSTALL_DEPS)
752ec04fdfa6e936047811b9e506cf829d7a69f7pquerna
752ec04fdfa6e936047811b9e506cf829d7a69f7pquerna#
752ec04fdfa6e936047811b9e506cf829d7a69f7pquerna# Include common targets.
cf82d17373559b6163dbd6c844c1af82cab56883niq#
cf82d17373559b6163dbd6c844c1af82cab56883niqinclude $(UTSBASE)/sun4u/Makefile.targ
cf82d17373559b6163dbd6c844c1af82cab56883niq
cf82d17373559b6163dbd6c844c1af82cab56883niq