Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
305N/A#
305N/A# CDDL HEADER START
305N/A#
305N/A# The contents of this file are subject to the terms of the
305N/A# Common Development and Distribution License (the "License").
305N/A# You may not use this file except in compliance with the License.
305N/A#
305N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
305N/A# or http://www.opensolaris.org/os/licensing.
305N/A# See the License for the specific language governing permissions
305N/A# and limitations under the License.
305N/A#
305N/A# When distributing Covered Code, include this CDDL HEADER in each
305N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
305N/A# If applicable, add the following below this CDDL HEADER, with the
305N/A# fields enclosed by brackets "[]" replaced with your own identifying
305N/A# information: Portions Copyright [yyyy] [name of copyright owner]
305N/A#
305N/A# CDDL HEADER END
305N/A#
305N/A#
305N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
844N/A# Use is subject to license terms.
305N/A#
305N/A
305N/A#
305N/A# This makefile drives the production of the rds driver
305N/A# kernel module.
305N/A#
615N/A# sparc architecture dependent
586N/A#
618N/A
586N/A#
305N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
844N/A#
844N/AUTSBASE = ../..
305N/A
305N/A#
305N/A# Define the module and object file sets.
305N/A#
305N/AMODULE = rds
305N/AOBJECTS = $(RDS_OBJS:%=$(OBJS_DIR)/%)
305N/ALINTS = $(RDS_OBJS:%.o=$(LINTS_DIR)/%.ln)
844N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
844N/ACONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/rds
305N/A
305N/A#
305N/A# Include common rules.
305N/A#
305N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
305N/A
305N/A#
305N/A# Define targets
305N/A#
305N/AALL_TARGET = $(BINARY) $(SRC_CONFILE)
615N/ALINT_TARGET = $(MODULE).lint
305N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
940N/A
455N/A#
455N/A# lint pass one enforcement and OS version
305N/A#
305N/ACFLAGS += $(CCVERBOSE)
305N/A
305N/ACERRWARN += -_gcc=-Wno-uninitialized
305N/A
305N/ALDFLAGS += -dy -Nfs/sockfs -Ndrv/ip
305N/A
305N/A#
305N/A# Default build targets.
305N/A#
305N/A.KEEP_STATE:
305N/A
305N/Adef: $(DEF_DEPS)
305N/A
437N/Aall: $(ALL_DEPS)
305N/A
305N/Aclean: $(CLEAN_DEPS)
305N/A
305N/Aclobber: $(CLOBBER_DEPS)
305N/A
305N/Alint: $(LINT_DEPS)
305N/A
305N/Amodlintlib: $(MODLINTLIB_DEPS) lint64
305N/A
305N/Aclean.lint: $(CLEAN_LINT_DEPS)
305N/A
305N/Ainstall: $(INSTALL_DEPS)
305N/A
305N/A$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE)
305N/A -$(RM) $@; ln $(ROOTMODULE) $@
305N/A
305N/A#
305N/A# Include common targets.
305N/A#
305N/Ainclude $(UTSBASE)/sparc/Makefile.targ
305N/A