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