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