xref: /illumos-gate/usr/src/uts/intel/audiocmi/Makefile (revision 0aaef2f5)
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'AmoreROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
4108045defSGarrett D'Amore
4208045defSGarrett D'Amore#
4308045defSGarrett D'Amore#	Include common rules.
4408045defSGarrett D'Amore#
4508045defSGarrett D'Amoreinclude $(UTSBASE)/intel/Makefile.intel
4608045defSGarrett D'Amore
4708045defSGarrett D'Amore#
4808045defSGarrett D'Amore#	Define targets
4908045defSGarrett D'Amore#
5008045defSGarrett D'AmoreALL_TARGET	= $(BINARY)
5108045defSGarrett D'AmoreINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
5208045defSGarrett D'Amore
5308045defSGarrett D'AmoreLDFLAGS		+= -dy -Ndrv/audio
5408045defSGarrett D'Amore
55*d3b5f563SJohn LevonCERRWARN	+= $(CNOWARN_UNINIT)
567014882cSRichard Lowe
5708045defSGarrett D'Amore#
5808045defSGarrett D'Amore#	Default build targets.
5908045defSGarrett D'Amore#
6008045defSGarrett D'Amore.KEEP_STATE:
6108045defSGarrett D'Amore
6208045defSGarrett D'Amoredef:		$(DEF_DEPS)
6308045defSGarrett D'Amore
6408045defSGarrett D'Amoreall:		$(ALL_DEPS)
6508045defSGarrett D'Amore
6608045defSGarrett D'Amoreclean:		$(CLEAN_DEPS)
6708045defSGarrett D'Amore
6808045defSGarrett D'Amoreclobber:	$(CLOBBER_DEPS)
6908045defSGarrett D'Amore
7008045defSGarrett D'Amoreinstall:	$(INSTALL_DEPS)
7108045defSGarrett D'Amore
7208045defSGarrett D'Amore#
7308045defSGarrett D'Amore#	Include common targets.
7408045defSGarrett D'Amore#
7508045defSGarrett D'Amoreinclude $(UTSBASE)/intel/Makefile.targ
76