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