Makefile revision 25cf1a301a396c38e8adf52c15f537b80d2483f7
61N/A#
61N/A# CDDL HEADER START
1356N/A#
1356N/A# The contents of this file are subject to the terms of the
1551N/A# Common Development and Distribution License (the "License").
61N/A# You may not use this file except in compliance with the License.
61N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
919N/A#
61N/A# ident "%Z%%M% %I% %E% SMI"
61N/A#
61N/A# This makefile drives the production of the sun4u opl platform
61N/A# module.
61N/A#
61N/A# sun4u opl implementation architecture dependent
1356N/A#
1356N/A# uts/sun4u/opl/platmod/Makefile
1551N/A#
1551N/A
1356N/A#
61N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
1068N/A#
61N/AUTSBASE = ../../..
911N/A#
1068N/A# Define the module and object file sets.
1068N/A#
911N/AMODULE = platmod
61N/AOBJECTS = $(OPL_OBJS:%=$(OBJS_DIR)/%)
61N/ALINTS = $(OPL_OBJS:%.o=$(LINTS_DIR)/%.ln)
61N/AROOTMODULE = $(ROOT_OPL_MISC_DIR)/$(MODULE)
851N/APLAT_DIR = .
851N/A
851N/A#
851N/A# Include common rules.
61N/A#
61N/Ainclude $(UTSBASE)/sun4u/opl/Makefile.opl
61N/A
#
# Override defaults
#
CLEANFILES += $(PLATLIB)
#
# Define targets
#
ALL_TARGET = $(PLATLIB)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# lint pass one enforcement
#
CFLAGS += $(CCVERBOSE)
#
# Default build targets.
#
.KEEP_STATE:
all: $(ALL_DEPS)
def: $(DEF_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
$(PLATLIB): $(BINARY)
$(LD) -o $(PLATLIB) -G $(BINARY) -h misc/platmod
#
# Include common targets.
#
include $(UTSBASE)/sun4u/opl/Makefile.targ