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