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