11959748cSgd# 21959748cSgd# CDDL HEADER START 31959748cSgd# 41959748cSgd# The contents of this file are subject to the terms of the 51959748cSgd# Common Development and Distribution License (the "License"). 61959748cSgd# You may not use this file except in compliance with the License. 71959748cSgd# 81959748cSgd# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 91959748cSgd# or http://www.opensolaris.org/os/licensing. 101959748cSgd# See the License for the specific language governing permissions 111959748cSgd# and limitations under the License. 121959748cSgd# 131959748cSgd# When distributing Covered Code, include this CDDL HEADER in each 141959748cSgd# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 151959748cSgd# If applicable, add the following below this CDDL HEADER, with the 161959748cSgd# fields enclosed by brackets "[]" replaced with your own identifying 171959748cSgd# information: Portions Copyright [yyyy] [name of copyright owner] 181959748cSgd# 191959748cSgd# CDDL HEADER END 201959748cSgd# 211959748cSgd# 22*bdb9230aSGarrett D'Amore# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 231959748cSgd# Use is subject to license terms. 241959748cSgd# 251959748cSgd# This makefile drives the production of the ADMtek 261959748cSgd# Ethernet (AFE) driver module in intel systems 271959748cSgd# 281959748cSgd 291959748cSgd# 301959748cSgd# Path to the base of the uts directory tree (usually /usr/src/uts). 311959748cSgd# 321959748cSgdUTSBASE = ../.. 331959748cSgd 341959748cSgd# 351959748cSgd# Define the module and object file sets. 361959748cSgd# 371959748cSgdMODULE = afe 381959748cSgdOBJECTS = $(AFE_OBJS:%=$(OBJS_DIR)/%) 391959748cSgdLINTS = $(AFE_OBJS:%.o=$(LINTS_DIR)/%.ln) 401959748cSgdROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 411959748cSgd 421959748cSgd# 431959748cSgd# Include common rules. 441959748cSgd# 451959748cSgdinclude $(UTSBASE)/intel/Makefile.intel 461959748cSgd 471959748cSgd# 481959748cSgd# Define targets 491959748cSgd# 501959748cSgdALL_TARGET = $(BINARY) 511959748cSgdLINT_TARGET = $(MODULE).lint 521959748cSgdINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 531959748cSgd 541959748cSgd# 551959748cSgd# Overrides 561959748cSgd# 571959748cSgd 581959748cSgd# 591959748cSgd# Driver depends on GLD 601959748cSgd# 61*bdb9230aSGarrett D'AmoreLDFLAGS += -dy -N misc/mac -Nmisc/mii 621959748cSgd 631959748cSgd# 641959748cSgd# Default build targets. 651959748cSgd# 661959748cSgd.KEEP_STATE: 671959748cSgd 681959748cSgddef: $(DEF_DEPS) 691959748cSgd 701959748cSgdall: $(ALL_DEPS) 711959748cSgd 721959748cSgdclean: $(CLEAN_DEPS) 731959748cSgd 741959748cSgdclobber: $(CLOBBER_DEPS) 751959748cSgd 761959748cSgdlint: $(LINT_DEPS) 771959748cSgd 781959748cSgdmodlintlib: $(MODLINTLIB_DEPS) 791959748cSgd 801959748cSgdclean.lint: $(CLEAN_LINT_DEPS) 811959748cSgd 821959748cSgdinstall: $(INSTALL_DEPS) 831959748cSgd 841959748cSgd# 851959748cSgd# Include common targets. 861959748cSgd# 871959748cSgdinclude $(UTSBASE)/intel/Makefile.targ 88