shithub: openh264

Download patch

ref: 7394254fb5b1367c8bd282483a05e6ab6659f5b9
parent: d67fbe74ce8ba627a9978d5fe1202bc4b1825f5c
author: Martin Storsjö <martin@martin.st>
date: Sun Jan 26 11:28:58 EST 2014

Remove the legacy makefile based build system

The new one is much more flexible. The old one is unmaintained.

--- a/codec/build/linux/dec/makefile
+++ /dev/null
@@ -1,253 +1,0 @@
-NAME= welsdec
-
-### include debug information: 1=yes, 0=no
-DBG= 0
-NASM = 1
-DEPEND= dependencies
-
-BINDIR= 	../bin
-OUTDIR= 	../../../../bin/linux
-INCLUDE= 	-I../../../api/svc -I../../../decoder/core/inc -I../../../decoder/plus/inc -I../../../console/dec/inc -I../../../common
-CORESRCDIR=	../../../decoder/core/src
-PLUSSRCDIR=	../../../decoder/plus/src
-ASMSRCDIR=	../../../decoder/core/asm
-MAINSRCDIR=	../../../console/dec/src
-COMMONSRCDIR=   ../../../common
-
-OBJMAINDIR= ../obj
-OBJDIR= ../obj/dec
-
-CC= $(shell which gcc)
-AS= $(shell which nasm)
-CXX = g++ -m32
-GCC = gcc -m32
-
-ASFLAGS= -f elf -DNOPREFIX -I ../../../decoder/core/asm/
-
-LIBS= -lstdc++ -ldl
-#-lm
-CFLAGS=  $(INCLUDE) -fPIC -D__GCC__ -DLINUX
-
-ifeq ($(DBG),1)
-#SUFFIX= .dbg
-CFLAGS+= -g
-else
-#SUFFIX=
-CFLAGS+= -O3
-endif
-
-ifeq ($(NASM), 1)
-CFLAGS += -DX86_ASM
-endif
-
-OBJSUF= .o$(SUFFIX)
-
-DECODESRC=$(CORESRCDIR)/au_parser.cpp \
-$(CORESRCDIR)/bit_stream.cpp \
-$(CORESRCDIR)/cpu.cpp \
-$(CORESRCDIR)/deblocking.cpp \
-$(CORESRCDIR)/decode_mb_aux.cpp \
-$(CORESRCDIR)/decoder.cpp \
-$(CORESRCDIR)/decoder_data_tables.cpp \
-$(CORESRCDIR)/expand_pic.cpp \
-$(CORESRCDIR)/fmo.cpp \
-$(CORESRCDIR)/get_intra_predictor.cpp \
-$(CORESRCDIR)/manage_dec_ref.cpp \
-$(CORESRCDIR)/mc.cpp \
-$(CORESRCDIR)/mem_align.cpp \
-$(CORESRCDIR)/memmgr_nal_unit.cpp \
-$(CORESRCDIR)/mv_pred.cpp \
-$(CORESRCDIR)/parse_mb_syn_cavlc.cpp \
-$(CORESRCDIR)/pic_queue.cpp \
-$(CORESRCDIR)/rec_mb.cpp \
-$(CORESRCDIR)/decode_slice.cpp \
-$(CORESRCDIR)/decoder_core.cpp \
-$(CORESRCDIR)/utils.cpp \
-$(PLUSSRCDIR)/welsDecoderExt.cpp \
-$(PLUSSRCDIR)/welsCodecTrace.cpp \
-$(COMMONSRCDIR)/logging.cpp
-
-ASMSRC= $(ASMSRCDIR)/block_add.asm \
-$(ASMSRCDIR)/cpuid.asm \
-$(ASMSRCDIR)/deblock.asm \
-$(ASMSRCDIR)/expand_picture.asm \
-$(ASMSRCDIR)/dct.asm \
-$(ASMSRCDIR)/intra_pred.asm \
-$(ASMSRCDIR)/mc_chroma.asm \
-$(ASMSRCDIR)/mb_copy.asm \
-$(ASMSRCDIR)/mc_luma.asm \
-$(ASMSRCDIR)/memzero.asm \
-$(ASMSRCDIR)/asm_inc.asm \
-
-MAINSRC= $(MAINSRCDIR)/d3d9_utils.cpp \
-$(MAINSRCDIR)/h264dec.cpp \
-$(MAINSRCDIR)/read_config.cpp
-
-OBJDEC=$(OBJDIR)/au_parser.o \
-$(OBJDIR)/bit_stream.o \
-$(OBJDIR)/cpu.o \
-$(OBJDIR)/deblocking.o \
-$(OBJDIR)/decode_mb_aux.o \
-$(OBJDIR)/decoder.o \
-$(OBJDIR)/decoder_data_tables.o \
-$(OBJDIR)/expand_pic.o \
-$(OBJDIR)/fmo.o \
-$(OBJDIR)/get_intra_predictor.o \
-$(OBJDIR)/manage_dec_ref.o \
-$(OBJDIR)/mc.o \
-$(OBJDIR)/mem_align.o \
-$(OBJDIR)/memmgr_nal_unit.o \
-$(OBJDIR)/mv_pred.o \
-$(OBJDIR)/parse_mb_syn_cavlc.o \
-$(OBJDIR)/pic_queue.o \
-$(OBJDIR)/rec_mb.o \
-$(OBJDIR)/decode_slice.o \
-$(OBJDIR)/decoder_core.o \
-$(OBJDIR)/utils.o \
-$(OBJDIR)/welsDecoderExt.o \
-$(OBJDIR)/welsCodecTrace.o \
-$(OBJDIR)/logging.o
-
-ifeq ($(NASM), 1)
-OBJDEC+=$(OBJDIR)/block_add.o \
-$(OBJDIR)/cpuid.o \
-$(OBJDIR)/deblock.o \
-$(OBJDIR)/expand_picture.o \
-$(OBJDIR)/dct.o \
-$(OBJDIR)/intra_pred.o \
-$(OBJDIR)/mc_chroma.o \
-$(OBJDIR)/mb_copy.o \
-$(OBJDIR)/mc_luma.o \
-$(OBJDIR)/memzero.o \
-$(OBJDIR)/asm_inc.o
-endif
-
-OBJBIN=	$(OBJDIR)/d3d9_utils.o \
-$(OBJDIR)/h264dec.o \
-$(OBJDIR)/read_config.o
-
-BINLIB=    	$(BINDIR)/$(NAME).a
-SHAREDLIB=  	$(BINDIR)/$(NAME).so
-BIN=    	$(BINDIR)/$(NAME).exe
-
-default: depend checkdir lib dylib exe release
-
-dependencies:
-	@echo "" >dependencies
-
-checkdir:
-	@echo 'checkdir..'
-	@if test ! -d $(BINDIR) ; \
-	then \
-		mkdir -p $(BINDIR) ; \
-	fi
-	@if test ! -d $(OUTDIR) ; \
-	then \
-		mkdir -p $(OUTDIR) ; \
-	fi
-	@if test ! -d $(OBJMAINDIR) ; \
-	then \
-		mkdir -p $(OBJMAINDIR) ; \
-	fi
-	@if test ! -d $(OBJDIR) ; \
-	then \
-		mkdir -p $(OBJDIR) ; \
-	fi
-	@echo
-
-release:
-	@echo 'release..'
-	@echo 'cp -f $(SHAREDLIB) $(OUTDIR)'
-	@cp -f $(SHAREDLIB) $(OUTDIR)
-	@echo 'cp -f $(BIN) $(OUTDIR)'
-	@cp -f $(BIN) $(OUTDIR)
-	@echo
-
-clean:
-	@echo remove all objects
-	@rm -f $(OBJDEC)
-	@rm -f $(OBJBIN)
-	@rm -f $(BINLIB)
-	@rm -f $(SHAREDLIB)
-	@rm -f $(BIN)
-
-tags:
-	@echo update tag table
-	@etags $(CORESRCDIR)/*.c $(CORESRCDIR)/*.cpp $(PLUSSRCDIR)/*.cpp $(MAINSRCDIR)/*.cpp
-
-
-lib:   	$(OBJDEC)
-	@echo '$(OBJDEC)'
-	@echo
-	@echo 'ar cr $(BINLIB) $(OBJDEC)'
-	@echo
-	@echo 'creating libraries "$(BINLIB)"'
-	@ar cr $(BINLIB) $(OBJDEC)
-	@echo '... done'
-	#@echo 'cp $(BINLIB) /usr/lib'
-	#@cp $(BINLIB) /usr/lib
-	@echo
-
-
-dylib:   $(OBJDEC)
-	@echo '$(OBJDEC)'
-	@echo
-	@echo '$(CXX) -shared -Wl,-Bsymbolic -o $(SHAREDLIB) $(OBJDEC) $(LIBS)'
-	@echo 'creating dynamic library "$(SHAREDLIB)"'
-	@$(CXX)  -shared -Wl,-Bsymbolic -o $(SHAREDLIB) $(OBJDEC)  $(LIBS)
-	@echo '... done'
-	@echo
-
-
-exe:	$(OBJBIN)
-	@echo
-	@echo '$(OBJBIN)'
-	@echo
-	@echo '$(CXX) $(LIBS) $(OBJBIN) $(BINLIB) -o $(BIN)'
-	@echo 'creating binary "$(BIN)"'
-	@$(CXX) $(OBJBIN) $(BINLIB) -o $(BIN) $(LIBS)
-	@echo '... done'
-	@echo
-
-depend:
-	@echo
-	@echo 'checking dependencies'
-	@$(SHELL) -ec '$(CC) -m32 -MM $(CFLAGS) $(DECODESRC) $(ASMSRC) $(MAINSRC)\
-         | sed '\''s@\(.*\)\.o[ :]@$(OBJDIR)/\1.o$(SUFFIX):@g'\''               \
-         >$(DEPEND)'
-	@echo
-
-#$(OBJDIR)/%.o$(SUFFIX): $(COMMSRCDIR)/%.c
-#	@echo 'compiling object file "$@" ...'
-#	@$(CC) -m32 -c $(CFLAGS) -o $@ $<
-
-$(OBJDIR)/%.o$(SUFFIX): $(CORESRCDIR)/%.c
-	@echo 'compiling object file "$@" ...'
-	@$(CC) -m32 -c $(CFLAGS) -o $@ $<
-
-$(OBJDIR)/%.o$(SUFFIX): $(CORESRCDIR)/%.cpp
-	@echo 'compiling object file "$@" ...'
-	@$(CC) -m32 -c $(CFLAGS) -o $@ $<
-
-$(OBJDIR)/%.o$(SUFFIX): $(PLUSSRCDIR)/%.cpp
-	@echo 'compiling object file "$@" ...'
-	@$(CC) -m32 -c $(CFLAGS) -o $@ $<
-
-$(OBJDIR)/%.o$(SUFFIX): $(ASMSRCDIR)/%.asm
-	@echo 'compiling object file "$@" ...'
-	@$(AS) $(ASFLAGS) -o $@ $<
-
-#$(OBJDIR)/%.o$(SUFFIX): $(ASMCOMDIR)/%.asm
-#	@echo 'compiling object file "$@" ...'
-#	@$(AS) $(ASFLAGS) -o $@ $<
-
-$(OBJDIR)/%.o$(SUFFIX): $(MAINSRCDIR)/%.cpp
-	@echo 'compiling object file "$@" ...'
-	@$(CC) -m32 -c $(CFLAGS) -o $@ $<
-
-$(OBJDIR)/%.o$(SUFFIX): $(COMMONSRCDIR)/%.cpp
-	@echo 'compiling object file "$@" ...'
-	@$(CC) -m32 -c $(CFLAGS) -o $@ $<
-
-include $(DEPEND)
-
--- a/codec/build/linux/enc/makefile
+++ /dev/null
@@ -1,277 +1,0 @@
-NAME= welsenc
-
-### include debug information: 1=yes, 0=no
-DBG= 0
-NASM = 1
-DEPEND= dependencies
-
-OUTDIR=		../../../../bin/linux
-BINDIR= 	../bin
-INCLUDE=  -I../../../encoder/core/inc -I../../../encoder/plus/inc -I../../../api/svc -I../../../WelsThreadLib/api -I../../../console/enc/inc -I../../../common
-THREADLIBSRCDIR=../../../WelsThreadLib/src
-CORESRCDIR=	../../../encoder/core/src
-PLUSSRCDIR=	../../../encoder/plus/src
-ASMSRCDIR=	../../../encoder/core/asm
-MAINSRCDIR=	../../../console/enc/src
-COMMONSRCDIR=   ../../../common
-
-OBJMAINDIR= ../obj
-OBJDIR= ../obj/enc
-
-CC= $(shell which gcc)
-AS= $(shell which nasm)
-CXX = g++ -m32
-GCC = gcc -m32
-
-ASFLAGS= -f elf -DNOPREFIX -I ../../../encoder/core/asm/
-
-LIBS= -lstdc++ -ldl -lpthread -lm
-#-lm
-CFLAGS=  $(INCLUDE) -m32 -fPIC -D__GCC__ -DLINUX -DWELS_TESTBED -DMT_ENABLED
-
-ifeq ($(DBG),1)
-#SUFFIX= .dbg
-CFLAGS+= -g
-else
-#SUFFIX=
-CFLAGS+= -O3
-endif
-ifeq ($(NASM), 1)
-CFLAGS += -DX86_ASM
-endif
-OBJSUF= .o$(SUFFIX)
-
-ENCODESRC= $(CORESRCDIR)/wels_preprocess.cpp \
-$(CORESRCDIR)/au_set.cpp \
-$(CORESRCDIR)/cpu.cpp \
-$(CORESRCDIR)/deblocking.cpp \
-$(CORESRCDIR)/decode_mb_aux.cpp \
-$(CORESRCDIR)/encode_mb_aux.cpp \
-$(CORESRCDIR)/encoder.cpp \
-$(CORESRCDIR)/encoder_data_tables.cpp \
-$(CORESRCDIR)/encoder_ext.cpp \
-$(CORESRCDIR)/expand_pic.cpp \
-$(CORESRCDIR)/get_intra_predictor.cpp \
-$(CORESRCDIR)/mc.cpp \
-$(CORESRCDIR)/md.cpp \
-$(CORESRCDIR)/memory_align.cpp \
-$(CORESRCDIR)/mv_pred.cpp \
-$(CORESRCDIR)/nal_encap.cpp \
-$(CORESRCDIR)/picture_handle.cpp \
-$(CORESRCDIR)/property.cpp \
-$(CORESRCDIR)/ratectl.cpp \
-$(CORESRCDIR)/ref_list_mgr_svc.cpp \
-$(CORESRCDIR)/sample.cpp \
-$(CORESRCDIR)/set_mb_syn_cavlc.cpp \
-$(CORESRCDIR)/slice_multi_threading.cpp \
-$(CORESRCDIR)/svc_enc_slice_segment.cpp \
-$(CORESRCDIR)/svc_base_layer_md.cpp \
-$(CORESRCDIR)/svc_encode_mb.cpp \
-$(CORESRCDIR)/svc_encode_slice.cpp \
-$(CORESRCDIR)/svc_mode_decision.cpp \
-$(CORESRCDIR)/svc_motion_estimate.cpp \
-$(CORESRCDIR)/svc_set_mb_syn_cavlc.cpp \
-$(CORESRCDIR)/utils.cpp \
-$(THREADLIBSRCDIR)/WelsThreadLib.cpp \
-$(PLUSSRCDIR)/welsEncoderExt.cpp \
-$(PLUSSRCDIR)/welsCodecTrace.cpp \
-$(COMMONSRCDIR)/logging.cpp
-
-ASMSRC=	$(ASMSRCDIR)/coeff.asm \
-$(ASMSRCDIR)/cpuid.asm \
-$(ASMSRCDIR)/dct.asm \
-$(ASMSRCDIR)/deblock.asm \
-$(ASMSRCDIR)/expand_picture.asm \
-$(ASMSRCDIR)/intra_pred.asm \
-$(ASMSRCDIR)/intra_pred_util.asm \
-$(ASMSRCDIR)/mb_copy.asm \
-$(ASMSRCDIR)/mc_chroma.asm \
-$(ASMSRCDIR)/mc_luma.asm \
-$(ASMSRCDIR)/memzero.asm \
-$(ASMSRCDIR)/quant.asm \
-$(ASMSRCDIR)/satd_sad.asm \
-$(ASMSRCDIR)/score.asm \
-$(ASMSRCDIR)/asm_inc.asm \
-$(ASMSRCDIR)/vaa.asm
-
-
-MAINSRC= $(MAINSRCDIR)/read_config.cpp \
-$(MAINSRCDIR)/welsenc.cpp
-
-OBJENC=	$(OBJDIR)/wels_preprocess.o \
-$(OBJDIR)/au_set.o \
-$(OBJDIR)/cpu.o \
-$(OBJDIR)/deblocking.o \
-$(OBJDIR)/decode_mb_aux.o \
-$(OBJDIR)/encode_mb_aux.o \
-$(OBJDIR)/encoder.o \
-$(OBJDIR)/encoder_data_tables.o \
-$(OBJDIR)/encoder_ext.o \
-$(OBJDIR)/expand_pic.o \
-$(OBJDIR)/get_intra_predictor.o \
-$(OBJDIR)/mc.o \
-$(OBJDIR)/md.o \
-$(OBJDIR)/memory_align.o \
-$(OBJDIR)/mv_pred.o \
-$(OBJDIR)/nal_encap.o \
-$(OBJDIR)/picture_handle.o \
-$(OBJDIR)/property.o \
-$(OBJDIR)/ratectl.o \
-$(OBJDIR)/ref_list_mgr_svc.o \
-$(OBJDIR)/sample.o \
-$(OBJDIR)/set_mb_syn_cavlc.o \
-$(OBJDIR)/slice_multi_threading.o \
-$(OBJDIR)/svc_enc_slice_segment.o \
-$(OBJDIR)/svc_base_layer_md.o \
-$(OBJDIR)/svc_encode_mb.o \
-$(OBJDIR)/svc_encode_slice.o \
-$(OBJDIR)/svc_mode_decision.o \
-$(OBJDIR)/svc_motion_estimate.o \
-$(OBJDIR)/svc_set_mb_syn_cavlc.o \
-$(OBJDIR)/utils.o \
-$(OBJDIR)/WelsThreadLib.o \
-$(OBJDIR)/welsEncoderExt.o \
-$(OBJDIR)/welsCodecTrace.o \
-$(OBJDIR)/logging.o
-
-ifeq ($(NASM), 1)
-OBJENC += $(OBJDIR)/cpuid.o \
-$(OBJDIR)/coeff.o \
-$(OBJDIR)/dct.o \
-$(OBJDIR)/deblock.o \
-$(OBJDIR)/expand_picture.o \
-$(OBJDIR)/intra_pred_util.o \
-$(OBJDIR)/intra_pred.o \
-$(OBJDIR)/mb_copy.o \
-$(OBJDIR)/mc_chroma.o \
-$(OBJDIR)/mc_luma.o \
-$(OBJDIR)/memzero.o \
-$(OBJDIR)/quant.o \
-$(OBJDIR)/satd_sad.o \
-$(OBJDIR)/score.o \
-$(OBJDIR)/asm_inc.o \
-$(OBJDIR)/vaa.o
-endif
-OBJBIN=	$(OBJDIR)/read_config.o \
-$(OBJDIR)/welsenc.o
-
-BINLIB=    	$(BINDIR)/$(NAME).a
-SHAREDLIB=  	$(BINDIR)/$(NAME).so
-BIN=    	$(BINDIR)/$(NAME).exe
-
-default: depend checkdir lib dylib exe release
-
-dependencies:
-	@echo "" >dependencies
-
-checkdir:
-	@echo 'checkdir..'
-	@if test ! -d $(OUTDIR) ; \
-	then \
-		mkdir -p $(OUTDIR) ; \
-	fi
-	@if test ! -d $(BINDIR) ; \
-	then \
-		mkdir -p $(BINDIR) ; \
-	fi
-	@if test ! -d $(OBJMAINDIR) ; \
-	then \
-		mkdir -p $(OBJMAINDIR) ; \
-	fi
-	@if test ! -d $(OBJDIR) ; \
-	then \
-		mkdir -p $(OBJDIR) ; \
-	fi
-	@echo
-
-clean:
-	@echo remove all objects
-	@rm -f $(OBJENC)
-	@rm -f $(OBJBIN)
-	@rm -f $(BINLIB)
-	@rm -f $(SHAREDLIB)
-	@rm -f $(BIN)
-
-tags:
-	@echo update tag table
-	@etags $(THREADLIBSRCDIR)/*.cpp $(COMMSRCDIR)/*.cpp $(CORESRCDIR)/*.cpp $(PLUSSRCDIR)/*.cpp $(MAINSRCDIR)/*.cpp
-
-
-lib:   	$(OBJENC)
-	@echo '$(OBJENC)'
-	@echo
-	@echo 'ar cr $(BINLIB) $(OBJENC)'
-	@echo
-	@echo 'creating libraries "$(BINLIB)"'
-	@ar cr $(BINLIB) $(OBJENC)
-	@echo '... done'
-	#@echo 'cp $(BINLIB) /usr/lib'
-	#@cp $(BINLIB) /usr/lib
-	@echo
-
-
-dylib:   $(OBJENC)
-	@echo '$(OBJENC)'
-	@echo
-	@echo '$(GCC) -shared -Wl,-Bsymbolic -m32 -o $(SHAREDLIB) $(OBJENC) $(LIBS)'
-	@echo 'creating dynamic library "$(SHAREDLIB)"'
-	@$(GCC)  -shared -Wl,-Bsymbolic -m32 -o $(SHAREDLIB) $(OBJENC)  $(LIBS)
-	@echo '... done'
-	@echo
-
-release:
-	@echo 'release..'
-	@echo 'cp -f $(SHAREDLIB) $(OUTDIR)'
-	@cp -f $(SHAREDLIB) $(OUTDIR)
-	@echo 'cp -f $(BIN) $(OUTDIR)'
-	@cp -f $(BIN) $(OUTDIR)
-	@echo
-
-exe:	$(OBJBIN)
-	@echo
-	@echo '$(OBJBIN)'
-	@echo
-	@echo '$(GCC) $(LIBS) $(OBJBIN) $(BINLIB) -m32 -o $(BIN)'
-	@echo 'creating binary "$(BIN)"'
-	@$(GCC)  $(OBJBIN) $(BINLIB) -m32 -o $(BIN) $(LIBS)
-	@echo '... done'
-	@echo
-
-depend:
-	@echo
-	@echo 'checking dependencies'
-	@$(SHELL) -ec '$(CC) -m32 -MM $(CFLAGS) $(ENCODESRC) $(ASMSRC) $(MAINSRC)\
-         | sed '\''s@\(.*\)\.o[ :]@$(OBJDIR)/\1.o$(SUFFIX):@g'\''               \
-         >$(DEPEND)'
-	@echo
-
-$(OBJDIR)/%.o$(SUFFIX): $(THREADLIBSRCDIR)/%.cpp
-	@echo 'compiling object file "$@" ...'
-	@$(CC) -m32 -c $(CFLAGS) -o $@ $<
-
-$(OBJDIR)/%.o$(SUFFIX): $(CORESRCDIR)/%.cpp
-	@echo 'compiling object file "$@" ...'
-	@$(CC) -m32 -c $(CFLAGS) -o $@ $<
-
-$(OBJDIR)/%.o$(SUFFIX): $(PLUSSRCDIR)/%.cpp
-	@echo 'compiling object file "$@" ...'
-	@$(CC) -m32 -c $(CFLAGS) -o $@ $<
-
-$(OBJDIR)/%.o$(SUFFIX): $(ASMSRCDIR)/%.asm
-	@echo 'compiling object file "$@" ...'
-	@$(AS) $(ASFLAGS) -o $@ $<
-
-$(OBJDIR)/%.o$(SUFFIX): $(MAINSRCDIR)/%.cpp
-	@echo 'compiling object file "$@" ...'
-	@$(CC) -m32 -c $(CFLAGS) -o $@ $<
-
-$(OBJDIR)/%.o$(SUFFIX): $(MAINSRCDIR)/%.cpp
-	@echo 'compiling object file "$@" ...'
-	@$(CC) -m32 -c $(CFLAGS) -o $@ $<
-
-$(OBJDIR)/%.o$(SUFFIX): $(COMMONSRCDIR)/%.cpp
-	@echo 'compiling object file "$@" ...'
-	@$(CC) -m32 -c $(CFLAGS) -o $@ $<
-
-include $(DEPEND)
-
--- a/codec/processing/build/linux/makefile
+++ /dev/null
@@ -1,94 +1,0 @@
-NASM = 1
-NAME      = libwelsvp
-
-OUTDIR    = ../../../bin/linux
-BINDIR    = ../../bin
-OBJDIR    = ../../obj
-SRCDIRS   = ../../src/asm \
-            ../../src/common \
-            ../../src/adaptivequantization \
-            ../../src/backgounddetection \
-            ../../src/denoise \
-            ../../src/downsample \
-            ../../src/scenechangedetection \
-            ../../src/vaacalc \
-            ../../src/complexityanalysis
-SRCDIRS  += ../../src/imagerotate
-
-
-TARGETLIB =  $(BINDIR)/$(NAME).so
-
-CC        = $(shell which gcc)
-AS        = $(shell which nasm)
-GCC       = gcc -m32
-
-CPPFLAGS  = -Wall -g -O3
-ifeq ($(NASM), 1)
-CPPFLAGS += -DX86_ASM
-endif
-ASMFLAGS  = -f elf -DNOPREFIX  -I ../../src/asm/
-LDFLAGS   = -lstdc++ -ldl
-
-SRCEXTS  = .cpp
-ifeq ($(NASM), 1)
-SRCEXTS += .asm
-endif
-HDREXTS  = .h
-SOURCES  = $(foreach d,$(SRCDIRS),$(wildcard $(addprefix $(d)/*,$(SRCEXTS))))
-HEADERS  = $(foreach d,$(SRCDIRS),$(wildcard $(addprefix $(d)/*,$(HDREXTS))))
-SRC_CPP  = $(filter %.cpp,$(SOURCES))
-SRC_ASM  = $(filter %.asm,$(SOURCES))
-OBJS     = $(addsuffix .o, $(basename $(SOURCES)))
-DEPS     = $(OBJS:.o=.d)
-
-DEP_OPT  = $(shell if `$(CC) --version | grep "GCC" >/dev/null`; then \
-                  echo "-MM -MP"; else echo "-M"; fi )
-DEPEND_cpp.d  = $(subst -g ,,$(CC) $(DEP_OPT) $(CPPFLAGS))
-DEPEND_asm.d  = $(subst -g ,,$(AS) $(DEP_OPT) $(ASMFLAGS))
-COMPILE.cpp   = $(GCC) $(CPPFLAGS) -c
-COMPILE.asm   = $(AS)  $(ASMFLAGS)
-LINK          = $(GCC) $(LDFLAGS)
-
-.PHONY: all objs tags ctags clean distclean
-
-.SUFFIXES:
-
-all: $(TARGETLIB)
-
-%.d:%.cpp
-	@echo -n $(dir $<) > $@
-	@$(DEPEND_cpp.d) $< >> $@
-
-%.d:%.asm
-	@echo -n $(dir $<) > $@
-	@$(DEPEND_asm.d) $< >> $@
-
-objs:$(OBJS)
-
-%.o:%.cpp
-	$(COMPILE.cpp) $< -o $@
-
-%.o:%.asm
-	$(COMPILE.asm) $< -o $@
-
-tags: $(HEADERS) $(SOURCES)
-	etags $(HEADERS) $(SOURCES)
-
-ctags: $(HEADERS) $(SOURCES)
-	ctags $(HEADERS) $(SOURCES)
-
-$(TARGETLIB):$(OBJS)
-	@if test ! -d $(BINDIR) ; then mkdir -p $(BINDIR) ; fi
-	$(LINK) $(OBJS) -shared -Wl,-Bsymbolic -o $@
-	@echo produce the lib to $(TARGETLIB).
-	@if test ! -d $(OUTDIR) ; then mkdir -p $(OUTDIR) ; fi
-	@cp -f $(TARGETLIB) $(OUTDIR)
-	@cp -f $(TARGETLIB) ../../../testbin
-	@echo copy the lib to $(OUTDIR).
-
-clean:
-	rm -f $(OBJS) $(TARGETLIB)
-
-distclean: clean
-	rm -f $(DEPS) TAGS
-
--- a/testbin/AutoBuild_Linux.sh
+++ /dev/null
@@ -1,69 +1,0 @@
-#!/bin/bash
-
-CurDir="${PWD}"
-
-if [ "$(basename ${CurDir})" != "testbin" ]; then
-    usage="This file must located in ../testbin/ based on our code structure"
-    echo ${usage}
-    exit 1
-fi
-
-EncoderMakeDir="../codec/build/linux/enc"
-DecoderMakeDir="../codec/build/linux/dec"
-VPMakeDir="../processing/build/linux"
-
-CodecBinDir="../codec/build/linux/bin"
-VPBinDir="../bin/linux"
-
-MakefileLogFile="${CurDir}/CodecVPBuild.log"
-
-#************************************************
-#call Encoder make file
-echo "encoder building....."
-cd ${EncoderMakeDir}
-make clean >${MakefileLogFile}
-make >>${MakefileLogFile}
-
-cd ${CurDir}
-cd ${CodecBinDir}
-if [[ ! -e welsenc.a ]] || [[ ! -e welsenc.so ]] || [[ ! -e welsenc.exe ]]; then
-    echo "encoder build failed!"
-else
-    echo "encoder build success!"
-fi
-
-#************************************************
-#call Decoder make file
-echo "decoder building....."
-cd ${CurDir}
-cd ${DecoderMakeDir}
-make clean >>${MakefileLogFile}
-make >>${MakefileLogFile}
-
-cd ${CurDir}
-cd ${CodecBinDir}
-if [[ ! -e welsdec.a ]] || [[ ! -e welsdec.so ]] || [[ ! -e welsdec.exe ]]; then
-    echo "decoder build failed!"
-else
-    echo "decoder build success!"
-fi
-
-#************************************************
-#call VP make file
-echo "VP building....."
-cd ${CurDir}
-cd ${VPMakeDir}
-make clean >>${MakefileLogFile}
-make >>${MakefileLogFile}
-
-cd ${CurDir}
-cd ${VPBinDir}
-if [ ! -e libwelsvp.so ]; then
-    echo "VP build failed!"
-else
-    echo "VP build success!"
-fi
-
-cd ${CurDir}
-echo "executables available in ../bin/linux"
-echo "log file stored in ./CodecVPBuild.log"