xref: /titanic_44/usr/src/uts/intel/agptarget/Makefile (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
1ae115bc7Smrj#
20035d21cSmiao chen - Sun Microsystems - Beijing China# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
3ae115bc7Smrj# Use is subject to license terms.
4ae115bc7Smrj#
5ae115bc7Smrj# uts/intel/agptarget/Makefile
6ae115bc7Smrj#
7ae115bc7Smrj#
8ae115bc7Smrj#	This makefile drives the framework of agp protocol
9ae115bc7Smrj#	(agptarget) kernel module.
10ae115bc7Smrj#
11ae115bc7Smrj#
12ae115bc7Smrj#	Path to the base of the uts directory tree (usually /usr/src/uts).
13ae115bc7Smrj#
14ae115bc7SmrjUTSBASE = ../..
15ae115bc7Smrj
16ae115bc7Smrj#
17ae115bc7Smrj#	Define the module and object file sets.
18ae115bc7Smrj#
19ae115bc7SmrjMODULE		= agptarget
20ae115bc7SmrjOBJECTS		= $(AGPTARGET_OBJS:%=$(OBJS_DIR)/%)
21ae115bc7SmrjLINTS		= $(AGPTARGET_OBJS:%.o=$(LINTS_DIR)/%.ln)
22ae115bc7SmrjROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
23ae115bc7Smrj
24ae115bc7Smrj#
250035d21cSmiao chen - Sun Microsystems - Beijing China#       dependency
260035d21cSmiao chen - Sun Microsystems - Beijing China#
270035d21cSmiao chen - Sun Microsystems - Beijing ChinaLDFLAGS += -dy -Nmisc/busra
280035d21cSmiao chen - Sun Microsystems - Beijing China
290035d21cSmiao chen - Sun Microsystems - Beijing China#
30ae115bc7Smrj#	Include common rules.
31ae115bc7Smrj#
32ae115bc7Smrjinclude $(UTSBASE)/intel/Makefile.intel
33ae115bc7Smrj
34*7014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-uninitialized
35*7014882cSRichard Lowe
36ae115bc7Smrj#
37ae115bc7Smrj#	Define targets
38ae115bc7Smrj#
39ae115bc7SmrjALL_TARGET	= $(BINARY)
40ae115bc7SmrjLINT_TARGET	= $(MODULE).lint
41ae115bc7SmrjINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
42ae115bc7Smrj
43ae115bc7Smrj#
44ae115bc7Smrj#	Default build targets.
45ae115bc7Smrj#
46ae115bc7Smrj.KEEP_STATE:
47ae115bc7Smrj
48ae115bc7Smrjdef:		$(DEF_DEPS)
49ae115bc7Smrj
50ae115bc7Smrjall:		$(ALL_DEPS)
51ae115bc7Smrj
52ae115bc7Smrjclean:		$(CLEAN_DEPS)
53ae115bc7Smrj
54ae115bc7Smrjclobber:	$(CLOBBER_DEPS)
55ae115bc7Smrj
56ae115bc7Smrjlint:		$(LINT_DEPS)
57ae115bc7Smrj
58ae115bc7Smrjmodlintlib:	$(MODLINTLIB_DEPS)
59ae115bc7Smrj
60ae115bc7Smrjclean.lint:	$(CLEAN_LINT_DEPS)
61ae115bc7Smrj
62ae115bc7Smrjinstall:	$(INSTALL_DEPS)
63ae115bc7Smrj
64ae115bc7Smrj#
65ae115bc7Smrj#	Include common targets.
66ae115bc7Smrj#
67ae115bc7Smrjinclude $(UTSBASE)/intel/Makefile.targ
68