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