Makefile revision da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0
363N/A#
363N/A# CDDL HEADER START
363N/A#
363N/A# The contents of this file are subject to the terms of the
363N/A# Common Development and Distribution License (the "License").
363N/A# You may not use this file except in compliance with the License.
363N/A#
363N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
363N/A# or http://www.opensolaris.org/os/licensing.
363N/A# See the License for the specific language governing permissions
363N/A# and limitations under the License.
363N/A#
363N/A# When distributing Covered Code, include this CDDL HEADER in each
363N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
363N/A# If applicable, add the following below this CDDL HEADER, with the
363N/A# fields enclosed by brackets "[]" replaced with your own identifying
363N/A# information: Portions Copyright [yyyy] [name of copyright owner]
363N/A#
363N/A# CDDL HEADER END
363N/A#
5680N/A#
5680N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
5600N/A# Use is subject to license terms.
363N/A#
363N/A#ident "%Z%%M% %I% %E% SMI"
363N/A#
2221N/A# This makefile drives the production of the cifs server file system
2221N/A# kernel module.
363N/A#
363N/A# intel implementation architecture dependent
364N/A#
363N/A
363N/A#
7101N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
6714N/A#
363N/AUTSBASE = ../..
844N/A
7101N/A#
363N/A# Define the module and object file sets.
2931N/A#
363N/AMODULE = smbsrv
3817N/AOBJECTS = $(SMBSRV_OBJS:%=$(OBJS_DIR)/%)
3817N/ALINTS = $(SMBSRV_OBJS:%.o=$(LINTS_DIR)/%.ln)
363N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
695N/ACONF_SRCDIR = $(UTSBASE)/common/fs/smbsrv
365N/A
363N/A#
363N/A# Include common rules.
363N/A#
363N/Ainclude $(UTSBASE)/intel/Makefile.intel
363N/A
2221N/A#
363N/A# Module dependencies
363N/A#
4662N/A#
695N/ALDFLAGS += -dy -Nfs/sockfs -Ndrv/ip -Nstrmod/rpcmod -Nsys/doorfs -Nmisc/kcf
363N/A
363N/A#
363N/A# Define targets
4250N/A#
814N/AALL_TARGET = $(BINARY)
363N/ALINT_TARGET = $(MODULE).lint
4820N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
791N/A
791N/A#
791N/A# Overrides.
4662N/A#
363N/AMODSTUBS_DIR = $(OBJS_DIR)
3062N/ACLEANFILES += $(MODSTUBS_O)
3062N/A
3062N/AINC_PATH += -I$(SRC)/common
3062N/A
363N/A#
7101N/A# Default build targets.
363N/A#
363N/A.KEEP_STATE:
363N/A
363N/Adef: $(DEF_DEPS)
363N/A
363N/Aall: $(ALL_DEPS)
363N/A
363N/Aclean: $(CLEAN_DEPS)
363N/A
363N/Aclobber: $(CLOBBER_DEPS)
363N/A
2221N/Alint: $(LINT_DEPS)
2221N/A
2221N/Amodlintlib: $(MODLINTLIB_DEPS)
2221N/A
2221N/Aclean.lint: $(CLEAN_LINT_DEPS)
2221N/A
2221N/Ainstall: $(INSTALL_DEPS)
363N/A
2221N/A$(ROOTLINK): $(ROOT_SYS_DIR) $(ROOTMODULE)
2221N/A -$(RM) $@; ln $(ROOTMODULE) $@
363N/A
2221N/A#
363N/A# Include common targets.
363N/A#
363N/Ainclude $(UTSBASE)/intel/Makefile.targ
363N/A