xref: /titanic_50/usr/src/uts/intel/audiocmi/Makefile (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
108045defSGarrett D'Amore#
208045defSGarrett D'Amore# CDDL HEADER START
308045defSGarrett D'Amore#
408045defSGarrett D'Amore# The contents of this file are subject to the terms of the
508045defSGarrett D'Amore# Common Development and Distribution License (the "License").
608045defSGarrett D'Amore# You may not use this file except in compliance with the License.
708045defSGarrett D'Amore#
808045defSGarrett D'Amore# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
908045defSGarrett D'Amore# or http://www.opensolaris.org/os/licensing.
1008045defSGarrett D'Amore# See the License for the specific language governing permissions
1108045defSGarrett D'Amore# and limitations under the License.
1208045defSGarrett D'Amore#
1308045defSGarrett D'Amore# When distributing Covered Code, include this CDDL HEADER in each
1408045defSGarrett D'Amore# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1508045defSGarrett D'Amore# If applicable, add the following below this CDDL HEADER, with the
1608045defSGarrett D'Amore# fields enclosed by brackets "[]" replaced with your own identifying
1708045defSGarrett D'Amore# information: Portions Copyright [yyyy] [name of copyright owner]
1808045defSGarrett D'Amore#
1908045defSGarrett D'Amore# CDDL HEADER END
2008045defSGarrett D'Amore#
2108045defSGarrett D'Amore#
2208045defSGarrett D'Amore# uts/intel/audiocmi/Makefile
2308045defSGarrett D'Amore#
2408045defSGarrett D'Amore# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2508045defSGarrett D'Amore# Use is subject to license terms.
2608045defSGarrett D'Amore#
2708045defSGarrett D'Amore#	This makefile drives the production of the audiocmi driver.
2808045defSGarrett D'Amore#
2908045defSGarrett D'Amore
3008045defSGarrett D'Amore#
3108045defSGarrett D'Amore#	Path to the base of the uts directory tree (usually /usr/src/uts).
3208045defSGarrett D'Amore#
3308045defSGarrett D'AmoreUTSBASE = ../..
3408045defSGarrett D'Amore
3508045defSGarrett D'Amore#
3608045defSGarrett D'Amore#	Define the module and object file sets.
3708045defSGarrett D'Amore#
3808045defSGarrett D'AmoreMODULE		= audiocmi
3908045defSGarrett D'AmoreOBJECTS		= $(AUDIOCMI_OBJS:%=$(OBJS_DIR)/%)
4008045defSGarrett D'AmoreLINTS		= $(AUDIOCMI_OBJS:%.o=$(LINTS_DIR)/%.ln)
4108045defSGarrett D'AmoreROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
4208045defSGarrett D'Amore
4308045defSGarrett D'Amore#
4408045defSGarrett D'Amore#	Include common rules.
4508045defSGarrett D'Amore#
4608045defSGarrett D'Amoreinclude $(UTSBASE)/intel/Makefile.intel
4708045defSGarrett D'Amore
4808045defSGarrett D'Amore#
4908045defSGarrett D'Amore#	Define targets
5008045defSGarrett D'Amore#
5108045defSGarrett D'AmoreALL_TARGET	= $(BINARY)
5208045defSGarrett D'AmoreLINT_TARGET	= $(MODULE).lint
5308045defSGarrett D'AmoreINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
5408045defSGarrett D'Amore
5508045defSGarrett D'AmoreLDFLAGS		+= -dy -Ndrv/audio
5608045defSGarrett D'Amore
57*7014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-uninitialized
58*7014882cSRichard Lowe
5908045defSGarrett D'Amore#
6008045defSGarrett D'Amore#	Default build targets.
6108045defSGarrett D'Amore#
6208045defSGarrett D'Amore.KEEP_STATE:
6308045defSGarrett D'Amore
6408045defSGarrett D'Amoredef:		$(DEF_DEPS)
6508045defSGarrett D'Amore
6608045defSGarrett D'Amoreall:		$(ALL_DEPS)
6708045defSGarrett D'Amore
6808045defSGarrett D'Amoreclean:		$(CLEAN_DEPS)
6908045defSGarrett D'Amore
7008045defSGarrett D'Amoreclobber:	$(CLOBBER_DEPS)
7108045defSGarrett D'Amore
7208045defSGarrett D'Amorelint:		$(LINT_DEPS)
7308045defSGarrett D'Amore
7408045defSGarrett D'Amoremodlintlib:	$(MODLINTLIB_DEPS)
7508045defSGarrett D'Amore
7608045defSGarrett D'Amoreclean.lint:	$(CLEAN_LINT_DEPS)
7708045defSGarrett D'Amore
7808045defSGarrett D'Amoreinstall:	$(INSTALL_DEPS)
7908045defSGarrett D'Amore
8008045defSGarrett D'Amore#
8108045defSGarrett D'Amore#	Include common targets.
8208045defSGarrett D'Amore#
8308045defSGarrett D'Amoreinclude $(UTSBASE)/intel/Makefile.targ
84