xref: /illumos-gate/usr/src/uts/intel/rtls/Makefile (revision 82d0151a507442720a3aea34c8925041894ab173)
1cde2885fSGarrett D'Amore#
2cde2885fSGarrett D'Amore# CDDL HEADER START
3cde2885fSGarrett D'Amore#
4cde2885fSGarrett D'Amore# The contents of this file are subject to the terms of the
5cde2885fSGarrett D'Amore# Common Development and Distribution License (the "License").
6cde2885fSGarrett D'Amore# You may not use this file except in compliance with the License.
7cde2885fSGarrett D'Amore#
8cde2885fSGarrett D'Amore# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9cde2885fSGarrett D'Amore# or http://www.opensolaris.org/os/licensing.
10cde2885fSGarrett D'Amore# See the License for the specific language governing permissions
11cde2885fSGarrett D'Amore# and limitations under the License.
12cde2885fSGarrett D'Amore#
13cde2885fSGarrett D'Amore# When distributing Covered Code, include this CDDL HEADER in each
14cde2885fSGarrett D'Amore# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15cde2885fSGarrett D'Amore# If applicable, add the following below this CDDL HEADER, with the
16cde2885fSGarrett D'Amore# fields enclosed by brackets "[]" replaced with your own identifying
17cde2885fSGarrett D'Amore# information: Portions Copyright [yyyy] [name of copyright owner]
18cde2885fSGarrett D'Amore#
19cde2885fSGarrett D'Amore# CDDL HEADER END
20cde2885fSGarrett D'Amore#
21cde2885fSGarrett D'Amore#
22bbb1277bSGarrett D'Amore# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
23cde2885fSGarrett D'Amore# Use is subject to license terms.
24cde2885fSGarrett D'Amore#
25cde2885fSGarrett D'Amore#
26cde2885fSGarrett D'Amore#	This makefile drives the production of the Realtek
27cde2885fSGarrett D'Amore#	8139 Ethernet (RTLS) driver module in intel systems
28cde2885fSGarrett D'Amore#
29cde2885fSGarrett D'Amore
30cde2885fSGarrett D'Amore#
31cde2885fSGarrett D'Amore#	Path to the base of the uts directory tree (usually /usr/src/uts).
32cde2885fSGarrett D'Amore#
33cde2885fSGarrett D'AmoreUTSBASE		= ../..
34cde2885fSGarrett D'Amore
35cde2885fSGarrett D'Amore#
36cde2885fSGarrett D'Amore#	Define the module and object file sets.
37cde2885fSGarrett D'Amore#
38cde2885fSGarrett D'AmoreMODULE		= rtls
39cde2885fSGarrett D'AmoreOBJECTS		= $(RTLS_OBJS:%=$(OBJS_DIR)/%)
40cde2885fSGarrett D'AmoreROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
41cde2885fSGarrett D'Amore
42cde2885fSGarrett D'Amore#
43cde2885fSGarrett D'Amore#	Include common rules.
44cde2885fSGarrett D'Amore#
45cde2885fSGarrett D'Amoreinclude $(UTSBASE)/intel/Makefile.intel
46cde2885fSGarrett D'Amore
47cde2885fSGarrett D'Amore#
48cde2885fSGarrett D'Amore#	Define targets
49cde2885fSGarrett D'Amore#
50cde2885fSGarrett D'AmoreALL_TARGET	= $(BINARY)
51bbb1277bSGarrett D'AmoreINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
52cde2885fSGarrett D'Amore
53cde2885fSGarrett D'Amore#
54cde2885fSGarrett D'Amore#	Overrides
55cde2885fSGarrett D'Amore#
56cde2885fSGarrett D'Amore
57d3b5f563SJohn LevonCERRWARN	+= $(CNOWARN_UNINIT)
587014882cSRichard Lowe
59cde2885fSGarrett D'Amore#
60cde2885fSGarrett D'Amore# Driver depends on Mac
61cde2885fSGarrett D'Amore#
62*82d0151aSRichard LoweLDFLAGS		+= -N misc/mac -N misc/mii
63cde2885fSGarrett D'Amore
64cde2885fSGarrett D'Amore#
65cde2885fSGarrett D'Amore#	Default build targets.
66cde2885fSGarrett D'Amore#
67cde2885fSGarrett D'Amore.KEEP_STATE:
68cde2885fSGarrett D'Amore
69cde2885fSGarrett D'Amoredef:		$(DEF_DEPS)
70cde2885fSGarrett D'Amore
71cde2885fSGarrett D'Amoreall:		$(ALL_DEPS)
72cde2885fSGarrett D'Amore
73cde2885fSGarrett D'Amoreclean:		$(CLEAN_DEPS)
74cde2885fSGarrett D'Amore
75cde2885fSGarrett D'Amoreclobber:	$(CLOBBER_DEPS)
76cde2885fSGarrett D'Amore
77cde2885fSGarrett D'Amoreinstall:	$(INSTALL_DEPS)
78cde2885fSGarrett D'Amore
79cde2885fSGarrett D'Amore#
80cde2885fSGarrett D'Amore#	Include common targets.
81cde2885fSGarrett D'Amore#
82cde2885fSGarrett D'Amoreinclude $(UTSBASE)/intel/Makefile.targ
83