Merge commit 'cb41b9c565d4eec9e1f06e24d429696f59f2f07d'
[unleashed.git] / usr / src / uts / intel / agpgart / Makefile
blobefd2a3f56629001fd951007653140dfd7c036543
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).
15 UTSBASE = ../..
18 # Define the module and object file sets.
20 MODULE = agpgart
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
31 # Define targets
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.
49 .KEEP_STATE:
51 def: $(DEF_DEPS)
53 all: $(ALL_DEPS)
55 clean: $(CLEAN_DEPS)
57 clobber: $(CLOBBER_DEPS)
59 install: $(INSTALL_DEPS)
62 # Include common targets.
64 include $(UTSBASE)/intel/Makefile.targ