xref: /titanic_50/usr/src/uts/intel/amd8111s/Makefile (revision 22eb7cb54d8a6bcf6fe2674cb4b1f0cf2d85cfb6)
175ab5f91Slh155975#
275ab5f91Slh155975# CDDL HEADER START
375ab5f91Slh155975#
475ab5f91Slh155975# The contents of this file are subject to the terms of the
575ab5f91Slh155975# Common Development and Distribution License (the "License").
675ab5f91Slh155975# You may not use this file except in compliance with the License.
775ab5f91Slh155975#
875ab5f91Slh155975# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
975ab5f91Slh155975# or http://www.opensolaris.org/os/licensing.
1075ab5f91Slh155975# See the License for the specific language governing permissions
1175ab5f91Slh155975# and limitations under the License.
1275ab5f91Slh155975#
1375ab5f91Slh155975# When distributing Covered Code, include this CDDL HEADER in each
1475ab5f91Slh155975# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1575ab5f91Slh155975# If applicable, add the following below this CDDL HEADER, with the
1675ab5f91Slh155975# fields enclosed by brackets "[]" replaced with your own identifying
1775ab5f91Slh155975# information: Portions Copyright [yyyy] [name of copyright owner]
1875ab5f91Slh155975#
1975ab5f91Slh155975# CDDL HEADER END
2075ab5f91Slh155975#
2175ab5f91Slh155975#
22*22eb7cb5Sgd78059# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
2375ab5f91Slh155975# Use is subject to license terms.
2475ab5f91Slh155975#
2575ab5f91Slh155975# ident	"%Z%%M%	%I%	%E% SMI"
2675ab5f91Slh155975#
2775ab5f91Slh155975#	This makefile drives the production of the AMD8111
2875ab5f91Slh155975#	Fast Ethernet (amd8111s) driver module in intel systems
2975ab5f91Slh155975#
3075ab5f91Slh155975
3175ab5f91Slh155975#
3275ab5f91Slh155975#	Path to the base of the uts directory tree (usually /usr/src/uts).
3375ab5f91Slh155975#
3475ab5f91Slh155975UTSBASE		= ../..
3575ab5f91Slh155975
3675ab5f91Slh155975#
3775ab5f91Slh155975#	Define the module and object file sets.
3875ab5f91Slh155975#
3975ab5f91Slh155975MODULE		= amd8111s
4075ab5f91Slh155975OBJECTS		= $(AMD8111S_OBJS:%=$(OBJS_DIR)/%)
4175ab5f91Slh155975LINTS		= $(AMD8111S_OBJS:%.o=$(LINTS_DIR)/%.ln)
4275ab5f91Slh155975ROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
4375ab5f91Slh155975
4475ab5f91Slh155975#
4575ab5f91Slh155975#	Include common rules.
4675ab5f91Slh155975#
4775ab5f91Slh155975include $(UTSBASE)/intel/Makefile.intel
4875ab5f91Slh155975
4975ab5f91Slh155975#
5075ab5f91Slh155975#	Define targets
5175ab5f91Slh155975#
5275ab5f91Slh155975ALL_TARGET	= $(BINARY)
5375ab5f91Slh155975LINT_TARGET	= $(MODULE).lint
5475ab5f91Slh155975INSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
5575ab5f91Slh155975
5675ab5f91Slh155975#
5775ab5f91Slh155975#	Overrides
5875ab5f91Slh155975#
5975ab5f91Slh155975
6075ab5f91Slh155975#
61*22eb7cb5Sgd78059# Driver depends on GLDv3
6275ab5f91Slh155975#
63*22eb7cb5Sgd78059LDFLAGS		+= -dy -N misc/mac
6475ab5f91Slh155975
6575ab5f91Slh155975#
6675ab5f91Slh155975#	Default build targets.
6775ab5f91Slh155975#
6875ab5f91Slh155975.KEEP_STATE:
6975ab5f91Slh155975
7075ab5f91Slh155975def:		$(DEF_DEPS)
7175ab5f91Slh155975
7275ab5f91Slh155975all:		$(ALL_DEPS)
7375ab5f91Slh155975
7475ab5f91Slh155975clean:		$(CLEAN_DEPS)
7575ab5f91Slh155975
7675ab5f91Slh155975clobber:	$(CLOBBER_DEPS)
7775ab5f91Slh155975
7875ab5f91Slh155975lint:		$(LINT_DEPS)
7975ab5f91Slh155975
8075ab5f91Slh155975modlintlib:	$(MODLINTLIB_DEPS)
8175ab5f91Slh155975
8275ab5f91Slh155975clean.lint:	$(CLEAN_LINT_DEPS)
8375ab5f91Slh155975
8475ab5f91Slh155975install:	$(INSTALL_DEPS)
8575ab5f91Slh155975
8675ab5f91Slh155975#
8775ab5f91Slh155975#	Include common targets.
8875ab5f91Slh155975#
8975ab5f91Slh155975include $(UTSBASE)/intel/Makefile.targ
90