Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
70N/A#
70N/A# CDDL HEADER START
729N/A#
729N/A# The contents of this file are subject to the terms of the
70N/A# Common Development and Distribution License, Version 1.0 only
70N/A# (the "License"). You may not use this file except in compliance
70N/A# with the License.
70N/A#
70N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
70N/A# or http://www.opensolaris.org/os/licensing.
70N/A# See the License for the specific language governing permissions
70N/A# and limitations under the License.
70N/A#
70N/A# When distributing Covered Code, include this CDDL HEADER in each
70N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
70N/A# If applicable, add the following below this CDDL HEADER, with the
70N/A# fields enclosed by brackets "[]" replaced with your own identifying
70N/A# information: Portions Copyright [yyyy] [name of copyright owner]
70N/A#
70N/A# CDDL HEADER END
70N/A#
70N/A#
70N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
70N/A# Use is subject to license terms.
70N/A#
70N/A#ident "%Z%%M% %I% %E% SMI"
70N/A#
70N/A# This makefile drives the production of the sctp driver kernel module.
70N/A#
70N/A# intel implementation architecture dependent
835N/A#
70N/A
70N/A#
70N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
98N/A#
551N/AUTSBASE = ../..
321N/A
493N/A#
321N/A# Define the module and object file sets.
550N/A#
550N/AMODULE = sctp
213N/AOBJECTS = $(SCTP_OBJS:%=$(OBJS_DIR)/%)
649N/ALINTS = $(SCTP_OBJS:%.o=$(LINTS_DIR)/%.ln)
304N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
530N/ACONF_SRCDIR = $(UTSBASE)/common/inet/sctp
425N/A
425N/A#
325N/A# Extra for $(MODULE).check target
493N/A#
536N/A# Need to remove ipddi.o since it has non-static defines for _init etc.
456N/AIP_CHECK_OBJS = $(IP_OBJS:ipddi.o=ip.o)
320N/AEXTRA_CHECK_OBJS = $(IP_CHECK_OBJS:%=../ip/$(OBJS_DIR)/%)
332N/A
501N/A#
231N/A# Include common rules.
550N/A#
523N/Ainclude $(UTSBASE)/intel/Makefile.intel
98N/A
347N/A#
532N/A# Define targets
525N/A#
463N/AALL_TARGET = $(BINARY) $(SRC_CONFFILE)
493N/ALINT_TARGET = $(MODULE).lint
425N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
493N/A
791N/A#
472N/A# depends on ip
324N/A#
347N/ALDFLAGS += -dy -Ndrv/ip
310N/A
316N/A#
474N/A# Default build targets.
290N/A#
332N/A.KEEP_STATE:
464N/A
332N/Adef: $(DEF_DEPS)
509N/A
835N/Aall: $(ALL_DEPS)
835N/A
332N/Aclean: $(CLEAN_DEPS)
210N/A
493N/Aclobber: $(CLOBBER_DEPS)
792N/A
128N/Alint: $(LINT_DEPS)
414N/A
484N/Amodlintlib: $(MODLINTLIB_DEPS)
326N/A
493N/Aclean.lint: $(CLEAN_LINT_DEPS)
335N/A
493N/Ainstall: $(INSTALL_DEPS)
493N/A
729N/A#
425N/A# Include common targets.
370N/A#
70N/Ainclude $(UTSBASE)/intel/Makefile.targ
400N/A