1#
2# Permission is hereby granted, free of charge, to any person obtaining a
3# copy of this software and associated documentation files (the "Software"),
4# to deal in the Software without restriction, including without limitation
5# the rights to use, copy, modify, merge, publish, distribute, sublicense,
6# and/or sell copies of the Software, and to permit persons to whom the
7# Software is furnished to do so, subject to the following conditions:
8#
9# The above copyright notice and this permission notice (including the next
10# paragraph) shall be included in all copies or substantial portions of the
11# Software.
12#
13# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
14# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
15# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
16# NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
17# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
18# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20# DEALINGS IN THE SOFTWARE.
21
22include Makefile.sources
23include $(top_srcdir)/src/gallium/Automake.inc
24
25AM_CFLAGS = $(GALLIUM_CFLAGS)
26
27AM_CPPFLAGS = \
28	-I$(top_srcdir)/include \
29	-I$(top_srcdir)/src/mapi \
30	-I$(top_srcdir)/src/mesa \
31	-I$(top_srcdir)/src/gallium/include \
32	-I$(top_srcdir)/src/gallium/drivers \
33	-I$(top_srcdir)/src/gallium/winsys \
34	-I$(top_srcdir)/src/gallium/state_trackers/glx/xlib \
35	-I$(top_srcdir)/src/gallium/auxiliary \
36	-DGALLIUM_SOFTPIPE \
37	-DGALLIUM_TRACE
38
39noinst_LTLIBRARIES = libosmesa.la
40
41libosmesa_la_SOURCES = $(C_SOURCES)
42
43EXTRA_DIST = SConscript meson.build
44