xref: /titanic_52/usr/src/uts/sparc/dcfs/Makefile (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
1986fd29aSsetje#
2986fd29aSsetje# CDDL HEADER START
3986fd29aSsetje#
4986fd29aSsetje# The contents of this file are subject to the terms of the
5986fd29aSsetje# Common Development and Distribution License (the "License").
6986fd29aSsetje# You may not use this file except in compliance with the License.
7986fd29aSsetje#
8986fd29aSsetje# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9986fd29aSsetje# or http://www.opensolaris.org/os/licensing.
10986fd29aSsetje# See the License for the specific language governing permissions
11986fd29aSsetje# and limitations under the License.
12986fd29aSsetje#
13986fd29aSsetje# When distributing Covered Code, include this CDDL HEADER in each
14986fd29aSsetje# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15986fd29aSsetje# If applicable, add the following below this CDDL HEADER, with the
16986fd29aSsetje# fields enclosed by brackets "[]" replaced with your own identifying
17986fd29aSsetje# information: Portions Copyright [yyyy] [name of copyright owner]
18986fd29aSsetje#
19986fd29aSsetje# CDDL HEADER END
20986fd29aSsetje#
21986fd29aSsetje#
22986fd29aSsetje# uts/sparc/dcfs/Makefile
23986fd29aSsetje# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
24986fd29aSsetje# Use is subject to license terms.
25986fd29aSsetje#
26*7014882cSRichard Lowe
27986fd29aSsetje#
28986fd29aSsetje#	This makefile drives the production of the dcfs file system
29986fd29aSsetje#	kernel module.
30986fd29aSsetje#
31986fd29aSsetje#	sparc architecture dependent
32986fd29aSsetje#
33986fd29aSsetje
34986fd29aSsetje#
35986fd29aSsetje#	Path to the base of the uts directory tree (usually /usr/src/uts).
36986fd29aSsetje#
37986fd29aSsetjeUTSBASE	= ../..
38986fd29aSsetje
39986fd29aSsetje#
40986fd29aSsetje#	Define the module and object file sets.
41986fd29aSsetje#
42986fd29aSsetjeMODULE		= dcfs
43986fd29aSsetjeOBJECTS		= $(DCFS_OBJS:%=$(OBJS_DIR)/%)
44986fd29aSsetjeLINTS		= $(DCFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
45986fd29aSsetjeROOTMODULE	= $(ROOT_FS_DIR)/$(MODULE)
46986fd29aSsetje
47986fd29aSsetje#
48986fd29aSsetje#	Include common rules.
49986fd29aSsetje#
50986fd29aSsetjeinclude $(UTSBASE)/sparc/Makefile.sparc
51986fd29aSsetje
52986fd29aSsetje#
53986fd29aSsetje#	Define targets
54986fd29aSsetje#
55986fd29aSsetjeALL_TARGET	= $(BINARY)
56986fd29aSsetjeLINT_TARGET	= $(MODULE).lint
57986fd29aSsetjeINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
58986fd29aSsetje
59986fd29aSsetje#
60986fd29aSsetje#	Overrides.
61986fd29aSsetje#
62986fd29aSsetjeCFLAGS		+= $(CCVERBOSE)
63986fd29aSsetje
64*7014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-parentheses
65*7014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-uninitialized
66*7014882cSRichard Lowe
67986fd29aSsetje#
68986fd29aSsetje#	Default build targets.
69986fd29aSsetje#
70986fd29aSsetje.KEEP_STATE:
71986fd29aSsetje
72986fd29aSsetjedef:		$(DEF_DEPS)
73986fd29aSsetje
74986fd29aSsetjeall:		$(ALL_DEPS)
75986fd29aSsetje
76986fd29aSsetjeclean:		$(CLEAN_DEPS)
77986fd29aSsetje
78986fd29aSsetjeclobber:	$(CLOBBER_DEPS)
79986fd29aSsetje
80986fd29aSsetjelint:		$(LINT_DEPS)
81986fd29aSsetje
82986fd29aSsetjemodlintlib:	$(MODLINTLIB_DEPS)
83986fd29aSsetje
84986fd29aSsetjeclean.lint:	$(CLEAN_LINT_DEPS)
85986fd29aSsetje
86986fd29aSsetjeinstall:	$(INSTALL_DEPS)
87986fd29aSsetje
88986fd29aSsetje#
89986fd29aSsetje#	Include common targets.
90986fd29aSsetje#
91986fd29aSsetjeinclude $(UTSBASE)/sparc/Makefile.targ
92