summaryrefslogtreecommitdiff
path: root/src/mapi/es1api
diff options
context:
space:
mode:
authorChristopher James Halse Rogers <christopher.halse.rogers@canonical.com>2012-07-19 12:30:11 +1000
committerMatt Turner <mattst88@gmail.com>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 <eric@anholt.net> Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
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))