mesa/src/mapi
Chad Versace 5154b45217 mapi: Fix Android build
The Android build was broken by
    commit ca760181b4
    Author: Kristian Høgsberg <krh@bitplanet.net>
    Date:   Fri Mar 16 12:55:40 2012 -0400

    shared-glapi: Convert to automake

The offending change was that it redefined the filepaths in sources.mak
like this:
    - FOO_FILES := bar.c
    + FOO_FILES := $(TOP)/src/mapi/mapi/bar.c
This broke the build because source filepaths in Android makefiles must be
relative to the makefile.

Ideally, this could be fixed by reverting the change in sources.mak and
making shared-glapi's Makefile.am use $(addprefix $(TOP)/src/mapi/mapi,
$(FOO_FILES)). However, automake doesn't understand builtin GNU make
functions, such as addprefix. So, it seems that automake and Android can
no longer share sources.mak.

Fix the build by duplicating the source lists from sources.mak into
Android.mk.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2012-04-10 21:07:12 -07:00
..
es1api shared-glapi: Convert to automake 2012-03-19 11:13:06 -04:00
es2api add machine generated files to .gitignore 2011-01-24 09:17:57 -07:00
glapi glapi: regen for TBO change. 2012-04-09 14:33:53 -07:00
mapi shared-glapi: Convert to automake 2012-03-19 11:13:06 -04:00
shared-glapi shared-glapi: Include from builddir 2012-03-29 09:25:15 -04:00
vgapi shared-glapi: Convert to automake 2012-03-19 11:13:06 -04:00
Android.mk mapi: Fix Android build 2012-04-10 21:07:12 -07:00