xref: /illumos-gate/usr/src/uts/intel/kiconv_sc/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# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
2315d9d0b5Syy154373# Use is subject to license terms.
2415d9d0b5Syy154373#
25*0aaef2f5SRichard Lowe
2615d9d0b5Syy154373#
2715d9d0b5Syy154373#	This makefile drives the production of the kiconv_sc
2815d9d0b5Syy154373#	kernel module.
2915d9d0b5Syy154373#
3015d9d0b5Syy154373#	intel implementation architecture dependent
3115d9d0b5Syy154373#
3215d9d0b5Syy154373
3315d9d0b5Syy154373#
3415d9d0b5Syy154373#	Path to the base of the uts directory tree (usually /usr/src/uts).
3515d9d0b5Syy154373#
3615d9d0b5Syy154373UTSBASE	= ../..
3715d9d0b5Syy154373
3815d9d0b5Syy154373#
3915d9d0b5Syy154373#	Define the module and object file sets.
4015d9d0b5Syy154373#
4115d9d0b5Syy154373MODULE		= kiconv_sc
4215d9d0b5Syy154373OBJECTS		= $(KICONV_SC_OBJS:%=$(OBJS_DIR)/%)
4315d9d0b5Syy154373ROOTMODULE	= $(ROOT_KICONV_DIR)/$(MODULE)
4415d9d0b5Syy154373
4515d9d0b5Syy154373#
4615d9d0b5Syy154373#	Include common rules.
4715d9d0b5Syy154373#
4815d9d0b5Syy154373include $(UTSBASE)/intel/Makefile.intel
4915d9d0b5Syy154373
5015d9d0b5Syy154373#
5115d9d0b5Syy154373#	Define targets
5215d9d0b5Syy154373#
5315d9d0b5Syy154373ALL_TARGET	= $(BINARY)
5415d9d0b5Syy154373INSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
5515d9d0b5Syy154373
5615d9d0b5Syy154373#
5715d9d0b5Syy154373#	Overrides.
5815d9d0b5Syy154373#
5915d9d0b5Syy154373CFLAGS		+= $(CCVERBOSE)
6015d9d0b5Syy154373
6115d9d0b5Syy154373#
6215d9d0b5Syy154373#	Default build targets.
6315d9d0b5Syy154373#
6415d9d0b5Syy154373.KEEP_STATE:
6515d9d0b5Syy154373
6615d9d0b5Syy154373def:		$(DEF_DEPS)
6715d9d0b5Syy154373
6815d9d0b5Syy154373all:		$(ALL_DEPS)
6915d9d0b5Syy154373
7015d9d0b5Syy154373clean:		$(CLEAN_DEPS)
7115d9d0b5Syy154373
7215d9d0b5Syy154373clobber:	$(CLOBBER_DEPS)
7315d9d0b5Syy154373
7415d9d0b5Syy154373install:	$(INSTALL_DEPS)
7515d9d0b5Syy154373
7615d9d0b5Syy154373#
7715d9d0b5Syy154373#	Include common targets.
7815d9d0b5Syy154373#
7915d9d0b5Syy154373include $(UTSBASE)/intel/Makefile.targ
80