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