1b3697b90SSteven Stallion# 2b3697b90SSteven Stallion# This file and its contents are supplied under the terms of the 3b3697b90SSteven Stallion# Common Development and Distribution License ("CDDL"), version 1.0. 4b3697b90SSteven Stallion# You may only use this file in accordance with the terms of version 5b3697b90SSteven Stallion# 1.0 of the CDDL. 6b3697b90SSteven Stallion# 7b3697b90SSteven Stallion# A full copy of the text of the CDDL should have accompanied this 8b3697b90SSteven Stallion# source. A copy of the CDDL is also available via the Internet at 9b3697b90SSteven Stallion# http://www.illumos.org/license/CDDL. 10b3697b90SSteven Stallion# 11b3697b90SSteven Stallion 12b3697b90SSteven Stallion# 13b3697b90SSteven Stallion# Path to the base of the uts directory tree (usually /usr/src/uts). 14b3697b90SSteven Stallion# 15b3697b90SSteven StallionUTSBASE = ../.. 16b3697b90SSteven Stallion 17b3697b90SSteven Stallion# 18b3697b90SSteven Stallion# Define the module and object file sets. 19b3697b90SSteven Stallion# 20b3697b90SSteven StallionMODULE = efe 21b3697b90SSteven StallionOBJECTS = $(EFE_OBJS:%=$(OBJS_DIR)/%) 22b3697b90SSteven StallionLINTS = $(EFE_OBJS:%.o=$(LINTS_DIR)/%.ln) 23b3697b90SSteven StallionROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 24b3697b90SSteven Stallion 25b3697b90SSteven Stallion# 26b3697b90SSteven Stallion# Include common rules. 27b3697b90SSteven Stallion# 28b3697b90SSteven Stallioninclude $(UTSBASE)/intel/Makefile.intel 29b3697b90SSteven Stallion 30b3697b90SSteven Stallion# 31b3697b90SSteven Stallion# Define targets. 32b3697b90SSteven Stallion# 33b3697b90SSteven StallionALL_TARGET = $(BINARY) 34b3697b90SSteven StallionLINT_TARGET = $(MODULE).lint 35b3697b90SSteven StallionINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 36b3697b90SSteven Stallion 37b3697b90SSteven Stallion# 38b3697b90SSteven Stallion# Driver flags. 39b3697b90SSteven Stallion# 40b3697b90SSteven StallionCFLAGS += $(CCVERBOSE) 41b3697b90SSteven StallionLDFLAGS += -dy -N misc/mac -N misc/mii 42b3697b90SSteven Stallion 43*d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT) 447014882cSRichard Lowe 45b3697b90SSteven Stallion# 46b3697b90SSteven Stallion# Default build targets. 47b3697b90SSteven Stallion# 48b3697b90SSteven Stallion.KEEP_STATE: 49b3697b90SSteven Stallion 50b3697b90SSteven Stalliondef: $(DEF_DEPS) 51b3697b90SSteven Stallion 52b3697b90SSteven Stallionall: $(ALL_DEPS) 53b3697b90SSteven Stallion 54b3697b90SSteven Stallionclean: $(CLEAN_DEPS) 55b3697b90SSteven Stallion 56b3697b90SSteven Stallionclobber: $(CLOBBER_DEPS) 57b3697b90SSteven Stallion 58b3697b90SSteven Stallionlint: $(LINT_DEPS) 59b3697b90SSteven Stallion 60b3697b90SSteven Stallionmodlintlib: $(MODLINTLIB_DEPS) 61b3697b90SSteven Stallion 62b3697b90SSteven Stallionclean.lint: $(CLEAN_LINT_DEPS) 63b3697b90SSteven Stallion 64b3697b90SSteven Stallioninstall: $(INSTALL_DEPS) 65b3697b90SSteven Stallion 66b3697b90SSteven Stallion# 67b3697b90SSteven Stallion# Include common targets. 68b3697b90SSteven Stallion# 69b3697b90SSteven Stallioninclude $(UTSBASE)/intel/Makefile.targ 70