1342440ecSPrasad Singamsetty# 2342440ecSPrasad Singamsetty# CDDL HEADER START 3342440ecSPrasad Singamsetty# 4342440ecSPrasad Singamsetty# The contents of this file are subject to the terms of the 5342440ecSPrasad Singamsetty# Common Development and Distribution License (the "License"). 6342440ecSPrasad Singamsetty# You may not use this file except in compliance with the License. 7342440ecSPrasad Singamsetty# 8342440ecSPrasad Singamsetty# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9342440ecSPrasad Singamsetty# or http://www.opensolaris.org/os/licensing. 10342440ecSPrasad Singamsetty# See the License for the specific language governing permissions 11342440ecSPrasad Singamsetty# and limitations under the License. 12342440ecSPrasad Singamsetty# 13342440ecSPrasad Singamsetty# When distributing Covered Code, include this CDDL HEADER in each 14342440ecSPrasad Singamsetty# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15342440ecSPrasad Singamsetty# If applicable, add the following below this CDDL HEADER, with the 16342440ecSPrasad Singamsetty# fields enclosed by brackets "[]" replaced with your own identifying 17342440ecSPrasad Singamsetty# information: Portions Copyright [yyyy] [name of copyright owner] 18342440ecSPrasad Singamsetty# 19342440ecSPrasad Singamsetty# CDDL HEADER END 20342440ecSPrasad Singamsetty# 21342440ecSPrasad Singamsetty# 22342440ecSPrasad Singamsetty# uts/intel/dcfs/Makefile 23342440ecSPrasad Singamsetty# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 24342440ecSPrasad Singamsetty# Use is subject to license terms. 25342440ecSPrasad Singamsetty# 26342440ecSPrasad Singamsetty# This makefile drives the production of the dcfs file system 27342440ecSPrasad Singamsetty# kernel module. 28342440ecSPrasad Singamsetty# 29342440ecSPrasad Singamsetty# 30342440ecSPrasad Singamsetty 31342440ecSPrasad Singamsetty# 32342440ecSPrasad Singamsetty# Path to the base of the uts directory tree (usually /usr/src/uts). 33342440ecSPrasad Singamsetty# 34342440ecSPrasad SingamsettyUTSBASE = ../.. 35342440ecSPrasad Singamsetty 36342440ecSPrasad Singamsetty# 37342440ecSPrasad Singamsetty# Define the module and object file sets. 38342440ecSPrasad Singamsetty# 39342440ecSPrasad SingamsettyMODULE = dcfs 40342440ecSPrasad SingamsettyOBJECTS = $(DCFS_OBJS:%=$(OBJS_DIR)/%) 41342440ecSPrasad SingamsettyLINTS = $(DCFS_OBJS:%.o=$(LINTS_DIR)/%.ln) 42342440ecSPrasad SingamsettyROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) 43342440ecSPrasad Singamsetty 44342440ecSPrasad Singamsetty# 45342440ecSPrasad Singamsetty# Include common rules. 46342440ecSPrasad Singamsetty# 47342440ecSPrasad Singamsettyinclude $(UTSBASE)/intel/Makefile.intel 48342440ecSPrasad Singamsetty 49342440ecSPrasad Singamsetty# 50342440ecSPrasad Singamsetty# Define targets 51342440ecSPrasad Singamsetty# 52342440ecSPrasad SingamsettyALL_TARGET = $(BINARY) 53342440ecSPrasad SingamsettyLINT_TARGET = $(MODULE).lint 54342440ecSPrasad SingamsettyINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 55342440ecSPrasad Singamsetty 56342440ecSPrasad Singamsetty# 57342440ecSPrasad Singamsetty# Overrides. 58342440ecSPrasad Singamsetty# 59342440ecSPrasad SingamsettyCFLAGS += $(CCVERBOSE) 60342440ecSPrasad Singamsetty 61*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-parentheses 62*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized 63*7014882cSRichard Lowe 64342440ecSPrasad Singamsetty# 65342440ecSPrasad Singamsetty# Default build targets. 66342440ecSPrasad Singamsetty# 67342440ecSPrasad Singamsetty.KEEP_STATE: 68342440ecSPrasad Singamsetty 69342440ecSPrasad Singamsettydef: $(DEF_DEPS) 70342440ecSPrasad Singamsetty 71342440ecSPrasad Singamsettyall: $(ALL_DEPS) 72342440ecSPrasad Singamsetty 73342440ecSPrasad Singamsettyclean: $(CLEAN_DEPS) 74342440ecSPrasad Singamsetty 75342440ecSPrasad Singamsettyclobber: $(CLOBBER_DEPS) 76342440ecSPrasad Singamsetty 77342440ecSPrasad Singamsettylint: $(LINT_DEPS) 78342440ecSPrasad Singamsetty 79342440ecSPrasad Singamsettymodlintlib: $(MODLINTLIB_DEPS) 80342440ecSPrasad Singamsetty 81342440ecSPrasad Singamsettyclean.lint: $(CLEAN_LINT_DEPS) 82342440ecSPrasad Singamsetty 83342440ecSPrasad Singamsettyinstall: $(INSTALL_DEPS) 84342440ecSPrasad Singamsetty 85342440ecSPrasad Singamsetty# 86342440ecSPrasad Singamsetty# Include common targets. 87342440ecSPrasad Singamsetty# 88342440ecSPrasad Singamsettyinclude $(UTSBASE)/intel/Makefile.targ 89