Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
f2472b79d241967fa28f8284470b1c5cafee7b12wrowe#
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna# CDDL HEADER START
84fbf855118f318dd5e511d8e5b902cecc1177c0jim#
84fbf855118f318dd5e511d8e5b902cecc1177c0jim# The contents of this file are subject to the terms of the
0ed19acadd3d3dd593759173d87d2243e97914e2sf# Common Development and Distribution License, Version 1.0 only
0ed19acadd3d3dd593759173d87d2243e97914e2sf# (the "License"). You may not use this file except in compliance
0ed19acadd3d3dd593759173d87d2243e97914e2sf# with the License.
0ed19acadd3d3dd593759173d87d2243e97914e2sf#
b4a00883f358625923365ca1560c96edec172a52sf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b4a00883f358625923365ca1560c96edec172a52sf# or http://www.opensolaris.org/os/licensing.
b4a00883f358625923365ca1560c96edec172a52sf# See the License for the specific language governing permissions
b4a00883f358625923365ca1560c96edec172a52sf# and limitations under the License.
0119f1301a880cf39c0aad0fa2a77240af964691sf#
0119f1301a880cf39c0aad0fa2a77240af964691sf# When distributing Covered Code, include this CDDL HEADER in each
0119f1301a880cf39c0aad0fa2a77240af964691sf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
87af9ffc3a42633fe12e11a0ff77bc099ecdca82sf# If applicable, add the following below this CDDL HEADER, with the
87af9ffc3a42633fe12e11a0ff77bc099ecdca82sf# fields enclosed by brackets "[]" replaced with your own identifying
87af9ffc3a42633fe12e11a0ff77bc099ecdca82sf# information: Portions Copyright [yyyy] [name of copyright owner]
f58bb3da705eb7ec926f4883597fc2eb1336a360minfrin#
f58bb3da705eb7ec926f4883597fc2eb1336a360minfrin# CDDL HEADER END
f58bb3da705eb7ec926f4883597fc2eb1336a360minfrin#
f58bb3da705eb7ec926f4883597fc2eb1336a360minfrin#
f58bb3da705eb7ec926f4883597fc2eb1336a360minfrin#pragma ident "%Z%%M% %I% %E% SMI"
be192cefa381d5bae6868034687471754cb43175sf#
be192cefa381d5bae6868034687471754cb43175sf# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
be192cefa381d5bae6868034687471754cb43175sf# Use is subject to license terms.
be192cefa381d5bae6868034687471754cb43175sf#
f4a0825e91eec135b5e41c697439e9a13014fa2cminfrin# This makefile drives the production of assym.h through genconst/stabs.
f4a0825e91eec135b5e41c697439e9a13014fa2cminfrin#
f4a0825e91eec135b5e41c697439e9a13014fa2cminfrin# sun4u starcat implementation architecture dependent
f4a0825e91eec135b5e41c697439e9a13014fa2cminfrin#
5876f43a746f688a32b7201bced8591ddf19bd43minfrin
5876f43a746f688a32b7201bced8591ddf19bd43minfrin#
5876f43a746f688a32b7201bced8591ddf19bd43minfrin# Path to the base of the uts directory tree (usually /usr/src/uts).
5876f43a746f688a32b7201bced8591ddf19bd43minfrin#
4aef34911af88f96c5b6d9b71a550a5a97bbc0b6minfrinUTSBASE = ../../..
4aef34911af88f96c5b6d9b71a550a5a97bbc0b6minfrin
4aef34911af88f96c5b6d9b71a550a5a97bbc0b6minfrinASSYM_H = $(DSF_DIR)/$(OBJS_DIR)/assym.h
4aef34911af88f96c5b6d9b71a550a5a97bbc0b6minfrinGENCONST = $(DSF_DIR)/$(OBJS_DIR)/genconst
4aef34911af88f96c5b6d9b71a550a5a97bbc0b6minfrin
4cefc38158672f5de8119886d9754cf0609a9371minfrin#
4cefc38158672f5de8119886d9754cf0609a9371minfrin# Include common rules.
4cefc38158672f5de8119886d9754cf0609a9371minfrin#
4cefc38158672f5de8119886d9754cf0609a9371minfrininclude $(UTSBASE)/sun4u/starcat/Makefile.starcat
4cefc38158672f5de8119886d9754cf0609a9371minfrin
11d3c510dca5b5178ad4739ffc1567ef2155bda9minfrin#
11d3c510dca5b5178ad4739ffc1567ef2155bda9minfrin# Define targets
11d3c510dca5b5178ad4739ffc1567ef2155bda9minfrin#
d974a1624c0bb4f1c2e8b36fcf8ba1f12284ed8dsfALL_TARGET = $(ASSYM_H)
d974a1624c0bb4f1c2e8b36fcf8ba1f12284ed8dsf
d974a1624c0bb4f1c2e8b36fcf8ba1f12284ed8dsf#
1a8c329935111a5059363efe927d631371b78414minfrin# This is DSF_DIR. Use a short path.
1a8c329935111a5059363efe927d631371b78414minfrin#
fac37c9794a18c24d187f4e0f97a9476c4344118minfrinDSF_DIR = .
fac37c9794a18c24d187f4e0f97a9476c4344118minfrin
fac37c9794a18c24d187f4e0f97a9476c4344118minfrin#
fc58f0ff708564b67cd578c626b6500d1cd63a51sf# Overrides
fc58f0ff708564b67cd578c626b6500d1cd63a51sf#
fc58f0ff708564b67cd578c626b6500d1cd63a51sfCLEANFILES = $(GENCONST) Nothing_to_remove
fc58f0ff708564b67cd578c626b6500d1cd63a51sfCLOBBERFILES = $(ASSYM_H) $(CLEANFILES) Nothing_to_remove
fc58f0ff708564b67cd578c626b6500d1cd63a51sfALL_BUILDS = $(ALL_BUILDSONLY64)
fc58f0ff708564b67cd578c626b6500d1cd63a51sfDEF_BUILDS = $(DEF_BUILDSONLY64)
4e5fe1d203ddf3956a77be3c797c01fd4be8b211sfCLEANLINTFILES += $(LINT32_FILES)
4e5fe1d203ddf3956a77be3c797c01fd4be8b211sf
4e5fe1d203ddf3956a77be3c797c01fd4be8b211sf#
dcb4802d9ea9fc4ba89671e8f8faa70c9535b202minfrin# Default build targets.
dcb4802d9ea9fc4ba89671e8f8faa70c9535b202minfrin#
dcb4802d9ea9fc4ba89671e8f8faa70c9535b202minfrin.KEEP_STATE:
dcb4802d9ea9fc4ba89671e8f8faa70c9535b202minfrin
dcb4802d9ea9fc4ba89671e8f8faa70c9535b202minfrindef: $(DEF_DEPS)
ce4dc40a4e87991087488f70d96d3447d7557294sf
ce4dc40a4e87991087488f70d96d3447d7557294sfall: $(ALL_DEPS)
0119f1301a880cf39c0aad0fa2a77240af964691sf
ce4dc40a4e87991087488f70d96d3447d7557294sfclean: $(CLEAN_DEPS)
9db0b0ee6ffade769db57b37a06b3f4849b5d367minfrin
9db0b0ee6ffade769db57b37a06b3f4849b5d367minfrinclobber: $(CLOBBER_DEPS)
9db0b0ee6ffade769db57b37a06b3f4849b5d367minfrin
9db0b0ee6ffade769db57b37a06b3f4849b5d367minfrinclean.lint:
033d82412cc4af9d939b7e1645425b9e7f4ebf60minfrin
033d82412cc4af9d939b7e1645425b9e7f4ebf60minfrininstall: def
033d82412cc4af9d939b7e1645425b9e7f4ebf60minfrin
033d82412cc4af9d939b7e1645425b9e7f4ebf60minfrin#
033d82412cc4af9d939b7e1645425b9e7f4ebf60minfrin# create assym.h
1b390add6886fb1c0acdea82be0ef0920f1158casf#
1b390add6886fb1c0acdea82be0ef0920f1158casf$(GENCONST): $(GENCONST_SRC)
1b390add6886fb1c0acdea82be0ef0920f1158casf $(NATIVECC) -w $(ALWAYS_DEFS) $(GENCONST_DEFS) $(NATIVE_INC_PATH) \
5fd471ec540a088d143a223096d35661bf87c15btrawick -o $(GENCONST) $(GENCONST_SRC)
5fd471ec540a088d143a223096d35661bf87c15btrawick
5fd471ec540a088d143a223096d35661bf87c15btrawick$(ASSYM_H): $(GENCONST) $(OFFSETS) $(PLATFORM_OFFSETS)
f2472b79d241967fa28f8284470b1c5cafee7b12wrowe $(OFFSETS_CREATE) <$(OFFSETS) >$@
f2472b79d241967fa28f8284470b1c5cafee7b12wrowe $(OFFSETS_CREATE) <$(PLATFORM_OFFSETS) >>$@
f2472b79d241967fa28f8284470b1c5cafee7b12wrowe $(GENCONST) >>$@
f2472b79d241967fa28f8284470b1c5cafee7b12wrowe
f2472b79d241967fa28f8284470b1c5cafee7b12wrowe#
f2472b79d241967fa28f8284470b1c5cafee7b12wrowe# Include common targets.
c9201c790435060b1322d86949183085ca5f6c0cwrowe#
c9201c790435060b1322d86949183085ca5f6c0cwroweinclude $(UTSBASE)/sun4u/starcat/Makefile.targ
c9201c790435060b1322d86949183085ca5f6c0cwrowe