media/libyuv/winarm.mk
author Robert Longson <longsonr@gmail.com>
Sat, 24 Jan 2015 09:35:22 +0000
changeset 225511 dfab66d1510b151d84764ad2237e83c2590065fb
parent 166157 be17fb052374387c6a27d797180e2517f112cf9a
child 304826 92c15211f59b03279452759986e8b896a2a1a42f
permissions -rw-r--r--
Bug 1125201 - Make forceRedraw nothrow. r=bzbarsky

# This is a generic makefile for libyuv for Windows Arm.
# 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/format_conversion.o\
	source/planar_functions.o\
	source/rotate.o\
	source/rotate_argb.o\
	source/row_any.o\
	source/row_common.o\
	source/scale.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