xref: /titanic_44/usr/src/uts/intel/agptarget/Makefile (revision d583b39bfb4e2571d3e41097c5c357ffe353ad45)
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
34CERRWARN	+= -_gcc=-Wno-uninitialized
35
36#
37#	Define targets
38#
39ALL_TARGET	= $(BINARY)
40LINT_TARGET	= $(MODULE).lint
41INSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
42
43#
44#	Default build targets.
45#
46.KEEP_STATE:
47
48def:		$(DEF_DEPS)
49
50all:		$(ALL_DEPS)
51
52clean:		$(CLEAN_DEPS)
53
54clobber:	$(CLOBBER_DEPS)
55
56lint:		$(LINT_DEPS)
57
58modlintlib:	$(MODLINTLIB_DEPS)
59
60clean.lint:	$(CLEAN_LINT_DEPS)
61
62install:	$(INSTALL_DEPS)
63
64#
65#	Include common targets.
66#
67include $(UTSBASE)/intel/Makefile.targ
68