xref: /titanic_41/usr/src/uts/intel/amd64_gart/Makefile (revision d75e6a5d480f559280524b60d52730c76a25524f)
1#
2# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5# uts/intel/amd64_gart/Makefile
6#
7#
8#ident	"%Z%%M%	%I%	%E% SMI"
9#
10#	This makefile drives the framework of agp protocol
11#	(amd64_gart) 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		= amd64_gart
22OBJECTS		= $(AMD64GART_OBJS:%=$(OBJS_DIR)/%)
23LINTS		= $(AMD64GART_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