Makefile.am revision 32001f49
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	$(X11_CFLAGS) \
28	-I$(top_srcdir)/src/util
29AM_LDFLAGS = \
30	$(DEMO_LIBS) \
31	$(X11_LIBS)
32
33if HAVE_X11
34noinst_LTLIBRARIES = libpbutil.la
35
36bin_PROGRAMS = \
37	corender \
38	glsync \
39	glthreads \
40	glxdemo \
41	glxgears \
42	glxgears_fbconfig \
43	glxgears_pixmap \
44	glxcontexts \
45	glxheads \
46	glxinfo \
47	glxpixmap \
48	glxpbdemo \
49	glxsnoop \
50	glxswapcontrol \
51	manywin \
52	multictx \
53	offset \
54	overlay \
55	pbinfo \
56	pbdemo \
57	shape \
58	sharedtex \
59        sharedtex_mt \
60	texture_from_pixmap \
61	wincopy \
62	xfont \
63	xrotfontdemo
64endif
65
66libpbutil_la_SOURCES = \
67	pbutil.c \
68	pbutil.h
69
70corender_SOURCES = \
71	corender.c \
72	ipc.c \
73	ipc.h
74
75xrotfontdemo_SOURCES = \
76	xrotfontdemo.c \
77	xuserotfont.c \
78	xuserotfont.h
79
80glxinfo_SOURCES = \
81	glxinfo.c \
82	glinfo_common.c \
83	glinfo_common.h
84
85glthreads_LDADD = -lpthread
86glxgears_fbconfig_LDADD = libpbutil.la
87pbdemo_LDADD = libpbutil.la
88pbinfo_LDADD = libpbutil.la
89sharedtex_mt_LDADD = -lpthread
90
91EXTRA_DIST = \
92	yuvrect_client.c \
93	xdemo.c
94