xref: /titanic_51/usr/src/uts/intel/dcopy/Makefile (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
117169044Sbrutus#
217169044Sbrutus# CDDL HEADER START
317169044Sbrutus#
417169044Sbrutus# The contents of this file are subject to the terms of the
517169044Sbrutus# Common Development and Distribution License (the "License").
617169044Sbrutus# You may not use this file except in compliance with the License.
717169044Sbrutus#
817169044Sbrutus# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
917169044Sbrutus# or http://www.opensolaris.org/os/licensing.
1017169044Sbrutus# See the License for the specific language governing permissions
1117169044Sbrutus# and limitations under the License.
1217169044Sbrutus#
1317169044Sbrutus# When distributing Covered Code, include this CDDL HEADER in each
1417169044Sbrutus# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1517169044Sbrutus# If applicable, add the following below this CDDL HEADER, with the
1617169044Sbrutus# fields enclosed by brackets "[]" replaced with your own identifying
1717169044Sbrutus# information: Portions Copyright [yyyy] [name of copyright owner]
1817169044Sbrutus#
1917169044Sbrutus# CDDL HEADER END
2017169044Sbrutus#
2117169044Sbrutus#
2217169044Sbrutus# uts/intel/dcopy/Makefile
2317169044Sbrutus#
2417169044Sbrutus# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
2517169044Sbrutus# Use is subject to license terms.
2617169044Sbrutus#
27*7014882cSRichard Lowe
2817169044Sbrutus#
2917169044Sbrutus#	This makefile drives the production of the dcopy
3017169044Sbrutus#	kernel module.
3117169044Sbrutus#
3217169044Sbrutus#	intel architecture dependent
3317169044Sbrutus#
3417169044Sbrutus
3517169044Sbrutus#
3617169044Sbrutus#	Path to the base of the uts directory tree (usually /usr/src/uts).
3717169044Sbrutus#
3817169044SbrutusUTSBASE	= ../..
3917169044Sbrutus
4017169044Sbrutus#
4117169044Sbrutus#	Define the module and object file sets.
4217169044Sbrutus#
4317169044SbrutusMODULE		= dcopy
4417169044SbrutusOBJECTS		= $(DCOPY_OBJS:%=$(OBJS_DIR)/%)
4517169044SbrutusLINTS		= $(DCOPY_OBJS:%.o=$(LINTS_DIR)/%.ln)
4617169044SbrutusROOTMODULE	= $(ROOT_MISC_DIR)/$(MODULE)
4717169044Sbrutus
4817169044Sbrutus#
4917169044Sbrutus#	Include common rules.
5017169044Sbrutus#
5117169044Sbrutusinclude $(UTSBASE)/intel/Makefile.intel
5217169044Sbrutus
53*7014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-unused-label
54*7014882cSRichard Lowe
5517169044Sbrutus#
5617169044Sbrutus#	Define targets
5717169044Sbrutus#
5817169044SbrutusALL_TARGET	= $(BINARY)
5917169044SbrutusLINT_TARGET	= $(MODULE).lint
6017169044SbrutusINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
6117169044Sbrutus
6217169044Sbrutus#
6317169044Sbrutus#	Default build targets.
6417169044Sbrutus#
6517169044Sbrutus.KEEP_STATE:
6617169044Sbrutus
6717169044Sbrutusdef:		$(DEF_DEPS)
6817169044Sbrutus
6917169044Sbrutusall:		$(ALL_DEPS)
7017169044Sbrutus
7117169044Sbrutusclean:		$(CLEAN_DEPS)
7217169044Sbrutus
7317169044Sbrutusclobber:	$(CLOBBER_DEPS)
7417169044Sbrutus
7517169044Sbrutuslint:		$(LINT_DEPS)
7617169044Sbrutus
7717169044Sbrutusmodlintlib:	$(MODLINTLIB_DEPS)
7817169044Sbrutus
7917169044Sbrutusclean.lint:	$(CLEAN_LINT_DEPS)
8017169044Sbrutus
8117169044Sbrutusinstall:	$(INSTALL_DEPS)
8217169044Sbrutus
8317169044Sbrutus#
8417169044Sbrutus#	Include common targets.
8517169044Sbrutus#
8617169044Sbrutusinclude $(UTSBASE)/intel/Makefile.targ
87