2 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
3 # Use is subject to license terms.
5 # uts/intel/agpgart/Makefile
9 # This makefile drives the framework of agp protocol
10 # (agpgart) kernel module.
13 # Path to the base of the uts directory tree (usually /usr/src/uts).
18 # Define the module and object file sets.
21 OBJECTS
= $(AGPGART_OBJS
:%=$(OBJS_DIR
)/%)
22 ROOTMODULE
= $(ROOT_DRV_DIR
)/$(MODULE
)
23 CONF_SRCDIR
= $(UTSBASE
)/intel
/io
/agpgart
26 # Include common rules.
28 include $(UTSBASE
)/intel
/Makefile.intel
33 ALL_TARGET
= $(BINARY
) $(SRC_CONFFILE
)
34 INSTALL_TARGET
= $(BINARY
) $(ROOTMODULE
) $(ROOT_CONFFILE
)
36 CERRWARN
+= -Wno-switch
37 CERRWARN
+= -Wno-parentheses
38 CERRWARN
+= -Wno-uninitialized
41 # For now, disable these compiler warnings; maintainers should endeavor to
42 # investigate and remove these for maximum coverage. Please do not carry
43 # these forward to new Makefiles.
47 # Default build targets.
57 clobber: $(CLOBBER_DEPS
)
59 install: $(INSTALL_DEPS
)
62 # Include common targets.
64 include $(UTSBASE
)/intel
/Makefile.targ