diff options
author | Matt Turner <[email protected]> | 2012-09-04 11:41:22 -0700 |
---|---|---|
committer | Andreas Boll <[email protected]> | 2013-01-10 22:01:09 +0100 |
commit | c0b9081dc5ab00f1509ab1b4824d8d0ba3d3f62e (patch) | |
tree | 7a60a4b0d0fb5daf4f41aba9d7486718e3bcc5ea /src/gallium/state_trackers/gbm/Makefile.am | |
parent | 8443efdf2c7772f18e8209b6b6cfc6b19e638423 (diff) |
state_trackers/gbm: Convert to automake
Diffstat (limited to 'src/gallium/state_trackers/gbm/Makefile.am')
-rw-r--r-- | src/gallium/state_trackers/gbm/Makefile.am | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/gbm/Makefile.am b/src/gallium/state_trackers/gbm/Makefile.am new file mode 100644 index 00000000000..7caa840ed0d --- /dev/null +++ b/src/gallium/state_trackers/gbm/Makefile.am @@ -0,0 +1,41 @@ +# Copyright © 2012 Intel Corporation +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice (including the next +# paragraph) shall be included in all copies or substantial portions of the +# Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. + +include $(top_srcdir)/src/gallium/Automake.inc + +AM_CFLAGS = $(GALLIUM_CFLAGS) +AM_CPPFLAGS = \ + -I$(top_srcdir)/src/gbm/main \ + -I$(top_srcdir)/include +if HAVE_EGL_PLATFORM_WAYLAND +AM_CPPFLAGS += -DHAVE_WAYLAND_PLATFORM +endif + +noinst_LTLIBRARIES = libgbm.la + +libgbm_la_SOURCES = gbm_drm.c + +#XXX: Delete this when all targets that rely on gbm are converted to automake. +all-local: libgbm.la + ln -f $(builddir)/.libs/libgbm.a $(builddir)/libgbm.a + +CLEANFILES = libgbm.a |