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/glad/include \ 32 -I$(top_srcdir)/src/util 33AM_LDFLAGS = \ 34 $(DEMO_LIBS) \ 35 $(GLUT_LIBS) 36 37if HAVE_MESA_SOURCE 38GETPROCADDRESS=getprocaddress 39 40getprocaddress_SOURCES = \ 41 getprocaddress.c 42nodist_getprocaddress_SOURCES = \ 43 getproclist.h 44 45getproclist.h: $(MESA_GLAPI)/gl_API.xml getprocaddress.c getprocaddress.py 46 python getprocaddress.py $(MESA_GLAPI) > getproclist.h 47 48BUILT_SOURCES = \ 49 getproclist.h 50endif 51 52if HAVE_GLUT 53noinst_PROGRAMS = \ 54 afsmultiarb \ 55 antialias \ 56 arbfpspec \ 57 arbfptest1 \ 58 arbfptexture \ 59 arbfptrig \ 60 arbgpuprog \ 61 arbnpot \ 62 arbnpot-mipmap \ 63 arbvparray \ 64 arbvptest1 \ 65 arbvptest3 \ 66 arbvptorus \ 67 arbvpwarpmesh \ 68 arraytexture \ 69 auxbuffer \ 70 backspecular \ 71 blendxor \ 72 blitfb \ 73 bufferobj \ 74 bumpmap \ 75 bug_3050 \ 76 bug_3101 \ 77 bug_3195 \ 78 bug_texstore_i8 \ 79 calibrate_rast \ 80 clip \ 81 condrender \ 82 copypixrate \ 83 cva \ 84 cva_huge \ 85 cylwrap \ 86 drawbuffers \ 87 drawbuffers2 \ 88 drawstencil \ 89 exactrast \ 90 ext422square \ 91 floattex \ 92 fbotest1 \ 93 fbotest2 \ 94 fbotest3 \ 95 fillrate \ 96 fogcoord \ 97 fptest1 \ 98 fptexture \ 99 front-back-modes \ 100 $(GETPROCADDRESS) \ 101 getteximage \ 102 glutfx \ 103 interleave \ 104 invert \ 105 jkrahntest \ 106 lineclip \ 107 linehacks \ 108 line-sample \ 109 manytex \ 110 mapbufrange \ 111 minmag \ 112 mipgen \ 113 mipmap_comp \ 114 mipmap_comp_tests \ 115 mipmap_limits \ 116 mipmap_view \ 117 mipmap_tunnel \ 118 multipal \ 119 multitexarray \ 120 multiwindow \ 121 no_s3tc \ 122 packedpixels \ 123 pbo \ 124 persp_hint \ 125 prim \ 126 prog_parameter \ 127 quads \ 128 random \ 129 readrate \ 130 rubberband \ 131 scissor \ 132 scissor-viewport \ 133 seccolor \ 134 shader_api \ 135 shader-interp \ 136 shadow-sample \ 137 sharedtex \ 138 stencilreaddraw \ 139 stencilwrap \ 140 step \ 141 streaming_rect \ 142 subtex \ 143 subtexrate \ 144 tex1d \ 145 texcmp \ 146 texcompress2 \ 147 texcompsub \ 148 texdown \ 149 texfilt \ 150 texgenmix \ 151 texleak \ 152 texline \ 153 texobj \ 154 texobjshare \ 155 texrect \ 156 unfilledclip \ 157 viewmemory \ 158 vparray \ 159 vpeval \ 160 vptest1 \ 161 vptest2 \ 162 vptest3 \ 163 vptorus \ 164 vpwarpmesh \ 165 yuvrect \ 166 yuvsquare \ 167 zbitmap \ 168 zcomp \ 169 zdrawpix \ 170 zreaddraw 171endif 172 173LDADD = ../glad/libglad.la 174afsmultiarb_LDADD = ../util/libutil.la ../glad/libglad.la 175arraytexture_LDADD = ../util/libutil.la ../glad/libglad.la 176auxbuffer_LDADD = ../glad/libglad.la -lX11 177bug_3195_LDADD = ../util/libutil.la ../glad/libglad.la 178bumpmap_LDADD = ../util/libutil.la ../glad/libglad.la 179floattex_LDADD = ../util/libutil.la ../glad/libglad.la 180fillrate_LDADD = ../util/libutil.la ../glad/libglad.la 181invert_LDADD = ../util/libutil.la ../glad/libglad.la 182jkrahntest_LDADD = ../glad/libglad.la -lX11 183linehacks_LDADD = ../util/libutil.la ../glad/libglad.la 184mipmap_limits_LDADD = ../util/libutil.la ../glad/libglad.la 185mipmap_view_LDADD = ../util/libutil.la ../glad/libglad.la 186sharedtex_LDADD = ../glad/libglad.la -lX11 187shader_interp_LDADD = ../util/libutil.la ../glad/libglad.la 188texobjshare_LDADD = ../glad/libglad.la -lX11 189texrect_LDADD = ../util/libutil.la ../glad/libglad.la 190 191EXTRA_DIST = \ 192 Makefile.am \ 193 getprocaddress.py \ 194 texcomp_image.h \ 195 tkmap.c 196