Makefile revision 02e56f3f1bfc8d9977bafb8cb5202f576dcded27
5785N/A#
5785N/A# CDDL HEADER START
5785N/A#
5785N/A# The contents of this file are subject to the terms of the
5785N/A# Common Development and Distribution License (the "License").
5785N/A# You may not use this file except in compliance with the License.
5785N/A#
5785N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5785N/A# or http://www.opensolaris.org/os/licensing.
5785N/A# See the License for the specific language governing permissions
6982N/A# and limitations under the License.
6982N/A#
5785N/A# When distributing Covered Code, include this CDDL HEADER in each
5785N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5785N/A# If applicable, add the following below this CDDL HEADER, with the
5785N/A# fields enclosed by brackets "[]" replaced with your own identifying
6982N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6982N/A#
6982N/A# CDDL HEADER END
6982N/A#
5785N/A
5785N/A#
5785N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
5785N/A# Use is subject to license terms.
5785N/A#
5785N/A# ident "%Z%%M% %I% %E% SMI"
5785N/A#
5785N/A
5785N/A#
5785N/A# This makefile drives the production of the sun4u javelin platmod module
5785N/A#
5785N/A
5785N/A#
5785N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
5785N/A#
5785N/AUTSBASE = ../../..
5785N/A
5785N/A#
5785N/A# Define the module and object file sets.
5785N/A#
5785N/AMODULE = platmod
5785N/AOBJECTS = $(JAVELIN_OBJS:%=$(OBJS_DIR)/%)
5785N/ALINTS = $(JAVELIN_OBJS:%.o=$(LINTS_DIR)/%.ln)
5785N/AROOTMODULE = $(ROOT_JAVELIN_MISC_DIR)/$(MODULE)
5785N/A
5785N/APLAT_DIR = .
5785N/AHERE = ../javelin/platmod
5785N/A
5785N/A#
5785N/A# Include common rules.
5785N/A#
5785N/Ainclude $(UTSBASE)/sun4u/javelin/Makefile.javelin
5785N/A
5785N/A#
5785N/A# Override defaults
5785N/A#
5785N/ACLEANFILES += $(PLATLIB) $(SYM_MOD)
5785N/A
5785N/A#
5785N/A# Define targets
5785N/A#
5785N/AALL_TARGET = $(SYM_MOD)
5785N/ALINT_TARGET = $(MODULE).lint
5785N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
5785N/A
5785N/A#
5785N/A# lint pass one enforcement
5785N/A#
5785N/ACFLAGS += $(CCVERBOSE)
5785N/A
5785N/A#
5785N/A# Default build targets.
5785N/A#
5785N/A.KEEP_STATE:
5785N/A
5785N/Adef: $(DEF_DEPS)
5785N/A
5785N/Aall: $(ALL_DEPS)
5785N/A
5785N/Aclean: $(CLEAN_DEPS)
5785N/A
5785N/Aclobber: $(CLOBBER_DEPS)
5785N/A
5785N/Alint: $(LINT_DEPS)
5785N/A
5785N/Amodlintlib: $(MODLINTLIB_DEPS)
5785N/A
5785N/Aclean.lint: $(CLEAN_LINT_DEPS)
5785N/A
5785N/Ainstall: $(INSTALL_DEPS)
5785N/A
5785N/Acheck:
5785N/A
5785N/ALINT_LIB_DIR =$(JAVELIN_LINT_LIB_DIR)
5785N/A
5785N/A$(PLATLIB): $(BINARY)
5785N/A $(BUILD.SO) $(BINARY)
5785N/A
5785N/A$(SYM_MOD): $(UNIX_O) $(PLATLIB)
5785N/A @echo "resolving symbols against unix.o"
5785N/A @(cd $(UNIX_DIR); pwd; \
5785N/A PLAT_DIR=$(HERE) SYM_MOD=$(HERE)/$(SYM_MOD) $(MAKE) symcheck)
5785N/A
5785N/A#
5785N/A# Include common targets.
5785N/A#
5785N/Ainclude $(UTSBASE)/sun4u/javelin/Makefile.targ
5785N/A