xref: /illumos-gate/usr/src/uts/intel/audiocmi/Makefile (revision 08045def)
1*08045defSGarrett D'Amore#
2*08045defSGarrett D'Amore# CDDL HEADER START
3*08045defSGarrett D'Amore#
4*08045defSGarrett D'Amore# The contents of this file are subject to the terms of the
5*08045defSGarrett D'Amore# Common Development and Distribution License (the "License").
6*08045defSGarrett D'Amore# You may not use this file except in compliance with the License.
7*08045defSGarrett D'Amore#
8*08045defSGarrett D'Amore# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*08045defSGarrett D'Amore# or http://www.opensolaris.org/os/licensing.
10*08045defSGarrett D'Amore# See the License for the specific language governing permissions
11*08045defSGarrett D'Amore# and limitations under the License.
12*08045defSGarrett D'Amore#
13*08045defSGarrett D'Amore# When distributing Covered Code, include this CDDL HEADER in each
14*08045defSGarrett D'Amore# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*08045defSGarrett D'Amore# If applicable, add the following below this CDDL HEADER, with the
16*08045defSGarrett D'Amore# fields enclosed by brackets "[]" replaced with your own identifying
17*08045defSGarrett D'Amore# information: Portions Copyright [yyyy] [name of copyright owner]
18*08045defSGarrett D'Amore#
19*08045defSGarrett D'Amore# CDDL HEADER END
20*08045defSGarrett D'Amore#
21*08045defSGarrett D'Amore#
22*08045defSGarrett D'Amore# uts/intel/audiocmi/Makefile
23*08045defSGarrett D'Amore#
24*08045defSGarrett D'Amore# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
25*08045defSGarrett D'Amore# Use is subject to license terms.
26*08045defSGarrett D'Amore#
27*08045defSGarrett D'Amore#	This makefile drives the production of the audiocmi driver.
28*08045defSGarrett D'Amore#
29*08045defSGarrett D'Amore
30*08045defSGarrett D'Amore#
31*08045defSGarrett D'Amore#	Path to the base of the uts directory tree (usually /usr/src/uts).
32*08045defSGarrett D'Amore#
33*08045defSGarrett D'AmoreUTSBASE = ../..
34*08045defSGarrett D'Amore
35*08045defSGarrett D'Amore#
36*08045defSGarrett D'Amore#	Define the module and object file sets.
37*08045defSGarrett D'Amore#
38*08045defSGarrett D'AmoreMODULE		= audiocmi
39*08045defSGarrett D'AmoreOBJECTS		= $(AUDIOCMI_OBJS:%=$(OBJS_DIR)/%)
40*08045defSGarrett D'AmoreLINTS		= $(AUDIOCMI_OBJS:%.o=$(LINTS_DIR)/%.ln)
41*08045defSGarrett D'AmoreROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
42*08045defSGarrett D'Amore
43*08045defSGarrett D'Amore#
44*08045defSGarrett D'Amore#	Include common rules.
45*08045defSGarrett D'Amore#
46*08045defSGarrett D'Amoreinclude $(UTSBASE)/intel/Makefile.intel
47*08045defSGarrett D'Amore
48*08045defSGarrett D'Amore#
49*08045defSGarrett D'Amore#	Define targets
50*08045defSGarrett D'Amore#
51*08045defSGarrett D'AmoreALL_TARGET	= $(BINARY)
52*08045defSGarrett D'AmoreLINT_TARGET	= $(MODULE).lint
53*08045defSGarrett D'AmoreINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
54*08045defSGarrett D'Amore
55*08045defSGarrett D'AmoreLDFLAGS		+= -dy -Ndrv/audio
56*08045defSGarrett D'Amore
57*08045defSGarrett D'Amore#
58*08045defSGarrett D'Amore#	Default build targets.
59*08045defSGarrett D'Amore#
60*08045defSGarrett D'Amore.KEEP_STATE:
61*08045defSGarrett D'Amore
62*08045defSGarrett D'Amoredef:		$(DEF_DEPS)
63*08045defSGarrett D'Amore
64*08045defSGarrett D'Amoreall:		$(ALL_DEPS)
65*08045defSGarrett D'Amore
66*08045defSGarrett D'Amoreclean:		$(CLEAN_DEPS)
67*08045defSGarrett D'Amore
68*08045defSGarrett D'Amoreclobber:	$(CLOBBER_DEPS)
69*08045defSGarrett D'Amore
70*08045defSGarrett D'Amorelint:		$(LINT_DEPS)
71*08045defSGarrett D'Amore
72*08045defSGarrett D'Amoremodlintlib:	$(MODLINTLIB_DEPS)
73*08045defSGarrett D'Amore
74*08045defSGarrett D'Amoreclean.lint:	$(CLEAN_LINT_DEPS)
75*08045defSGarrett D'Amore
76*08045defSGarrett D'Amoreinstall:	$(INSTALL_DEPS)
77*08045defSGarrett D'Amore
78*08045defSGarrett D'Amore#
79*08045defSGarrett D'Amore#	Include common targets.
80*08045defSGarrett D'Amore#
81*08045defSGarrett D'Amoreinclude $(UTSBASE)/intel/Makefile.targ
82