Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
330e5149d05dc4f5121b30964753167e43690afdrbb#
330e5149d05dc4f5121b30964753167e43690afdrbb# CDDL HEADER START
7680ff9dd09d8feb9db31d23f33458d0464e92f1wrowe#
7680ff9dd09d8feb9db31d23f33458d0464e92f1wrowe# The contents of this file are subject to the terms of the
7680ff9dd09d8feb9db31d23f33458d0464e92f1wrowe# Common Development and Distribution License, Version 1.0 only
7680ff9dd09d8feb9db31d23f33458d0464e92f1wrowe# (the "License"). You may not use this file except in compliance
c760d13cffeef40df3f8c5a798e40a064dc80067bjh# with the License.
c760d13cffeef40df3f8c5a798e40a064dc80067bjh#
78980330fa2be5f42eb3a9c9b73a71a5168944e6minfrin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
78980330fa2be5f42eb3a9c9b73a71a5168944e6minfrin# or http://www.opensolaris.org/os/licensing.
78980330fa2be5f42eb3a9c9b73a71a5168944e6minfrin# See the License for the specific language governing permissions
78980330fa2be5f42eb3a9c9b73a71a5168944e6minfrin# and limitations under the License.
1fff95696a94273a1629649652cbc5d2e9e8ce39minfrin#
1fff95696a94273a1629649652cbc5d2e9e8ce39minfrin# When distributing Covered Code, include this CDDL HEADER in each
1fff95696a94273a1629649652cbc5d2e9e8ce39minfrin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
90ad571a3ddd07e9b96f06b6b425295e1ec93da0minfrin# If applicable, add the following below this CDDL HEADER, with the
90ad571a3ddd07e9b96f06b6b425295e1ec93da0minfrin# fields enclosed by brackets "[]" replaced with your own identifying
90ad571a3ddd07e9b96f06b6b425295e1ec93da0minfrin# information: Portions Copyright [yyyy] [name of copyright owner]
90ad571a3ddd07e9b96f06b6b425295e1ec93da0minfrin#
90ad571a3ddd07e9b96f06b6b425295e1ec93da0minfrin# CDDL HEADER END
10dd882bd22449ec6c1b8fb0c5227727e2232ba8minfrin#
10dd882bd22449ec6c1b8fb0c5227727e2232ba8minfrin#
10dd882bd22449ec6c1b8fb0c5227727e2232ba8minfrin# uts/sun4u/tod/Makefile
89342f4a895e67868f8fe37a0ac77f1dd9f91868minfrin# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
89342f4a895e67868f8fe37a0ac77f1dd9f91868minfrin# Use is subject to license terms.
89342f4a895e67868f8fe37a0ac77f1dd9f91868minfrin#
89342f4a895e67868f8fe37a0ac77f1dd9f91868minfrin
7a027a168069a89ca0946e04294f5130d9cbe3b8rederpj#
7a027a168069a89ca0946e04294f5130d9cbe3b8rederpj# This makefile drives the production of tod driver
7a027a168069a89ca0946e04294f5130d9cbe3b8rederpj#
10dd882bd22449ec6c1b8fb0c5227727e2232ba8minfrin# sun4u implementation architecture dependent
7a027a168069a89ca0946e04294f5130d9cbe3b8rederpj#
29caf394750ea44e25d289a9aa7b92b9823faa8aminfrin
29caf394750ea44e25d289a9aa7b92b9823faa8aminfrin#
29caf394750ea44e25d289a9aa7b92b9823faa8aminfrin# Path to the base of the uts directory tree (usually /usr/src/uts).
29caf394750ea44e25d289a9aa7b92b9823faa8aminfrin#
29caf394750ea44e25d289a9aa7b92b9823faa8aminfrinUTSBASE = ../..
29caf394750ea44e25d289a9aa7b92b9823faa8aminfrin
330e5149d05dc4f5121b30964753167e43690afdrbb#
330e5149d05dc4f5121b30964753167e43690afdrbb# Define the module and object file sets.
330e5149d05dc4f5121b30964753167e43690afdrbb#
330e5149d05dc4f5121b30964753167e43690afdrbbMODULE = tod
9222dcffcfe8d92f94c85d4e857af7b63264c9dcrbbOBJECTS = $(TOD_OBJS:%=$(OBJS_DIR)/%)
5ba9b0e6d4e69e3daaad80eba67774408a2355f2wroweLINTS = $(TOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawickROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawickCONF_SRCDIR = $(UTSBASE)/sun4/io
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick
bfad8636cb9e52b309679a90dadc91b635ecfe2atrawick#
bfad8636cb9e52b309679a90dadc91b635ecfe2atrawick# Include common rules.
bfad8636cb9e52b309679a90dadc91b635ecfe2atrawick#
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawickinclude $(UTSBASE)/sun4u/Makefile.sun4u
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick#
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick# Define targets
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick#
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawickALL_TARGET = $(BINARY) $(SRC_CONFFILE)
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawickLINT_TARGET = $(MODULE).lint
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawickINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick#
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick# lint pass one enforcement
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick#
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawickCFLAGS += $(CCVERBOSE)
50e228f0b8429c27e411611f4863fafaba403b47wroweCERRWARN += -_gcc=-Wno-parentheses
50e228f0b8429c27e411611f4863fafaba403b47wrowe
50e228f0b8429c27e411611f4863fafaba403b47wrowe#
50e228f0b8429c27e411611f4863fafaba403b47wrowe# Default build targets.
50e228f0b8429c27e411611f4863fafaba403b47wrowe#
50e228f0b8429c27e411611f4863fafaba403b47wrowe.KEEP_STATE:
7ba58e7e63da9a8b84f6160c476a0c9d639c81e9trawick
7ba58e7e63da9a8b84f6160c476a0c9d639c81e9trawickdef: $(DEF_DEPS)
7ba58e7e63da9a8b84f6160c476a0c9d639c81e9trawick
7ba58e7e63da9a8b84f6160c476a0c9d639c81e9trawickall: $(ALL_DEPS)
7ba58e7e63da9a8b84f6160c476a0c9d639c81e9trawick
7ba58e7e63da9a8b84f6160c476a0c9d639c81e9trawickclean: $(CLEAN_DEPS)
7ba58e7e63da9a8b84f6160c476a0c9d639c81e9trawick
0315d8e436a65aa1fd145ce0a84f6c0f21e304c0wroweclobber: $(CLOBBER_DEPS)
0315d8e436a65aa1fd145ce0a84f6c0f21e304c0wrowe
0315d8e436a65aa1fd145ce0a84f6c0f21e304c0wrowelint: $(LINT_DEPS)
6270ac7f45156afd9d798dc28f1c6e1d09e040c1rbb
6270ac7f45156afd9d798dc28f1c6e1d09e040c1rbbmodlintlib: $(MODLINTLIB_DEPS)
6270ac7f45156afd9d798dc28f1c6e1d09e040c1rbb
496dc24432cc5c9f95a627865879d4b83dca1055coarclean.lint: $(CLEAN_LINT_DEPS)
496dc24432cc5c9f95a627865879d4b83dca1055coar
496dc24432cc5c9f95a627865879d4b83dca1055coarinstall: $(INSTALL_DEPS)
496dc24432cc5c9f95a627865879d4b83dca1055coar
5b5d90c6d3ffb9e28a62c6bc8e2cb60e4740f7f7coar#
5b5d90c6d3ffb9e28a62c6bc8e2cb60e4740f7f7coar# Include common targets.
496dc24432cc5c9f95a627865879d4b83dca1055coar#
622f0f22cd52de0e9904b218defdeb3181e113f3trawickinclude $(UTSBASE)/sun4u/Makefile.targ
622f0f22cd52de0e9904b218defdeb3181e113f3trawick
622f0f22cd52de0e9904b218defdeb3181e113f3trawick