1*ae115bc7Smrj# 2*ae115bc7Smrj# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 3*ae115bc7Smrj# Use is subject to license terms. 4*ae115bc7Smrj# 5*ae115bc7Smrj# uts/intel/agpgart/Makefile 6*ae115bc7Smrj# 7*ae115bc7Smrj# 8*ae115bc7Smrj#ident "%Z%%M% %I% %E% SMI" 9*ae115bc7Smrj# 10*ae115bc7Smrj# This makefile drives the framework of agp protocol 11*ae115bc7Smrj# (agpgart) kernel module. 12*ae115bc7Smrj# 13*ae115bc7Smrj# 14*ae115bc7Smrj# Path to the base of the uts directory tree (usually /usr/src/uts). 15*ae115bc7Smrj# 16*ae115bc7SmrjUTSBASE = ../.. 17*ae115bc7Smrj 18*ae115bc7Smrj# 19*ae115bc7Smrj# Define the module and object file sets. 20*ae115bc7Smrj# 21*ae115bc7SmrjMODULE = agpgart 22*ae115bc7SmrjOBJECTS = $(AGPGART_OBJS:%=$(OBJS_DIR)/%) 23*ae115bc7SmrjLINTS = $(AGPGART_OBJS:%.o=$(LINTS_DIR)/%.ln) 24*ae115bc7SmrjROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 25*ae115bc7SmrjCONF_SRCDIR = $(UTSBASE)/intel/io/agpgart 26*ae115bc7Smrj 27*ae115bc7Smrj# 28*ae115bc7Smrj# Include common rules. 29*ae115bc7Smrj# 30*ae115bc7Smrjinclude $(UTSBASE)/intel/Makefile.intel 31*ae115bc7Smrj 32*ae115bc7Smrj# 33*ae115bc7Smrj# Define targets 34*ae115bc7Smrj# 35*ae115bc7SmrjALL_TARGET = $(BINARY) $(SRC_CONFILE) 36*ae115bc7SmrjLINT_TARGET = $(MODULE).lint 37*ae115bc7SmrjINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 38*ae115bc7Smrj 39*ae115bc7Smrj# 40*ae115bc7Smrj# For now, disable these lint checks; maintainers should endeavor 41*ae115bc7Smrj# to investigate and remove these for maximum lint coverage. 42*ae115bc7Smrj# Please do not carry these forward to new Makefiles. 43*ae115bc7Smrj# 44*ae115bc7SmrjLINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON 45*ae115bc7SmrjLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN 46*ae115bc7SmrjLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV 47*ae115bc7Smrj 48*ae115bc7Smrj# 49*ae115bc7Smrj# Default build targets. 50*ae115bc7Smrj# 51*ae115bc7Smrj.KEEP_STATE: 52*ae115bc7Smrj 53*ae115bc7Smrjdef: $(DEF_DEPS) 54*ae115bc7Smrj 55*ae115bc7Smrjall: $(ALL_DEPS) 56*ae115bc7Smrj 57*ae115bc7Smrjclean: $(CLEAN_DEPS) 58*ae115bc7Smrj 59*ae115bc7Smrjclobber: $(CLOBBER_DEPS) 60*ae115bc7Smrj 61*ae115bc7Smrjlint: $(LINT_DEPS) 62*ae115bc7Smrj 63*ae115bc7Smrjmodlintlib: $(MODLINTLIB_DEPS) 64*ae115bc7Smrj 65*ae115bc7Smrjclean.lint: $(CLEAN_LINT_DEPS) 66*ae115bc7Smrj 67*ae115bc7Smrjinstall: $(INSTALL_DEPS) 68*ae115bc7Smrj 69*ae115bc7Smrj# 70*ae115bc7Smrj# Include common targets. 71*ae115bc7Smrj# 72*ae115bc7Smrjinclude $(UTSBASE)/intel/Makefile.targ 73