xref: /illumos-gate/usr/src/uts/intel/dmfe/Makefile (revision 82d0151a507442720a3aea34c8925041894ab173)
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)/%)
395c1d0199Sgd78059ROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
405c1d0199Sgd78059
415c1d0199Sgd78059#
425c1d0199Sgd78059#	Include common rules.
435c1d0199Sgd78059#
445c1d0199Sgd78059include $(UTSBASE)/intel/Makefile.intel
455c1d0199Sgd78059
465c1d0199Sgd78059#
475c1d0199Sgd78059#	Define targets
485c1d0199Sgd78059#
49bdb9230aSGarrett D'AmoreALL_TARGET	= $(BINARY)
50bdb9230aSGarrett D'AmoreINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
515c1d0199Sgd78059
525c1d0199Sgd78059#
530aaef2f5SRichard Lowe# For now, disable these warnings; maintainers should endeavor
540aaef2f5SRichard Lowe# to investigate and remove these for maximum coverage.
550aaef2f5SRichard Lowe# Please do not carry these forward to new Makefiles.
565c1d0199Sgd78059#
575c1d0199Sgd78059CFLAGS		+= $(CCVERBOSE)
58d3b5f563SJohn LevonCERRWARN	+= $(CNOWARN_UNINIT)
597014882cSRichard Lowe
605c1d0199Sgd78059#
615c1d0199Sgd78059# extra link arguments
625c1d0199Sgd78059#
63*82d0151aSRichard LoweLDFLAGS += -N misc/mac -N misc/mii
645c1d0199Sgd78059
655c1d0199Sgd78059#
665c1d0199Sgd78059#	Default build targets.
675c1d0199Sgd78059#
685c1d0199Sgd78059.KEEP_STATE:
695c1d0199Sgd78059
705c1d0199Sgd78059def:		$(DEF_DEPS)
715c1d0199Sgd78059
725c1d0199Sgd78059all:		$(ALL_DEPS)
735c1d0199Sgd78059
745c1d0199Sgd78059clean:		$(CLEAN_DEPS)
755c1d0199Sgd78059
765c1d0199Sgd78059clobber:	$(CLOBBER_DEPS)
775c1d0199Sgd78059
785c1d0199Sgd78059install:	$(INSTALL_DEPS)
795c1d0199Sgd78059
805c1d0199Sgd78059#
815c1d0199Sgd78059#	Include common targets.
825c1d0199Sgd78059#
835c1d0199Sgd78059include $(UTSBASE)/intel/Makefile.targ
84