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 SingamsettyROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) 42342440ecSPrasad Singamsetty 43342440ecSPrasad Singamsetty# 44342440ecSPrasad Singamsetty# Include common rules. 45342440ecSPrasad Singamsetty# 46342440ecSPrasad Singamsettyinclude $(UTSBASE)/intel/Makefile.intel 47342440ecSPrasad Singamsetty 48342440ecSPrasad Singamsetty# 49342440ecSPrasad Singamsetty# Define targets 50342440ecSPrasad Singamsetty# 51342440ecSPrasad SingamsettyALL_TARGET = $(BINARY) 52342440ecSPrasad SingamsettyINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 53342440ecSPrasad Singamsetty 54342440ecSPrasad Singamsetty# 55342440ecSPrasad Singamsetty# Overrides. 56342440ecSPrasad Singamsetty# 57342440ecSPrasad SingamsettyCFLAGS += $(CCVERBOSE) 58342440ecSPrasad Singamsetty 597014882cSRichard LoweCERRWARN += -_gcc=-Wno-parentheses 60*d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT) 617014882cSRichard Lowe 62342440ecSPrasad Singamsetty# 63342440ecSPrasad Singamsetty# Default build targets. 64342440ecSPrasad Singamsetty# 65342440ecSPrasad Singamsetty.KEEP_STATE: 66342440ecSPrasad Singamsetty 67342440ecSPrasad Singamsettydef: $(DEF_DEPS) 68342440ecSPrasad Singamsetty 69342440ecSPrasad Singamsettyall: $(ALL_DEPS) 70342440ecSPrasad Singamsetty 71342440ecSPrasad Singamsettyclean: $(CLEAN_DEPS) 72342440ecSPrasad Singamsetty 73342440ecSPrasad Singamsettyclobber: $(CLOBBER_DEPS) 74342440ecSPrasad Singamsetty 75342440ecSPrasad Singamsettyinstall: $(INSTALL_DEPS) 76342440ecSPrasad Singamsetty 77342440ecSPrasad Singamsetty# 78342440ecSPrasad Singamsetty# Include common targets. 79342440ecSPrasad Singamsetty# 80342440ecSPrasad Singamsettyinclude $(UTSBASE)/intel/Makefile.targ 81