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 25AM_CFLAGS = \ 26 $(DEMO_CFLAGS) \ 27 $(GLUT_CFLAGS) \ 28 -I$(top_srcdir)/src/util 29AM_CXXFLAGS = \ 30 $(DEMO_CXXFLAGS) \ 31 $(GLUT_CXXFLAGS) \ 32 -I$(top_srcdir)/src/util 33AM_LDFLAGS = \ 34 $(DEMO_LIBS) \ 35 $(GLUT_LIBS) 36 37if HAVE_GLUT 38bin_PROGRAMS = \ 39 array \ 40 bezier \ 41 bitmap-demo \ 42 brick \ 43 bump \ 44 blinking-teapot \ 45 convolutions \ 46 deriv \ 47 fragcoord \ 48 fsraytrace \ 49 geom-outlining-130 \ 50 geom-outlining-150 \ 51 geom-sprites \ 52 geom-stipple-lines \ 53 geom-wide-lines \ 54 gsraytrace \ 55 identity \ 56 linktest \ 57 mandelbrot \ 58 multinoise \ 59 multitex \ 60 noise2 \ 61 noise \ 62 pointcoord \ 63 points \ 64 samplers \ 65 samplers_array \ 66 shadow_sampler \ 67 shtest \ 68 simplex-noise \ 69 skinning \ 70 texaaline \ 71 texdemo1 \ 72 toyball \ 73 trirast \ 74 twoside \ 75 vert-or-frag-only \ 76 vert-tex \ 77 vsraytrace 78endif 79 80gsraytrace_SOURCES = gsraytrace.cpp 81 82samplers_array_SOURCES = samplers.c 83samplers_array_CFLAGS = $(AM_CFLAGS) -DSAMPLERS_ARRAY 84 85array_LDADD = ../util/libutil.la 86bitmap_demo_LDADD = ../util/libutil.la 87bezier_LDADD = ../util/libutil.la 88brick_LDADD = ../util/libutil.la 89bump_LDADD = ../util/libutil.la 90blinking_teapot_LDADD = ../util/libutil.la 91convolutions_LDADD = ../util/libutil.la 92deriv_LDADD = ../util/libutil.la 93geom_outlining_130_LDADD = ../util/libutil.la 94geom_outlining_150_LDADD = ../util/libutil.la 95geom_sprites_LDADD = ../util/libutil.la 96geom_stipple_lines_LDADD = ../util/libutil.la 97geom_wide_lines_LDADD = ../util/libutil.la 98gsraytrace_LDADD = ../util/libutil.la 99fsraytrace_LDADD = ../util/libutil.la 100fragcoord_LDADD = ../util/libutil.la 101identity_LDADD = ../util/libutil.la 102linktest_LDADD = ../util/libutil.la 103mandelbrot_LDADD = ../util/libutil.la 104multitex_LDADD = ../util/libutil.la 105noise_LDADD = ../util/libutil.la 106simplex_noise_LDADD = ../util/libutil.la 107pointcoord_LDADD = ../util/libutil.la 108points_LDADD = ../util/libutil.la 109samplers_LDADD = ../util/libutil.la 110samplers_array_LDADD = ../util/libutil.la 111shtest_LDADD = ../util/libutil.la 112skinning_LDADD = ../util/libutil.la 113texdemo1_LDADD = ../util/libutil.la 114toyball_LDADD = ../util/libutil.la 115trirast_LDADD = ../util/libutil.la 116twoside_LDADD = ../util/libutil.la 117vert_or_frag_only_LDADD = ../util/libutil.la 118vert_tex_LDADD = ../util/libutil.la 119vsraytrace_LDADD = ../util/libutil.la 120 121EXTRA_DIST = \ 122 CH06-brick.frag \ 123 CH06-brick.vert \ 124 CH11-bumpmap.frag \ 125 CH11-bumpmap.vert \ 126 CH11-toyball.frag \ 127 CH11-toyball.vert \ 128 CH18-mandel.frag \ 129 CH18-mandel.vert \ 130 bezier.geom \ 131 brick.shtest \ 132 convolution.vert \ 133 cubemap.frag \ 134 mandelbrot.shtest \ 135 multitex.frag \ 136 multitex.shtest \ 137 multitex.vert \ 138 reflect.vert \ 139 shadowtex.frag \ 140 simple.vert \ 141 skinning.frag \ 142 toyball.shtest 143