Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER START
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# The contents of this file are subject to the terms of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Common Development and Distribution License (the "License").
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You may not use this file except in compliance with the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# See the License for the specific language governing permissions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# and limitations under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# When distributing Covered Code, include this CDDL HEADER in each
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# If applicable, add the following below this CDDL HEADER, with the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# fields enclosed by brackets "[]" replaced with your own identifying
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# information: Portions Copyright [yyyy] [name of copyright owner]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER END
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Use is subject to license terms.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# This makefile drives the production of the sdbc kernel module
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# sparc implementation architecture dependent
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Path to the base of the uts directory tree (usually /usr/src/uts).
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Define the module and object file sets.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Include common rules.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLOBBERFILES += obj*/*.c debug*/*.c obj*/sd_mkiob debug*/sd_mkiob
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Define targets
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# lint pass one enforcement
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCFLAGS += $(CCVERBOSE) -D_SD_8K_BLKSIZE -D_SDBC_SINGLE_BRD
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteLDFLAGS += -dy -N"drv/nsctl" -N"drv/ncall" -N"drv/nskern" -N"misc/spuni"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(OBJS_DIR)/sd_mkiob: $(UTSBASE)/common/avs/ns/sdbc/sd_mkiob.sh
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(CP) $(UTSBASE)/common/avs/ns/sdbc/sd_mkiob.sh $@
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(OBJS_DIR)/sd_iob_impl0.c: $(UTSBASE)/common/avs/ns/sdbc/sd_iob.h \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(OBJS_DIR)/sd_mkiob 0 512 $(AVSCOMMON)/ns/sdbc/sd_iob.h > $@
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(OBJS_DIR)/sd_iob_impl1.c: $(UTSBASE)/common/avs/ns/sdbc/sd_iob.h \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(OBJS_DIR)/sd_mkiob 512 1024 $(AVSCOMMON)/ns/sdbc/sd_iob.h > $@
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(OBJS_DIR)/sd_iob_impl2.c: $(UTSBASE)/common/avs/ns/sdbc/sd_iob.h \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(OBJS_DIR)/sd_mkiob 1024 1536 $(AVSCOMMON)/ns/sdbc/sd_iob.h > $@
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(OBJS_DIR)/sd_iob_impl3.c: $(UTSBASE)/common/avs/ns/sdbc/sd_iob.h \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(OBJS_DIR)/sd_mkiob 1536 2048 $(AVSCOMMON)/ns/sdbc/sd_iob.h > $@
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(OBJS_DIR)/sd_iob_impl4.c: $(UTSBASE)/common/avs/ns/sdbc/sd_iob.h \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(OBJS_DIR)/sd_mkiob 2048 2560 $(AVSCOMMON)/ns/sdbc/sd_iob.h > $@
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(OBJS_DIR)/sd_iob_impl5.c: $(UTSBASE)/common/avs/ns/sdbc/sd_iob.h \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(OBJS_DIR)/sd_mkiob 2560 3072 $(AVSCOMMON)/ns/sdbc/sd_iob.h > $@
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(OBJS_DIR)/sd_iob_impl6.c: $(UTSBASE)/common/avs/ns/sdbc/sd_iob.h \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(OBJS_DIR)/sd_mkiob 3072 3584 $(AVSCOMMON)/ns/sdbc/sd_iob.h > $@
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(OBJS_DIR)/sd_iob_impl7.c: $(UTSBASE)/common/avs/ns/sdbc/sd_iob.h \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(OBJS_DIR)/sd_mkiob 3584 9999 $(AVSCOMMON)/ns/sdbc/sd_iob.h > $@
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(OBJS_DIR)/sd_iob_impl0.o: $(OBJS_DIR)/sd_iob_impl0.c
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(OBJS_DIR)/sd_iob_impl1.o: $(OBJS_DIR)/sd_iob_impl1.c
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(OBJS_DIR)/sd_iob_impl2.o: $(OBJS_DIR)/sd_iob_impl2.c
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(OBJS_DIR)/sd_iob_impl3.o: $(OBJS_DIR)/sd_iob_impl3.c
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(OBJS_DIR)/sd_iob_impl4.o: $(OBJS_DIR)/sd_iob_impl4.c
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(OBJS_DIR)/sd_iob_impl5.o: $(OBJS_DIR)/sd_iob_impl5.c
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(OBJS_DIR)/sd_iob_impl6.o: $(OBJS_DIR)/sd_iob_impl6.c
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(OBJS_DIR)/sd_iob_impl7.o: $(OBJS_DIR)/sd_iob_impl7.c
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Include common targets.