summaryrefslogtreecommitdiffstats
path: root/src/mapi/es1api
diff options
context:
space:
mode:
authorChristopher James Halse Rogers <[email protected]>2012-07-19 12:30:11 +1000
committerMatt Turner <[email protected]>2012-08-13 12:24:47 -0700
commit73fef0178ad9fb0fc47679fcc485144b4ef08fb6 (patch)
treeb9130717fa996d0a8e497d17d428f30f18aab2ef /src/mapi/es1api
parent77a3efc6b907943903190b385fdf107c4acfcdca (diff)
build/mapi: More killing of TOP in favour of top_srcdir
Reviewed-by: Eric Anholt <[email protected]> Signed-off-by: Christopher James Halse Rogers <[email protected]>
Diffstat (limited to 'src/mapi/es1api')
-rw-r--r--src/mapi/es1api/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mapi/es1api/Makefile b/src/mapi/es1api/Makefile
index a9c91231954..6f4c35af4ed 100644
--- a/src/mapi/es1api/Makefile
+++ b/src/mapi/es1api/Makefile
@@ -40,6 +40,10 @@ esapi_CPPFLAGS := \
-I$(TOP)/src/mapi \
-DMAPI_ABI_HEADER=\"$(ESAPI)/glapi_mapi_tmp.h\"
+
+# This is a lie when doing out-of-tree builds, but it's no worse than the
+# current situation, and can be dropped should this get automakified
+top_srcdir = $(TOP)
include $(MAPI)/sources.mak
esapi_SOURCES := $(MAPI_BRIDGE_FILES)
esapi_OBJECTS := $(notdir $(MAPI_BRIDGE_FILES:.c=.o))