229ea4644b3a7d9c7fdaa43888e7f55ba01e2ee3Automatic Updater# CDDL HEADER START
1167fc7904c5f0a472f8df207ac46dd52c7f1ec8Automatic Updater# The contents of this file are subject to the terms of the
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater# Common Development and Distribution License (the "License").
46da3117812814a29432a8d9a9ccf8acdbfdadceAutomatic Updater# You may not use this file except in compliance with the License.
cd0aa2d941d1438fabb5337f1f38c49478edf71dAutomatic Updater# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90ff38a0d8deaf5f9c2aa5916d99b2e572d28738Automatic Updater# or http://www.opensolaris.org/os/licensing.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# See the License for the specific language governing permissions
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews# and limitations under the License.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# When distributing Covered Code, include this CDDL HEADER in each
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater# If applicable, add the following below this CDDL HEADER, with the
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater# fields enclosed by brackets "[]" replaced with your own identifying
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
3cc98b8ecedcbc8465f1cf2740b966b315662430Automatic Updater# CDDL HEADER END
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
831f79c4310a7d38fc3475ccfff531b2b2535641Automatic Updater# Use is subject to license terms.
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# This makefile drives the production of the drmach loadable module.
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# sun4u opl implementation architecture dependent
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Path to the base of the uts directory tree (usually /usr/src/uts).
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# Define the module and object file sets.
2d2dc37599979c83495510f8af8d1756753aa2c5Automatic UpdaterROOTMODULE = $(ROOT_OPL_MISC_DIR)/$(MODULE)
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntDRMACH_OFFSETS = $(UTSBASE)/sun4u/opl/ml/drmach_offsets.in
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterDRMACH_OFFSETS_H = $(OBJS_DIR)/drmach_offsets.h
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Include common rules.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Define targets
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCLEANFILES += $(DRMACH_OFFSETS_H) $(DRMACH_OFFSETS_OUT)
129090f0f6f91753b4a085ab635e28549fd018adAutomatic Updater# lint pass one enforcement
1a06700908f5a1d9f4a8d51285a0fd971e2f9117Automatic Updater# module dependencies
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# Default build targets.
f9119ad8f6114b2255e7545bf5cd187f4db0a89bAutomatic Updater$(DRMACH_DEPS:%=$(OBJS_DIR)/%): $(DRMACH_OFFSETS_H)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews$(DRMACH_OFFSETS_H): $(GENCONST) $(DRMACH_OFFSETS)
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews# Include common targets.