Makefile revision ae115bc77f6fcde83175c75b4206dc2e50747966
98N/A#
98N/A# CDDL HEADER START
98N/A#
98N/A# The contents of this file are subject to the terms of the
98N/A# Common Development and Distribution License (the "License").
98N/A# You may not use this file except in compliance with the License.
98N/A#
98N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
98N/A# or http://www.opensolaris.org/os/licensing.
98N/A# See the License for the specific language governing permissions
98N/A# and limitations under the License.
98N/A#
98N/A# When distributing Covered Code, include this CDDL HEADER in each
98N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
98N/A# If applicable, add the following below this CDDL HEADER, with the
98N/A# fields enclosed by brackets "[]" replaced with your own identifying
98N/A# information: Portions Copyright [yyyy] [name of copyright owner]
98N/A#
98N/A# CDDL HEADER END
98N/A#
98N/A#
98N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
98N/A# Use is subject to license terms.
98N/A#
98N/A# ident "%Z%%M% %I% %E% SMI"
98N/A#
98N/A# This makefile drives the production of assym.h through
98N/A# compile time intialized data.
98N/A#
98N/A# i86pc implementation architecture dependent
257N/A#
98N/A
98N/A#
98N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
156N/A#
98N/AUTSBASE = ../..
98N/A
98N/AASSYM_H = $(DSF_DIR)/$(OBJS_DIR)/assym.h
98N/AKDI_ASSYM_H = $(DSF_DIR)/$(OBJS_DIR)/kdi_assym.h
98N/AGENASSYM = $(DSF_DIR)/$(OBJS_DIR)/genassym
156N/A
98N/A#
98N/A# Include common rules.
156N/A#
98N/Ainclude $(UTSBASE)/i86pc/Makefile.i86pc
98N/A
98N/A#
98N/A# Define targets
98N/A#
98N/AALL_TARGET = $(ASSYM_H) $(KDI_ASSYM_H)
98N/A
98N/A#
98N/A# This is DSF_DIR. Use a short path.
98N/A#
98N/ADSF_DIR = .
98N/A
98N/A
98N/A#
98N/A# Overrides
98N/A#
98N/ACLEANFILES = $(GENASSYM) Nothing_to_remove
98N/ACLOBBERFILES = $(ASSYM_H) $(KDI_ASSYM.H) $(CLEANFILES) Nothing_to_remove
159N/A
98N/A#
98N/A# Default build targets.
98N/A#
98N/A.KEEP_STATE:
98N/A
98N/Adef: $(DEF_DEPS)
98N/A
98N/Aall: $(ALL_DEPS)
98N/A
98N/Aclean: $(CLEAN_DEPS)
199N/A
98N/Aclobber: $(CLOBBER_DEPS)
98N/A
98N/Aclean.lint:
98N/A
257N/Ainstall: def
98N/A
98N/A#
98N/A# Create assym.h
98N/A#
98N/A$(GENASSYM): $(GENASSYM_SRC)
98N/A $(NATIVECC) $(ALWAYS_DEFS) $(GENASSYM_DEFS) $(NATIVE_INC_PATH) \
98N/A -o $@ $(GENASSYM_SRC)
98N/A
98N/A$(ASSYM_H): $(OFFSETS_SRC) $(PLATFORM_OFFSETS_SRC) $(GENASSYM)
98N/A $(OFFSETS_CREATE) <$(OFFSETS_SRC) >$@
98N/A $(OFFSETS_CREATE) <$(PLATFORM_OFFSETS_SRC) >>$@
98N/A $(GENASSYM) >>$@
98N/A
98N/A$(KDI_ASSYM_H): $(KDI_OFFSETS_SRC) $(GENASSYM)
98N/A $(OFFSETS_CREATE) <$(KDI_OFFSETS_SRC) >$@
98N/A $(GENASSYM) >>$@
156N/A
156N/A#
98N/A# Include common targets.
98N/A#
98N/Ainclude $(UTSBASE)/i86pc/Makefile.targ
98N/A