1# Copyright © 2009 Intel Corporation 2# 3# Permission is hereby granted, free of charge, to any person obtaining a 4# copy of this software and associated documentation files (the "Software"), 5# to deal in the Software without restriction, including without limitation 6# the rights to use, copy, modify, merge, publish, distribute, sublicense, 7# and/or sell copies of the Software, and to permit persons to whom the 8# Software is furnished to do so, subject to the following conditions: 9# 10# The above copyright notice and this permission notice (including the next 11# paragraph) shall be included in all copies or substantial portions of the 12# Software. 13# 14# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 20# IN THE SOFTWARE. 21# 22# Authors: 23# Eric Anholt <eric@anholt.net> 24 25# These programs aren't intended to be included with the normal distro. 26# They're not too interesting but they're good for testing. 27 28AM_CFLAGS = \ 29 $(DEMO_CFLAGS) \ 30 $(GLUT_CFLAGS) \ 31 -I$(top_srcdir)/src/util 32AM_LDFLAGS = \ 33 $(DEMO_LIBS) \ 34 $(GLUT_LIBS) 35 36if HAVE_MESA_SOURCE 37GETPROCADDRESS=getprocaddress 38 39getprocaddress_SOURCES = \ 40 getprocaddress.c 41nodist_getprocaddress_SOURCES = \ 42 getproclist.h 43 44getproclist.h: $(MESA_GLAPI)/gl_API.xml getprocaddress.c getprocaddress.py 45 python getprocaddress.py $(MESA_GLAPI) > getproclist.h 46 47BUILT_SOURCES = \ 48 getproclist.h 49endif 50 51if HAVE_GLUT 52noinst_PROGRAMS = \ 53 afsmultiarb \ 54 antialias \ 55 arbfpspec \ 56 arbfptest1 \ 57 arbfptexture \ 58 arbfptrig \ 59 arbgpuprog \ 60 arbnpot \ 61 arbnpot-mipmap \ 62 arbvparray \ 63 arbvptest1 \ 64 arbvptest3 \ 65 arbvptorus \ 66 arbvpwarpmesh \ 67 arraytexture \ 68 auxbuffer \ 69 backspecular \ 70 blendxor \ 71 blitfb \ 72 bufferobj \ 73 bumpmap \ 74 bug_3050 \ 75 bug_3101 \ 76 bug_3195 \ 77 bug_texstore_i8 \ 78 calibrate_rast \ 79 clip \ 80 condrender \ 81 copypixrate \ 82 cva \ 83 cva_huge \ 84 cylwrap \ 85 drawbuffers \ 86 drawbuffers2 \ 87 drawstencil \ 88 exactrast \ 89 ext422square \ 90 floattex \ 91 fbotest1 \ 92 fbotest2 \ 93 fbotest3 \ 94 fillrate \ 95 fogcoord \ 96 fptest1 \ 97 fptexture \ 98 front-back-modes \ 99 $(GETPROCADDRESS) \ 100 getteximage \ 101 glutfx \ 102 interleave \ 103 invert \ 104 jkrahntest \ 105 lineclip \ 106 linehacks \ 107 line-sample \ 108 manytex \ 109 mapbufrange \ 110 minmag \ 111 mipgen \ 112 mipmap_comp \ 113 mipmap_comp_tests \ 114 mipmap_limits \ 115 mipmap_view \ 116 mipmap_tunnel \ 117 multipal \ 118 multitexarray \ 119 multiwindow \ 120 no_s3tc \ 121 packedpixels \ 122 pbo \ 123 persp_hint \ 124 prim \ 125 prog_parameter \ 126 quads \ 127 random \ 128 readrate \ 129 rubberband \ 130 scissor \ 131 scissor-viewport \ 132 seccolor \ 133 shader_api \ 134 shader-interp \ 135 shadow-sample \ 136 sharedtex \ 137 stencilreaddraw \ 138 stencilwrap \ 139 step \ 140 streaming_rect \ 141 subtex \ 142 subtexrate \ 143 tex1d \ 144 texcmp \ 145 texcompress2 \ 146 texcompsub \ 147 texdown \ 148 texfilt \ 149 texgenmix \ 150 texleak \ 151 texline \ 152 texobj \ 153 texobjshare \ 154 texrect \ 155 unfilledclip \ 156 viewmemory \ 157 vparray \ 158 vpeval \ 159 vptest1 \ 160 vptest2 \ 161 vptest3 \ 162 vptorus \ 163 vpwarpmesh \ 164 yuvrect \ 165 yuvsquare \ 166 zbitmap \ 167 zcomp \ 168 zdrawpix \ 169 zreaddraw 170endif 171 172afsmultiarb_LDADD = ../util/libutil.la 173arraytexture_LDADD = ../util/libutil.la 174auxbuffer_LDADD = -lX11 175bug_3195_LDADD = ../util/libutil.la 176bumpmap_LDADD = ../util/libutil.la 177floattex_LDADD = ../util/libutil.la 178fillrate_LDADD = ../util/libutil.la 179invert_LDADD = ../util/libutil.la 180jkrahntest_LDADD = -lX11 181linehacks_LDADD = ../util/libutil.la 182mipmap_limits_LDADD = ../util/libutil.la 183mipmap_view_LDADD = ../util/libutil.la 184sharedtex_LDADD = -lX11 185shader_interp_LDADD = ../util/libutil.la 186texobjshare_LDADD = -lX11 187texrect_LDADD = ../util/libutil.la 188 189EXTRA_DIST = \ 190 Makefile.am \ 191 getprocaddress.py \ 192 texcomp_image.h \ 193 tkmap.c 194