Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | # This is a generic makefile for libyuv for gcc. |
michael@0 | 2 | # make -f linux.mk CC=clang++ |
michael@0 | 3 | |
michael@0 | 4 | CC=g++ |
michael@0 | 5 | CCFLAGS=-O2 -fomit-frame-pointer -Iinclude/ |
michael@0 | 6 | |
michael@0 | 7 | LOCAL_OBJ_FILES := \ |
michael@0 | 8 | source/compare.o \ |
michael@0 | 9 | source/compare_common.o \ |
michael@0 | 10 | source/compare_posix.o \ |
michael@0 | 11 | source/convert.o \ |
michael@0 | 12 | source/convert_argb.o \ |
michael@0 | 13 | source/convert_from.o \ |
michael@0 | 14 | source/convert_from_argb.o \ |
michael@0 | 15 | source/convert_to_argb.o \ |
michael@0 | 16 | source/convert_to_i420.o \ |
michael@0 | 17 | source/cpu_id.o \ |
michael@0 | 18 | source/format_conversion.o \ |
michael@0 | 19 | source/planar_functions.o \ |
michael@0 | 20 | source/rotate.o \ |
michael@0 | 21 | source/rotate_argb.o \ |
michael@0 | 22 | source/rotate_mips.o \ |
michael@0 | 23 | source/row_any.o \ |
michael@0 | 24 | source/row_common.o \ |
michael@0 | 25 | source/row_mips.o \ |
michael@0 | 26 | source/row_posix.o \ |
michael@0 | 27 | source/scale.o \ |
michael@0 | 28 | source/scale_argb.o \ |
michael@0 | 29 | source/scale_common.o \ |
michael@0 | 30 | source/scale_mips.o \ |
michael@0 | 31 | source/scale_posix.o \ |
michael@0 | 32 | source/video_common.o |
michael@0 | 33 | |
michael@0 | 34 | .cc.o: |
michael@0 | 35 | $(CC) -c $(CCFLAGS) $*.cc -o $*.o |
michael@0 | 36 | |
michael@0 | 37 | all: libyuv.a convert linux.mk |
michael@0 | 38 | |
michael@0 | 39 | libyuv.a: $(LOCAL_OBJ_FILES) linux.mk |
michael@0 | 40 | $(AR) $(ARFLAGS) -o $@ $(LOCAL_OBJ_FILES) |
michael@0 | 41 | |
michael@0 | 42 | # A test utility that uses libyuv conversion. |
michael@0 | 43 | convert: util/convert.cc linux.mk |
michael@0 | 44 | $(CC) $(CCFLAGS) -Iutil/ -o $@ util/convert.cc libyuv.a |
michael@0 | 45 | |
michael@0 | 46 | clean: |
michael@0 | 47 | /bin/rm -f source/*.o *.ii *.s libyuv.a convert |
michael@0 | 48 |