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