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