1843e1988Sjohnlev# 2843e1988Sjohnlev# CDDL HEADER START 3843e1988Sjohnlev# 4843e1988Sjohnlev# The contents of this file are subject to the terms of the 5843e1988Sjohnlev# Common Development and Distribution License (the "License"). 6843e1988Sjohnlev# You may not use this file except in compliance with the License. 7843e1988Sjohnlev# 8843e1988Sjohnlev# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9843e1988Sjohnlev# or http://www.opensolaris.org/os/licensing. 10843e1988Sjohnlev# See the License for the specific language governing permissions 11843e1988Sjohnlev# and limitations under the License. 12843e1988Sjohnlev# 13843e1988Sjohnlev# When distributing Covered Code, include this CDDL HEADER in each 14843e1988Sjohnlev# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15843e1988Sjohnlev# If applicable, add the following below this CDDL HEADER, with the 16843e1988Sjohnlev# fields enclosed by brackets "[]" replaced with your own identifying 17843e1988Sjohnlev# information: Portions Copyright [yyyy] [name of copyright owner] 18843e1988Sjohnlev# 19843e1988Sjohnlev# CDDL HEADER END 20843e1988Sjohnlev# 21843e1988Sjohnlev 22843e1988Sjohnlev# 23843e1988Sjohnlev# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 24843e1988Sjohnlev# Use is subject to license terms. 25843e1988Sjohnlev# 26843e1988Sjohnlev# 27843e1988Sjohnlev# This makefile drives the production of assym.h through 28843e1988Sjohnlev# compile time intialized data. 29843e1988Sjohnlev# 30843e1988Sjohnlev# i86xpv implementation architecture dependent 31843e1988Sjohnlev# 32843e1988Sjohnlev 33843e1988Sjohnlev# 34843e1988Sjohnlev# Path to the base of the uts directory tree (usually /usr/src/uts). 35843e1988Sjohnlev# 36843e1988SjohnlevUTSBASE = ../.. 37843e1988Sjohnlev 38843e1988SjohnlevASSYM_H = $(DSF_DIR)/$(OBJS_DIR)/assym.h 39843e1988SjohnlevKDI_ASSYM_H = $(DSF_DIR)/$(OBJS_DIR)/kdi_assym.h 40843e1988SjohnlevGENASSYM = $(DSF_DIR)/$(OBJS_DIR)/genassym 41843e1988Sjohnlev 42843e1988Sjohnlev# 43843e1988Sjohnlev# Include common rules. 44843e1988Sjohnlev# 45843e1988Sjohnlevinclude $(UTSBASE)/i86xpv/Makefile.i86xpv 46843e1988Sjohnlev 47843e1988Sjohnlev# 48843e1988Sjohnlev# Define targets 49843e1988Sjohnlev# 50843e1988SjohnlevALL_TARGET = $(ASSYM_H) $(KDI_ASSYM_H) 51843e1988Sjohnlev 52843e1988Sjohnlev# 53843e1988Sjohnlev# This is DSF_DIR. Use a short path. 54843e1988Sjohnlev# 55843e1988SjohnlevDSF_DIR = . 56843e1988Sjohnlev 57843e1988Sjohnlev 58843e1988Sjohnlev# 59843e1988Sjohnlev# Overrides 60843e1988Sjohnlev# 61843e1988SjohnlevCLEANFILES = $(GENASSYM) Nothing_to_remove 62843e1988SjohnlevCLOBBERFILES = $(ASSYM_H) $(KDI_ASSYM_H) $(CLEANFILES) Nothing_to_remove 63843e1988Sjohnlev 64843e1988Sjohnlev# 65843e1988Sjohnlev# Default build targets. 66843e1988Sjohnlev# 67843e1988Sjohnlev.KEEP_STATE: 68843e1988Sjohnlev 69843e1988Sjohnlevdef: $(DEF_DEPS) 70843e1988Sjohnlev 71843e1988Sjohnlevall: $(ALL_DEPS) 72843e1988Sjohnlev 73843e1988Sjohnlevclean: $(CLEAN_DEPS) 74843e1988Sjohnlev 75843e1988Sjohnlevclobber: $(CLOBBER_DEPS) 76843e1988Sjohnlev 77843e1988Sjohnlevclean.lint: 78843e1988Sjohnlev 79843e1988Sjohnlevinstall: def 80843e1988Sjohnlev 81843e1988Sjohnlev# 82843e1988Sjohnlev# Create assym.h 83843e1988Sjohnlev# 84843e1988Sjohnlev$(GENASSYM): $(GENASSYM_SRC) 85*7f11fd00SRichard Lowe $(NATIVECC) $(NATIVE_CFLAGS) $(ALWAYS_DEFS) $(GENASSYM_DEFS) \ 86*7f11fd00SRichard Lowe $(NATIVE_INC_PATH) -o $@ $(GENASSYM_SRC) 87843e1988Sjohnlev 88843e1988Sjohnlev$(ASSYM_H): $(OFFSETS_SRC) $(PLATFORM_OFFSETS_SRC) $(GENASSYM) 89843e1988Sjohnlev $(OFFSETS_CREATE) <$(OFFSETS_SRC) >$@ 90843e1988Sjohnlev $(OFFSETS_CREATE) <$(PLATFORM_OFFSETS_SRC) >>$@ 91843e1988Sjohnlev $(GENASSYM) >>$@ 92843e1988Sjohnlev 93843e1988Sjohnlev$(KDI_ASSYM_H): $(KDI_OFFSETS_SRC) $(GENASSYM) 94843e1988Sjohnlev $(OFFSETS_CREATE) <$(KDI_OFFSETS_SRC) >$@ 95843e1988Sjohnlev $(GENASSYM) >>$@ 96843e1988Sjohnlev 97843e1988Sjohnlev# 98843e1988Sjohnlev# Include common targets. 99843e1988Sjohnlev# 100843e1988Sjohnlevinclude $(UTSBASE)/i86xpv/Makefile.targ 101