Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
341N/A#
341N/A# CDDL HEADER START
1356N/A#
341N/A# The contents of this file are subject to the terms of the
341N/A# Common Development and Distribution License, Version 1.0 only
919N/A# (the "License"). You may not use this file except in compliance
919N/A# with the License.
919N/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#
341N/A# uts/sun4u/pcicfg.e/Makefile
341N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
341N/A# Use is subject to license terms.
341N/A#
493N/A#ident "%Z%%M% %I% %E% SMI"
341N/A#
341N/A# This makefile drives the production of the EFCode Enabled
1408N/A# PCI Configurator.
341N/A#
911N/A# sun4u implementation architecture dependent
1408N/A#
1408N/A
1408N/A#
911N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
341N/A#
341N/AUTSBASE = ../..
1265N/A
1408N/A#
1408N/A# Define the module and object file sets.
1408N/A#
1179N/AMODULE = pcicfg.e
1233N/AOBJECTS = $(PCICFG_E_OBJS:%=$(OBJS_DIR)/%)
1265N/ALINTS = $(PCICFG_E_OBJS:%.o=$(LINTS_DIR)/%.ln)
1179N/AROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE)
1408N/A
1408N/A#
1408N/A# Include common rules.
1408N/A#
1179N/Ainclude $(UTSBASE)/sun4u/Makefile.sun4u
1179N/A
1179N/A#
1408N/A# Define targets
1408N/A#
1408N/AALL_TARGET = $(BINARY)
1408N/ALINT_TARGET = $(MODULE).lint
1408N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
1265N/A
1408N/A
1408N/A# Turn this on once compiler understands v9 in it's backend
1408N/A#INLINES += $(UTSBASE)/sun4u/io/pcicfg.il
1408N/A
1408N/A#
1265N/A# lint pass one enforcement
1408N/A#
1408N/ACFLAGS += $(CCVERBOSE)
1265N/A
1408N/A#
1408N/A# Turn on doubleword alignment for 64 bit registers
1408N/A#
1265N/ACFLAGS += -dalign -DPCICFG_INTERPRET_FCODE
1179N/A
1408N/A#
1408N/A# Dependency
1408N/ALDFLAGS += -dy -Nmisc/busra -Nmisc/hpcsvc -Nmisc/fcpci -Nmisc/fcodem
1408N/A
1408N/A
1408N/A#
1408N/A# Default build targets.
1408N/A#
1408N/A.KEEP_STATE:
1408N/A
1408N/Adef: $(DEF_DEPS)
1408N/A
1408N/Aall: $(ALL_DEPS)
1408N/A
1408N/Aclean: $(CLEAN_DEPS)
1408N/A
1408N/Aclobber: $(CLOBBER_DEPS)
1408N/A
1377N/Alint: $(LINT_DEPS)
341N/A
341N/Amodlintlib: $(MODLINTLIB_DEPS)
341N/A
1356N/Aclean.lint: $(CLEAN_LINT_DEPS)
1356N/A
1377N/Ainstall: $(INSTALL_DEPS)
1356N/A
970N/A#
970N/A# Include common targets.
970N/A#
970N/Ainclude $(UTSBASE)/sun4u/Makefile.targ
970N/A