xref: /illumos-gate/usr/src/uts/intel/afe/Makefile (revision 82d0151a507442720a3aea34c8925041894ab173)
11959748cSgd78059#
21959748cSgd78059# CDDL HEADER START
31959748cSgd78059#
41959748cSgd78059# The contents of this file are subject to the terms of the
51959748cSgd78059# Common Development and Distribution License (the "License").
61959748cSgd78059# You may not use this file except in compliance with the License.
71959748cSgd78059#
81959748cSgd78059# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
91959748cSgd78059# or http://www.opensolaris.org/os/licensing.
101959748cSgd78059# See the License for the specific language governing permissions
111959748cSgd78059# and limitations under the License.
121959748cSgd78059#
131959748cSgd78059# When distributing Covered Code, include this CDDL HEADER in each
141959748cSgd78059# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
151959748cSgd78059# If applicable, add the following below this CDDL HEADER, with the
161959748cSgd78059# fields enclosed by brackets "[]" replaced with your own identifying
171959748cSgd78059# information: Portions Copyright [yyyy] [name of copyright owner]
181959748cSgd78059#
191959748cSgd78059# CDDL HEADER END
201959748cSgd78059#
211959748cSgd78059#
22bdb9230aSGarrett D'Amore# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
231959748cSgd78059# Use is subject to license terms.
241959748cSgd78059#
251959748cSgd78059#	This makefile drives the production of the ADMtek
261959748cSgd78059#	Ethernet (AFE) driver module in intel systems
271959748cSgd78059#
281959748cSgd78059
291959748cSgd78059#
301959748cSgd78059#	Path to the base of the uts directory tree (usually /usr/src/uts).
311959748cSgd78059#
321959748cSgd78059UTSBASE		= ../..
331959748cSgd78059
341959748cSgd78059#
351959748cSgd78059#	Define the module and object file sets.
361959748cSgd78059#
371959748cSgd78059MODULE		= afe
381959748cSgd78059OBJECTS		= $(AFE_OBJS:%=$(OBJS_DIR)/%)
391959748cSgd78059ROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
401959748cSgd78059
411959748cSgd78059#
421959748cSgd78059#	Include common rules.
431959748cSgd78059#
441959748cSgd78059include $(UTSBASE)/intel/Makefile.intel
451959748cSgd78059
461959748cSgd78059#
471959748cSgd78059#	Define targets
481959748cSgd78059#
491959748cSgd78059ALL_TARGET	= $(BINARY)
501959748cSgd78059INSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
511959748cSgd78059
521959748cSgd78059#
531959748cSgd78059#	Overrides
541959748cSgd78059#
551959748cSgd78059
561959748cSgd78059#
571959748cSgd78059# Driver depends on GLD
581959748cSgd78059#
59*82d0151aSRichard LoweLDFLAGS		+= -N misc/mac -Nmisc/mii
601959748cSgd78059
611959748cSgd78059#
621959748cSgd78059#	Default build targets.
631959748cSgd78059#
641959748cSgd78059.KEEP_STATE:
651959748cSgd78059
661959748cSgd78059def:		$(DEF_DEPS)
671959748cSgd78059
681959748cSgd78059all:		$(ALL_DEPS)
691959748cSgd78059
701959748cSgd78059clean:		$(CLEAN_DEPS)
711959748cSgd78059
721959748cSgd78059clobber:	$(CLOBBER_DEPS)
731959748cSgd78059
741959748cSgd78059install:	$(INSTALL_DEPS)
751959748cSgd78059
761959748cSgd78059#
771959748cSgd78059#	Include common targets.
781959748cSgd78059#
791959748cSgd78059include $(UTSBASE)/intel/Makefile.targ
80