xref: /titanic_52/usr/src/cmd/audio/audiotest/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# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23*88447a05SGarrett D'Amore# Use is subject to license terms.
24*88447a05SGarrett D'Amore#
25*88447a05SGarrett D'Amore# Makefile for cmd/audio/audiotest
26*88447a05SGarrett D'Amore
27*88447a05SGarrett D'AmorePROG= audiotest
28*88447a05SGarrett D'AmoreOBJS= audiotest.o wavedata.o
29*88447a05SGarrett D'AmoreSRCS= $(OBJS:%.o=%.c)
30*88447a05SGarrett D'Amore
31*88447a05SGarrett D'Amoreinclude ../../Makefile.cmd
32*88447a05SGarrett D'Amore
33*88447a05SGarrett D'AmoreCFLAGS += $(CCVERBOSE)
34*88447a05SGarrett D'AmoreXGETFLAGS += -a -x audiotest.xcl
35*88447a05SGarrett D'Amore
36*88447a05SGarrett D'Amore.KEEP_STATE:
37*88447a05SGarrett D'Amore
38*88447a05SGarrett D'Amoreall: $(PROG)
39*88447a05SGarrett D'Amore
40*88447a05SGarrett D'Amore$(PROG):	$(OBJS)
41*88447a05SGarrett D'Amore	$(LINK.c) $(OBJS) -o $@
42*88447a05SGarrett D'Amore	$(POST_PROCESS)
43*88447a05SGarrett D'Amore
44*88447a05SGarrett D'Amoreinstall: all $(ROOTPROG)
45*88447a05SGarrett D'Amore
46*88447a05SGarrett D'Amoreclean:
47*88447a05SGarrett D'Amore
48*88447a05SGarrett D'Amorelint:	lint_SRCS
49*88447a05SGarrett D'Amore
50*88447a05SGarrett D'Amoreinclude ../../Makefile.targ
51