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