Makefile.am revision 32001f49
1# Copyright © 2010 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 $(GLESV1_CFLAGS) \ 30 $(EGL_CFLAGS) \ 31 $(X11_CFLAGS) \ 32 -I$(top_srcdir)/src/egl/eglut 33 34AM_LDFLAGS = \ 35 $(GLESV1_LIBS) \ 36 $(EGL_LIBS) \ 37 -lm 38 39if HAVE_EGL 40if HAVE_GLESV1 41noinst_PROGRAMS = \ 42 bindtex \ 43 clear \ 44 drawtex_screen \ 45 drawtex_x11 \ 46 eglfbdev \ 47 es1_info \ 48 gears_screen \ 49 gears_x11 \ 50 msaa \ 51 pbuffer\ 52 render_tex \ 53 texture_from_pixmap \ 54 torus_screen \ 55 torus_x11 \ 56 tri_screen \ 57 tri_x11 \ 58 two_win 59endif 60endif 61 62bindtex_LDADD = $(X11_LIBS) 63es1_info_LDADD = $(X11_LIBS) 64msaa_LDADD = $(X11_LIBS) 65pbuffer_LDADD = $(X11_LIBS) 66render_tex_LDADD = $(X11_LIBS) 67texture_from_pixmap_LDADD = $(X11_LIBS) 68two_win_LDADD = $(X11_LIBS) 69 70# intentionally not link to GLESV1_LIBS 71clear_LDADD = ../eglut/libeglut_x11.la $(EGL_LIBS) $(X11_LIBS) 72clear_LDFLAGS = 73 74drawtex_screen_SOURCES = drawtex.c 75gears_screen_SOURCES = gears.c 76torus_screen_SOURCES = torus.c 77tri_screen_SOURCES = tri.c 78 79drawtex_x11_SOURCES = drawtex.c 80gears_x11_SOURCES = gears.c 81torus_x11_SOURCES = torus.c 82tri_x11_SOURCES = tri.c 83 84drawtex_screen_LDADD = ../eglut/libeglut_screen.la 85gears_screen_LDADD = ../eglut/libeglut_screen.la 86torus_screen_LDADD = ../eglut/libeglut_screen.la 87tri_screen_LDADD = ../eglut/libeglut_screen.la 88 89drawtex_x11_LDADD = ../eglut/libeglut_x11.la 90gears_x11_LDADD = ../eglut/libeglut_x11.la 91torus_x11_LDADD = ../eglut/libeglut_x11.la 92tri_x11_LDADD = ../eglut/libeglut_x11.la 93