summaryrefslogtreecommitdiffstats
path: root/media/libyuv/winarm.mk
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /media/libyuv/winarm.mk
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'media/libyuv/winarm.mk')
-rw-r--r--media/libyuv/winarm.mk46
1 files changed, 46 insertions, 0 deletions
diff --git a/media/libyuv/winarm.mk b/media/libyuv/winarm.mk
new file mode 100644
index 000000000..c4307a431
--- /dev/null
+++ b/media/libyuv/winarm.mk
@@ -0,0 +1,46 @@
+# This is a generic makefile for libyuv for Windows Arm.
+# call "c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\x86_arm\vcvarsx86_arm.bat"
+# nmake /f winarm.mk
+# make -f winarm.mk
+# nmake /f winarm.mk clean
+# consider /arch:ARMv7VE
+CC=cl
+CCFLAGS=/Ox /nologo /Iinclude /DWINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP
+AR=lib
+ARFLAGS=/MACHINE:ARM /NOLOGO /SUBSYSTEM:NATIVE
+RM=cmd /c del
+
+LOCAL_OBJ_FILES = \
+ source/compare.o\
+ source/compare_common.o\
+ source/convert.o\
+ source/convert_argb.o\
+ source/convert_from.o\
+ source/convert_from_argb.o\
+ source/convert_to_argb.o\
+ source/convert_to_i420.o\
+ source/cpu_id.o\
+ source/planar_functions.o\
+ source/rotate.o\
+ source/rotate_any.o\
+ source/rotate_argb.o\
+ source/rotate_common.o\
+ source/row_any.o\
+ source/row_common.o\
+ source/scale.o\
+ source/scale_any.o\
+ source/scale_argb.o\
+ source/scale_common.o\
+ source/video_common.o
+
+.cc.o:
+ $(CC) /c $(CCFLAGS) $*.cc /Fo$@
+
+all: libyuv_arm.lib winarm.mk
+
+libyuv_arm.lib: $(LOCAL_OBJ_FILES) winarm.mk
+ $(AR) $(ARFLAGS) /OUT:$@ $(LOCAL_OBJ_FILES)
+
+clean:
+ $(RM) "source\*.o" libyuv_arm.lib
+