1ccbfca64ae86ace521053773001cb995352f96fBob Halley#
17131a9459e5b30f764bc77f4fed288907a5b5e0Tinderbox User# CDDL HEADER START
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# The contents of this file are subject to the terms of the
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater# Common Development and Distribution License, Version 1.0 only
1ccbfca64ae86ace521053773001cb995352f96fBob Halley# (the "License"). You may not use this file except in compliance
1ccbfca64ae86ace521053773001cb995352f96fBob Halley# with the License.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# or http://www.opensolaris.org/os/licensing.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# See the License for the specific language governing permissions
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1ccbfca64ae86ace521053773001cb995352f96fBob Halley# If applicable, add the following below this CDDL HEADER, with the
1ccbfca64ae86ace521053773001cb995352f96fBob Halley# fields enclosed by brackets "[]" replaced with your own identifying
26696386938e70e93d7dde509d7bc45ead5870b7Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein# CDDL HEADER END
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence#
1b90a27c4dc5dc630041d0863d45a796a87d861dBob Halley#
1b90a27c4dc5dc630041d0863d45a796a87d861dBob Halley# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
1b90a27c4dc5dc630041d0863d45a796a87d861dBob Halley# Use is subject to license terms.
1b90a27c4dc5dc630041d0863d45a796a87d861dBob Halley#
e371b7a70f36949aa7885d554bf40e4ae89cc541Bob Halley#pragma ident "%Z%%M% %I% %E% SMI"
e371b7a70f36949aa7885d554bf40e4ae89cc541Bob Halley#
537266cadc821135741f6569b3e68aaaed4c2899Mark Andrews# This makefile drives the production of todds1287 kernel module.
3f42cf2f3e4dc7e740b4609ba7d7430292348f2bMark Andrews#
a03848252fa85734ca75beae3d0b01bb503c0a8bMark Andrews# sun4u implementation architecture dependent
a76b380643a22f23a67a9df284e86cd7ef7608c1Mark Andrews#
7829fad4093f2c1985b1efb7cea00287ff015d2bckb
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt#
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence# Path to the base of the uts directory tree (usually /usr/src/uts).
a76b380643a22f23a67a9df284e86cd7ef7608c1Mark Andrews#
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael GraffUTSBASE = ../..
85e80b5b698233316c7ba325a17dcbdaa19637e1David Lawrence
3a34b87c878990c6303358efd22265c2c5980c65Mark Andrews#
63ca494e7e9aba8dc6740443fdab69620c7a7523Brian Wellington# Define the module and object file sets.
1ccbfca64ae86ace521053773001cb995352f96fBob Halley#
a76b380643a22f23a67a9df284e86cd7ef7608c1Mark AndrewsMODULE = todm5819
7829fad4093f2c1985b1efb7cea00287ff015d2bckbOBJECTS = $(TODM5819_OBJS:%=$(OBJS_DIR)/%)
7829fad4093f2c1985b1efb7cea00287ff015d2bckbLINTS = $(TODM5819_OBJS:%.o=$(LINTS_DIR)/%.ln)
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid LawrenceROOTMODULE = $(ROOT_PSM_TOD_DIR)/$(MODULE)
a03848252fa85734ca75beae3d0b01bb503c0a8bMark Andrews
261a6a1f7d95eaf0cd882f3123dcfd775517a54fMark Andrews#
440be4c866f6935ac069db79a414304507a664c2Michael Graff# Include common rules.
1ccbfca64ae86ace521053773001cb995352f96fBob Halley#
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉include $(UTSBASE)/sun4u/Makefile.sun4u
7829fad4093f2c1985b1efb7cea00287ff015d2bckb
1b90a27c4dc5dc630041d0863d45a796a87d861dBob Halley#
1b90a27c4dc5dc630041d0863d45a796a87d861dBob Halley# Define targets
a03848252fa85734ca75beae3d0b01bb503c0a8bMark Andrews#
09f22ac5b09e70bc526015f37168ba33e21ea91fDavid LawrenceALL_TARGET = $(BINARY)
261a6a1f7d95eaf0cd882f3123dcfd775517a54fMark AndrewsLINT_TARGET = $(MODULE).lint
85e80b5b698233316c7ba325a17dcbdaa19637e1David LawrenceINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
09f22ac5b09e70bc526015f37168ba33e21ea91fDavid Lawrence
a76b380643a22f23a67a9df284e86cd7ef7608c1Mark Andrews#
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews# lint pass one enforcement
09f22ac5b09e70bc526015f37168ba33e21ea91fDavid Lawrence#
87708bde16713bc02ff2598f4a82f98c699a2f2dMark AndrewsCFLAGS += $(CCVERBOSE)
e5c2e16bb21387962f0d04567d44d1a34cd83b4fBob Halley
b7ff8128f0366d02ef9b0eb8fbba0b17ea7dbe60Bob Halley#
b7ff8128f0366d02ef9b0eb8fbba0b17ea7dbe60Bob Halley# Default build targets.
09f22ac5b09e70bc526015f37168ba33e21ea91fDavid Lawrence#
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews.KEEP_STATE:
09f22ac5b09e70bc526015f37168ba33e21ea91fDavid Lawrence
8907d8fa04fdaa65baf0bc6b01230b2ebde93106Mark Andrewsdef: $(DEF_DEPS)
7829fad4093f2c1985b1efb7cea00287ff015d2bckb
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉all: $(ALL_DEPS)
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉
18d110413cf6416eb339c169b99159d09f690da1Brian Wellingtonclean: $(CLEAN_DEPS)
1ccbfca64ae86ace521053773001cb995352f96fBob Halley
7829fad4093f2c1985b1efb7cea00287ff015d2bckbclobber: $(CLOBBER_DEPS)
7829fad4093f2c1985b1efb7cea00287ff015d2bckb
e371b7a70f36949aa7885d554bf40e4ae89cc541Bob Halleylint: $(LINT_DEPS)
e371b7a70f36949aa7885d554bf40e4ae89cc541Bob Halley
e371b7a70f36949aa7885d554bf40e4ae89cc541Bob Halleymodlintlib: $(MODLINTLIB_DEPS)
1ccbfca64ae86ace521053773001cb995352f96fBob Halley
e371b7a70f36949aa7885d554bf40e4ae89cc541Bob Halleyclean.lint: $(CLEAN_LINT_DEPS)
1ccbfca64ae86ace521053773001cb995352f96fBob Halley
e371b7a70f36949aa7885d554bf40e4ae89cc541Bob Halleyinstall: $(INSTALL_DEPS)
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff
e371b7a70f36949aa7885d554bf40e4ae89cc541Bob Halley#
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff# Include common targets.
e371b7a70f36949aa7885d554bf40e4ae89cc541Bob Halley#
e371b7a70f36949aa7885d554bf40e4ae89cc541Bob Halleyinclude $(UTSBASE)/sun4u/Makefile.targ
7829fad4093f2c1985b1efb7cea00287ff015d2bckb
7829fad4093f2c1985b1efb7cea00287ff015d2bckb