Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
606N/A# CDDL HEADER START
606N/A#
1088N/A# The contents of this file are subject to the terms of the
606N/A# Common Development and Distribution License (the "License").
1634N/A# You may not use this file except in compliance with the License.
606N/A#
606N/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# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
919N/A# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
919N/A#
919N/A
606N/A#
606N/A# Intel 5000/5100/5400/7300 chipset memory controller hub (MCH) module
606N/A#
606N/A
606N/A#
606N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
606N/A#
1634N/AUTSBASE = ../..
606N/AUTSCLOSED = ../../../../closed/uts
911N/A
1634N/A#
1634N/A# Define the module and object file sets.
1634N/A#
911N/AMODULE = intel_nb5000
606N/A#
1549N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
606N/ASRCDIR = $(UTSBASE)/intel/io/intel_nb5000
606N/ACONF_SRCDIR = $(UTSBASE)/intel/io/intel_nb5000
606N/A
606N/A#
606N/A# Include common rules.
606N/A#
606N/Ainclude ../Makefile.intel
606N/A
606N/A#
606N/A# The list of object files is defined here, rather than in Makefile.files,
606N/A# because the "$(CLOSED_BUILD)" macro has not been defined at the time
1097N/A# Makefile.files is processed.
1097N/A#
1549N/AINTEL_NB5000_OBJS += \
606N/A intel_nb5000.o \
910N/A intel_nbdrv.o \
910N/A dimm_addr.o \
910N/A nb_pci_cfg.o \
606N/A nb5000_init.o
606N/A
910N/A$(CLOSED_BUILD)INTEL_NB5000_OBJS += memtrans.o
1265N/A
1183N/AOBJECTS = $(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)
#
# Depends on smbios
#
LDFLAGS += -dy -N drv/smbios
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
#
# 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