132001f49Smrg# Copyright © 2009 Intel Corporation
232001f49Smrg#
332001f49Smrg# Permission is hereby granted, free of charge, to any person obtaining a
432001f49Smrg# copy of this software and associated documentation files (the "Software"),
532001f49Smrg# to deal in the Software without restriction, including without limitation
632001f49Smrg# the rights to use, copy, modify, merge, publish, distribute, sublicense,
732001f49Smrg# and/or sell copies of the Software, and to permit persons to whom the
832001f49Smrg# Software is furnished to do so, subject to the following conditions:
932001f49Smrg#
1032001f49Smrg# The above copyright notice and this permission notice (including the next
1132001f49Smrg# paragraph) shall be included in all copies or substantial portions of the
1232001f49Smrg# Software.
1332001f49Smrg#
1432001f49Smrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1532001f49Smrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1632001f49Smrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
1732001f49Smrg# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1832001f49Smrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1932001f49Smrg# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
2032001f49Smrg# IN THE SOFTWARE.
2132001f49Smrg#
2232001f49Smrg# Authors:
2332001f49Smrg#    Eric Anholt <eric@anholt.net>
2432001f49Smrg
2532001f49Smrg# These programs aren't intended to be included with the normal distro.
2632001f49Smrg# They're not too interesting but they're good for testing.
2732001f49Smrg
2832001f49SmrgAM_CFLAGS = \
2932001f49Smrg	$(DEMO_CFLAGS) \
3032001f49Smrg	$(GLUT_CFLAGS) \
3132001f49Smrg	-I$(top_srcdir)/src/util
3232001f49SmrgAM_LDFLAGS = \
3332001f49Smrg	$(DEMO_LIBS) \
3432001f49Smrg	$(GLUT_LIBS)
3532001f49Smrg
3632001f49Smrgif HAVE_GLUT
3732001f49Smrgnoinst_PROGRAMS = \
3832001f49Smrg	tri-tex \
3932001f49Smrg	point-position \
4032001f49Smrg	tri-depth \
4132001f49Smrg	tri-depth2 \
4232001f49Smrg	tri-depthwrite \
4332001f49Smrg	tri-depthwrite2 \
4432001f49Smrg	tri-param \
4532001f49Smrg	fp-tri
4632001f49Smrgendif
4732001f49Smrg
4832001f49SmrgEXTRA_DIST = \
4932001f49Smrg	abs.txt \
5032001f49Smrg	add-sat.txt \
5132001f49Smrg	add-swz.txt \
5232001f49Smrg	add.txt \
5332001f49Smrg	cmp.txt \
5432001f49Smrg	cos.txt \
5532001f49Smrg	dp3.txt \
5632001f49Smrg	dp4.txt \
5732001f49Smrg	dph.txt \
5832001f49Smrg	dst.txt \
5932001f49Smrg	ex2.txt \
6032001f49Smrg	flr.txt \
6132001f49Smrg	frc.txt \
6232001f49Smrg	kil-pos.txt \
6332001f49Smrg	kil-texcoord-sgt.txt \
6432001f49Smrg	kil.txt \
6532001f49Smrg	lg2.txt \
6632001f49Smrg	lit.txt \
6732001f49Smrg	local.txt \
6832001f49Smrg	lrp.txt \
6932001f49Smrg	mad.txt \
7032001f49Smrg	max.txt \
7132001f49Smrg	min.txt \
7232001f49Smrg	mov-alias.txt \
7332001f49Smrg	mov.txt \
7432001f49Smrg	mul-alias.txt \
7532001f49Smrg	mul-swz.txt \
7632001f49Smrg	mul.txt \
7732001f49Smrg	negate.txt \
7832001f49Smrg	position.txt \
7932001f49Smrg	pow.txt \
8032001f49Smrg	rcp.txt \
8132001f49Smrg	rsq.txt \
8232001f49Smrg	scs.txt \
8332001f49Smrg	sge2.txt \
8432001f49Smrg	sge.txt \
8532001f49Smrg	sin.txt \
8632001f49Smrg	slt.txt \
8732001f49Smrg	sub.txt \
8832001f49Smrg	swz2.txt \
8932001f49Smrg	swz3.txt \
9032001f49Smrg	swz.txt \
9132001f49Smrg	tex-pos-kil-1.txt \
9232001f49Smrg	tex-pos-kil.txt \
9332001f49Smrg	tex-pos.txt \
9432001f49Smrg	tex.txt \
9532001f49Smrg	xpd.txt
96