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/amd64_gart/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# (amd64_gart) 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 = amd64_gart 22*ae115bc7SmrjOBJECTS = $(AMD64GART_OBJS:%=$(OBJS_DIR)/%) 23*ae115bc7SmrjLINTS = $(AMD64GART_OBJS:%.o=$(LINTS_DIR)/%.ln) 24*ae115bc7SmrjROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 25*ae115bc7Smrj 26*ae115bc7Smrj# 27*ae115bc7Smrj# Include common rules. 28*ae115bc7Smrj# 29*ae115bc7Smrjinclude $(UTSBASE)/intel/Makefile.intel 30*ae115bc7Smrj 31*ae115bc7Smrj# 32*ae115bc7Smrj# Define targets 33*ae115bc7Smrj# 34*ae115bc7SmrjALL_TARGET = $(BINARY) 35*ae115bc7SmrjLINT_TARGET = $(MODULE).lint 36*ae115bc7SmrjINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 37*ae115bc7Smrj 38*ae115bc7Smrj# 39*ae115bc7Smrj# Default build targets. 40*ae115bc7Smrj# 41*ae115bc7Smrj.KEEP_STATE: 42*ae115bc7Smrj 43*ae115bc7Smrjdef: $(DEF_DEPS) 44*ae115bc7Smrj 45*ae115bc7Smrjall: $(ALL_DEPS) 46*ae115bc7Smrj 47*ae115bc7Smrjclean: $(CLEAN_DEPS) 48*ae115bc7Smrj 49*ae115bc7Smrjclobber: $(CLOBBER_DEPS) 50*ae115bc7Smrj 51*ae115bc7Smrjlint: $(LINT_DEPS) 52*ae115bc7Smrj 53*ae115bc7Smrjmodlintlib: $(MODLINTLIB_DEPS) 54*ae115bc7Smrj 55*ae115bc7Smrjclean.lint: $(CLEAN_LINT_DEPS) 56*ae115bc7Smrj 57*ae115bc7Smrjinstall: $(INSTALL_DEPS) 58*ae115bc7Smrj 59*ae115bc7Smrj# 60*ae115bc7Smrj# Include common targets. 61*ae115bc7Smrj# 62*ae115bc7Smrjinclude $(UTSBASE)/intel/Makefile.targ 63