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	$(X11_CFLAGS) \
30	$(EGL_CFLAGS) \
31	$(VG_CFLAGS)
32AM_LDFLAGS = \
33	$(X11_LIBS) \
34	$(EGL_LIBS) \
35	$(VG_LIBS) \
36	-lm
37
38if HAVE_X11
39if HAVE_EGL
40if HAVE_VG
41noinst_LTLIBRARIES = libcommon.la
42libcommon_la_SOURCES = \
43	eglcommon.h \
44	eglcommon.c
45
46noinst_PROGRAMS = \
47	arc \
48	cap \
49	blend \
50	clear \
51	color_transform \
52	coord \
53	dash \
54	ellipse \
55	filter \
56	gradorigin \
57	image \
58	layer \
59	lineto \
60	lingrad \
61	lookup \
62	mask4 \
63	mask \
64	mask_render \
65	paint \
66	path3 \
67	radialgrad \
68	readpixels \
69	roundedrect \
70	star-nonzero \
71	star-oddeven \
72	stroke2 \
73	stroke
74
75# VGU is broken on current mesa master
76#	vguarc
77
78arc_LDADD = libcommon.la
79blend_LDADD = libcommon.la
80cap_LDADD = libcommon.la
81clear_LDADD = libcommon.la
82color_transform_LDADD = libcommon.la
83coord_LDADD = libcommon.la
84dash_LDADD = libcommon.la
85ellipse_LDADD = libcommon.la
86filter_LDADD = libcommon.la
87gradorigin_LDADD = libcommon.la
88image_LDADD = libcommon.la
89layer_LDADD = libcommon.la
90lineto_LDADD = libcommon.la
91lingrad_LDADD = libcommon.la
92lookup_LDADD = libcommon.la
93mask4_LDADD = libcommon.la
94mask_LDADD = libcommon.la
95mask_render_LDADD = libcommon.la
96paint_LDADD = libcommon.la
97path3_LDADD = libcommon.la
98radialgrad_LDADD = libcommon.la
99readpixels_LDADD = libcommon.la
100roundedrect_LDADD = libcommon.la
101star_nonzero_LDADD = libcommon.la
102star_oddeven_LDADD = libcommon.la
103stroke2_LDADD = libcommon.la
104stroke_LDADD = libcommon.la
105#vguarc_LDADD = libcommon.la
106endif
107endif
108endif
109