Makefile revision 9484:fbd5ddc28e96
1279377Simp#
2279377Simp# CDDL HEADER START
3279377Simp#
4279377Simp# The contents of this file are subject to the terms of the
5279377Simp# Common Development and Distribution License (the "License").
6279377Simp# You may not use this file except in compliance with the License.
7279377Simp#
8279377Simp# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9279377Simp# or http://www.opensolaris.org/os/licensing.
10279377Simp# See the License for the specific language governing permissions
11279377Simp# and limitations under the License.
12279377Simp#
13279377Simp# When distributing Covered Code, include this CDDL HEADER in each
14279377Simp# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15279377Simp# If applicable, add the following below this CDDL HEADER, with the
16279377Simp# fields enclosed by brackets "[]" replaced with your own identifying
17279377Simp# information: Portions Copyright [yyyy] [name of copyright owner]
18279377Simp#
19279377Simp# CDDL HEADER END
20279377Simp#
21279377Simp#
22279377Simp# uts/intel/audio/Makefile
23279377Simp#
24279377Simp# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
25279377Simp# Use is subject to license terms.
26279377Simp#
27279377Simp#	This makefile drives the production of the audio support module.
28279377Simp#
29279377Simp
30279377Simp#
31279377Simp#	Path to the base of the uts directory tree (usually /usr/src/uts).
32279377Simp#
33279377SimpUTSBASE = ../..
34279377Simp
35279377Simp#
36279377Simp#	Define the module and object file sets.
37279377Simp#
38279377SimpMODULE		= audio
39279377SimpOBJECTS		= $(AUDIO_OBJS:%=$(OBJS_DIR)/%)
40279377SimpLINTS		= $(AUDIO_OBJS:%.o=$(LINTS_DIR)/%.ln)
41279377SimpROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
42279377SimpCONF_SRCDIR	= $(UTSBASE)/common/io/audio/impl
43279377Simp
44279377Simp#
45279377Simp#	Include common rules.
46279377Simp#
47279377Simpinclude $(UTSBASE)/intel/Makefile.intel
48279377Simp
49279377Simp#
50279377Simp#	Define targets
51279377Simp#
52279377SimpALL_TARGET	= $(BINARY) $(SRC_CONFFILE)
53279377SimpLINT_TARGET	= $(MODULE).lint
54279377SimpINSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
55279377Simp
56279377Simp#
57279377Simp#	Default build targets.
58279377Simp#
59279377Simp.KEEP_STATE:
60279377Simp
61279377Simpdef:		$(DEF_DEPS)
62279377Simp
63279377Simpall:		$(ALL_DEPS)
64279377Simp
65279377Simpclean:		$(CLEAN_DEPS)
66279377Simp
67279377Simpclobber:	$(CLOBBER_DEPS)
68279377Simp
69279377Simplint:		$(LINT_DEPS)
70279377Simp
71279377Simpmodlintlib:	$(MODLINTLIB_DEPS)
72279377Simp
73279377Simpclean.lint:	$(CLEAN_LINT_DEPS)
74279377Simp
75279377Simpinstall:	$(INSTALL_DEPS)
76279377Simp
77279377Simp#
78279377Simp#	Include common targets.
79279377Simp#
80279377Simpinclude $(UTSBASE)/intel/Makefile.targ
81279377Simp