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