Makefile revision f899e5733f35e45012ad40c8325b2622dcc2b673
4b2d99d9f4258a29f0bf8b1a78d17836e75bc378Lennart Poettering# CDDL HEADER START
4b2d99d9f4258a29f0bf8b1a78d17836e75bc378Lennart Poettering#
4b2d99d9f4258a29f0bf8b1a78d17836e75bc378Lennart Poettering# The contents of this file are subject to the terms of the
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering# Common Development and Distribution License (the "License").
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering# You may not use this file except in compliance with the License.
4b2d99d9f4258a29f0bf8b1a78d17836e75bc378Lennart Poettering#
4b2d99d9f4258a29f0bf8b1a78d17836e75bc378Lennart Poettering# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4b2d99d9f4258a29f0bf8b1a78d17836e75bc378Lennart Poettering# or http://www.opensolaris.org/os/licensing.
4b2d99d9f4258a29f0bf8b1a78d17836e75bc378Lennart Poettering# See the License for the specific language governing permissions
63cb20a28b3f5e858a306daf7e0657ccbb0ab163Lennart Poettering# and limitations under the License.
4b2d99d9f4258a29f0bf8b1a78d17836e75bc378Lennart Poettering#
4b2d99d9f4258a29f0bf8b1a78d17836e75bc378Lennart Poettering# When distributing Covered Code, include this CDDL HEADER in each
875c2e220e2611165e09051c4747971811f1de58Lennart Poettering# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7e75c5ac2d607bd87818d1a3546ff6ae5c6c3859Lennart Poettering# If applicable, add the following below this CDDL HEADER, with the
4b2d99d9f4258a29f0bf8b1a78d17836e75bc378Lennart Poettering# fields enclosed by brackets "[]" replaced with your own identifying
4b2d99d9f4258a29f0bf8b1a78d17836e75bc378Lennart Poettering# information: Portions Copyright [yyyy] [name of copyright owner]
a87a38c20196a4aeb56b6ba71d688eefd0b21c30Michal Schmidt#
875c2e220e2611165e09051c4747971811f1de58Lennart Poettering# CDDL HEADER END
4b2d99d9f4258a29f0bf8b1a78d17836e75bc378Lennart Poettering#
454591be36880b0300b0448576c483a39d9cc611Lennart Poettering# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
47ec118473c864b6ae550fd7ee56d6f4982e5363Lennart Poettering# Use is subject to license terms.
4b2d99d9f4258a29f0bf8b1a78d17836e75bc378Lennart Poettering#
4b2d99d9f4258a29f0bf8b1a78d17836e75bc378Lennart Poettering
875c2e220e2611165e09051c4747971811f1de58Lennart Poettering#
f9a810bedacf1da7c505c1786a2416d592665926Lennart Poettering# Intel 5000/5100/5400/7300 chipset memory controller hub (MCH) module
4b2d99d9f4258a29f0bf8b1a78d17836e75bc378Lennart Poettering#
4b2d99d9f4258a29f0bf8b1a78d17836e75bc378Lennart Poettering
4b2d99d9f4258a29f0bf8b1a78d17836e75bc378Lennart Poettering#
4b2d99d9f4258a29f0bf8b1a78d17836e75bc378Lennart Poettering# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
UTSCLOSED = ../../../../closed/uts
#
# Define the module and object file sets.
#
MODULE = intel_nb5000
#
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
SRCDIR = $(UTSBASE)/intel/io/intel_nb5000
CONF_SRCDIR = $(UTSBASE)/intel/io/intel_nb5000
#
# Include common rules.
#
include ../Makefile.intel
#
# The list of object files is defined here, rather than in Makefile.files,
# because the "$(CLOSED_BUILD)" macro has not been defined at the time
# Makefile.files is processed.
#
INTEL_NB5000_OBJS += \
intel_nb5000.o \
intel_nbdrv.o \
dimm_addr.o \
nb_pci_cfg.o \
nb5000_init.o
$(CLOSED_BUILD)INTEL_NB5000_OBJS += memtrans.o
OBJECTS = $(INTEL_NB5000_OBJS:%=$(OBJS_DIR)/%)
LINTS = $(INTEL_NB5000_OBJS:%.o=$(LINTS_DIR)/%.ln)
#
# Define targets
#
ALL_TARGET = $(BINARY)
LINT_TARGET = $(LINT_MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# 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