Makefile revision 7aadd8d46c796a3216546b68c6a9d6de40f9d80d
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# CDDL HEADER START
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# The contents of this file are subject to the terms of the
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# Common Development and Distribution License (the "License").
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# You may not use this file except in compliance with the License.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# or http://www.opensolaris.org/os/licensing.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# See the License for the specific language governing permissions
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# and limitations under the License.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# When distributing Covered Code, include this CDDL HEADER in each
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# If applicable, add the following below this CDDL HEADER, with the
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# CDDL HEADER END
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# uts/sparc/pcicfg.e/Makefile
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# Use is subject to license terms.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#ident "%Z%%M% %I% %E% SMI"
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# This makefile drives the production of the EFCode Enabled
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# PCI Configurator.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# sun4 implementation architecture dependent
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# Path to the base of the uts directory tree (usually /usr/src/uts).
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncUTSBASE = ../..
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# Define the module and object file sets.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncMODULE = pcicfg.e
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncOBJECTS = $(PCICFG_E_OBJS:%=$(OBJS_DIR)/%)
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncLINTS = $(PCICFG_E_OBJS:%.o=$(LINTS_DIR)/%.ln)
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# Include common rules.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncinclude $(UTSBASE)/sparc/Makefile.sparc
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# Define targets
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncALL_TARGET = $(BINARY)
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncLINT_TARGET = $(MODULE).lint
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# Include sun4 specific headers files
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncINC_PATH += -I$(UTSBASE)/sun4
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# Turn this on once compiler understands v9 in it's backend
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#INLINES += $(UTSBASE)/sun4u/io/pcicfg.il
#
# lint pass one enforcement
#
CFLAGS += $(CCVERBOSE)
#
# Turn on doubleword alignment for 64 bit registers
#
CFLAGS += -dalign -DPCICFG_INTERPRET_FCODE
#
# Dependency
LDFLAGS += -dy -Nmisc/busra -Nmisc/fcpci -Nmisc/fcodem -Nmisc/pcie
#
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/sparc/Makefile.targ