Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
70N/A#
70N/A# CDDL HEADER START
286N/A#
70N/A# The contents of this file are subject to the terms of the
70N/A# Common Development and Distribution License, Version 1.0 only
70N/A# (the "License"). You may not use this file except in compliance
70N/A# with the License.
70N/A#
70N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
70N/A# or http://www.opensolaris.org/os/licensing.
70N/A# See the License for the specific language governing permissions
70N/A# and limitations under the License.
70N/A#
70N/A# When distributing Covered Code, include this CDDL HEADER in each
70N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
70N/A# If applicable, add the following below this CDDL HEADER, with the
70N/A# fields enclosed by brackets "[]" replaced with your own identifying
70N/A# information: Portions Copyright [yyyy] [name of copyright owner]
70N/A#
70N/A# CDDL HEADER END
70N/A#
70N/A#
70N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
70N/A# Use is subject to license terms.
70N/A#
70N/A#ident "%Z%%M% %I% %E% SMI"
70N/A#
70N/A# This makefile drives the production of the bofi driver
70N/A# kernel module.
70N/A#
539N/A
70N/A#
70N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
70N/A#
359N/AUTSBASE = ../..
359N/A
359N/A#
98N/A# Define the module and object file sets.
321N/A#
493N/AMODULE = bofi
321N/AOBJECTS = $(BOFI_OBJS:%=$(OBJS_DIR)/%)
213N/ALINTS = $(BOFI_OBJS:%.o=$(LINTS_DIR)/%.ln)
304N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
530N/ACONF_SRCDIR = $(UTSBASE)/common/io
425N/A
425N/A#
325N/A# Include common rules.
493N/A#
536N/Ainclude $(UTSBASE)/intel/Makefile.intel
456N/A
320N/A#
332N/A# Override defaults.
501N/A#
231N/AFILEMODE = 644
523N/A
98N/A#
347N/A# Define targets
532N/A#
525N/AALL_TARGET = $(BINARY) $(SRC_CONFILE)
463N/ALINT_TARGET = $(MODULE).lint
493N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
425N/A
493N/A#
472N/A# Override defaults to build a unique, local modstubs.o.
324N/A#
347N/AMODSTUBS_DIR = $(OBJS_DIR)
310N/A$(MODSTUBS_O) := AS_CPPFLAGS += -DBOFI_MODULE
316N/ACLEANFILES += $(MODSTUBS_O)
474N/A
290N/ACPPFLAGS += -I../../sun4
332N/A
464N/A#
332N/A# Default build targets.
509N/A#
332N/A.KEEP_STATE:
210N/A
493N/Adef: $(DEF_DEPS)
128N/A
414N/Aall: $(ALL_DEPS)
484N/A
326N/Aclean: $(CLEAN_DEPS)
493N/A
335N/Aclobber: $(CLOBBER_DEPS)
493N/A
493N/Alint: $(LINT_DEPS)
425N/A
370N/Amodlintlib: $(MODLINTLIB_DEPS)
70N/A
400N/Aclean.lint: $(CLEAN_LINT_DEPS)
294N/A
435N/Ainstall: $(INSTALL_DEPS)
98N/A
434N/A#
505N/A# Include common targets.
277N/A#
433N/Ainclude $(UTSBASE)/intel/Makefile.targ
356N/A