xref: /illumos-gate/usr/src/uts/intel/kiconv_ko/Makefile (revision 0aaef2f550fa500248f59b0b8a14225b5afbd198)
115d9d0b5Syy154373#
215d9d0b5Syy154373# CDDL HEADER START
315d9d0b5Syy154373#
415d9d0b5Syy154373# The contents of this file are subject to the terms of the
515d9d0b5Syy154373# Common Development and Distribution License (the "License").
615d9d0b5Syy154373# You may not use this file except in compliance with the License.
715d9d0b5Syy154373#
815d9d0b5Syy154373# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
915d9d0b5Syy154373# or http://www.opensolaris.org/os/licensing.
1015d9d0b5Syy154373# See the License for the specific language governing permissions
1115d9d0b5Syy154373# and limitations under the License.
1215d9d0b5Syy154373#
1315d9d0b5Syy154373# When distributing Covered Code, include this CDDL HEADER in each
1415d9d0b5Syy154373# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1515d9d0b5Syy154373# If applicable, add the following below this CDDL HEADER, with the
1615d9d0b5Syy154373# fields enclosed by brackets "[]" replaced with your own identifying
1715d9d0b5Syy154373# information: Portions Copyright [yyyy] [name of copyright owner]
1815d9d0b5Syy154373#
1915d9d0b5Syy154373# CDDL HEADER END
2015d9d0b5Syy154373#
2115d9d0b5Syy154373#
2215d9d0b5Syy154373# uts/intel/kiconv_ko/Makefile
2315d9d0b5Syy154373#
2415d9d0b5Syy154373# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
2515d9d0b5Syy154373# Use is subject to license terms.
2615d9d0b5Syy154373#
277014882cSRichard Lowe
2815d9d0b5Syy154373#
2915d9d0b5Syy154373#	This makefile drives the production of the kiconv_ko
3015d9d0b5Syy154373#	kernel module.
3115d9d0b5Syy154373#
3215d9d0b5Syy154373#	intel implementation architecture dependent
3315d9d0b5Syy154373#
3415d9d0b5Syy154373
3515d9d0b5Syy154373#
3615d9d0b5Syy154373#	Path to the base of the uts directory tree (usually /usr/src/uts).
3715d9d0b5Syy154373#
3815d9d0b5Syy154373UTSBASE	= ../..
3915d9d0b5Syy154373
4015d9d0b5Syy154373#
4115d9d0b5Syy154373#	Define the module and object file sets.
4215d9d0b5Syy154373#
4315d9d0b5Syy154373MODULE		= kiconv_ko
4415d9d0b5Syy154373OBJECTS		= $(KICONV_KO_OBJS:%=$(OBJS_DIR)/%)
4515d9d0b5Syy154373ROOTMODULE	= $(ROOT_KICONV_DIR)/$(MODULE)
4615d9d0b5Syy154373
4715d9d0b5Syy154373#
4815d9d0b5Syy154373#	Include common rules.
4915d9d0b5Syy154373#
5015d9d0b5Syy154373include $(UTSBASE)/intel/Makefile.intel
5115d9d0b5Syy154373
5215d9d0b5Syy154373#
5315d9d0b5Syy154373#	Define targets
5415d9d0b5Syy154373#
5515d9d0b5Syy154373ALL_TARGET	= $(BINARY)
5615d9d0b5Syy154373INSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
5715d9d0b5Syy154373
5815d9d0b5Syy154373#
5915d9d0b5Syy154373#	Overrides.
6015d9d0b5Syy154373#
6115d9d0b5Syy154373CFLAGS		+= $(CCVERBOSE)
6215d9d0b5Syy154373
6315d9d0b5Syy154373#
64*0aaef2f5SRichard Lowe# For now, disable these warnings; maintainers should endeavor
65*0aaef2f5SRichard Lowe# to investigate and remove these for maximum coverage.
6615d9d0b5Syy154373# Please do not carry these forward to new Makefiles.
6715d9d0b5Syy154373#
6815d9d0b5Syy154373
697014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-parentheses
707014882cSRichard Lowe
7115d9d0b5Syy154373#
7215d9d0b5Syy154373#	Default build targets.
7315d9d0b5Syy154373#
7415d9d0b5Syy154373.KEEP_STATE:
7515d9d0b5Syy154373
7615d9d0b5Syy154373def:		$(DEF_DEPS)
7715d9d0b5Syy154373
7815d9d0b5Syy154373all:		$(ALL_DEPS)
7915d9d0b5Syy154373
8015d9d0b5Syy154373clean:		$(CLEAN_DEPS)
8115d9d0b5Syy154373
8215d9d0b5Syy154373clobber:	$(CLOBBER_DEPS)
8315d9d0b5Syy154373
8415d9d0b5Syy154373install:	$(INSTALL_DEPS)
8515d9d0b5Syy154373
8615d9d0b5Syy154373#
8715d9d0b5Syy154373#	Include common targets.
8815d9d0b5Syy154373#
8915d9d0b5Syy154373include $(UTSBASE)/intel/Makefile.targ
90