xref: /titanic_50/usr/src/uts/intel/agpgart/Makefile (revision 3c112a2b34403220c06c3e2fcac403358cfba168)
1#
2# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5# uts/intel/agpgart/Makefile
6#
7#
8#ident	"%Z%%M%	%I%	%E% SMI"
9#
10#	This makefile drives the framework of agp protocol
11#	(agpgart) 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		= agpgart
22OBJECTS		= $(AGPGART_OBJS:%=$(OBJS_DIR)/%)
23LINTS		= $(AGPGART_OBJS:%.o=$(LINTS_DIR)/%.ln)
24ROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
25CONF_SRCDIR	= $(UTSBASE)/intel/io/agpgart
26
27#
28#	Include common rules.
29#
30include $(UTSBASE)/intel/Makefile.intel
31
32#
33#	Define targets
34#
35ALL_TARGET	= $(BINARY) $(SRC_CONFILE)
36LINT_TARGET	= $(MODULE).lint
37INSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
38
39#
40# For now, disable these lint checks; maintainers should endeavor
41# to investigate and remove these for maximum lint coverage.
42# Please do not carry these forward to new Makefiles.
43#
44LINTTAGS	+= -erroff=E_BAD_PTR_CAST_ALIGN
45
46#
47#	Default build targets.
48#
49.KEEP_STATE:
50
51def:		$(DEF_DEPS)
52
53all:		$(ALL_DEPS)
54
55clean:		$(CLEAN_DEPS)
56
57clobber:	$(CLOBBER_DEPS)
58
59lint:		$(LINT_DEPS)
60
61modlintlib:	$(MODLINTLIB_DEPS)
62
63clean.lint:	$(CLEAN_LINT_DEPS)
64
65install:	$(INSTALL_DEPS)
66
67#
68#	Include common targets.
69#
70include $(UTSBASE)/intel/Makefile.targ
71