summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-05-24 08:35:59 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-05-24 09:55:13 -0700
commita6e0870a3a4c2fa441a8d28fd9a9134c0e2af783 (patch)
tree960b025e8e4b4e0ac899e4e7c7d5124eb6b70d51 /Makefile
parent35de561bb451e5d61ff7ba36e03b06d6fac1cf40 (diff)
downloadqtlocation-mapboxgl-a6e0870a3a4c2fa441a8d28fd9a9134c0e2af783.tar.gz
[build] Add appropriate platform.gyp dependencies
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 73d09e8327..5b43d6b29f 100644
--- a/Makefile
+++ b/Makefile
@@ -153,8 +153,8 @@ define ANDROID_RULES
build/android-$1/config.gypi: platform/android/scripts/configure.sh $(CONFIG_DEPENDENCIES)
$$(shell $(ANDROID_ENV) $1) ./configure $$< $$@ android $1
-build/android-$1/Makefile: build/android-$1/config.gypi $(GYP_DEPENDENCIES)
- $$(shell $(ANDROID_ENV) $1) deps/run_gyp platform/android/platform.gyp -I$$< \
+build/android-$1/Makefile: platform/android/platform.gyp build/android-$1/config.gypi $(GYP_DEPENDENCIES)
+ $$(shell $(ANDROID_ENV) $1) deps/run_gyp $$< -I build/android-$1/config.gypi \
-Dcoverage= -Goutput_dir=. --depth=. --generator-output=build/android-$1 -f make-android
android-lib-$1: build/android-$1/Makefile
@@ -214,8 +214,8 @@ QT_ENV = $(shell MASON_PLATFORM_VERSION=$(shell uname -m) ./platform/qt/scripts/
$(QT_OUTPUT_PATH)/config.gypi: platform/qt/scripts/configure.sh $(CONFIG_DEPENDENCIES)
$(QT_ENV) ./configure $< $@ $(HOST_PLATFORM) $(shell uname -m)
-$(QT_MAKEFILE): $(QT_OUTPUT_PATH)/config.gypi $(GYP_DEPENDENCIES)
- $(QT_ENV) deps/run_gyp platform/qt/platform.gyp -I$< -Dcoverage=$(ENABLE_COVERAGE) \
+$(QT_MAKEFILE): platform/qt/platform.gyp $(QT_OUTPUT_PATH)/config.gypi $(GYP_DEPENDENCIES)
+ $(QT_ENV) deps/run_gyp $< -I $(QT_OUTPUT_PATH)/config.gypi -Dcoverage=$(ENABLE_COVERAGE) \
-Goutput_dir=. --depth=. --generator-output=$(QT_OUTPUT_PATH) -f make
qt-lib: $(QT_MAKEFILE)
@@ -245,8 +245,8 @@ LINUX_MAKEFILE = $(LINUX_OUTPUT_PATH)/Makefile
$(LINUX_OUTPUT_PATH)/config.gypi: platform/linux/scripts/configure.sh $(CONFIG_DEPENDENCIES)
./configure $< $@ linux $(shell uname -m)
-$(LINUX_MAKEFILE): $(LINUX_OUTPUT_PATH)/config.gypi $(GYP_DEPENDENCIES)
- deps/run_gyp platform/linux/platform.gyp -I$< -Dcoverage=$(ENABLE_COVERAGE) \
+$(LINUX_MAKEFILE): platform/linux/platform.gyp $(LINUX_OUTPUT_PATH)/config.gypi $(GYP_DEPENDENCIES)
+ deps/run_gyp $< -I $(LINUX_OUTPUT_PATH)/config.gypi -Dcoverage=$(ENABLE_COVERAGE) \
-Goutput_dir=. --depth=. --generator-output=$(LINUX_OUTPUT_PATH) -f make
linux: glfw-app render offline