Makefile revision 269:7ed63f24aa15
1133359Sobrien# 2284778Sdelphij# CDDL HEADER START 3133359Sobrien# 4133359Sobrien# The contents of this file are subject to the terms of the 5226048Sobrien# Common Development and Distribution License, Version 1.0 only 6133359Sobrien# (the "License"). You may not use this file except in compliance 7267843Sdelphij# with the License. 8267843Sdelphij# 9267843Sdelphij# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10267843Sdelphij# or http://www.opensolaris.org/os/licensing. 11226048Sobrien# See the License for the specific language governing permissions 12133359Sobrien# and limitations under the License. 13267843Sdelphij# 14267843Sdelphij# When distributing Covered Code, include this CDDL HEADER in each 15267843Sdelphij# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16267843Sdelphij# If applicable, add the following below this CDDL HEADER, with the 17226048Sobrien# fields enclosed by brackets "[]" replaced with your own identifying 18133359Sobrien# information: Portions Copyright [yyyy] [name of copyright owner] 19267843Sdelphij# 20267843Sdelphij# CDDL HEADER END 21267843Sdelphij# 22267843Sdelphij# 23226048Sobrien# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 24133359Sobrien# Use is subject to license terms. 25133359Sobrien# 26267843Sdelphij#ident "%Z%%M% %I% %E% SMI" 27267843Sdelphij# 28267843Sdelphij# This makefile drives the production of the Broadcom BCM57xx 29234250Sobrien# Gigabit Ethernet (BGE) driver module in intel systems 30234250Sobrien# 31234250Sobrien 32234250Sobrien# 33267843Sdelphij# Path to the base of the uts directory tree (usually /usr/src/uts). 34267843Sdelphij# 35267843SdelphijUTSBASE = ../.. 36267843Sdelphij 37267843Sdelphij# 38234250Sobrien# Define the module and object file sets. 39234250Sobrien# 40234250SobrienMODULE = bge 41234250SobrienOBJECTS = $(BGE_OBJS:%=$(OBJS_DIR)/%) 42267843SdelphijLINTS = $(BGE_OBJS:%.o=$(LINTS_DIR)/%.ln) 43267843SdelphijROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 44267843SdelphijCONF_SRCDIR = $(UTSBASE)/common/io/bge 45267843Sdelphij 46186690Sobrien# 47186690Sobrien# Include common rules. 48186690Sobrien# 49186690Sobrieninclude $(UTSBASE)/intel/Makefile.intel 50186690Sobrien 51186690Sobrien# 52# Define targets 53# 54ALL_TARGET = $(BINARY) 55LINT_TARGET = $(MODULE).lint 56INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 57 58# 59# Overrides 60# 61 62# 63# Driver depends on MAC & IP 64# 65LDFLAGS += -dy -N misc/mac -N drv/ip 66 67# 68# Default build targets. 69# 70.KEEP_STATE: 71 72def: $(DEF_DEPS) 73 74all: $(ALL_DEPS) 75 76clean: $(CLEAN_DEPS) 77 78clobber: $(CLOBBER_DEPS) 79 80lint: $(LINT_DEPS) 81 82modlintlib: $(MODLINTLIB_DEPS) 83 84clean.lint: $(CLEAN_LINT_DEPS) 85 86install: $(INSTALL_DEPS) 87 88# 89# Include common targets. 90# 91include $(UTSBASE)/intel/Makefile.targ 92