Makefile revision 20c794b39650d115e17a15983b6b82e46238cf45
363N/A# CDDL HEADER START
363N/A#
363N/A# The contents of this file are subject to the terms of the
363N/A# Common Development and Distribution License (the "License").
363N/A# You may not use this file except in compliance with the License.
363N/A#
363N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
363N/A# or http://www.opensolaris.org/os/licensing.
363N/A# See the License for the specific language governing permissions
363N/A# and limitations under the License.
363N/A#
363N/A# When distributing Covered Code, include this CDDL HEADER in each
363N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
363N/A# If applicable, add the following below this CDDL HEADER, with the
363N/A# fields enclosed by brackets "[]" replaced with your own identifying
363N/A# information: Portions Copyright [yyyy] [name of copyright owner]
363N/A#
363N/A# CDDL HEADER END
363N/A#
363N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
661N/A# Use is subject to license terms.
363N/A#
363N/A# ident "%Z%%M% %I% %E% SMI"
363N/A#
363N/A
363N/A#
363N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
363N/A#
364N/AUTSBASE = ../..
363N/A
363N/A#
363N/A# Define the module and object file sets.
363N/A#
363N/AMODULE = intel_nb5000
363N/A#
363N/AINTEL_NB5000_OBJS = intel_nb5000.o intel_nbdrv.o dimm_addr.o nb_pci_cfg.o \
363N/A nb5000_init.o
363N/AOBJECTS = $(INTEL_NB5000_OBJS:%=$(OBJS_DIR)/%)
363N/ALINTS = $(INTEL_NB5000_OBJS:%.o=$(LINTS_DIR)/%.ln)
363N/AROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
695N/ACONF_SRCDIR = $(UTSBASE)/i86pc/io/intel_nb5000
365N/A
363N/A#
363N/A# Include common rules.
363N/A#
363N/Ainclude $(UTSBASE)/i86pc/Makefile.i86pc
363N/A
363N/A#
363N/A# Define targets
363N/A#
363N/AALL_TARGET = $(BINARY) $(SRC_CONFFILE)
695N/ALINT_TARGET = $(LINT_MODULE).lint
363N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
363N/A
363N/ACPPFLAGS += -I$(SRC)/uts/i86pc/cpu/genuineintel
363N/A
363N/A#
791N/A# Default build targets.
791N/A#
791N/A.KEEP_STATE:
791N/A
363N/Adef: $(DEF_DEPS)
363N/A
363N/Aall: $(ALL_DEPS)
363N/A
363N/Aclean: $(CLEAN_DEPS)
363N/A
363N/Aclobber: $(CLOBBER_DEPS)
363N/A
363N/Alint: $(LINT_DEPS)
363N/A
363N/Amodlintlib: $(MODLINTLIB_DEPS)
363N/A
363N/Aclean.lint: $(CLEAN_LINT_DEPS)
363N/A
363N/Ainstall: $(INSTALL_DEPS)
363N/A
363N/A#
363N/A# Include common targets.
363N/A#
363N/Ainclude ../Makefile.targ
363N/A