xref: /titanic_41/usr/src/uts/sun4u/grover/grfans/Makefile (revision 5b2ba9d3d1e04dde804c89e9879f7dfc9bcebf61)
1#
2#ident	"%Z%%M%	%I%	%E% SMI"
3#
4# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
5# Use is subject to license terms.
6
7# This makefile drives the production of the grover_fans driver.
8#
9# Path to the base of the uts directory tree (usually /usr/src/uts).
10
11UTSBASE	= ../../..
12
13#
14#	Define the module and object file sets.
15#
16MODULE		= grfans
17OBJECTS		= $(GRFANS_OBJS:%=$(OBJS_DIR)/%)
18LINTS		= $(GRFANS_OBJS:%.o=$(LINTS_DIR)/%.ln)
19ROOTMODULE	= $(ROOT_GROVER_DRV_DIR)/$(MODULE)
20
21#
22#	Include common rules.
23#
24include $(UTSBASE)/sun4u/grover/Makefile.grover
25
26#
27# lint pass one enforcement
28#
29CFLAGS += $(CCVERBOSE)
30
31CPPFLAGS += -I$(UTSBASE)/sun4u/grover
32
33#
34#	Define targets
35#
36ALL_TARGET	= $(BINARY)
37LINT_TARGET	= $(MODULE).lint
38INSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
39
40.KEEP_STATE:
41
42def:		$(DEF_DEPS)
43
44all:		$(ALL_DEPS)
45
46clean:		$(CLEAN_DEPS)
47
48clobber:	$(CLOBBER_DEPS)
49
50lint:		$(LINT_DEPS)
51
52modlintlib:	$(MODLINTLIB_DEPS)
53
54clean.lint:	$(CLEAN_LINT_DEPS)
55
56install:	$(INSTALL_DEPS)
57
58#
59#	Include common targets
60#
61include $(UTSBASE)/sun4u/grover/Makefile.targ
62