1*7c478bd9Sstevel@tonic-gate# 2*7c478bd9Sstevel@tonic-gate#ident "%Z%%M% %I% %E% SMI" 3*7c478bd9Sstevel@tonic-gate# 4*7c478bd9Sstevel@tonic-gate# Copyright 2004 Sun Microsystems, Inc. All rights reserved. 5*7c478bd9Sstevel@tonic-gate# Use is subject to license terms. 6*7c478bd9Sstevel@tonic-gate 7*7c478bd9Sstevel@tonic-gate# This makefile drives the production of the grover_fans driver. 8*7c478bd9Sstevel@tonic-gate# 9*7c478bd9Sstevel@tonic-gate# Path to the base of the uts directory tree (usually /usr/src/uts). 10*7c478bd9Sstevel@tonic-gate 11*7c478bd9Sstevel@tonic-gateUTSBASE = ../../.. 12*7c478bd9Sstevel@tonic-gate 13*7c478bd9Sstevel@tonic-gate# 14*7c478bd9Sstevel@tonic-gate# Define the module and object file sets. 15*7c478bd9Sstevel@tonic-gate# 16*7c478bd9Sstevel@tonic-gateMODULE = grfans 17*7c478bd9Sstevel@tonic-gateOBJECTS = $(GRFANS_OBJS:%=$(OBJS_DIR)/%) 18*7c478bd9Sstevel@tonic-gateLINTS = $(GRFANS_OBJS:%.o=$(LINTS_DIR)/%.ln) 19*7c478bd9Sstevel@tonic-gateROOTMODULE = $(ROOT_GROVER_DRV_DIR)/$(MODULE) 20*7c478bd9Sstevel@tonic-gate 21*7c478bd9Sstevel@tonic-gate# 22*7c478bd9Sstevel@tonic-gate# Include common rules. 23*7c478bd9Sstevel@tonic-gate# 24*7c478bd9Sstevel@tonic-gateinclude $(UTSBASE)/sun4u/grover/Makefile.grover 25*7c478bd9Sstevel@tonic-gate 26*7c478bd9Sstevel@tonic-gate# 27*7c478bd9Sstevel@tonic-gate# lint pass one enforcement 28*7c478bd9Sstevel@tonic-gate# 29*7c478bd9Sstevel@tonic-gateCFLAGS += $(CCVERBOSE) 30*7c478bd9Sstevel@tonic-gate 31*7c478bd9Sstevel@tonic-gateCPPFLAGS += -I$(UTSBASE)/sun4u/grover 32*7c478bd9Sstevel@tonic-gate 33*7c478bd9Sstevel@tonic-gate# 34*7c478bd9Sstevel@tonic-gate# Define targets 35*7c478bd9Sstevel@tonic-gate# 36*7c478bd9Sstevel@tonic-gateALL_TARGET = $(BINARY) 37*7c478bd9Sstevel@tonic-gateLINT_TARGET = $(MODULE).lint 38*7c478bd9Sstevel@tonic-gateINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 39*7c478bd9Sstevel@tonic-gate 40*7c478bd9Sstevel@tonic-gate.KEEP_STATE: 41*7c478bd9Sstevel@tonic-gate 42*7c478bd9Sstevel@tonic-gatedef: $(DEF_DEPS) 43*7c478bd9Sstevel@tonic-gate 44*7c478bd9Sstevel@tonic-gateall: $(ALL_DEPS) 45*7c478bd9Sstevel@tonic-gate 46*7c478bd9Sstevel@tonic-gateclean: $(CLEAN_DEPS) 47*7c478bd9Sstevel@tonic-gate 48*7c478bd9Sstevel@tonic-gateclobber: $(CLOBBER_DEPS) 49*7c478bd9Sstevel@tonic-gate 50*7c478bd9Sstevel@tonic-gatelint: $(LINT_DEPS) 51*7c478bd9Sstevel@tonic-gate 52*7c478bd9Sstevel@tonic-gatemodlintlib: $(MODLINTLIB_DEPS) 53*7c478bd9Sstevel@tonic-gate 54*7c478bd9Sstevel@tonic-gateclean.lint: $(CLEAN_LINT_DEPS) 55*7c478bd9Sstevel@tonic-gate 56*7c478bd9Sstevel@tonic-gateinstall: $(INSTALL_DEPS) 57*7c478bd9Sstevel@tonic-gate 58*7c478bd9Sstevel@tonic-gate# 59*7c478bd9Sstevel@tonic-gate# Include common targets 60*7c478bd9Sstevel@tonic-gate# 61*7c478bd9Sstevel@tonic-gateinclude $(UTSBASE)/sun4u/grover/Makefile.targ 62