132001f49Smrg# Copyright © 2010 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	$(X11_CFLAGS) \
3032001f49Smrg	$(EGL_CFLAGS) \
3132001f49Smrg	$(VG_CFLAGS)
3232001f49SmrgAM_LDFLAGS = \
3332001f49Smrg	$(X11_LIBS) \
3432001f49Smrg	$(EGL_LIBS) \
3532001f49Smrg	$(VG_LIBS) \
3632001f49Smrg	-lm
3732001f49Smrg
3832001f49Smrgif HAVE_X11
3932001f49Smrgif HAVE_EGL
4032001f49Smrgif HAVE_VG
4132001f49Smrgnoinst_LTLIBRARIES = libcommon.la
4232001f49Smrglibcommon_la_SOURCES = \
4332001f49Smrg	eglcommon.h \
4432001f49Smrg	eglcommon.c
4532001f49Smrg
4632001f49Smrgnoinst_PROGRAMS = \
4732001f49Smrg	arc \
4832001f49Smrg	cap \
4932001f49Smrg	blend \
5032001f49Smrg	clear \
5132001f49Smrg	color_transform \
5232001f49Smrg	coord \
5332001f49Smrg	dash \
5432001f49Smrg	ellipse \
5532001f49Smrg	filter \
5632001f49Smrg	gradorigin \
5732001f49Smrg	image \
5832001f49Smrg	layer \
5932001f49Smrg	lineto \
6032001f49Smrg	lingrad \
6132001f49Smrg	lookup \
6232001f49Smrg	mask4 \
6332001f49Smrg	mask \
6432001f49Smrg	mask_render \
6532001f49Smrg	paint \
6632001f49Smrg	path3 \
6732001f49Smrg	radialgrad \
6832001f49Smrg	readpixels \
6932001f49Smrg	roundedrect \
7032001f49Smrg	star-nonzero \
7132001f49Smrg	star-oddeven \
7232001f49Smrg	stroke2 \
7332001f49Smrg	stroke
7432001f49Smrg
7532001f49Smrg# VGU is broken on current mesa master
7632001f49Smrg#	vguarc
7732001f49Smrg
7832001f49Smrgarc_LDADD = libcommon.la
7932001f49Smrgblend_LDADD = libcommon.la
8032001f49Smrgcap_LDADD = libcommon.la
8132001f49Smrgclear_LDADD = libcommon.la
8232001f49Smrgcolor_transform_LDADD = libcommon.la
8332001f49Smrgcoord_LDADD = libcommon.la
8432001f49Smrgdash_LDADD = libcommon.la
8532001f49Smrgellipse_LDADD = libcommon.la
8632001f49Smrgfilter_LDADD = libcommon.la
8732001f49Smrggradorigin_LDADD = libcommon.la
8832001f49Smrgimage_LDADD = libcommon.la
8932001f49Smrglayer_LDADD = libcommon.la
9032001f49Smrglineto_LDADD = libcommon.la
9132001f49Smrglingrad_LDADD = libcommon.la
9232001f49Smrglookup_LDADD = libcommon.la
9332001f49Smrgmask4_LDADD = libcommon.la
9432001f49Smrgmask_LDADD = libcommon.la
9532001f49Smrgmask_render_LDADD = libcommon.la
9632001f49Smrgpaint_LDADD = libcommon.la
9732001f49Smrgpath3_LDADD = libcommon.la
9832001f49Smrgradialgrad_LDADD = libcommon.la
9932001f49Smrgreadpixels_LDADD = libcommon.la
10032001f49Smrgroundedrect_LDADD = libcommon.la
10132001f49Smrgstar_nonzero_LDADD = libcommon.la
10232001f49Smrgstar_oddeven_LDADD = libcommon.la
10332001f49Smrgstroke2_LDADD = libcommon.la
10432001f49Smrgstroke_LDADD = libcommon.la
10532001f49Smrg#vguarc_LDADD = libcommon.la
10632001f49Smrgendif
10732001f49Smrgendif
10832001f49Smrgendif
109