xref: /titanic_50/usr/src/uts/intel/srn/Makefile (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
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#
27*7014882cSRichard 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)/%)
442df1fe9cSrandyfLINTS		= $(SRN_OBJS:%.o=$(LINTS_DIR)/%.ln)
452df1fe9cSrandyfROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
462df1fe9cSrandyfCONF_SRCDIR	= $(UTSBASE)/common/io
472df1fe9cSrandyf
482df1fe9cSrandyf#
492df1fe9cSrandyf#	Include common rules.
502df1fe9cSrandyf#
512df1fe9cSrandyfinclude $(UTSBASE)/intel/Makefile.intel
522df1fe9cSrandyf
53*7014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-uninitialized
54*7014882cSRichard Lowe
552df1fe9cSrandyf#
562df1fe9cSrandyf#	Define targets
572df1fe9cSrandyf#
582df1fe9cSrandyfALL_TARGET	= $(BINARY) $(SRC_CONFILE)
592df1fe9cSrandyfLINT_TARGET	= $(MODULE).lint
602df1fe9cSrandyfINSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
612df1fe9cSrandyf
622df1fe9cSrandyf#
632df1fe9cSrandyf#	Default build targets.
642df1fe9cSrandyf#
652df1fe9cSrandyf.KEEP_STATE:
662df1fe9cSrandyf
672df1fe9cSrandyfdef:		$(DEF_DEPS)
682df1fe9cSrandyf
692df1fe9cSrandyfall:		$(ALL_DEPS)
702df1fe9cSrandyf
712df1fe9cSrandyfclean:		$(CLEAN_DEPS)
722df1fe9cSrandyf
732df1fe9cSrandyfclobber:	$(CLOBBER_DEPS)
742df1fe9cSrandyf
752df1fe9cSrandyflint:		$(LINT_DEPS)
762df1fe9cSrandyf
772df1fe9cSrandyfmodlintlib:	$(MODLINTLIB_DEPS)
782df1fe9cSrandyf
792df1fe9cSrandyfclean.lint:	$(CLEAN_LINT_DEPS)
802df1fe9cSrandyf
812df1fe9cSrandyfinstall:	$(INSTALL_DEPS)
822df1fe9cSrandyf
832df1fe9cSrandyf#
842df1fe9cSrandyf#	Include common targets.
852df1fe9cSrandyf#
862df1fe9cSrandyfinclude $(UTSBASE)/intel/Makefile.targ
87