xref: /titanic_52/usr/src/cmd/audio/audiotest/Makefile (revision d50bcaae2118610560f2b107d0d282315e47e4e4)
188447a05SGarrett D'Amore#
288447a05SGarrett D'Amore# CDDL HEADER START
388447a05SGarrett D'Amore#
488447a05SGarrett D'Amore# The contents of this file are subject to the terms of the
588447a05SGarrett D'Amore# Common Development and Distribution License (the "License").
688447a05SGarrett D'Amore# You may not use this file except in compliance with the License.
788447a05SGarrett D'Amore#
888447a05SGarrett D'Amore# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
988447a05SGarrett D'Amore# or http://www.opensolaris.org/os/licensing.
1088447a05SGarrett D'Amore# See the License for the specific language governing permissions
1188447a05SGarrett D'Amore# and limitations under the License.
1288447a05SGarrett D'Amore#
1388447a05SGarrett D'Amore# When distributing Covered Code, include this CDDL HEADER in each
1488447a05SGarrett D'Amore# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1588447a05SGarrett D'Amore# If applicable, add the following below this CDDL HEADER, with the
1688447a05SGarrett D'Amore# fields enclosed by brackets "[]" replaced with your own identifying
1788447a05SGarrett D'Amore# information: Portions Copyright [yyyy] [name of copyright owner]
1888447a05SGarrett D'Amore#
1988447a05SGarrett D'Amore# CDDL HEADER END
2088447a05SGarrett D'Amore#
2188447a05SGarrett D'Amore#
2288447a05SGarrett D'Amore# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2388447a05SGarrett D'Amore# Use is subject to license terms.
2488447a05SGarrett D'Amore#
25*d50bcaaeSAndrew Stormont# Copyright 2015 RackTop Systems.
26*d50bcaaeSAndrew Stormont#
2788447a05SGarrett D'Amore# Makefile for cmd/audio/audiotest
2888447a05SGarrett D'Amore
2988447a05SGarrett D'AmorePROG= audiotest
3088447a05SGarrett D'AmoreOBJS= audiotest.o wavedata.o
3188447a05SGarrett D'AmoreSRCS= $(OBJS:%.o=%.c)
3288447a05SGarrett D'Amore
3388447a05SGarrett D'Amoreinclude ../../Makefile.cmd
3488447a05SGarrett D'Amore
3588447a05SGarrett D'AmoreCFLAGS += $(CCVERBOSE)
3688447a05SGarrett D'AmoreXGETFLAGS += -a -x audiotest.xcl
3788447a05SGarrett D'Amore
3888447a05SGarrett D'Amore.KEEP_STATE:
3988447a05SGarrett D'Amore
4088447a05SGarrett D'Amoreall: $(PROG)
4188447a05SGarrett D'Amore
4288447a05SGarrett D'Amore$(PROG):	$(OBJS)
43*d50bcaaeSAndrew Stormont	$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
4488447a05SGarrett D'Amore	$(POST_PROCESS)
4588447a05SGarrett D'Amore
4688447a05SGarrett D'Amoreinstall: all $(ROOTPROG)
4788447a05SGarrett D'Amore
4888447a05SGarrett D'Amoreclean:
49b6805bf7SGordon Ross	$(RM) $(OBJS)
5088447a05SGarrett D'Amore
5188447a05SGarrett D'Amorelint:	lint_SRCS
5288447a05SGarrett D'Amore
5388447a05SGarrett D'Amoreinclude ../../Makefile.targ
54