1*a237e38eSth199096# 2*a237e38eSth199096# CDDL HEADER START 3*a237e38eSth199096# 4*a237e38eSth199096# The contents of this file are subject to the terms of the 5*a237e38eSth199096# Common Development and Distribution License (the "License"). 6*a237e38eSth199096# You may not use this file except in compliance with the License. 7*a237e38eSth199096# 8*a237e38eSth199096# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*a237e38eSth199096# or http://www.opensolaris.org/os/licensing. 10*a237e38eSth199096# See the License for the specific language governing permissions 11*a237e38eSth199096# and limitations under the License. 12*a237e38eSth199096# 13*a237e38eSth199096# When distributing Covered Code, include this CDDL HEADER in each 14*a237e38eSth199096# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*a237e38eSth199096# If applicable, add the following below this CDDL HEADER, with the 16*a237e38eSth199096# fields enclosed by brackets "[]" replaced with your own identifying 17*a237e38eSth199096# information: Portions Copyright [yyyy] [name of copyright owner] 18*a237e38eSth199096# 19*a237e38eSth199096# CDDL HEADER END 20*a237e38eSth199096# 21*a237e38eSth199096# 22*a237e38eSth199096# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23*a237e38eSth199096# Use is subject to license terms. 24*a237e38eSth199096# 25*a237e38eSth199096# ident "%Z%%M% %I% %E% SMI" 26*a237e38eSth199096# 27*a237e38eSth199096# This makefile drives the production of the sharetab file system 28*a237e38eSth199096# kernel module. 29*a237e38eSth199096# 30*a237e38eSth199096# intel implementation architecture dependent 31*a237e38eSth199096# 32*a237e38eSth199096 33*a237e38eSth199096# 34*a237e38eSth199096# Path to the base of the uts directory tree (usually /usr/src/uts). 35*a237e38eSth199096# 36*a237e38eSth199096UTSBASE = ../.. 37*a237e38eSth199096 38*a237e38eSth199096# 39*a237e38eSth199096# Define the module and object file sets. 40*a237e38eSth199096# 41*a237e38eSth199096MODULE = sharefs 42*a237e38eSth199096OBJECTS = $(SHAREFS_OBJS:%=$(OBJS_DIR)/%) 43*a237e38eSth199096LINTS = $(SHAREFS_OBJS:%.o=$(LINTS_DIR)/%.ln) 44*a237e38eSth199096ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) 45*a237e38eSth199096 46*a237e38eSth199096# 47*a237e38eSth199096# Include common rules. 48*a237e38eSth199096# 49*a237e38eSth199096include $(UTSBASE)/intel/Makefile.intel 50*a237e38eSth199096 51*a237e38eSth199096# 52*a237e38eSth199096# Define targets 53*a237e38eSth199096# 54*a237e38eSth199096ALL_TARGET = $(BINARY) 55*a237e38eSth199096LINT_TARGET = $(MODULE).lint 56*a237e38eSth199096INSTALL_TARGET = $(BINARY) $(ROOTMODULE) 57*a237e38eSth199096 58*a237e38eSth199096# 59*a237e38eSth199096# Overrides. 60*a237e38eSth199096# 61*a237e38eSth199096CFLAGS += $(CCVERBOSE) 62*a237e38eSth199096 63*a237e38eSth199096# 64*a237e38eSth199096# Default build targets. 65*a237e38eSth199096# 66*a237e38eSth199096.KEEP_STATE: 67*a237e38eSth199096 68*a237e38eSth199096def: $(DEF_DEPS) 69*a237e38eSth199096 70*a237e38eSth199096all: $(ALL_DEPS) 71*a237e38eSth199096 72*a237e38eSth199096clean: $(CLEAN_DEPS) 73*a237e38eSth199096 74*a237e38eSth199096clobber: $(CLOBBER_DEPS) 75*a237e38eSth199096 76*a237e38eSth199096lint: $(LINT_DEPS) 77*a237e38eSth199096 78*a237e38eSth199096modlintlib: $(MODLINTLIB_DEPS) 79*a237e38eSth199096 80*a237e38eSth199096clean.lint: $(CLEAN_LINT_DEPS) 81*a237e38eSth199096 82*a237e38eSth199096install: $(INSTALL_DEPS) 83*a237e38eSth199096 84*a237e38eSth199096# 85*a237e38eSth199096# Include common targets. 86*a237e38eSth199096# 87*a237e38eSth199096include $(UTSBASE)/intel/Makefile.targ 88