xref: /illumos-gate/usr/src/uts/intel/si3124/Makefile (revision 82d0151a507442720a3aea34c8925041894ab173)
166f9d5cbSmlf#
266f9d5cbSmlf# CDDL HEADER START
366f9d5cbSmlf#
466f9d5cbSmlf# The contents of this file are subject to the terms of the
566f9d5cbSmlf# Common Development and Distribution License (the "License").
666f9d5cbSmlf# You may not use this file except in compliance with the License.
766f9d5cbSmlf#
866f9d5cbSmlf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
966f9d5cbSmlf# or http://www.opensolaris.org/os/licensing.
1066f9d5cbSmlf# See the License for the specific language governing permissions
1166f9d5cbSmlf# and limitations under the License.
1266f9d5cbSmlf#
1366f9d5cbSmlf# When distributing Covered Code, include this CDDL HEADER in each
1466f9d5cbSmlf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1566f9d5cbSmlf# If applicable, add the following below this CDDL HEADER, with the
1666f9d5cbSmlf# fields enclosed by brackets "[]" replaced with your own identifying
1766f9d5cbSmlf# information: Portions Copyright [yyyy] [name of copyright owner]
1866f9d5cbSmlf#
1966f9d5cbSmlf# CDDL HEADER END
2066f9d5cbSmlf#
2166f9d5cbSmlf
2266f9d5cbSmlf#
230cfc6e4aSxun ni - Sun Microsystems - Beijing China# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2466f9d5cbSmlf# Use is subject to license terms.
2566f9d5cbSmlf#
2666f9d5cbSmlf#
2766f9d5cbSmlf
2866f9d5cbSmlf#
2966f9d5cbSmlf#	This makefile drives the production of the
3066f9d5cbSmlf#	"platform/i86pc/kernel/drv/si3124" kernel module.
3166f9d5cbSmlf#
3266f9d5cbSmlf#	intel architecture dependent
3366f9d5cbSmlf#
3466f9d5cbSmlf
3566f9d5cbSmlf#
3666f9d5cbSmlf#	Path to the base of the uts directory tree (usually /usr/src/uts).
3766f9d5cbSmlf#
3866f9d5cbSmlfUTSBASE	= ../..
3966f9d5cbSmlf
4066f9d5cbSmlf#
4166f9d5cbSmlf#	Define the module and object file sets.
4266f9d5cbSmlf#
4366f9d5cbSmlfMODULE		= si3124
4466f9d5cbSmlfOBJECTS		= $(SI3124_OBJS:%=$(OBJS_DIR)/%)
4566f9d5cbSmlfROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
4666f9d5cbSmlfCONF_SRCDIR     = $(UTSBASE)/common/io/sata/adapters/si3124
4766f9d5cbSmlf
4866f9d5cbSmlf#
4966f9d5cbSmlf#	Include common rules.
5066f9d5cbSmlf#
5166f9d5cbSmlfinclude $(UTSBASE)/intel/Makefile.intel
5266f9d5cbSmlf
5366f9d5cbSmlf#
5466f9d5cbSmlf#	Define targets
5566f9d5cbSmlf#
5666f9d5cbSmlfALL_TARGET	= $(BINARY)
5766f9d5cbSmlfINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
5866f9d5cbSmlf
5966f9d5cbSmlf#
6066f9d5cbSmlf#	Overrides.
6166f9d5cbSmlf#
6266f9d5cbSmlfDEBUG_FLGS	=
6366f9d5cbSmlfDEBUG_DEFS	+= $(DEBUG_FLGS)
6466f9d5cbSmlf
65d3b5f563SJohn LevonCERRWARN	+= $(CNOWARN_UNINIT)
667014882cSRichard Lowe
6766f9d5cbSmlf#
680aaef2f5SRichard Lowe# For now, disable these warnings; maintainers should endeavor
690aaef2f5SRichard Lowe# to investigate and remove these for maximum coverage.
700aaef2f5SRichard Lowe# Please do not carry these forward to new Makefiles.
7166f9d5cbSmlf#
7266f9d5cbSmlfCFLAGS		+= $(CCVERBOSE)
7366f9d5cbSmlf
7466f9d5cbSmlf#
7566f9d5cbSmlf#
7666f9d5cbSmlf# we depend on the sata module
77*82d0151aSRichard LoweLDFLAGS += -N misc/sata
7866f9d5cbSmlf
7966f9d5cbSmlf#
8066f9d5cbSmlf#	Default build targets.
8166f9d5cbSmlf#
8266f9d5cbSmlf.KEEP_STATE:
8366f9d5cbSmlf
8466f9d5cbSmlfdef:		$(DEF_DEPS)
8566f9d5cbSmlf
8666f9d5cbSmlfall:		$(ALL_DEPS)
8766f9d5cbSmlf
8866f9d5cbSmlfclean:		$(CLEAN_DEPS)
8966f9d5cbSmlf
9066f9d5cbSmlfclobber:	$(CLOBBER_DEPS)
9166f9d5cbSmlf
9266f9d5cbSmlfinstall:	$(INSTALL_DEPS)
9366f9d5cbSmlf
9466f9d5cbSmlf#
9566f9d5cbSmlf#	Include common targets.
9666f9d5cbSmlf#
9766f9d5cbSmlfinclude $(UTSBASE)/intel/Makefile.targ
98