xref: /illumos-gate/usr/src/uts/intel/srn/Makefile (revision 0aaef2f5)
12df1fe9cSrandyf#
22df1fe9cSrandyf# CDDL HEADER START
32df1fe9cSrandyf#
42df1fe9cSrandyf# The contents of this file are subject to the terms of the
52df1fe9cSrandyf# Common Development and Distribution License (the "License").
62df1fe9cSrandyf# You may not use this file except in compliance with the License.
72df1fe9cSrandyf#
82df1fe9cSrandyf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
92df1fe9cSrandyf# or http://www.opensolaris.org/os/licensing.
102df1fe9cSrandyf# See the License for the specific language governing permissions
112df1fe9cSrandyf# and limitations under the License.
122df1fe9cSrandyf#
132df1fe9cSrandyf# When distributing Covered Code, include this CDDL HEADER in each
142df1fe9cSrandyf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
152df1fe9cSrandyf# If applicable, add the following below this CDDL HEADER, with the
162df1fe9cSrandyf# fields enclosed by brackets "[]" replaced with your own identifying
172df1fe9cSrandyf# information: Portions Copyright [yyyy] [name of copyright owner]
182df1fe9cSrandyf#
192df1fe9cSrandyf# CDDL HEADER END
202df1fe9cSrandyf#
212df1fe9cSrandyf#
222df1fe9cSrandyf# uts/intel/srn/Makefile
232df1fe9cSrandyf#
242df1fe9cSrandyf# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
252df1fe9cSrandyf# Use is subject to license terms.
262df1fe9cSrandyf#
277014882cSRichard Lowe
282df1fe9cSrandyf#
292df1fe9cSrandyf#	This makefile drives the production of the srn driver
302df1fe9cSrandyf#
312df1fe9cSrandyf#	intel architecture dependent
322df1fe9cSrandyf#
332df1fe9cSrandyf
342df1fe9cSrandyf#
352df1fe9cSrandyf#	Path to the base of the uts directory tree (usually /usr/src/uts).
362df1fe9cSrandyf#
372df1fe9cSrandyfUTSBASE	= ../..
382df1fe9cSrandyf
392df1fe9cSrandyf#
402df1fe9cSrandyf#	Define the module and object file sets.
412df1fe9cSrandyf#
422df1fe9cSrandyfMODULE		= srn
432df1fe9cSrandyfOBJECTS		= $(SRN_OBJS:%=$(OBJS_DIR)/%)
442df1fe9cSrandyfROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
452df1fe9cSrandyfCONF_SRCDIR	= $(UTSBASE)/common/io
462df1fe9cSrandyf
472df1fe9cSrandyf#
482df1fe9cSrandyf#	Include common rules.
492df1fe9cSrandyf#
502df1fe9cSrandyfinclude $(UTSBASE)/intel/Makefile.intel
512df1fe9cSrandyf
52*d3b5f563SJohn LevonCERRWARN	+= $(CNOWARN_UNINIT)
537014882cSRichard Lowe
542df1fe9cSrandyf#
552df1fe9cSrandyf#	Define targets
562df1fe9cSrandyf#
572df1fe9cSrandyfALL_TARGET	= $(BINARY) $(SRC_CONFILE)
582df1fe9cSrandyfINSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
592df1fe9cSrandyf
602df1fe9cSrandyf#
612df1fe9cSrandyf#	Default build targets.
622df1fe9cSrandyf#
632df1fe9cSrandyf.KEEP_STATE:
642df1fe9cSrandyf
652df1fe9cSrandyfdef:		$(DEF_DEPS)
662df1fe9cSrandyf
672df1fe9cSrandyfall:		$(ALL_DEPS)
682df1fe9cSrandyf
692df1fe9cSrandyfclean:		$(CLEAN_DEPS)
702df1fe9cSrandyf
712df1fe9cSrandyfclobber:	$(CLOBBER_DEPS)
722df1fe9cSrandyf
732df1fe9cSrandyfinstall:	$(INSTALL_DEPS)
742df1fe9cSrandyf
752df1fe9cSrandyf#
762df1fe9cSrandyf#	Include common targets.
772df1fe9cSrandyf#
782df1fe9cSrandyfinclude $(UTSBASE)/intel/Makefile.targ
79