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_MESA_SOURCE
3732001f49SmrgGETPROCADDRESS=getprocaddress
3832001f49Smrg
3932001f49Smrggetprocaddress_SOURCES = \
4032001f49Smrg	getprocaddress.c
4132001f49Smrgnodist_getprocaddress_SOURCES = \
4232001f49Smrg	getproclist.h
4332001f49Smrg
4432001f49Smrggetproclist.h: $(MESA_GLAPI)/gl_API.xml getprocaddress.c getprocaddress.py
4532001f49Smrg	python getprocaddress.py $(MESA_GLAPI) > getproclist.h
4632001f49Smrg
4732001f49SmrgBUILT_SOURCES = \
4832001f49Smrg	getproclist.h
4932001f49Smrgendif
5032001f49Smrg
5132001f49Smrgif HAVE_GLUT
5232001f49Smrgnoinst_PROGRAMS = \
5332001f49Smrg	afsmultiarb \
5432001f49Smrg	antialias \
5532001f49Smrg	arbfpspec \
5632001f49Smrg	arbfptest1 \
5732001f49Smrg	arbfptexture \
5832001f49Smrg	arbfptrig \
5932001f49Smrg	arbgpuprog \
6032001f49Smrg	arbnpot \
6132001f49Smrg	arbnpot-mipmap \
6232001f49Smrg	arbvparray \
6332001f49Smrg	arbvptest1 \
6432001f49Smrg	arbvptest3 \
6532001f49Smrg	arbvptorus \
6632001f49Smrg	arbvpwarpmesh \
6732001f49Smrg	arraytexture \
6832001f49Smrg	auxbuffer \
6932001f49Smrg	backspecular \
7032001f49Smrg	blendxor \
7132001f49Smrg	blitfb \
7232001f49Smrg	bufferobj \
7332001f49Smrg	bumpmap \
7432001f49Smrg	bug_3050 \
7532001f49Smrg	bug_3101 \
7632001f49Smrg	bug_3195 \
7732001f49Smrg	bug_texstore_i8 \
7832001f49Smrg	calibrate_rast \
7932001f49Smrg	clip \
8032001f49Smrg	condrender \
8132001f49Smrg	copypixrate \
8232001f49Smrg	cva \
8332001f49Smrg	cva_huge \
8432001f49Smrg	cylwrap \
8532001f49Smrg	drawbuffers \
8632001f49Smrg	drawbuffers2 \
8732001f49Smrg	drawstencil \
8832001f49Smrg	exactrast \
8932001f49Smrg	ext422square \
9032001f49Smrg	floattex \
9132001f49Smrg	fbotest1 \
9232001f49Smrg	fbotest2 \
9332001f49Smrg	fbotest3 \
9432001f49Smrg	fillrate \
9532001f49Smrg	fogcoord \
9632001f49Smrg	fptest1 \
9732001f49Smrg	fptexture \
987ec3b29aSmrg	front-back-modes \
9932001f49Smrg	$(GETPROCADDRESS) \
10032001f49Smrg	getteximage \
10132001f49Smrg	glutfx \
10232001f49Smrg	interleave \
10332001f49Smrg	invert \
10432001f49Smrg	jkrahntest \
10532001f49Smrg	lineclip \
10632001f49Smrg	linehacks \
1077ec3b29aSmrg	line-sample \
10832001f49Smrg	manytex \
10932001f49Smrg	mapbufrange \
11032001f49Smrg	minmag \
11132001f49Smrg	mipgen \
11232001f49Smrg	mipmap_comp \
11332001f49Smrg	mipmap_comp_tests \
11432001f49Smrg	mipmap_limits \
11532001f49Smrg	mipmap_view \
11632001f49Smrg	mipmap_tunnel \
11732001f49Smrg	multipal \
11832001f49Smrg	multitexarray \
11932001f49Smrg	multiwindow \
12032001f49Smrg	no_s3tc \
12132001f49Smrg	packedpixels \
12232001f49Smrg	pbo \
12332001f49Smrg	persp_hint \
12432001f49Smrg	prim \
12532001f49Smrg	prog_parameter \
12632001f49Smrg	quads \
12732001f49Smrg	random \
12832001f49Smrg	readrate \
12932001f49Smrg	rubberband \
13032001f49Smrg	scissor \
13132001f49Smrg	scissor-viewport \
13232001f49Smrg	seccolor \
13332001f49Smrg	shader_api \
13432001f49Smrg	shader-interp \
13532001f49Smrg	shadow-sample \
13632001f49Smrg	sharedtex \
13732001f49Smrg	stencilreaddraw \
13832001f49Smrg	stencilwrap \
13932001f49Smrg	step \
14032001f49Smrg	streaming_rect \
14132001f49Smrg	subtex \
14232001f49Smrg	subtexrate \
14332001f49Smrg	tex1d \
14432001f49Smrg	texcmp \
14532001f49Smrg	texcompress2 \
14632001f49Smrg	texcompsub \
14732001f49Smrg	texdown \
14832001f49Smrg	texfilt \
14932001f49Smrg	texgenmix \
15032001f49Smrg	texleak \
15132001f49Smrg	texline \
15232001f49Smrg	texobj \
15332001f49Smrg	texobjshare \
15432001f49Smrg	texrect \
15532001f49Smrg	unfilledclip \
15632001f49Smrg	viewmemory \
15732001f49Smrg	vparray \
15832001f49Smrg	vpeval \
15932001f49Smrg	vptest1 \
16032001f49Smrg	vptest2 \
16132001f49Smrg	vptest3 \
16232001f49Smrg	vptorus \
16332001f49Smrg	vpwarpmesh \
16432001f49Smrg	yuvrect \
16532001f49Smrg	yuvsquare \
16632001f49Smrg	zbitmap \
16732001f49Smrg	zcomp \
16832001f49Smrg	zdrawpix \
16932001f49Smrg	zreaddraw
17032001f49Smrgendif
17132001f49Smrg
17232001f49Smrgafsmultiarb_LDADD = ../util/libutil.la
17332001f49Smrgarraytexture_LDADD = ../util/libutil.la
17432001f49Smrgauxbuffer_LDADD = -lX11
17532001f49Smrgbug_3195_LDADD = ../util/libutil.la
17632001f49Smrgbumpmap_LDADD = ../util/libutil.la
17732001f49Smrgfloattex_LDADD = ../util/libutil.la
17832001f49Smrgfillrate_LDADD = ../util/libutil.la
17932001f49Smrginvert_LDADD = ../util/libutil.la
18032001f49Smrgjkrahntest_LDADD = -lX11
18132001f49Smrglinehacks_LDADD = ../util/libutil.la
18232001f49Smrgmipmap_limits_LDADD = ../util/libutil.la
18332001f49Smrgmipmap_view_LDADD = ../util/libutil.la
18432001f49Smrgsharedtex_LDADD = -lX11
18532001f49Smrgshader_interp_LDADD = ../util/libutil.la
18632001f49Smrgtexobjshare_LDADD = -lX11
18732001f49Smrgtexrect_LDADD = ../util/libutil.la
18832001f49Smrg
18932001f49SmrgEXTRA_DIST = \
19032001f49Smrg	Makefile.am \
19132001f49Smrg	getprocaddress.py \
19232001f49Smrg	texcomp_image.h \
19332001f49Smrg	tkmap.c
194