Makefile revision 1325:6cca126e26d1
1178476Sjb# 2178476Sjb# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 3178476Sjb# Use is subject to license terms. 4178476Sjb# 5178476Sjb# ident "%Z%%M% %I% %E% SMI" 6178476Sjb# 7178476Sjb# This makefile drives the production of the amr driver kernel module. 8178476Sjb# 9178476Sjb# intel implementation architecture dependent 10178476Sjb# 11178476Sjb 12178476Sjb# 13178476Sjb# Path to the base of the uts directory tree (usually /usr/src/uts). 14178476Sjb# 15178476SjbUTSBASE = ../.. 16178476Sjb 17178476Sjb# 18178476Sjb# Define the module and object file sets. 19178476Sjb# 20178476SjbMODULE = amr 21178476SjbOBJECTS = $(AMR_OBJS:%=$(OBJS_DIR)/%) 22178476SjbLINTS = $(AMR_OBJS:%.o=$(LINTS_DIR)/%.ln) 23178476SjbROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 24178476SjbCONF_SRCDIR = $(UTSBASE)/intel/io/amr 25178476Sjb 26178476Sjb# 27178476Sjb# Include common rules. 28178476Sjb# 29178476Sjbinclude $(UTSBASE)/intel/Makefile.intel 30178476Sjb 31178476Sjb# 32178476Sjb# Define targets 33178476Sjb# 34178476SjbALL_TARGET = $(BINARY) $(CONFMOD) 35178476SjbLINT_TARGET = $(MODULE).lint 36178476SjbINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 37178476Sjb 38178476Sjb# 39178476Sjb# Overrides 40178476Sjb# 41178476Sjb 42# 43# Default build targets. 44# 45.KEEP_STATE: 46 47def: $(DEF_DEPS) 48 49all: $(ALL_DEPS) 50 51clean: $(CLEAN_DEPS) 52 53clobber: $(CLOBBER_DEPS) 54 55lint: $(LINT_DEPS) 56 57modlintlib: $(MODLINTLIB_DEPS) 58 59clean.lint: $(CLEAN_LINT_DEPS) 60 61install: $(INSTALL_DEPS) 62 63# 64# Include common targets. 65# 66include $(UTSBASE)/intel/Makefile.targ 67