8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / uts / intel / agpgart / Makefile
blobe80b1db6cf3b8e35f33c88b03b55b0faad0d9c4b
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 LINTS = $(AGPGART_OBJS:%.o=$(LINTS_DIR)/%.ln)
23 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
24 CONF_SRCDIR = $(UTSBASE)/intel/io/agpgart
27 # Include common rules.
29 include $(UTSBASE)/intel/Makefile.intel
32 # Define targets
34 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
35 LINT_TARGET = $(MODULE).lint
36 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
38 CERRWARN += -_gcc=-Wno-switch
39 CERRWARN += -_gcc=-Wno-parentheses
40 CERRWARN += -_gcc=-Wno-uninitialized
43 # For now, disable these lint checks; maintainers should endeavor
44 # to investigate and remove these for maximum lint coverage.
45 # Please do not carry these forward to new Makefiles.
47 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
50 # Default build targets.
52 .KEEP_STATE:
54 def: $(DEF_DEPS)
56 all: $(ALL_DEPS)
58 clean: $(CLEAN_DEPS)
60 clobber: $(CLOBBER_DEPS)
62 lint: $(LINT_DEPS)
64 modlintlib: $(MODLINTLIB_DEPS)
66 clean.lint: $(CLEAN_LINT_DEPS)
68 install: $(INSTALL_DEPS)
71 # Include common targets.
73 include $(UTSBASE)/intel/Makefile.targ