xref: /titanic_50/usr/src/uts/intel/agpgart/Makefile (revision b5d3ab78446c645a1150b57b7a58b535229ee742)
1ae115bc7Smrj#
2*b5d3ab78Shh224818# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
3ae115bc7Smrj# Use is subject to license terms.
4ae115bc7Smrj#
5ae115bc7Smrj# uts/intel/agpgart/Makefile
6ae115bc7Smrj#
7ae115bc7Smrj#
8ae115bc7Smrj#ident	"%Z%%M%	%I%	%E% SMI"
9ae115bc7Smrj#
10ae115bc7Smrj#	This makefile drives the framework of agp protocol
11ae115bc7Smrj#	(agpgart) kernel module.
12ae115bc7Smrj#
13ae115bc7Smrj#
14ae115bc7Smrj#	Path to the base of the uts directory tree (usually /usr/src/uts).
15ae115bc7Smrj#
16ae115bc7SmrjUTSBASE = ../..
17ae115bc7Smrj
18ae115bc7Smrj#
19ae115bc7Smrj#	Define the module and object file sets.
20ae115bc7Smrj#
21ae115bc7SmrjMODULE		= agpgart
22ae115bc7SmrjOBJECTS		= $(AGPGART_OBJS:%=$(OBJS_DIR)/%)
23ae115bc7SmrjLINTS		= $(AGPGART_OBJS:%.o=$(LINTS_DIR)/%.ln)
24ae115bc7SmrjROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
25ae115bc7SmrjCONF_SRCDIR	= $(UTSBASE)/intel/io/agpgart
26ae115bc7Smrj
27ae115bc7Smrj#
28ae115bc7Smrj#	Include common rules.
29ae115bc7Smrj#
30ae115bc7Smrjinclude $(UTSBASE)/intel/Makefile.intel
31ae115bc7Smrj
32ae115bc7Smrj#
33ae115bc7Smrj#	Define targets
34ae115bc7Smrj#
35ae115bc7SmrjALL_TARGET	= $(BINARY) $(SRC_CONFILE)
36ae115bc7SmrjLINT_TARGET	= $(MODULE).lint
37ae115bc7SmrjINSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
38ae115bc7Smrj
39ae115bc7Smrj#
40ae115bc7Smrj# For now, disable these lint checks; maintainers should endeavor
41ae115bc7Smrj# to investigate and remove these for maximum lint coverage.
42ae115bc7Smrj# Please do not carry these forward to new Makefiles.
43ae115bc7Smrj#
44ae115bc7SmrjLINTTAGS	+= -erroff=E_BAD_PTR_CAST_ALIGN
45ae115bc7Smrj
46ae115bc7Smrj#
47ae115bc7Smrj#	Default build targets.
48ae115bc7Smrj#
49ae115bc7Smrj.KEEP_STATE:
50ae115bc7Smrj
51ae115bc7Smrjdef:		$(DEF_DEPS)
52ae115bc7Smrj
53ae115bc7Smrjall:		$(ALL_DEPS)
54ae115bc7Smrj
55ae115bc7Smrjclean:		$(CLEAN_DEPS)
56ae115bc7Smrj
57ae115bc7Smrjclobber:	$(CLOBBER_DEPS)
58ae115bc7Smrj
59ae115bc7Smrjlint:		$(LINT_DEPS)
60ae115bc7Smrj
61ae115bc7Smrjmodlintlib:	$(MODLINTLIB_DEPS)
62ae115bc7Smrj
63ae115bc7Smrjclean.lint:	$(CLEAN_LINT_DEPS)
64ae115bc7Smrj
65ae115bc7Smrjinstall:	$(INSTALL_DEPS)
66ae115bc7Smrj
67ae115bc7Smrj#
68ae115bc7Smrj#	Include common targets.
69ae115bc7Smrj#
70ae115bc7Smrjinclude $(UTSBASE)/intel/Makefile.targ
71