15c1d0199Sgd78059# 25c1d0199Sgd78059# CDDL HEADER START 35c1d0199Sgd78059# 45c1d0199Sgd78059# The contents of this file are subject to the terms of the 55c1d0199Sgd78059# Common Development and Distribution License (the "License"). 65c1d0199Sgd78059# You may not use this file except in compliance with the License. 75c1d0199Sgd78059# 85c1d0199Sgd78059# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 95c1d0199Sgd78059# or http://www.opensolaris.org/os/licensing. 105c1d0199Sgd78059# See the License for the specific language governing permissions 115c1d0199Sgd78059# and limitations under the License. 125c1d0199Sgd78059# 135c1d0199Sgd78059# When distributing Covered Code, include this CDDL HEADER in each 145c1d0199Sgd78059# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 155c1d0199Sgd78059# If applicable, add the following below this CDDL HEADER, with the 165c1d0199Sgd78059# fields enclosed by brackets "[]" replaced with your own identifying 175c1d0199Sgd78059# information: Portions Copyright [yyyy] [name of copyright owner] 185c1d0199Sgd78059# 195c1d0199Sgd78059# CDDL HEADER END 205c1d0199Sgd78059# 215c1d0199Sgd78059# uts/intel/dmfe/Makefile 225c1d0199Sgd78059# 23bdb9230aSGarrett D'Amore# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 24bdb9230aSGarrett D'Amore# Use is subject to license terms. 255c1d0199Sgd78059# 265c1d0199Sgd78059# This makefile drives the production of the dmfe driver module. 275c1d0199Sgd78059# 285c1d0199Sgd78059 295c1d0199Sgd78059# 305c1d0199Sgd78059# Path to the base of the uts directory tree (usually /usr/src/uts). 315c1d0199Sgd78059# 325c1d0199Sgd78059UTSBASE = ../.. 335c1d0199Sgd78059 345c1d0199Sgd78059# 355c1d0199Sgd78059# Define the module and object file sets. 365c1d0199Sgd78059# 375c1d0199Sgd78059MODULE = dmfe 385c1d0199Sgd78059OBJECTS = $(DMFE_OBJS:%=$(OBJS_DIR)/%) 395c1d0199Sgd78059LINTS = $(DMFE_OBJS:%.o=$(LINTS_DIR)/%.ln) 405c1d0199Sgd78059ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 415c1d0199Sgd78059 425c1d0199Sgd78059# 435c1d0199Sgd78059# Include common rules. 445c1d0199Sgd78059# 455c1d0199Sgd78059include $(UTSBASE)/intel/Makefile.intel 465c1d0199Sgd78059 475c1d0199Sgd78059# 485c1d0199Sgd78059# Define targets 495c1d0199Sgd78059# 50bdb9230aSGarrett D'AmoreALL_TARGET = $(BINARY) 515c1d0199Sgd78059LINT_TARGET = $(MODULE).lint 52bdb9230aSGarrett D'AmoreINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 535c1d0199Sgd78059 545c1d0199Sgd78059# 555c1d0199Sgd78059# lint pass one enforcement 565c1d0199Sgd78059# 575c1d0199Sgd78059CFLAGS += $(CCVERBOSE) 585c1d0199Sgd78059 59*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized 60*7014882cSRichard Lowe 615c1d0199Sgd78059# 625c1d0199Sgd78059# extra link arguments 635c1d0199Sgd78059# 64bdb9230aSGarrett D'AmoreLDFLAGS += -dy -N misc/mac -N misc/mii 655c1d0199Sgd78059 665c1d0199Sgd78059# 675c1d0199Sgd78059# Default build targets. 685c1d0199Sgd78059# 695c1d0199Sgd78059.KEEP_STATE: 705c1d0199Sgd78059 715c1d0199Sgd78059def: $(DEF_DEPS) 725c1d0199Sgd78059 735c1d0199Sgd78059all: $(ALL_DEPS) 745c1d0199Sgd78059 755c1d0199Sgd78059clean: $(CLEAN_DEPS) 765c1d0199Sgd78059 775c1d0199Sgd78059clobber: $(CLOBBER_DEPS) 785c1d0199Sgd78059 795c1d0199Sgd78059lint: $(LINT_DEPS) 805c1d0199Sgd78059 815c1d0199Sgd78059modlintlib: $(MODLINTLIB_DEPS) 825c1d0199Sgd78059 835c1d0199Sgd78059clean.lint: $(CLEAN_LINT_DEPS) 845c1d0199Sgd78059 855c1d0199Sgd78059install: $(INSTALL_DEPS) 865c1d0199Sgd78059 875c1d0199Sgd78059# 885c1d0199Sgd78059# Include common targets. 895c1d0199Sgd78059# 905c1d0199Sgd78059include $(UTSBASE)/intel/Makefile.targ 91