Makefile revision 89b43686db1fe9681d80a7cf5662730cb9378cae
201N/A# CDDL HEADER START
201N/A#
201N/A# The contents of this file are subject to the terms of the
201N/A# Common Development and Distribution License (the "License").
201N/A# You may not use this file except in compliance with the License.
201N/A#
201N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
201N/A# or http://www.opensolaris.org/os/licensing.
201N/A# See the License for the specific language governing permissions
201N/A# and limitations under the License.
201N/A#
201N/A# When distributing Covered Code, include this CDDL HEADER in each
201N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
201N/A# If applicable, add the following below this CDDL HEADER, with the
201N/A# fields enclosed by brackets "[]" replaced with your own identifying
201N/A# information: Portions Copyright [yyyy] [name of copyright owner]
201N/A#
201N/A# CDDL HEADER END
201N/A#
201N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
201N/A# Use is subject to license terms.
201N/A# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
2899N/A#
201N/A
201N/A#
201N/A# Intel 5000/5100/5400/7300 chipset memory controller hub (MCH) module
201N/A#
201N/A
3039N/A#
618N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
201N/A#
201N/AUTSBASE = ../..
844N/AUTSCLOSED = ../../../../closed/uts
3039N/A
201N/A#
1258N/A# Define the module and object file sets.
201N/A#
3039N/AMODULE = intel_nb5000
2899N/A#
201N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
201N/ASRCDIR = $(UTSBASE)/intel/io/intel_nb5000
201N/ACONF_SRCDIR = $(UTSBASE)/intel/io/intel_nb5000
201N/A
201N/A#
201N/A# Include common rules.
201N/A#
3039N/Ainclude ../Makefile.intel
3039N/A
3039N/A#
3039N/A# The list of object files is defined here, rather than in Makefile.files,
201N/A# because the "$(CLOSED_BUILD)" macro has not been defined at the time
201N/A# Makefile.files is processed.
201N/A#
1542N/AINTEL_NB5000_OBJS += \
201N/A intel_nb5000.o \
1475N/A intel_nbdrv.o \
201N/A dimm_addr.o \
201N/A nb_pci_cfg.o \
1542N/A nb5000_init.o
201N/A
1542N/A$(CLOSED_BUILD)INTEL_NB5000_OBJS += memtrans.o
201N/A
201N/AOBJECTS = $(INTEL_NB5000_OBJS:%=$(OBJS_DIR)/%)
201N/ALINTS = $(INTEL_NB5000_OBJS:%.o=$(LINTS_DIR)/%.ln)
201N/A
201N/A#
201N/A# Define targets
2899N/A#
ALL_TARGET = $(BINARY)
LINT_TARGET = $(LINT_MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Depends on smbios
#
LDFLAGS += -dy -N drv/smbios
#
# 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)
$(OBJECTS): $(OBJS_DIR) $(MCAMD_OFF_H)
#
# Include common targets.
#
include ../Makefile.targ
$(CLOSED_BUILD)include $(UTSCLOSED)/intel/Makefile.rules