diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f576dee --- /dev/null +++ b/Makefile @@ -0,0 +1,118 @@ +############################################################################### +# common +############################################################################### +#ARCH: linux/pi/android/ios/ +ARCH ?= linux +CROSS_PREFIX ?= +OUTPUT ?= /usr/local +BUILD_DIR := $(shell pwd)/../build/ +ARCH_INC := $(BUILD_DIR)/$(ARCH).inc +COLOR_INC := $(BUILD_DIR)/color.inc + +ifeq ($(ARCH_INC), $(wildcard $(ARCH_INC))) +include $(ARCH_INC) +endif + + +CC = $(CROSS_PREFIX)gcc +CXX = $(CROSS_PREFIX)g++ +LD = $(CROSS_PREFIX)ld +AR = $(CROSS_PREFIX)ar +STRIP = $(CROSS_PREFIX)strip + +ifeq ($(COLOR_INC), $(wildcard $(COLOR_INC))) +include $(COLOR_INC) +else +CC_V = $(CC) +CXX_V = $(CXX) +LD_V = $(LD) +AR_V = $(AR) +CP_V = $(CP) +RM_V = $(RM) +endif + +############################################################################### +# target and object +############################################################################### +LIBNAME = libgear +VERSION_SH = $(shell pwd)/src/version.sh $(LIBNAME) +VER = $(shell $(VERSION_SH); awk '/define\ $(LIBNAME)_version/{print $$3}' version.h) +TGT_LIB_H = $(LIBNAME).h +TGT_LIB_A = $(LIBNAME).a +TGT_LIB_SO = $(LIBNAME).so +TGT_LIB_SO_VER = $(TGT_LIB_SO).${VER} + +OBJS_LIB := $(patsubst %.c,%.o,$(wildcard src/*.c)) + + +############################################################################### +# cflags and ldflags +############################################################################### + +ifeq ($(MODE), release) +CFLAGS := -O2 -Wall -Werror -fPIC +LTYPE := release +else +CFLAGS := -g -Wall -Werror -fPIC +LTYPE := debug +endif +ifeq ($(OUTPUT),/usr/local) +OUTLIBPATH := /usr/local +else +OUTLIBPATH := $(OUTPUT)/$(LTYPE) +endif +CFLAGS += $($(ARCH)_CFLAGS) +CFLAGS += -Iinclude +CFLAGS += -I$(OUTPUT)/include + +CFLAGS += -DNO_CRYPTO + +SHARED := -shared + +LDFLAGS := $($(ARCH)_LDFLAGS) +LDFLAGS += -pthread + +############################################################################### +# target +############################################################################### +.PHONY : all clean + +TGT := $(TGT_LIB_A) +TGT += $(TGT_LIB_SO) + +OBJS := $(OBJS_LIB) + +all: $(TGT) + +%.o:%.c + $(CC_V) -c $(CFLAGS) $< -o $@ + +$(TGT_LIB_A): $(OBJS_LIB) + $(AR_V) rcs $@ $^ + +$(TGT_LIB_SO): $(OBJS_LIB) + $(LD_V) -o $@ $^ $(SHARED) + @mv $(TGT_LIB_SO) $(TGT_LIB_SO_VER) + @ln -sf $(TGT_LIB_SO_VER) $(TGT_LIB_SO) + + +clean: + $(RM_V) -f $(OBJS) + $(RM_V) -f $(TGT) + $(RM_V) -f version.h + $(RM_V) -f $(TGT_LIB_SO)* + $(RM_V) -f $(TGT_LIB_SO_VER) + +install: + $(MAKEDIR_OUTPUT) + if [ "$(MODE)" = "release" ];then $(STRIP) $(TGT); fi + $(CP_V) -r $(TGT_LIB_H) $(OUTPUT)/include + $(CP_V) -r $(TGT_LIB_A) $(OUTLIBPATH)/lib + $(CP_V) -r $(TGT_LIB_SO) $(OUTLIBPATH)/lib + $(CP_V) -r $(TGT_LIB_SO_VER) $(OUTLIBPATH)/lib + +uninstall: + cd $(OUTPUT)/include/ && rm -f $(TGT_LIB_H) + $(RM_V) -f $(OUTLIBPATH)/lib/$(TGT_LIB_A) + $(RM_V) -f $(OUTLIBPATH)/lib/$(TGT_LIB_SO) + $(RM_V) -f $(OUTLIBPATH)/lib/$(TGT_LIB_SO_VER) diff --git a/build.sh b/build.sh index 1f45021..37e6c8f 100755 --- a/build.sh +++ b/build.sh @@ -79,7 +79,7 @@ config_ios() config_common() { STRIP=${CROSS_PREFIX}strip - LIBS_DIR=`pwd` + LIBS_DIR=`pwd`/gear-lib OUTPUT=${LIBS_DIR}/output/${ARCH}/ } @@ -122,6 +122,7 @@ build_module() return fi cd ${LIBS_DIR}/${MODULE}/ + echo "cd ${LIBS_DIR}/${MODULE}/" case $ACTION in "clean") diff --git a/build/autogen_lib.sh b/build/autogen_lib.sh index d568955..7440abe 100755 --- a/build/autogen_lib.sh +++ b/build/autogen_lib.sh @@ -31,8 +31,8 @@ usage() mkdir_libfoo() { - mkdir ${MODULE} - cd ${MODULE} + mkdir gear-lib/${MODULE} + cd gear-lib/${MODULE} } autogen_libfoo_h() @@ -328,6 +328,14 @@ autogen_version_h chmod a+x ${VERSION_SH} } +link_libfoo() +{ + cd ../../include/ + ln -s ../gear-lib/${LIBFOO_H} . + cd ../src/ + ln -s ../gear-lib/${LIBFOO_C} . +} + case $# in 0) usage; @@ -345,4 +353,5 @@ autogen_makefile_nmake autogen_version_sh autogen_android_mk autogen_readme_md +link_libfoo diff --git a/libbase64/Android.mk b/gear-lib/libbase64/Android.mk similarity index 100% rename from libbase64/Android.mk rename to gear-lib/libbase64/Android.mk diff --git a/libbase64/Makefile b/gear-lib/libbase64/Makefile similarity index 98% rename from libbase64/Makefile rename to gear-lib/libbase64/Makefile index 6dc88a4..8c57c29 100644 --- a/libbase64/Makefile +++ b/gear-lib/libbase64/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libbase64/Makefile.nmake b/gear-lib/libbase64/Makefile.nmake similarity index 100% rename from libbase64/Makefile.nmake rename to gear-lib/libbase64/Makefile.nmake diff --git a/libbase64/README.md b/gear-lib/libbase64/README.md similarity index 100% rename from libbase64/README.md rename to gear-lib/libbase64/README.md diff --git a/libbase64/libbase64.c b/gear-lib/libbase64/libbase64.c similarity index 100% rename from libbase64/libbase64.c rename to gear-lib/libbase64/libbase64.c diff --git a/libbase64/libbase64.h b/gear-lib/libbase64/libbase64.h similarity index 100% rename from libbase64/libbase64.h rename to gear-lib/libbase64/libbase64.h diff --git a/libbase64/test_libbase64.c b/gear-lib/libbase64/test_libbase64.c similarity index 100% rename from libbase64/test_libbase64.c rename to gear-lib/libbase64/test_libbase64.c diff --git a/libbase64/version.sh b/gear-lib/libbase64/version.sh similarity index 100% rename from libbase64/version.sh rename to gear-lib/libbase64/version.sh diff --git a/libconfig/Android.mk b/gear-lib/libconfig/Android.mk similarity index 100% rename from libconfig/Android.mk rename to gear-lib/libconfig/Android.mk diff --git a/libconfig/Makefile b/gear-lib/libconfig/Makefile similarity index 98% rename from libconfig/Makefile rename to gear-lib/libconfig/Makefile index 8a3ff6c..59a1699 100644 --- a/libconfig/Makefile +++ b/gear-lib/libconfig/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libconfig/Makefile.nmake b/gear-lib/libconfig/Makefile.nmake similarity index 100% rename from libconfig/Makefile.nmake rename to gear-lib/libconfig/Makefile.nmake diff --git a/libconfig/README.md b/gear-lib/libconfig/README.md similarity index 100% rename from libconfig/README.md rename to gear-lib/libconfig/README.md diff --git a/libconfig/config_util.h b/gear-lib/libconfig/config_util.h similarity index 100% rename from libconfig/config_util.h rename to gear-lib/libconfig/config_util.h diff --git a/libconfig/ini/dictionary.c b/gear-lib/libconfig/ini/dictionary.c similarity index 100% rename from libconfig/ini/dictionary.c rename to gear-lib/libconfig/ini/dictionary.c diff --git a/libconfig/ini/dictionary.h b/gear-lib/libconfig/ini/dictionary.h similarity index 100% rename from libconfig/ini/dictionary.h rename to gear-lib/libconfig/ini/dictionary.h diff --git a/libconfig/ini/example.ini b/gear-lib/libconfig/ini/example.ini similarity index 100% rename from libconfig/ini/example.ini rename to gear-lib/libconfig/ini/example.ini diff --git a/libconfig/ini/ini_config.c b/gear-lib/libconfig/ini/ini_config.c similarity index 100% rename from libconfig/ini/ini_config.c rename to gear-lib/libconfig/ini/ini_config.c diff --git a/libconfig/ini/iniparser.c b/gear-lib/libconfig/ini/iniparser.c similarity index 100% rename from libconfig/ini/iniparser.c rename to gear-lib/libconfig/ini/iniparser.c diff --git a/libconfig/ini/iniparser.h b/gear-lib/libconfig/ini/iniparser.h similarity index 100% rename from libconfig/ini/iniparser.h rename to gear-lib/libconfig/ini/iniparser.h diff --git a/libconfig/json/all.json b/gear-lib/libconfig/json/all.json similarity index 100% rename from libconfig/json/all.json rename to gear-lib/libconfig/json/all.json diff --git a/libconfig/json/cJSON.c b/gear-lib/libconfig/json/cJSON.c similarity index 100% rename from libconfig/json/cJSON.c rename to gear-lib/libconfig/json/cJSON.c diff --git a/libconfig/json/cJSON.h b/gear-lib/libconfig/json/cJSON.h similarity index 100% rename from libconfig/json/cJSON.h rename to gear-lib/libconfig/json/cJSON.h diff --git a/libconfig/json/json_config.c b/gear-lib/libconfig/json/json_config.c similarity index 100% rename from libconfig/json/json_config.c rename to gear-lib/libconfig/json/json_config.c diff --git a/libconfig/json/test.json b/gear-lib/libconfig/json/test.json similarity index 100% rename from libconfig/json/test.json rename to gear-lib/libconfig/json/test.json diff --git a/libconfig/libconfig++/Android.mk b/gear-lib/libconfig/libconfig++/Android.mk similarity index 100% rename from libconfig/libconfig++/Android.mk rename to gear-lib/libconfig/libconfig++/Android.mk diff --git a/libconfig/libconfig++/Makefile b/gear-lib/libconfig/libconfig++/Makefile similarity index 99% rename from libconfig/libconfig++/Makefile rename to gear-lib/libconfig/libconfig++/Makefile index 4f4e462..4decb98 100644 --- a/libconfig/libconfig++/Makefile +++ b/gear-lib/libconfig/libconfig++/Makefile @@ -13,7 +13,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libconfig/libconfig++/README.md b/gear-lib/libconfig/libconfig++/README.md similarity index 100% rename from libconfig/libconfig++/README.md rename to gear-lib/libconfig/libconfig++/README.md diff --git a/libconfig/libconfig++/json/config.json b/gear-lib/libconfig/libconfig++/json/config.json similarity index 100% rename from libconfig/libconfig++/json/config.json rename to gear-lib/libconfig/libconfig++/json/config.json diff --git a/libconfig/libconfig++/json/json_config.cpp b/gear-lib/libconfig/libconfig++/json/json_config.cpp similarity index 100% rename from libconfig/libconfig++/json/json_config.cpp rename to gear-lib/libconfig/libconfig++/json/json_config.cpp diff --git a/libconfig/libconfig++/json/json_config.h b/gear-lib/libconfig/libconfig++/json/json_config.h similarity index 100% rename from libconfig/libconfig++/json/json_config.h rename to gear-lib/libconfig/libconfig++/json/json_config.h diff --git a/libconfig/libconfig++/libgconfig.cpp b/gear-lib/libconfig/libconfig++/libgconfig.cpp similarity index 100% rename from libconfig/libconfig++/libgconfig.cpp rename to gear-lib/libconfig/libconfig++/libgconfig.cpp diff --git a/libconfig/libconfig++/libgconfig.h b/gear-lib/libconfig/libconfig++/libgconfig.h similarity index 100% rename from libconfig/libconfig++/libgconfig.h rename to gear-lib/libconfig/libconfig++/libgconfig.h diff --git a/libconfig/libconfig++/lua/config.lua b/gear-lib/libconfig/libconfig++/lua/config.lua similarity index 100% rename from libconfig/libconfig++/lua/config.lua rename to gear-lib/libconfig/libconfig++/lua/config.lua diff --git a/libconfig/libconfig++/lua/lua_config.cpp b/gear-lib/libconfig/libconfig++/lua/lua_config.cpp similarity index 100% rename from libconfig/libconfig++/lua/lua_config.cpp rename to gear-lib/libconfig/libconfig++/lua/lua_config.cpp diff --git a/libconfig/libconfig++/lua/lua_config.h b/gear-lib/libconfig/libconfig++/lua/lua_config.h similarity index 100% rename from libconfig/libconfig++/lua/lua_config.h rename to gear-lib/libconfig/libconfig++/lua/lua_config.h diff --git a/libconfig/libconfig++/lua/luatables.cc b/gear-lib/libconfig/libconfig++/lua/luatables.cc similarity index 100% rename from libconfig/libconfig++/lua/luatables.cc rename to gear-lib/libconfig/libconfig++/lua/luatables.cc diff --git a/libconfig/libconfig++/lua/luatables.h b/gear-lib/libconfig/libconfig++/lua/luatables.h similarity index 100% rename from libconfig/libconfig++/lua/luatables.h rename to gear-lib/libconfig/libconfig++/lua/luatables.h diff --git a/libconfig/libconfig++/lua/utils/serialize.lua.h b/gear-lib/libconfig/libconfig++/lua/utils/serialize.lua.h similarity index 100% rename from libconfig/libconfig++/lua/utils/serialize.lua.h rename to gear-lib/libconfig/libconfig++/lua/utils/serialize.lua.h diff --git a/libconfig/libconfig++/test_libgconfig.cpp b/gear-lib/libconfig/libconfig++/test_libgconfig.cpp similarity index 100% rename from libconfig/libconfig++/test_libgconfig.cpp rename to gear-lib/libconfig/libconfig++/test_libgconfig.cpp diff --git a/libconfig/libconfig++/version.sh b/gear-lib/libconfig/libconfig++/version.sh similarity index 100% rename from libconfig/libconfig++/version.sh rename to gear-lib/libconfig/libconfig++/version.sh diff --git a/libconfig/libconfig.c b/gear-lib/libconfig/libconfig.c similarity index 100% rename from libconfig/libconfig.c rename to gear-lib/libconfig/libconfig.c diff --git a/libconfig/libconfig.h b/gear-lib/libconfig/libconfig.h similarity index 100% rename from libconfig/libconfig.h rename to gear-lib/libconfig/libconfig.h diff --git a/libconfig/lua/config.lua b/gear-lib/libconfig/lua/config.lua similarity index 100% rename from libconfig/lua/config.lua rename to gear-lib/libconfig/lua/config.lua diff --git a/libconfig/lua/lua_config.cc b/gear-lib/libconfig/lua/lua_config.cc similarity index 100% rename from libconfig/lua/lua_config.cc rename to gear-lib/libconfig/lua/lua_config.cc diff --git a/libconfig/lua/luatables.cc b/gear-lib/libconfig/lua/luatables.cc similarity index 100% rename from libconfig/lua/luatables.cc rename to gear-lib/libconfig/lua/luatables.cc diff --git a/libconfig/lua/luatables.h b/gear-lib/libconfig/lua/luatables.h similarity index 100% rename from libconfig/lua/luatables.h rename to gear-lib/libconfig/lua/luatables.h diff --git a/libconfig/lua/serialize.lua.h b/gear-lib/libconfig/lua/serialize.lua.h similarity index 100% rename from libconfig/lua/serialize.lua.h rename to gear-lib/libconfig/lua/serialize.lua.h diff --git a/libconfig/test_libconfig.c b/gear-lib/libconfig/test_libconfig.c similarity index 100% rename from libconfig/test_libconfig.c rename to gear-lib/libconfig/test_libconfig.c diff --git a/libconfig/version.sh b/gear-lib/libconfig/version.sh similarity index 100% rename from libconfig/version.sh rename to gear-lib/libconfig/version.sh diff --git a/libdebug/Android.mk b/gear-lib/libdebug/Android.mk similarity index 100% rename from libdebug/Android.mk rename to gear-lib/libdebug/Android.mk diff --git a/libdebug/Makefile b/gear-lib/libdebug/Makefile similarity index 98% rename from libdebug/Makefile rename to gear-lib/libdebug/Makefile index 3507f5d..c4bef46 100644 --- a/libdebug/Makefile +++ b/gear-lib/libdebug/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libdebug/README.md b/gear-lib/libdebug/README.md similarity index 100% rename from libdebug/README.md rename to gear-lib/libdebug/README.md diff --git a/libdebug/aarch64-gcc.macro b/gear-lib/libdebug/aarch64-gcc.macro similarity index 100% rename from libdebug/aarch64-gcc.macro rename to gear-lib/libdebug/aarch64-gcc.macro diff --git a/libdebug/arm-buildroot-linux-uclibcgnueabihf-gcc.macro b/gear-lib/libdebug/arm-buildroot-linux-uclibcgnueabihf-gcc.macro similarity index 100% rename from libdebug/arm-buildroot-linux-uclibcgnueabihf-gcc.macro rename to gear-lib/libdebug/arm-buildroot-linux-uclibcgnueabihf-gcc.macro diff --git a/libdebug/arm-linux-gnueabihf-g++.macro b/gear-lib/libdebug/arm-linux-gnueabihf-g++.macro similarity index 100% rename from libdebug/arm-linux-gnueabihf-g++.macro rename to gear-lib/libdebug/arm-linux-gnueabihf-g++.macro diff --git a/libdebug/arm-linux-gnueabihf-gcc.macro b/gear-lib/libdebug/arm-linux-gnueabihf-gcc.macro similarity index 100% rename from libdebug/arm-linux-gnueabihf-gcc.macro rename to gear-lib/libdebug/arm-linux-gnueabihf-gcc.macro diff --git a/libdebug/gcc.macro b/gear-lib/libdebug/gcc.macro similarity index 100% rename from libdebug/gcc.macro rename to gear-lib/libdebug/gcc.macro diff --git a/libdebug/libdebug.c b/gear-lib/libdebug/libdebug.c similarity index 100% rename from libdebug/libdebug.c rename to gear-lib/libdebug/libdebug.c diff --git a/libdebug/libdebug.h b/gear-lib/libdebug/libdebug.h similarity index 100% rename from libdebug/libdebug.h rename to gear-lib/libdebug/libdebug.h diff --git a/libdebug/test_libdebug.c b/gear-lib/libdebug/test_libdebug.c similarity index 100% rename from libdebug/test_libdebug.c rename to gear-lib/libdebug/test_libdebug.c diff --git a/libdebug/uclibc-gcc.macro b/gear-lib/libdebug/uclibc-gcc.macro similarity index 100% rename from libdebug/uclibc-gcc.macro rename to gear-lib/libdebug/uclibc-gcc.macro diff --git a/libdebug/version.sh b/gear-lib/libdebug/version.sh similarity index 100% rename from libdebug/version.sh rename to gear-lib/libdebug/version.sh diff --git a/libdict/Android.mk b/gear-lib/libdict/Android.mk similarity index 100% rename from libdict/Android.mk rename to gear-lib/libdict/Android.mk diff --git a/libdict/Makefile b/gear-lib/libdict/Makefile similarity index 98% rename from libdict/Makefile rename to gear-lib/libdict/Makefile index e68d2ae..3647b6e 100644 --- a/libdict/Makefile +++ b/gear-lib/libdict/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libdict/README.md b/gear-lib/libdict/README.md similarity index 100% rename from libdict/README.md rename to gear-lib/libdict/README.md diff --git a/libdict/libdict.c b/gear-lib/libdict/libdict.c similarity index 100% rename from libdict/libdict.c rename to gear-lib/libdict/libdict.c diff --git a/libdict/libdict.h b/gear-lib/libdict/libdict.h similarity index 100% rename from libdict/libdict.h rename to gear-lib/libdict/libdict.h diff --git a/libdict/test_libdict.c b/gear-lib/libdict/test_libdict.c similarity index 100% rename from libdict/test_libdict.c rename to gear-lib/libdict/test_libdict.c diff --git a/libdict/version.sh b/gear-lib/libdict/version.sh similarity index 100% rename from libdict/version.sh rename to gear-lib/libdict/version.sh diff --git a/libfile/Android.mk b/gear-lib/libfile/Android.mk similarity index 100% rename from libfile/Android.mk rename to gear-lib/libfile/Android.mk diff --git a/libfile/Makefile b/gear-lib/libfile/Makefile similarity index 98% rename from libfile/Makefile rename to gear-lib/libfile/Makefile index 980c5d9..0734fe8 100644 --- a/libfile/Makefile +++ b/gear-lib/libfile/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libfile/Makefile.nmake b/gear-lib/libfile/Makefile.nmake similarity index 100% rename from libfile/Makefile.nmake rename to gear-lib/libfile/Makefile.nmake diff --git a/libfile/README.md b/gear-lib/libfile/README.md similarity index 100% rename from libfile/README.md rename to gear-lib/libfile/README.md diff --git a/libfile/filewatcher.c b/gear-lib/libfile/filewatcher.c similarity index 100% rename from libfile/filewatcher.c rename to gear-lib/libfile/filewatcher.c diff --git a/libfile/fio.c b/gear-lib/libfile/fio.c similarity index 100% rename from libfile/fio.c rename to gear-lib/libfile/fio.c diff --git a/libfile/io.c b/gear-lib/libfile/io.c similarity index 100% rename from libfile/io.c rename to gear-lib/libfile/io.c diff --git a/libfile/libfile.c b/gear-lib/libfile/libfile.c similarity index 100% rename from libfile/libfile.c rename to gear-lib/libfile/libfile.c diff --git a/libfile/libfile.h b/gear-lib/libfile/libfile.h similarity index 100% rename from libfile/libfile.h rename to gear-lib/libfile/libfile.h diff --git a/libfile/libfilewatcher.h b/gear-lib/libfile/libfilewatcher.h similarity index 100% rename from libfile/libfilewatcher.h rename to gear-lib/libfile/libfilewatcher.h diff --git a/libfile/test_libfile.c b/gear-lib/libfile/test_libfile.c similarity index 100% rename from libfile/test_libfile.c rename to gear-lib/libfile/test_libfile.c diff --git a/libfile/version.sh b/gear-lib/libfile/version.sh similarity index 100% rename from libfile/version.sh rename to gear-lib/libfile/version.sh diff --git a/libgevent/Android.mk b/gear-lib/libgevent/Android.mk similarity index 100% rename from libgevent/Android.mk rename to gear-lib/libgevent/Android.mk diff --git a/libgevent/Makefile b/gear-lib/libgevent/Makefile similarity index 98% rename from libgevent/Makefile rename to gear-lib/libgevent/Makefile index 5f2eed5..166a1c3 100644 --- a/libgevent/Makefile +++ b/gear-lib/libgevent/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libgevent/Makefile.nmake b/gear-lib/libgevent/Makefile.nmake similarity index 100% rename from libgevent/Makefile.nmake rename to gear-lib/libgevent/Makefile.nmake diff --git a/libgevent/README.md b/gear-lib/libgevent/README.md similarity index 100% rename from libgevent/README.md rename to gear-lib/libgevent/README.md diff --git a/libgevent/epoll.c b/gear-lib/libgevent/epoll.c similarity index 100% rename from libgevent/epoll.c rename to gear-lib/libgevent/epoll.c diff --git a/libgevent/iocp.c b/gear-lib/libgevent/iocp.c similarity index 100% rename from libgevent/iocp.c rename to gear-lib/libgevent/iocp.c diff --git a/libgevent/libgevent.c b/gear-lib/libgevent/libgevent.c similarity index 100% rename from libgevent/libgevent.c rename to gear-lib/libgevent/libgevent.c diff --git a/libgevent/libgevent.h b/gear-lib/libgevent/libgevent.h similarity index 100% rename from libgevent/libgevent.h rename to gear-lib/libgevent/libgevent.h diff --git a/libgevent/poll.c b/gear-lib/libgevent/poll.c similarity index 100% rename from libgevent/poll.c rename to gear-lib/libgevent/poll.c diff --git a/libgevent/select.c b/gear-lib/libgevent/select.c similarity index 100% rename from libgevent/select.c rename to gear-lib/libgevent/select.c diff --git a/libgevent/test_libgevent.c b/gear-lib/libgevent/test_libgevent.c similarity index 100% rename from libgevent/test_libgevent.c rename to gear-lib/libgevent/test_libgevent.c diff --git a/libgevent/version.sh b/gear-lib/libgevent/version.sh similarity index 100% rename from libgevent/version.sh rename to gear-lib/libgevent/version.sh diff --git a/libhal/Android.mk b/gear-lib/libhal/Android.mk similarity index 100% rename from libhal/Android.mk rename to gear-lib/libhal/Android.mk diff --git a/libhal/Makefile b/gear-lib/libhal/Makefile similarity index 98% rename from libhal/Makefile rename to gear-lib/libhal/Makefile index abee668..399b811 100644 --- a/libhal/Makefile +++ b/gear-lib/libhal/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libhal/libhal.c b/gear-lib/libhal/libhal.c similarity index 100% rename from libhal/libhal.c rename to gear-lib/libhal/libhal.c diff --git a/libhal/libhal.h b/gear-lib/libhal/libhal.h similarity index 100% rename from libhal/libhal.h rename to gear-lib/libhal/libhal.h diff --git a/libhal/test_libhal.c b/gear-lib/libhal/test_libhal.c similarity index 100% rename from libhal/test_libhal.c rename to gear-lib/libhal/test_libhal.c diff --git a/libhal/version.sh b/gear-lib/libhal/version.sh similarity index 100% rename from libhal/version.sh rename to gear-lib/libhal/version.sh diff --git a/libhash/Android.mk b/gear-lib/libhash/Android.mk similarity index 100% rename from libhash/Android.mk rename to gear-lib/libhash/Android.mk diff --git a/libhash/Makefile b/gear-lib/libhash/Makefile similarity index 98% rename from libhash/Makefile rename to gear-lib/libhash/Makefile index d4f97b4..1ca337b 100644 --- a/libhash/Makefile +++ b/gear-lib/libhash/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libhash/Makefile.nmake b/gear-lib/libhash/Makefile.nmake similarity index 100% rename from libhash/Makefile.nmake rename to gear-lib/libhash/Makefile.nmake diff --git a/libhash/README.md b/gear-lib/libhash/README.md similarity index 100% rename from libhash/README.md rename to gear-lib/libhash/README.md diff --git a/libhash/libhash.c b/gear-lib/libhash/libhash.c similarity index 100% rename from libhash/libhash.c rename to gear-lib/libhash/libhash.c diff --git a/libhash/libhash.h b/gear-lib/libhash/libhash.h similarity index 100% rename from libhash/libhash.h rename to gear-lib/libhash/libhash.h diff --git a/libhash/test_libhash.c b/gear-lib/libhash/test_libhash.c similarity index 100% rename from libhash/test_libhash.c rename to gear-lib/libhash/test_libhash.c diff --git a/libhash/version.sh b/gear-lib/libhash/version.sh similarity index 100% rename from libhash/version.sh rename to gear-lib/libhash/version.sh diff --git a/libipc/Android.mk b/gear-lib/libipc/Android.mk similarity index 100% rename from libipc/Android.mk rename to gear-lib/libipc/Android.mk diff --git a/libipc/Makefile b/gear-lib/libipc/Makefile similarity index 98% rename from libipc/Makefile rename to gear-lib/libipc/Makefile index b2e3e3b..ca3efa5 100644 --- a/libipc/Makefile +++ b/gear-lib/libipc/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libipc/README.md b/gear-lib/libipc/README.md similarity index 100% rename from libipc/README.md rename to gear-lib/libipc/README.md diff --git a/libipc/libipc.c b/gear-lib/libipc/libipc.c similarity index 100% rename from libipc/libipc.c rename to gear-lib/libipc/libipc.c diff --git a/libipc/libipc.h b/gear-lib/libipc/libipc.h similarity index 100% rename from libipc/libipc.h rename to gear-lib/libipc/libipc.h diff --git a/libipc/libipc_stub.h b/gear-lib/libipc/libipc_stub.h similarity index 100% rename from libipc/libipc_stub.h rename to gear-lib/libipc/libipc_stub.h diff --git a/libipc/msgq_posix.c b/gear-lib/libipc/msgq_posix.c similarity index 100% rename from libipc/msgq_posix.c rename to gear-lib/libipc/msgq_posix.c diff --git a/libipc/msgq_sysv.c b/gear-lib/libipc/msgq_sysv.c similarity index 100% rename from libipc/msgq_sysv.c rename to gear-lib/libipc/msgq_sysv.c diff --git a/libipc/netlink.c b/gear-lib/libipc/netlink.c similarity index 100% rename from libipc/netlink.c rename to gear-lib/libipc/netlink.c diff --git a/libipc/netlink_driver.c b/gear-lib/libipc/netlink_driver.c similarity index 100% rename from libipc/netlink_driver.c rename to gear-lib/libipc/netlink_driver.c diff --git a/libipc/netlink_driver.h b/gear-lib/libipc/netlink_driver.h similarity index 100% rename from libipc/netlink_driver.h rename to gear-lib/libipc/netlink_driver.h diff --git a/libipc/shm.c b/gear-lib/libipc/shm.c similarity index 100% rename from libipc/shm.c rename to gear-lib/libipc/shm.c diff --git a/libipc/test_libipc.c b/gear-lib/libipc/test_libipc.c similarity index 100% rename from libipc/test_libipc.c rename to gear-lib/libipc/test_libipc.c diff --git a/libipc/unix_socket.c b/gear-lib/libipc/unix_socket.c similarity index 100% rename from libipc/unix_socket.c rename to gear-lib/libipc/unix_socket.c diff --git a/libipc/version.sh b/gear-lib/libipc/version.sh similarity index 100% rename from libipc/version.sh rename to gear-lib/libipc/version.sh diff --git a/libjpeg-ex/720x480.jpeg b/gear-lib/libjpeg-ex/720x480.jpeg similarity index 100% rename from libjpeg-ex/720x480.jpeg rename to gear-lib/libjpeg-ex/720x480.jpeg diff --git a/libjpeg-ex/720x480.yuv b/gear-lib/libjpeg-ex/720x480.yuv similarity index 100% rename from libjpeg-ex/720x480.yuv rename to gear-lib/libjpeg-ex/720x480.yuv diff --git a/libjpeg-ex/Makefile b/gear-lib/libjpeg-ex/Makefile similarity index 100% rename from libjpeg-ex/Makefile rename to gear-lib/libjpeg-ex/Makefile diff --git a/libjpeg-ex/Makefile.android b/gear-lib/libjpeg-ex/Makefile.android similarity index 100% rename from libjpeg-ex/Makefile.android rename to gear-lib/libjpeg-ex/Makefile.android diff --git a/libjpeg-ex/README b/gear-lib/libjpeg-ex/README similarity index 100% rename from libjpeg-ex/README rename to gear-lib/libjpeg-ex/README diff --git a/libjpeg-ex/bali_640x360_YUY2.yuv b/gear-lib/libjpeg-ex/bali_640x360_YUY2.yuv similarity index 100% rename from libjpeg-ex/bali_640x360_YUY2.yuv rename to gear-lib/libjpeg-ex/bali_640x360_YUY2.yuv diff --git a/libjpeg-ex/libjpeg-ex.c b/gear-lib/libjpeg-ex/libjpeg-ex.c similarity index 100% rename from libjpeg-ex/libjpeg-ex.c rename to gear-lib/libjpeg-ex/libjpeg-ex.c diff --git a/libjpeg-ex/libjpeg-ex.h b/gear-lib/libjpeg-ex/libjpeg-ex.h similarity index 100% rename from libjpeg-ex/libjpeg-ex.h rename to gear-lib/libjpeg-ex/libjpeg-ex.h diff --git a/libjpeg-ex/neon/chrome_convert.S b/gear-lib/libjpeg-ex/neon/chrome_convert.S similarity index 100% rename from libjpeg-ex/neon/chrome_convert.S rename to gear-lib/libjpeg-ex/neon/chrome_convert.S diff --git a/libjpeg-ex/test_libjpeg-ex.c b/gear-lib/libjpeg-ex/test_libjpeg-ex.c similarity index 100% rename from libjpeg-ex/test_libjpeg-ex.c rename to gear-lib/libjpeg-ex/test_libjpeg-ex.c diff --git a/liblog/Android.mk b/gear-lib/liblog/Android.mk similarity index 100% rename from liblog/Android.mk rename to gear-lib/liblog/Android.mk diff --git a/liblog/Makefile b/gear-lib/liblog/Makefile similarity index 99% rename from liblog/Makefile rename to gear-lib/liblog/Makefile index dbc4115..79031b8 100644 --- a/liblog/Makefile +++ b/gear-lib/liblog/Makefile @@ -23,7 +23,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/liblog/Makefile.nmake b/gear-lib/liblog/Makefile.nmake similarity index 100% rename from liblog/Makefile.nmake rename to gear-lib/liblog/Makefile.nmake diff --git a/liblog/README.md b/gear-lib/liblog/README.md similarity index 100% rename from liblog/README.md rename to gear-lib/liblog/README.md diff --git a/liblog/color.h b/gear-lib/liblog/color.h similarity index 100% rename from liblog/color.h rename to gear-lib/liblog/color.h diff --git a/liblog/liblog.c b/gear-lib/liblog/liblog.c similarity index 100% rename from liblog/liblog.c rename to gear-lib/liblog/liblog.c diff --git a/liblog/liblog.h b/gear-lib/liblog/liblog.h similarity index 100% rename from liblog/liblog.h rename to gear-lib/liblog/liblog.h diff --git a/liblog/test_liblog.c b/gear-lib/liblog/test_liblog.c similarity index 100% rename from liblog/test_liblog.c rename to gear-lib/liblog/test_liblog.c diff --git a/liblog/version.sh b/gear-lib/liblog/version.sh similarity index 100% rename from liblog/version.sh rename to gear-lib/liblog/version.sh diff --git a/libmacro/Android.mk b/gear-lib/libmacro/Android.mk similarity index 100% rename from libmacro/Android.mk rename to gear-lib/libmacro/Android.mk diff --git a/libmacro/Makefile b/gear-lib/libmacro/Makefile similarity index 98% rename from libmacro/Makefile rename to gear-lib/libmacro/Makefile index 3dd3691..c3cb867 100644 --- a/libmacro/Makefile +++ b/gear-lib/libmacro/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libmacro/Makefile.nmake b/gear-lib/libmacro/Makefile.nmake similarity index 100% rename from libmacro/Makefile.nmake rename to gear-lib/libmacro/Makefile.nmake diff --git a/libmacro/README.md b/gear-lib/libmacro/README.md similarity index 100% rename from libmacro/README.md rename to gear-lib/libmacro/README.md diff --git a/libmacro/kernel_list.h b/gear-lib/libmacro/kernel_list.h similarity index 100% rename from libmacro/kernel_list.h rename to gear-lib/libmacro/kernel_list.h diff --git a/libmacro/kernel_list_win32.h b/gear-lib/libmacro/kernel_list_win32.h similarity index 100% rename from libmacro/kernel_list_win32.h rename to gear-lib/libmacro/kernel_list_win32.h diff --git a/libmacro/libmacro.c b/gear-lib/libmacro/libmacro.c similarity index 100% rename from libmacro/libmacro.c rename to gear-lib/libmacro/libmacro.c diff --git a/libmacro/libmacro.h b/gear-lib/libmacro/libmacro.h similarity index 100% rename from libmacro/libmacro.h rename to gear-lib/libmacro/libmacro.h diff --git a/libmacro/test_libmacro.c b/gear-lib/libmacro/test_libmacro.c similarity index 100% rename from libmacro/test_libmacro.c rename to gear-lib/libmacro/test_libmacro.c diff --git a/libmacro/version.sh b/gear-lib/libmacro/version.sh similarity index 100% rename from libmacro/version.sh rename to gear-lib/libmacro/version.sh diff --git a/libmacro/win.h b/gear-lib/libmacro/win.h similarity index 100% rename from libmacro/win.h rename to gear-lib/libmacro/win.h diff --git a/libmp4parser/Android.mk b/gear-lib/libmp4parser/Android.mk similarity index 100% rename from libmp4parser/Android.mk rename to gear-lib/libmp4parser/Android.mk diff --git a/libmp4parser/Makefile b/gear-lib/libmp4parser/Makefile similarity index 98% rename from libmp4parser/Makefile rename to gear-lib/libmp4parser/Makefile index 179b33f..97c0d80 100644 --- a/libmp4parser/Makefile +++ b/gear-lib/libmp4parser/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libmp4parser/README.md b/gear-lib/libmp4parser/README.md similarity index 100% rename from libmp4parser/README.md rename to gear-lib/libmp4parser/README.md diff --git a/libmp4parser/libmp4parser.c b/gear-lib/libmp4parser/libmp4parser.c similarity index 100% rename from libmp4parser/libmp4parser.c rename to gear-lib/libmp4parser/libmp4parser.c diff --git a/libmp4parser/libmp4parser.h b/gear-lib/libmp4parser/libmp4parser.h similarity index 100% rename from libmp4parser/libmp4parser.h rename to gear-lib/libmp4parser/libmp4parser.h diff --git a/libmp4parser/mp4parser_inner.c b/gear-lib/libmp4parser/mp4parser_inner.c similarity index 100% rename from libmp4parser/mp4parser_inner.c rename to gear-lib/libmp4parser/mp4parser_inner.c diff --git a/libmp4parser/mp4parser_inner.h b/gear-lib/libmp4parser/mp4parser_inner.h similarity index 100% rename from libmp4parser/mp4parser_inner.h rename to gear-lib/libmp4parser/mp4parser_inner.h diff --git a/libmp4parser/patch.c b/gear-lib/libmp4parser/patch.c similarity index 100% rename from libmp4parser/patch.c rename to gear-lib/libmp4parser/patch.c diff --git a/libmp4parser/patch.h b/gear-lib/libmp4parser/patch.h similarity index 100% rename from libmp4parser/patch.h rename to gear-lib/libmp4parser/patch.h diff --git a/libmp4parser/test_libmp4parser.c b/gear-lib/libmp4parser/test_libmp4parser.c similarity index 100% rename from libmp4parser/test_libmp4parser.c rename to gear-lib/libmp4parser/test_libmp4parser.c diff --git a/libmp4parser/version.sh b/gear-lib/libmp4parser/version.sh similarity index 100% rename from libmp4parser/version.sh rename to gear-lib/libmp4parser/version.sh diff --git a/libp2p/Android.mk b/gear-lib/libp2p/Android.mk similarity index 100% rename from libp2p/Android.mk rename to gear-lib/libp2p/Android.mk diff --git a/libp2p/Makefile b/gear-lib/libp2p/Makefile similarity index 100% rename from libp2p/Makefile rename to gear-lib/libp2p/Makefile diff --git a/libp2p/README.md b/gear-lib/libp2p/README.md similarity index 100% rename from libp2p/README.md rename to gear-lib/libp2p/README.md diff --git a/libp2p/libp2p.c b/gear-lib/libp2p/libp2p.c similarity index 100% rename from libp2p/libp2p.c rename to gear-lib/libp2p/libp2p.c diff --git a/libp2p/libp2p.h b/gear-lib/libp2p/libp2p.h similarity index 100% rename from libp2p/libp2p.h rename to gear-lib/libp2p/libp2p.h diff --git a/libp2p/libptcp.c b/gear-lib/libp2p/libptcp.c similarity index 100% rename from libp2p/libptcp.c rename to gear-lib/libp2p/libptcp.c diff --git a/libp2p/libptcp.h b/gear-lib/libp2p/libptcp.h similarity index 100% rename from libp2p/libptcp.h rename to gear-lib/libp2p/libptcp.h diff --git a/libp2p/libstun.c b/gear-lib/libp2p/libstun.c similarity index 100% rename from libp2p/libstun.c rename to gear-lib/libp2p/libstun.c diff --git a/libp2p/libstun.h b/gear-lib/libp2p/libstun.h similarity index 100% rename from libp2p/libstun.h rename to gear-lib/libp2p/libstun.h diff --git a/libp2p/queue.h b/gear-lib/libp2p/queue.h similarity index 100% rename from libp2p/queue.h rename to gear-lib/libp2p/queue.h diff --git a/libp2p/test_file_transfer.c b/gear-lib/libp2p/test_file_transfer.c similarity index 100% rename from libp2p/test_file_transfer.c rename to gear-lib/libp2p/test_file_transfer.c diff --git a/libp2p/test_libp2p.c b/gear-lib/libp2p/test_libp2p.c similarity index 100% rename from libp2p/test_libp2p.c rename to gear-lib/libp2p/test_libp2p.c diff --git a/libp2p/test_libptcp.c b/gear-lib/libp2p/test_libptcp.c similarity index 100% rename from libp2p/test_libptcp.c rename to gear-lib/libp2p/test_libptcp.c diff --git a/libp2p/test_libstun.c b/gear-lib/libp2p/test_libstun.c similarity index 100% rename from libp2p/test_libstun.c rename to gear-lib/libp2p/test_libstun.c diff --git a/libp2p/version.sh b/gear-lib/libp2p/version.sh similarity index 100% rename from libp2p/version.sh rename to gear-lib/libp2p/version.sh diff --git a/libplugin/Android.mk b/gear-lib/libplugin/Android.mk similarity index 100% rename from libplugin/Android.mk rename to gear-lib/libplugin/Android.mk diff --git a/libplugin/Makefile b/gear-lib/libplugin/Makefile similarity index 98% rename from libplugin/Makefile rename to gear-lib/libplugin/Makefile index b9c2423..32968a2 100644 --- a/libplugin/Makefile +++ b/gear-lib/libplugin/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libplugin/README.md b/gear-lib/libplugin/README.md similarity index 100% rename from libplugin/README.md rename to gear-lib/libplugin/README.md diff --git a/libplugin/libplugin.c b/gear-lib/libplugin/libplugin.c similarity index 100% rename from libplugin/libplugin.c rename to gear-lib/libplugin/libplugin.c diff --git a/libplugin/libplugin.h b/gear-lib/libplugin/libplugin.h similarity index 100% rename from libplugin/libplugin.h rename to gear-lib/libplugin/libplugin.h diff --git a/libplugin/modules/Makefile b/gear-lib/libplugin/modules/Makefile similarity index 98% rename from libplugin/modules/Makefile rename to gear-lib/libplugin/modules/Makefile index e5a7c57..f2c608c 100644 --- a/libplugin/modules/Makefile +++ b/gear-lib/libplugin/modules/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libplugin/modules/plugin_ipc.c b/gear-lib/libplugin/modules/plugin_ipc.c similarity index 100% rename from libplugin/modules/plugin_ipc.c rename to gear-lib/libplugin/modules/plugin_ipc.c diff --git a/libplugin/modules/plugin_log.c b/gear-lib/libplugin/modules/plugin_log.c similarity index 100% rename from libplugin/modules/plugin_log.c rename to gear-lib/libplugin/modules/plugin_log.c diff --git a/libplugin/modules/plugin_skt.c b/gear-lib/libplugin/modules/plugin_skt.c similarity index 100% rename from libplugin/modules/plugin_skt.c rename to gear-lib/libplugin/modules/plugin_skt.c diff --git a/libplugin/test_libplugin.c b/gear-lib/libplugin/test_libplugin.c similarity index 100% rename from libplugin/test_libplugin.c rename to gear-lib/libplugin/test_libplugin.c diff --git a/libplugin/version.sh b/gear-lib/libplugin/version.sh similarity index 100% rename from libplugin/version.sh rename to gear-lib/libplugin/version.sh diff --git a/libposix4win/Makefile.nmake b/gear-lib/libposix4win/Makefile.nmake similarity index 100% rename from libposix4win/Makefile.nmake rename to gear-lib/libposix4win/Makefile.nmake diff --git a/libposix4win/README.md b/gear-lib/libposix4win/README.md similarity index 100% rename from libposix4win/README.md rename to gear-lib/libposix4win/README.md diff --git a/libposix4win/libposix4win.c b/gear-lib/libposix4win/libposix4win.c similarity index 100% rename from libposix4win/libposix4win.c rename to gear-lib/libposix4win/libposix4win.c diff --git a/libposix4win/libposix4win.h b/gear-lib/libposix4win/libposix4win.h similarity index 100% rename from libposix4win/libposix4win.h rename to gear-lib/libposix4win/libposix4win.h diff --git a/libposix4win/test_libposix4win.c b/gear-lib/libposix4win/test_libposix4win.c similarity index 100% rename from libposix4win/test_libposix4win.c rename to gear-lib/libposix4win/test_libposix4win.c diff --git a/libposix4win/version.sh b/gear-lib/libposix4win/version.sh similarity index 100% rename from libposix4win/version.sh rename to gear-lib/libposix4win/version.sh diff --git a/libqueue/Android.mk b/gear-lib/libqueue/Android.mk similarity index 100% rename from libqueue/Android.mk rename to gear-lib/libqueue/Android.mk diff --git a/libqueue/Makefile b/gear-lib/libqueue/Makefile similarity index 98% rename from libqueue/Makefile rename to gear-lib/libqueue/Makefile index dd371d9..3c25967 100644 --- a/libqueue/Makefile +++ b/gear-lib/libqueue/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libqueue/README.md b/gear-lib/libqueue/README.md similarity index 100% rename from libqueue/README.md rename to gear-lib/libqueue/README.md diff --git a/libqueue/libqueue.c b/gear-lib/libqueue/libqueue.c similarity index 100% rename from libqueue/libqueue.c rename to gear-lib/libqueue/libqueue.c diff --git a/libqueue/libqueue.h b/gear-lib/libqueue/libqueue.h similarity index 100% rename from libqueue/libqueue.h rename to gear-lib/libqueue/libqueue.h diff --git a/libqueue/test_libqueue.c b/gear-lib/libqueue/test_libqueue.c similarity index 100% rename from libqueue/test_libqueue.c rename to gear-lib/libqueue/test_libqueue.c diff --git a/libqueue/version.sh b/gear-lib/libqueue/version.sh similarity index 100% rename from libqueue/version.sh rename to gear-lib/libqueue/version.sh diff --git a/librbtree/Makefile b/gear-lib/librbtree/Makefile similarity index 97% rename from librbtree/Makefile rename to gear-lib/librbtree/Makefile index dec96cd..0f764dd 100644 --- a/librbtree/Makefile +++ b/gear-lib/librbtree/Makefile @@ -3,7 +3,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/librbtree/README b/gear-lib/librbtree/README similarity index 100% rename from librbtree/README rename to gear-lib/librbtree/README diff --git a/librbtree/librbtree.c b/gear-lib/librbtree/librbtree.c similarity index 100% rename from librbtree/librbtree.c rename to gear-lib/librbtree/librbtree.c diff --git a/librbtree/librbtree.h b/gear-lib/librbtree/librbtree.h similarity index 100% rename from librbtree/librbtree.h rename to gear-lib/librbtree/librbtree.h diff --git a/librbtree/test_librbtree.c b/gear-lib/librbtree/test_librbtree.c similarity index 100% rename from librbtree/test_librbtree.c rename to gear-lib/librbtree/test_librbtree.c diff --git a/libringbuffer/Android.mk b/gear-lib/libringbuffer/Android.mk similarity index 100% rename from libringbuffer/Android.mk rename to gear-lib/libringbuffer/Android.mk diff --git a/libringbuffer/Makefile b/gear-lib/libringbuffer/Makefile similarity index 98% rename from libringbuffer/Makefile rename to gear-lib/libringbuffer/Makefile index 9d9388d..43371ca 100644 --- a/libringbuffer/Makefile +++ b/gear-lib/libringbuffer/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libringbuffer/README.md b/gear-lib/libringbuffer/README.md similarity index 100% rename from libringbuffer/README.md rename to gear-lib/libringbuffer/README.md diff --git a/libringbuffer/libringbuffer.c b/gear-lib/libringbuffer/libringbuffer.c similarity index 100% rename from libringbuffer/libringbuffer.c rename to gear-lib/libringbuffer/libringbuffer.c diff --git a/libringbuffer/libringbuffer.h b/gear-lib/libringbuffer/libringbuffer.h similarity index 100% rename from libringbuffer/libringbuffer.h rename to gear-lib/libringbuffer/libringbuffer.h diff --git a/libringbuffer/test_libringbuffer.c b/gear-lib/libringbuffer/test_libringbuffer.c similarity index 100% rename from libringbuffer/test_libringbuffer.c rename to gear-lib/libringbuffer/test_libringbuffer.c diff --git a/libringbuffer/version.sh b/gear-lib/libringbuffer/version.sh similarity index 100% rename from libringbuffer/version.sh rename to gear-lib/libringbuffer/version.sh diff --git a/librpc/Android.mk b/gear-lib/librpc/Android.mk similarity index 100% rename from librpc/Android.mk rename to gear-lib/librpc/Android.mk diff --git a/librpc/Makefile b/gear-lib/librpc/Makefile similarity index 98% rename from librpc/Makefile rename to gear-lib/librpc/Makefile index b76b1f3..7f8225d 100644 --- a/librpc/Makefile +++ b/gear-lib/librpc/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/librpc/README.md b/gear-lib/librpc/README.md similarity index 100% rename from librpc/README.md rename to gear-lib/librpc/README.md diff --git a/librpc/librpc.c b/gear-lib/librpc/librpc.c similarity index 100% rename from librpc/librpc.c rename to gear-lib/librpc/librpc.c diff --git a/librpc/librpc.h b/gear-lib/librpc/librpc.h similarity index 100% rename from librpc/librpc.h rename to gear-lib/librpc/librpc.h diff --git a/librpc/librpc_stub.h b/gear-lib/librpc/librpc_stub.h similarity index 100% rename from librpc/librpc_stub.h rename to gear-lib/librpc/librpc_stub.h diff --git a/librpc/msgq_posix.c b/gear-lib/librpc/msgq_posix.c similarity index 100% rename from librpc/msgq_posix.c rename to gear-lib/librpc/msgq_posix.c diff --git a/librpc/msgq_sysv.c b/gear-lib/librpc/msgq_sysv.c similarity index 100% rename from librpc/msgq_sysv.c rename to gear-lib/librpc/msgq_sysv.c diff --git a/librpc/netlink.c b/gear-lib/librpc/netlink.c similarity index 100% rename from librpc/netlink.c rename to gear-lib/librpc/netlink.c diff --git a/librpc/netlink_driver.c b/gear-lib/librpc/netlink_driver.c similarity index 100% rename from librpc/netlink_driver.c rename to gear-lib/librpc/netlink_driver.c diff --git a/librpc/netlink_driver.h b/gear-lib/librpc/netlink_driver.h similarity index 100% rename from librpc/netlink_driver.h rename to gear-lib/librpc/netlink_driver.h diff --git a/librpc/proto/Makefile b/gear-lib/librpc/proto/Makefile similarity index 100% rename from librpc/proto/Makefile rename to gear-lib/librpc/proto/Makefile diff --git a/librpc/proto/hello.proto b/gear-lib/librpc/proto/hello.proto similarity index 100% rename from librpc/proto/hello.proto rename to gear-lib/librpc/proto/hello.proto diff --git a/librpc/proto/librpc.proto b/gear-lib/librpc/proto/librpc.proto similarity index 100% rename from librpc/proto/librpc.proto rename to gear-lib/librpc/proto/librpc.proto diff --git a/librpc/proto/proto_librpc.cpp b/gear-lib/librpc/proto/proto_librpc.cpp similarity index 100% rename from librpc/proto/proto_librpc.cpp rename to gear-lib/librpc/proto/proto_librpc.cpp diff --git a/librpc/shm.c b/gear-lib/librpc/shm.c similarity index 100% rename from librpc/shm.c rename to gear-lib/librpc/shm.c diff --git a/librpc/test_librpc.c b/gear-lib/librpc/test_librpc.c similarity index 100% rename from librpc/test_librpc.c rename to gear-lib/librpc/test_librpc.c diff --git a/librpc/unix_socket.c b/gear-lib/librpc/unix_socket.c similarity index 100% rename from librpc/unix_socket.c rename to gear-lib/librpc/unix_socket.c diff --git a/librpc/version.sh b/gear-lib/librpc/version.sh similarity index 100% rename from librpc/version.sh rename to gear-lib/librpc/version.sh diff --git a/librtmp/Android.mk b/gear-lib/librtmp/Android.mk similarity index 100% rename from librtmp/Android.mk rename to gear-lib/librtmp/Android.mk diff --git a/librtmp/Makefile b/gear-lib/librtmp/Makefile similarity index 98% rename from librtmp/Makefile rename to gear-lib/librtmp/Makefile index 64f6ae4..8410173 100644 --- a/librtmp/Makefile +++ b/gear-lib/librtmp/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/librtmp/README.md b/gear-lib/librtmp/README.md similarity index 100% rename from librtmp/README.md rename to gear-lib/librtmp/README.md diff --git a/librtmp/amf.c b/gear-lib/librtmp/amf.c similarity index 100% rename from librtmp/amf.c rename to gear-lib/librtmp/amf.c diff --git a/librtmp/amf.h b/gear-lib/librtmp/amf.h similarity index 100% rename from librtmp/amf.h rename to gear-lib/librtmp/amf.h diff --git a/librtmp/bytes.h b/gear-lib/librtmp/bytes.h similarity index 100% rename from librtmp/bytes.h rename to gear-lib/librtmp/bytes.h diff --git a/librtmp/dh.h b/gear-lib/librtmp/dh.h similarity index 100% rename from librtmp/dh.h rename to gear-lib/librtmp/dh.h diff --git a/librtmp/dhgroups.h b/gear-lib/librtmp/dhgroups.h similarity index 100% rename from librtmp/dhgroups.h rename to gear-lib/librtmp/dhgroups.h diff --git a/librtmp/handshake.h b/gear-lib/librtmp/handshake.h similarity index 100% rename from librtmp/handshake.h rename to gear-lib/librtmp/handshake.h diff --git a/librtmp/hashswf.c b/gear-lib/librtmp/hashswf.c similarity index 100% rename from librtmp/hashswf.c rename to gear-lib/librtmp/hashswf.c diff --git a/librtmp/http.h b/gear-lib/librtmp/http.h similarity index 100% rename from librtmp/http.h rename to gear-lib/librtmp/http.h diff --git a/librtmp/librtmp.c b/gear-lib/librtmp/librtmp.c similarity index 100% rename from librtmp/librtmp.c rename to gear-lib/librtmp/librtmp.c diff --git a/librtmp/librtmp.h b/gear-lib/librtmp/librtmp.h similarity index 100% rename from librtmp/librtmp.h rename to gear-lib/librtmp/librtmp.h diff --git a/librtmp/log.c b/gear-lib/librtmp/log.c similarity index 100% rename from librtmp/log.c rename to gear-lib/librtmp/log.c diff --git a/librtmp/log.h b/gear-lib/librtmp/log.h similarity index 100% rename from librtmp/log.h rename to gear-lib/librtmp/log.h diff --git a/librtmp/parseurl.c b/gear-lib/librtmp/parseurl.c similarity index 100% rename from librtmp/parseurl.c rename to gear-lib/librtmp/parseurl.c diff --git a/librtmp/rtmp.c b/gear-lib/librtmp/rtmp.c similarity index 100% rename from librtmp/rtmp.c rename to gear-lib/librtmp/rtmp.c diff --git a/librtmp/rtmp.h b/gear-lib/librtmp/rtmp.h similarity index 100% rename from librtmp/rtmp.h rename to gear-lib/librtmp/rtmp.h diff --git a/librtmp/rtmp_aac.c b/gear-lib/librtmp/rtmp_aac.c similarity index 100% rename from librtmp/rtmp_aac.c rename to gear-lib/librtmp/rtmp_aac.c diff --git a/librtmp/rtmp_aac.h b/gear-lib/librtmp/rtmp_aac.h similarity index 100% rename from librtmp/rtmp_aac.h rename to gear-lib/librtmp/rtmp_aac.h diff --git a/librtmp/rtmp_g711.c b/gear-lib/librtmp/rtmp_g711.c similarity index 100% rename from librtmp/rtmp_g711.c rename to gear-lib/librtmp/rtmp_g711.c diff --git a/librtmp/rtmp_g711.h b/gear-lib/librtmp/rtmp_g711.h similarity index 100% rename from librtmp/rtmp_g711.h rename to gear-lib/librtmp/rtmp_g711.h diff --git a/librtmp/rtmp_h264.c b/gear-lib/librtmp/rtmp_h264.c similarity index 100% rename from librtmp/rtmp_h264.c rename to gear-lib/librtmp/rtmp_h264.c diff --git a/librtmp/rtmp_h264.h b/gear-lib/librtmp/rtmp_h264.h similarity index 100% rename from librtmp/rtmp_h264.h rename to gear-lib/librtmp/rtmp_h264.h diff --git a/librtmp/rtmp_sys.h b/gear-lib/librtmp/rtmp_sys.h similarity index 100% rename from librtmp/rtmp_sys.h rename to gear-lib/librtmp/rtmp_sys.h diff --git a/librtmp/rtmp_util.c b/gear-lib/librtmp/rtmp_util.c similarity index 100% rename from librtmp/rtmp_util.c rename to gear-lib/librtmp/rtmp_util.c diff --git a/librtmp/rtmp_util.h b/gear-lib/librtmp/rtmp_util.h similarity index 100% rename from librtmp/rtmp_util.h rename to gear-lib/librtmp/rtmp_util.h diff --git a/librtmp/test_librtmp.c b/gear-lib/librtmp/test_librtmp.c similarity index 100% rename from librtmp/test_librtmp.c rename to gear-lib/librtmp/test_librtmp.c diff --git a/librtmp/version.sh b/gear-lib/librtmp/version.sh similarity index 100% rename from librtmp/version.sh rename to gear-lib/librtmp/version.sh diff --git a/librtsp/Android.mk b/gear-lib/librtsp/Android.mk similarity index 100% rename from librtsp/Android.mk rename to gear-lib/librtsp/Android.mk diff --git a/librtsp/Makefile b/gear-lib/librtsp/Makefile similarity index 98% rename from librtsp/Makefile rename to gear-lib/librtsp/Makefile index dce2708..e8dfa9e 100644 --- a/librtsp/Makefile +++ b/gear-lib/librtsp/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/librtsp/README.md b/gear-lib/librtsp/README.md similarity index 100% rename from librtsp/README.md rename to gear-lib/librtsp/README.md diff --git a/librtsp/TODO b/gear-lib/librtsp/TODO similarity index 100% rename from librtsp/TODO rename to gear-lib/librtsp/TODO diff --git a/librtsp/librtsp.h b/gear-lib/librtsp/librtsp.h similarity index 100% rename from librtsp/librtsp.h rename to gear-lib/librtsp/librtsp.h diff --git a/librtsp/librtsp_server.c b/gear-lib/librtsp/librtsp_server.c similarity index 100% rename from librtsp/librtsp_server.c rename to gear-lib/librtsp/librtsp_server.c diff --git a/librtsp/librtsp_server.h b/gear-lib/librtsp/librtsp_server.h similarity index 100% rename from librtsp/librtsp_server.h rename to gear-lib/librtsp/librtsp_server.h diff --git a/librtsp/media_source.c b/gear-lib/librtsp/media_source.c similarity index 100% rename from librtsp/media_source.c rename to gear-lib/librtsp/media_source.c diff --git a/librtsp/media_source.h b/gear-lib/librtsp/media_source.h similarity index 100% rename from librtsp/media_source.h rename to gear-lib/librtsp/media_source.h diff --git a/librtsp/media_source_h264.c b/gear-lib/librtsp/media_source_h264.c similarity index 100% rename from librtsp/media_source_h264.c rename to gear-lib/librtsp/media_source_h264.c diff --git a/librtsp/media_source_live.c b/gear-lib/librtsp/media_source_live.c similarity index 100% rename from librtsp/media_source_live.c rename to gear-lib/librtsp/media_source_live.c diff --git a/librtsp/request_handle.c b/gear-lib/librtsp/request_handle.c similarity index 100% rename from librtsp/request_handle.c rename to gear-lib/librtsp/request_handle.c diff --git a/librtsp/request_handle.h b/gear-lib/librtsp/request_handle.h similarity index 100% rename from librtsp/request_handle.h rename to gear-lib/librtsp/request_handle.h diff --git a/librtsp/rtp.c b/gear-lib/librtsp/rtp.c similarity index 100% rename from librtsp/rtp.c rename to gear-lib/librtsp/rtp.c diff --git a/librtsp/rtp.h b/gear-lib/librtsp/rtp.h similarity index 100% rename from librtsp/rtp.h rename to gear-lib/librtsp/rtp.h diff --git a/librtsp/rtp_h264.c b/gear-lib/librtsp/rtp_h264.c similarity index 100% rename from librtsp/rtp_h264.c rename to gear-lib/librtsp/rtp_h264.c diff --git a/librtsp/rtsp_parser.c b/gear-lib/librtsp/rtsp_parser.c similarity index 100% rename from librtsp/rtsp_parser.c rename to gear-lib/librtsp/rtsp_parser.c diff --git a/librtsp/rtsp_parser.h b/gear-lib/librtsp/rtsp_parser.h similarity index 100% rename from librtsp/rtsp_parser.h rename to gear-lib/librtsp/rtsp_parser.h diff --git a/librtsp/sample.264 b/gear-lib/librtsp/sample.264 similarity index 100% rename from librtsp/sample.264 rename to gear-lib/librtsp/sample.264 diff --git a/librtsp/sdp.c b/gear-lib/librtsp/sdp.c similarity index 100% rename from librtsp/sdp.c rename to gear-lib/librtsp/sdp.c diff --git a/librtsp/sdp.h b/gear-lib/librtsp/sdp.h similarity index 100% rename from librtsp/sdp.h rename to gear-lib/librtsp/sdp.h diff --git a/librtsp/test_librtsp.c b/gear-lib/librtsp/test_librtsp.c similarity index 100% rename from librtsp/test_librtsp.c rename to gear-lib/librtsp/test_librtsp.c diff --git a/librtsp/transport_session.c b/gear-lib/librtsp/transport_session.c similarity index 100% rename from librtsp/transport_session.c rename to gear-lib/librtsp/transport_session.c diff --git a/librtsp/transport_session.h b/gear-lib/librtsp/transport_session.h similarity index 100% rename from librtsp/transport_session.h rename to gear-lib/librtsp/transport_session.h diff --git a/librtsp/uri_parse.c b/gear-lib/librtsp/uri_parse.c similarity index 100% rename from librtsp/uri_parse.c rename to gear-lib/librtsp/uri_parse.c diff --git a/librtsp/uri_parse.h b/gear-lib/librtsp/uri_parse.h similarity index 100% rename from librtsp/uri_parse.h rename to gear-lib/librtsp/uri_parse.h diff --git a/librtsp/version.sh b/gear-lib/librtsp/version.sh similarity index 100% rename from librtsp/version.sh rename to gear-lib/librtsp/version.sh diff --git a/libskt/Android.mk b/gear-lib/libskt/Android.mk similarity index 100% rename from libskt/Android.mk rename to gear-lib/libskt/Android.mk diff --git a/libskt/Makefile b/gear-lib/libskt/Makefile similarity index 98% rename from libskt/Makefile rename to gear-lib/libskt/Makefile index 7a56bf4..ae2893d 100644 --- a/libskt/Makefile +++ b/gear-lib/libskt/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libskt/Makefile.nmake b/gear-lib/libskt/Makefile.nmake similarity index 100% rename from libskt/Makefile.nmake rename to gear-lib/libskt/Makefile.nmake diff --git a/libskt/README.md b/gear-lib/libskt/README.md similarity index 100% rename from libskt/README.md rename to gear-lib/libskt/README.md diff --git a/libskt/libskt.c b/gear-lib/libskt/libskt.c similarity index 100% rename from libskt/libskt.c rename to gear-lib/libskt/libskt.c diff --git a/libskt/libskt.h b/gear-lib/libskt/libskt.h similarity index 100% rename from libskt/libskt.h rename to gear-lib/libskt/libskt.h diff --git a/libskt/test_libskt.c b/gear-lib/libskt/test_libskt.c similarity index 100% rename from libskt/test_libskt.c rename to gear-lib/libskt/test_libskt.c diff --git a/libskt/version.sh b/gear-lib/libskt/version.sh similarity index 100% rename from libskt/version.sh rename to gear-lib/libskt/version.sh diff --git a/libsort/Makefile b/gear-lib/libsort/Makefile similarity index 98% rename from libsort/Makefile rename to gear-lib/libsort/Makefile index 1f5463d..31900fe 100644 --- a/libsort/Makefile +++ b/gear-lib/libsort/Makefile @@ -3,7 +3,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libsort/bubble_sort.c b/gear-lib/libsort/bubble_sort.c similarity index 100% rename from libsort/bubble_sort.c rename to gear-lib/libsort/bubble_sort.c diff --git a/libsort/common.h b/gear-lib/libsort/common.h similarity index 100% rename from libsort/common.h rename to gear-lib/libsort/common.h diff --git a/libsort/heap_sort.c b/gear-lib/libsort/heap_sort.c similarity index 100% rename from libsort/heap_sort.c rename to gear-lib/libsort/heap_sort.c diff --git a/libsort/libsort.c b/gear-lib/libsort/libsort.c similarity index 100% rename from libsort/libsort.c rename to gear-lib/libsort/libsort.c diff --git a/libsort/libsort.h b/gear-lib/libsort/libsort.h similarity index 100% rename from libsort/libsort.h rename to gear-lib/libsort/libsort.h diff --git a/libsort/quick_sort.c b/gear-lib/libsort/quick_sort.c similarity index 100% rename from libsort/quick_sort.c rename to gear-lib/libsort/quick_sort.c diff --git a/libsort/select_sort.c b/gear-lib/libsort/select_sort.c similarity index 100% rename from libsort/select_sort.c rename to gear-lib/libsort/select_sort.c diff --git a/libsort/test_libsort.c b/gear-lib/libsort/test_libsort.c similarity index 100% rename from libsort/test_libsort.c rename to gear-lib/libsort/test_libsort.c diff --git a/libstrex/Android.mk b/gear-lib/libstrex/Android.mk similarity index 100% rename from libstrex/Android.mk rename to gear-lib/libstrex/Android.mk diff --git a/libstrex/Makefile b/gear-lib/libstrex/Makefile similarity index 100% rename from libstrex/Makefile rename to gear-lib/libstrex/Makefile diff --git a/libstrex/README.md b/gear-lib/libstrex/README.md similarity index 100% rename from libstrex/README.md rename to gear-lib/libstrex/README.md diff --git a/libstrex/libstrex.c b/gear-lib/libstrex/libstrex.c similarity index 100% rename from libstrex/libstrex.c rename to gear-lib/libstrex/libstrex.c diff --git a/libstrex/libstrex.h b/gear-lib/libstrex/libstrex.h similarity index 100% rename from libstrex/libstrex.h rename to gear-lib/libstrex/libstrex.h diff --git a/libstrex/test_libstrex.c b/gear-lib/libstrex/test_libstrex.c similarity index 100% rename from libstrex/test_libstrex.c rename to gear-lib/libstrex/test_libstrex.c diff --git a/libstrex/version.sh b/gear-lib/libstrex/version.sh similarity index 100% rename from libstrex/version.sh rename to gear-lib/libstrex/version.sh diff --git a/libsubmask/Android.mk b/gear-lib/libsubmask/Android.mk similarity index 100% rename from libsubmask/Android.mk rename to gear-lib/libsubmask/Android.mk diff --git a/libsubmask/Makefile b/gear-lib/libsubmask/Makefile similarity index 98% rename from libsubmask/Makefile rename to gear-lib/libsubmask/Makefile index d616511..1443e9b 100644 --- a/libsubmask/Makefile +++ b/gear-lib/libsubmask/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libsubmask/Makefile.nmake b/gear-lib/libsubmask/Makefile.nmake similarity index 100% rename from libsubmask/Makefile.nmake rename to gear-lib/libsubmask/Makefile.nmake diff --git a/libsubmask/README.md b/gear-lib/libsubmask/README.md similarity index 100% rename from libsubmask/README.md rename to gear-lib/libsubmask/README.md diff --git a/libsubmask/libsubmask.c b/gear-lib/libsubmask/libsubmask.c similarity index 100% rename from libsubmask/libsubmask.c rename to gear-lib/libsubmask/libsubmask.c diff --git a/libsubmask/libsubmask.h b/gear-lib/libsubmask/libsubmask.h similarity index 100% rename from libsubmask/libsubmask.h rename to gear-lib/libsubmask/libsubmask.h diff --git a/libsubmask/test_libsubmask.c b/gear-lib/libsubmask/test_libsubmask.c similarity index 100% rename from libsubmask/test_libsubmask.c rename to gear-lib/libsubmask/test_libsubmask.c diff --git a/libsubmask/version.sh b/gear-lib/libsubmask/version.sh similarity index 100% rename from libsubmask/version.sh rename to gear-lib/libsubmask/version.sh diff --git a/libthread/Android.mk b/gear-lib/libthread/Android.mk similarity index 100% rename from libthread/Android.mk rename to gear-lib/libthread/Android.mk diff --git a/libthread/Makefile b/gear-lib/libthread/Makefile similarity index 98% rename from libthread/Makefile rename to gear-lib/libthread/Makefile index d540db0..c3f130e 100644 --- a/libthread/Makefile +++ b/gear-lib/libthread/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libthread/Makefile.nmake b/gear-lib/libthread/Makefile.nmake similarity index 100% rename from libthread/Makefile.nmake rename to gear-lib/libthread/Makefile.nmake diff --git a/libthread/README.md b/gear-lib/libthread/README.md similarity index 100% rename from libthread/README.md rename to gear-lib/libthread/README.md diff --git a/libthread/libatomic.c b/gear-lib/libthread/libatomic.c similarity index 100% rename from libthread/libatomic.c rename to gear-lib/libthread/libatomic.c diff --git a/libthread/libatomic.h b/gear-lib/libthread/libatomic.h similarity index 100% rename from libthread/libatomic.h rename to gear-lib/libthread/libatomic.h diff --git a/libthread/liblock.c b/gear-lib/libthread/liblock.c similarity index 100% rename from libthread/liblock.c rename to gear-lib/libthread/liblock.c diff --git a/libthread/libthread.c b/gear-lib/libthread/libthread.c similarity index 100% rename from libthread/libthread.c rename to gear-lib/libthread/libthread.c diff --git a/libthread/libthread.h b/gear-lib/libthread/libthread.h similarity index 100% rename from libthread/libthread.h rename to gear-lib/libthread/libthread.h diff --git a/libthread/test_liblock.c b/gear-lib/libthread/test_liblock.c similarity index 99% rename from libthread/test_liblock.c rename to gear-lib/libthread/test_liblock.c index 4b706b3..f044cfb 100644 --- a/libthread/test_liblock.c +++ b/gear-lib/libthread/test_liblock.c @@ -19,6 +19,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. ******************************************************************************/ +#include #include #include #include diff --git a/libthread/test_libthread.c b/gear-lib/libthread/test_libthread.c similarity index 100% rename from libthread/test_libthread.c rename to gear-lib/libthread/test_libthread.c diff --git a/libthread/version.sh b/gear-lib/libthread/version.sh similarity index 100% rename from libthread/version.sh rename to gear-lib/libthread/version.sh diff --git a/libtime/Android.mk b/gear-lib/libtime/Android.mk similarity index 100% rename from libtime/Android.mk rename to gear-lib/libtime/Android.mk diff --git a/libtime/Makefile b/gear-lib/libtime/Makefile similarity index 98% rename from libtime/Makefile rename to gear-lib/libtime/Makefile index 7f7d47a..6959b02 100644 --- a/libtime/Makefile +++ b/gear-lib/libtime/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libtime/Makefile.nmake b/gear-lib/libtime/Makefile.nmake similarity index 100% rename from libtime/Makefile.nmake rename to gear-lib/libtime/Makefile.nmake diff --git a/libtime/README.md b/gear-lib/libtime/README.md similarity index 100% rename from libtime/README.md rename to gear-lib/libtime/README.md diff --git a/libtime/libtime.c b/gear-lib/libtime/libtime.c similarity index 100% rename from libtime/libtime.c rename to gear-lib/libtime/libtime.c diff --git a/libtime/libtime.h b/gear-lib/libtime/libtime.h similarity index 100% rename from libtime/libtime.h rename to gear-lib/libtime/libtime.h diff --git a/libtime/test_libtime.c b/gear-lib/libtime/test_libtime.c similarity index 100% rename from libtime/test_libtime.c rename to gear-lib/libtime/test_libtime.c diff --git a/libtime/version.sh b/gear-lib/libtime/version.sh similarity index 100% rename from libtime/version.sh rename to gear-lib/libtime/version.sh diff --git a/libuio/Android.mk b/gear-lib/libuio/Android.mk similarity index 100% rename from libuio/Android.mk rename to gear-lib/libuio/Android.mk diff --git a/libuio/Makefile b/gear-lib/libuio/Makefile similarity index 98% rename from libuio/Makefile rename to gear-lib/libuio/Makefile index 38ac76e..ce95eb9 100644 --- a/libuio/Makefile +++ b/gear-lib/libuio/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libuio/README.md b/gear-lib/libuio/README.md similarity index 100% rename from libuio/README.md rename to gear-lib/libuio/README.md diff --git a/libuio/libuio.c b/gear-lib/libuio/libuio.c similarity index 100% rename from libuio/libuio.c rename to gear-lib/libuio/libuio.c diff --git a/libuio/libuio.h b/gear-lib/libuio/libuio.h similarity index 100% rename from libuio/libuio.h rename to gear-lib/libuio/libuio.h diff --git a/libuio/libuio_internal.h b/gear-lib/libuio/libuio_internal.h similarity index 100% rename from libuio/libuio_internal.h rename to gear-lib/libuio/libuio_internal.h diff --git a/libuio/test_libuio.c b/gear-lib/libuio/test_libuio.c similarity index 100% rename from libuio/test_libuio.c rename to gear-lib/libuio/test_libuio.c diff --git a/libuio/version.sh b/gear-lib/libuio/version.sh similarity index 100% rename from libuio/version.sh rename to gear-lib/libuio/version.sh diff --git a/libuvc/Android.mk b/gear-lib/libuvc/Android.mk similarity index 100% rename from libuvc/Android.mk rename to gear-lib/libuvc/Android.mk diff --git a/libuvc/Makefile b/gear-lib/libuvc/Makefile similarity index 98% rename from libuvc/Makefile rename to gear-lib/libuvc/Makefile index 5de09a4..80155e5 100644 --- a/libuvc/Makefile +++ b/gear-lib/libuvc/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libuvc/Makefile.nmake b/gear-lib/libuvc/Makefile.nmake similarity index 100% rename from libuvc/Makefile.nmake rename to gear-lib/libuvc/Makefile.nmake diff --git a/libuvc/README.md b/gear-lib/libuvc/README.md similarity index 100% rename from libuvc/README.md rename to gear-lib/libuvc/README.md diff --git a/libuvc/dshow.c b/gear-lib/libuvc/dshow.c similarity index 100% rename from libuvc/dshow.c rename to gear-lib/libuvc/dshow.c diff --git a/libuvc/dshow.h b/gear-lib/libuvc/dshow.h similarity index 100% rename from libuvc/dshow.h rename to gear-lib/libuvc/dshow.h diff --git a/libuvc/libuvc.c b/gear-lib/libuvc/libuvc.c similarity index 100% rename from libuvc/libuvc.c rename to gear-lib/libuvc/libuvc.c diff --git a/libuvc/libuvc.h b/gear-lib/libuvc/libuvc.h similarity index 100% rename from libuvc/libuvc.h rename to gear-lib/libuvc/libuvc.h diff --git a/libuvc/test_libuvc.c b/gear-lib/libuvc/test_libuvc.c similarity index 100% rename from libuvc/test_libuvc.c rename to gear-lib/libuvc/test_libuvc.c diff --git a/libuvc/v4l2.c b/gear-lib/libuvc/v4l2.c similarity index 100% rename from libuvc/v4l2.c rename to gear-lib/libuvc/v4l2.c diff --git a/libuvc/version.sh b/gear-lib/libuvc/version.sh similarity index 100% rename from libuvc/version.sh rename to gear-lib/libuvc/version.sh diff --git a/libvector/Android.mk b/gear-lib/libvector/Android.mk similarity index 100% rename from libvector/Android.mk rename to gear-lib/libvector/Android.mk diff --git a/libvector/Makefile b/gear-lib/libvector/Makefile similarity index 98% rename from libvector/Makefile rename to gear-lib/libvector/Makefile index 5a23362..b73b4d4 100644 --- a/libvector/Makefile +++ b/gear-lib/libvector/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libvector/Makefile.nmake b/gear-lib/libvector/Makefile.nmake similarity index 100% rename from libvector/Makefile.nmake rename to gear-lib/libvector/Makefile.nmake diff --git a/libvector/README.md b/gear-lib/libvector/README.md similarity index 100% rename from libvector/README.md rename to gear-lib/libvector/README.md diff --git a/libvector/libvector.c b/gear-lib/libvector/libvector.c similarity index 100% rename from libvector/libvector.c rename to gear-lib/libvector/libvector.c diff --git a/libvector/libvector.h b/gear-lib/libvector/libvector.h similarity index 100% rename from libvector/libvector.h rename to gear-lib/libvector/libvector.h diff --git a/libvector/test_libvector.c b/gear-lib/libvector/test_libvector.c similarity index 100% rename from libvector/test_libvector.c rename to gear-lib/libvector/test_libvector.c diff --git a/libvector/version.sh b/gear-lib/libvector/version.sh similarity index 100% rename from libvector/version.sh rename to gear-lib/libvector/version.sh diff --git a/libworkq/Android.mk b/gear-lib/libworkq/Android.mk similarity index 100% rename from libworkq/Android.mk rename to gear-lib/libworkq/Android.mk diff --git a/libworkq/Makefile b/gear-lib/libworkq/Makefile similarity index 98% rename from libworkq/Makefile rename to gear-lib/libworkq/Makefile index c36f622..de4c5fc 100644 --- a/libworkq/Makefile +++ b/gear-lib/libworkq/Makefile @@ -5,7 +5,7 @@ ARCH ?= linux CROSS_PREFIX ?= OUTPUT ?= /usr/local -BUILD_DIR := $(shell pwd)/../build/ +BUILD_DIR := $(shell pwd)/../../build/ ARCH_INC := $(BUILD_DIR)/$(ARCH).inc COLOR_INC := $(BUILD_DIR)/color.inc diff --git a/libworkq/README.md b/gear-lib/libworkq/README.md similarity index 100% rename from libworkq/README.md rename to gear-lib/libworkq/README.md diff --git a/libworkq/libworkq.c b/gear-lib/libworkq/libworkq.c similarity index 100% rename from libworkq/libworkq.c rename to gear-lib/libworkq/libworkq.c diff --git a/libworkq/libworkq.h b/gear-lib/libworkq/libworkq.h similarity index 100% rename from libworkq/libworkq.h rename to gear-lib/libworkq/libworkq.h diff --git a/libworkq/test_libworkq.c b/gear-lib/libworkq/test_libworkq.c similarity index 100% rename from libworkq/test_libworkq.c rename to gear-lib/libworkq/test_libworkq.c diff --git a/libworkq/version.sh b/gear-lib/libworkq/version.sh similarity index 100% rename from libworkq/version.sh rename to gear-lib/libworkq/version.sh diff --git a/include/amf.h b/include/amf.h new file mode 120000 index 0000000..876cb31 --- /dev/null +++ b/include/amf.h @@ -0,0 +1 @@ +../gear-lib/librtmp/amf.h \ No newline at end of file diff --git a/include/bytes.h b/include/bytes.h new file mode 120000 index 0000000..ed565eb --- /dev/null +++ b/include/bytes.h @@ -0,0 +1 @@ +../gear-lib/librtmp/bytes.h \ No newline at end of file diff --git a/include/color.h b/include/color.h new file mode 120000 index 0000000..ba2c34a --- /dev/null +++ b/include/color.h @@ -0,0 +1 @@ +../gear-lib/liblog/color.h \ No newline at end of file diff --git a/include/common.h b/include/common.h new file mode 120000 index 0000000..a5302dd --- /dev/null +++ b/include/common.h @@ -0,0 +1 @@ +../gear-lib/libsort/common.h \ No newline at end of file diff --git a/include/dh.h b/include/dh.h new file mode 120000 index 0000000..a0a39f8 --- /dev/null +++ b/include/dh.h @@ -0,0 +1 @@ +../gear-lib/librtmp/dh.h \ No newline at end of file diff --git a/include/dhgroups.h b/include/dhgroups.h new file mode 120000 index 0000000..3993262 --- /dev/null +++ b/include/dhgroups.h @@ -0,0 +1 @@ +../gear-lib/librtmp/dhgroups.h \ No newline at end of file diff --git a/include/gear-lib.h b/include/gear-lib.h new file mode 100644 index 0000000..6c1a51b --- /dev/null +++ b/include/gear-lib.h @@ -0,0 +1,58 @@ +/****************************************************************************** + * Copyright (C) 2014-2020 Zhifeng Gong + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + ******************************************************************************/ +#ifndef GEAR_LIB_H +#define GEAR_LIB_H + +#include "libbase64.h" +#include "libconfig.h" +#include "libdebug.h" +#include "libdict.h" +#include "libfile.h" +#include "libgevent.h" +#include "libhal.h" +#include "libhash.h" +#include "libipc.h" +#include "liblog.h" +#include "libmacro.h" +#include "libmp4parser.h" +#include "libp2p.h" +#include "libplugin.h" +#include "libposix4win.h" +#include "libqueue.h" +#include "librbtree.h" +#include "libringbuffer.h" +#include "librpc.h" +#include "librpc_stub.h" +#include "librtmp.h" +#include "librtsp.h" +#include "libskt.h" +#include "libsort.h" +#include "libstrex.h" +#include "libsubmask.h" +#include "libthread.h" +#include "libtime.h" +#include "libuvc.h" +#include "libvector.h" +#include "libworkq.h" + +#endif +#endif diff --git a/include/handshake.h b/include/handshake.h new file mode 120000 index 0000000..172ed44 --- /dev/null +++ b/include/handshake.h @@ -0,0 +1 @@ +../gear-lib/librtmp/handshake.h \ No newline at end of file diff --git a/include/http.h b/include/http.h new file mode 120000 index 0000000..356ba1b --- /dev/null +++ b/include/http.h @@ -0,0 +1 @@ +../gear-lib/librtmp/http.h \ No newline at end of file diff --git a/include/libatomic.h b/include/libatomic.h new file mode 120000 index 0000000..af64fea --- /dev/null +++ b/include/libatomic.h @@ -0,0 +1 @@ +../gear-lib/libthread/libatomic.h \ No newline at end of file diff --git a/include/libbase64.h b/include/libbase64.h new file mode 120000 index 0000000..627a69b --- /dev/null +++ b/include/libbase64.h @@ -0,0 +1 @@ +../gear-lib/libbase64/libbase64.h \ No newline at end of file diff --git a/include/libconfig.h b/include/libconfig.h new file mode 120000 index 0000000..2b100e9 --- /dev/null +++ b/include/libconfig.h @@ -0,0 +1 @@ +../gear-lib/libconfig/libconfig.h \ No newline at end of file diff --git a/include/libdebug.h b/include/libdebug.h new file mode 120000 index 0000000..0ddea3e --- /dev/null +++ b/include/libdebug.h @@ -0,0 +1 @@ +../gear-lib/libdebug/libdebug.h \ No newline at end of file diff --git a/include/libdict.h b/include/libdict.h new file mode 120000 index 0000000..44c4079 --- /dev/null +++ b/include/libdict.h @@ -0,0 +1 @@ +../gear-lib/libdict/libdict.h \ No newline at end of file diff --git a/include/libfile.h b/include/libfile.h new file mode 120000 index 0000000..8197de8 --- /dev/null +++ b/include/libfile.h @@ -0,0 +1 @@ +../gear-lib/libfile/libfile.h \ No newline at end of file diff --git a/include/libfilewatcher.h b/include/libfilewatcher.h new file mode 120000 index 0000000..9db9fe1 --- /dev/null +++ b/include/libfilewatcher.h @@ -0,0 +1 @@ +../gear-lib/libfile/libfilewatcher.h \ No newline at end of file diff --git a/include/libgevent.h b/include/libgevent.h new file mode 120000 index 0000000..6dcfcd0 --- /dev/null +++ b/include/libgevent.h @@ -0,0 +1 @@ +../gear-lib/libgevent/libgevent.h \ No newline at end of file diff --git a/include/libhal.h b/include/libhal.h new file mode 120000 index 0000000..7348640 --- /dev/null +++ b/include/libhal.h @@ -0,0 +1 @@ +../gear-lib/libhal/libhal.h \ No newline at end of file diff --git a/include/libhash.h b/include/libhash.h new file mode 120000 index 0000000..ea29f98 --- /dev/null +++ b/include/libhash.h @@ -0,0 +1 @@ +../gear-lib/libhash/libhash.h \ No newline at end of file diff --git a/include/libipc.h b/include/libipc.h new file mode 120000 index 0000000..e35c2dd --- /dev/null +++ b/include/libipc.h @@ -0,0 +1 @@ +../gear-lib/libipc/libipc.h \ No newline at end of file diff --git a/include/libipc_stub.h b/include/libipc_stub.h new file mode 120000 index 0000000..6fbef00 --- /dev/null +++ b/include/libipc_stub.h @@ -0,0 +1 @@ +../gear-lib/libipc/libipc_stub.h \ No newline at end of file diff --git a/include/liblog.h b/include/liblog.h new file mode 120000 index 0000000..29835c6 --- /dev/null +++ b/include/liblog.h @@ -0,0 +1 @@ +../gear-lib/liblog/liblog.h \ No newline at end of file diff --git a/include/libmacro.h b/include/libmacro.h new file mode 120000 index 0000000..e087b1e --- /dev/null +++ b/include/libmacro.h @@ -0,0 +1 @@ +../gear-lib/libmacro/libmacro.h \ No newline at end of file diff --git a/include/libmp4parser.h b/include/libmp4parser.h new file mode 120000 index 0000000..a4cd82e --- /dev/null +++ b/include/libmp4parser.h @@ -0,0 +1 @@ +../gear-lib/libmp4parser/libmp4parser.h \ No newline at end of file diff --git a/include/libp2p.h b/include/libp2p.h new file mode 120000 index 0000000..e03ff8a --- /dev/null +++ b/include/libp2p.h @@ -0,0 +1 @@ +../gear-lib/libp2p/libp2p.h \ No newline at end of file diff --git a/include/libplugin.h b/include/libplugin.h new file mode 120000 index 0000000..e715a6d --- /dev/null +++ b/include/libplugin.h @@ -0,0 +1 @@ +../gear-lib/libplugin/libplugin.h \ No newline at end of file diff --git a/include/libposix4win.h b/include/libposix4win.h new file mode 120000 index 0000000..4ee7cfc --- /dev/null +++ b/include/libposix4win.h @@ -0,0 +1 @@ +../gear-lib/libposix4win/libposix4win.h \ No newline at end of file diff --git a/include/libptcp.h b/include/libptcp.h new file mode 120000 index 0000000..385f3ab --- /dev/null +++ b/include/libptcp.h @@ -0,0 +1 @@ +../gear-lib/libp2p/libptcp.h \ No newline at end of file diff --git a/include/libqueue.h b/include/libqueue.h new file mode 120000 index 0000000..3e776fa --- /dev/null +++ b/include/libqueue.h @@ -0,0 +1 @@ +../gear-lib/libqueue/libqueue.h \ No newline at end of file diff --git a/include/librbtree.h b/include/librbtree.h new file mode 120000 index 0000000..9d88471 --- /dev/null +++ b/include/librbtree.h @@ -0,0 +1 @@ +../gear-lib/librbtree/librbtree.h \ No newline at end of file diff --git a/include/libringbuffer.h b/include/libringbuffer.h new file mode 120000 index 0000000..a295c39 --- /dev/null +++ b/include/libringbuffer.h @@ -0,0 +1 @@ +../gear-lib/libringbuffer/libringbuffer.h \ No newline at end of file diff --git a/include/librpc.h b/include/librpc.h new file mode 120000 index 0000000..cc7658c --- /dev/null +++ b/include/librpc.h @@ -0,0 +1 @@ +../gear-lib/librpc/librpc.h \ No newline at end of file diff --git a/include/librpc_stub.h b/include/librpc_stub.h new file mode 120000 index 0000000..27a7d3e --- /dev/null +++ b/include/librpc_stub.h @@ -0,0 +1 @@ +../gear-lib/librpc/librpc_stub.h \ No newline at end of file diff --git a/include/librtmp.h b/include/librtmp.h new file mode 120000 index 0000000..22e1f1c --- /dev/null +++ b/include/librtmp.h @@ -0,0 +1 @@ +../gear-lib/librtmp/librtmp.h \ No newline at end of file diff --git a/include/librtsp.h b/include/librtsp.h new file mode 120000 index 0000000..008bf07 --- /dev/null +++ b/include/librtsp.h @@ -0,0 +1 @@ +../gear-lib/librtsp/librtsp.h \ No newline at end of file diff --git a/include/librtsp_server.h b/include/librtsp_server.h new file mode 120000 index 0000000..91078fe --- /dev/null +++ b/include/librtsp_server.h @@ -0,0 +1 @@ +../gear-lib/librtsp/librtsp_server.h \ No newline at end of file diff --git a/include/libskt.h b/include/libskt.h new file mode 120000 index 0000000..86323bb --- /dev/null +++ b/include/libskt.h @@ -0,0 +1 @@ +../gear-lib/libskt/libskt.h \ No newline at end of file diff --git a/include/libsort.h b/include/libsort.h new file mode 120000 index 0000000..ab6a0c4 --- /dev/null +++ b/include/libsort.h @@ -0,0 +1 @@ +../gear-lib/libsort/libsort.h \ No newline at end of file diff --git a/include/libstrex.h b/include/libstrex.h new file mode 120000 index 0000000..b2b7647 --- /dev/null +++ b/include/libstrex.h @@ -0,0 +1 @@ +../gear-lib/libstrex/libstrex.h \ No newline at end of file diff --git a/include/libstun.h b/include/libstun.h new file mode 120000 index 0000000..dfc36eb --- /dev/null +++ b/include/libstun.h @@ -0,0 +1 @@ +../gear-lib/libp2p/libstun.h \ No newline at end of file diff --git a/include/libsubmask.h b/include/libsubmask.h new file mode 120000 index 0000000..3ca3309 --- /dev/null +++ b/include/libsubmask.h @@ -0,0 +1 @@ +../gear-lib/libsubmask/libsubmask.h \ No newline at end of file diff --git a/include/libthread.h b/include/libthread.h new file mode 120000 index 0000000..3cc0c9c --- /dev/null +++ b/include/libthread.h @@ -0,0 +1 @@ +../gear-lib/libthread/libthread.h \ No newline at end of file diff --git a/include/libtime.h b/include/libtime.h new file mode 120000 index 0000000..bdb985f --- /dev/null +++ b/include/libtime.h @@ -0,0 +1 @@ +../gear-lib/libtime/libtime.h \ No newline at end of file diff --git a/include/libuvc.h b/include/libuvc.h new file mode 120000 index 0000000..08faf5e --- /dev/null +++ b/include/libuvc.h @@ -0,0 +1 @@ +../gear-lib/libuvc/libuvc.h \ No newline at end of file diff --git a/include/libvector.h b/include/libvector.h new file mode 120000 index 0000000..19422f2 --- /dev/null +++ b/include/libvector.h @@ -0,0 +1 @@ +../gear-lib/libvector/libvector.h \ No newline at end of file diff --git a/include/libworkq.h b/include/libworkq.h new file mode 120000 index 0000000..5b74211 --- /dev/null +++ b/include/libworkq.h @@ -0,0 +1 @@ +../gear-lib/libworkq/libworkq.h \ No newline at end of file diff --git a/include/log.h b/include/log.h new file mode 120000 index 0000000..54808b5 --- /dev/null +++ b/include/log.h @@ -0,0 +1 @@ +../gear-lib/librtmp/log.h \ No newline at end of file diff --git a/include/media_source.h b/include/media_source.h new file mode 120000 index 0000000..30b9937 --- /dev/null +++ b/include/media_source.h @@ -0,0 +1 @@ +../gear-lib/librtsp/media_source.h \ No newline at end of file diff --git a/include/mp4parser_inner.h b/include/mp4parser_inner.h new file mode 120000 index 0000000..19383a7 --- /dev/null +++ b/include/mp4parser_inner.h @@ -0,0 +1 @@ +../gear-lib/libmp4parser/mp4parser_inner.h \ No newline at end of file diff --git a/include/netlink_driver.h b/include/netlink_driver.h new file mode 120000 index 0000000..ff2fe2b --- /dev/null +++ b/include/netlink_driver.h @@ -0,0 +1 @@ +../gear-lib/libipc/netlink_driver.h \ No newline at end of file diff --git a/include/patch.h b/include/patch.h new file mode 120000 index 0000000..f232c82 --- /dev/null +++ b/include/patch.h @@ -0,0 +1 @@ +../gear-lib/libmp4parser/patch.h \ No newline at end of file diff --git a/include/queue.h b/include/queue.h new file mode 120000 index 0000000..fda994e --- /dev/null +++ b/include/queue.h @@ -0,0 +1 @@ +../gear-lib/libp2p/queue.h \ No newline at end of file diff --git a/include/request_handle.h b/include/request_handle.h new file mode 120000 index 0000000..1e477f0 --- /dev/null +++ b/include/request_handle.h @@ -0,0 +1 @@ +../gear-lib/librtsp/request_handle.h \ No newline at end of file diff --git a/include/rtmp.h b/include/rtmp.h new file mode 120000 index 0000000..475f013 --- /dev/null +++ b/include/rtmp.h @@ -0,0 +1 @@ +../gear-lib/librtmp/rtmp.h \ No newline at end of file diff --git a/include/rtmp_aac.h b/include/rtmp_aac.h new file mode 120000 index 0000000..6b9a9d2 --- /dev/null +++ b/include/rtmp_aac.h @@ -0,0 +1 @@ +../gear-lib/librtmp/rtmp_aac.h \ No newline at end of file diff --git a/include/rtmp_g711.h b/include/rtmp_g711.h new file mode 120000 index 0000000..af7a268 --- /dev/null +++ b/include/rtmp_g711.h @@ -0,0 +1 @@ +../gear-lib/librtmp/rtmp_g711.h \ No newline at end of file diff --git a/include/rtmp_h264.h b/include/rtmp_h264.h new file mode 120000 index 0000000..0fe3726 --- /dev/null +++ b/include/rtmp_h264.h @@ -0,0 +1 @@ +../gear-lib/librtmp/rtmp_h264.h \ No newline at end of file diff --git a/include/rtmp_sys.h b/include/rtmp_sys.h new file mode 120000 index 0000000..4b3d9bd --- /dev/null +++ b/include/rtmp_sys.h @@ -0,0 +1 @@ +../gear-lib/librtmp/rtmp_sys.h \ No newline at end of file diff --git a/include/rtmp_util.h b/include/rtmp_util.h new file mode 120000 index 0000000..00cc050 --- /dev/null +++ b/include/rtmp_util.h @@ -0,0 +1 @@ +../gear-lib/librtmp/rtmp_util.h \ No newline at end of file diff --git a/include/rtp.h b/include/rtp.h new file mode 120000 index 0000000..5e41fbd --- /dev/null +++ b/include/rtp.h @@ -0,0 +1 @@ +../gear-lib/librtsp/rtp.h \ No newline at end of file diff --git a/include/rtsp_parser.h b/include/rtsp_parser.h new file mode 120000 index 0000000..59e4000 --- /dev/null +++ b/include/rtsp_parser.h @@ -0,0 +1 @@ +../gear-lib/librtsp/rtsp_parser.h \ No newline at end of file diff --git a/include/sdp.h b/include/sdp.h new file mode 120000 index 0000000..1b349f5 --- /dev/null +++ b/include/sdp.h @@ -0,0 +1 @@ +../gear-lib/librtsp/sdp.h \ No newline at end of file diff --git a/include/transport_session.h b/include/transport_session.h new file mode 120000 index 0000000..5f798ed --- /dev/null +++ b/include/transport_session.h @@ -0,0 +1 @@ +../gear-lib/librtsp/transport_session.h \ No newline at end of file diff --git a/include/uri_parse.h b/include/uri_parse.h new file mode 120000 index 0000000..4569559 --- /dev/null +++ b/include/uri_parse.h @@ -0,0 +1 @@ +../gear-lib/librtsp/uri_parse.h \ No newline at end of file diff --git a/src/amf.c b/src/amf.c new file mode 120000 index 0000000..070858a --- /dev/null +++ b/src/amf.c @@ -0,0 +1 @@ +../gear-lib/librtmp/amf.c \ No newline at end of file diff --git a/src/bubble_sort.c b/src/bubble_sort.c new file mode 120000 index 0000000..dbbd670 --- /dev/null +++ b/src/bubble_sort.c @@ -0,0 +1 @@ +../gear-lib/libsort/bubble_sort.c \ No newline at end of file diff --git a/src/epoll.c b/src/epoll.c new file mode 120000 index 0000000..d2908c8 --- /dev/null +++ b/src/epoll.c @@ -0,0 +1 @@ +../gear-lib/libgevent/epoll.c \ No newline at end of file diff --git a/src/filewatcher.c b/src/filewatcher.c new file mode 120000 index 0000000..b3f55b1 --- /dev/null +++ b/src/filewatcher.c @@ -0,0 +1 @@ +../gear-lib/libfile/filewatcher.c \ No newline at end of file diff --git a/src/fio.c b/src/fio.c new file mode 120000 index 0000000..8930b29 --- /dev/null +++ b/src/fio.c @@ -0,0 +1 @@ +../gear-lib/libfile/fio.c \ No newline at end of file diff --git a/src/hashswf.c b/src/hashswf.c new file mode 120000 index 0000000..72df396 --- /dev/null +++ b/src/hashswf.c @@ -0,0 +1 @@ +../gear-lib/librtmp/hashswf.c \ No newline at end of file diff --git a/src/heap_sort.c b/src/heap_sort.c new file mode 120000 index 0000000..e143039 --- /dev/null +++ b/src/heap_sort.c @@ -0,0 +1 @@ +../gear-lib/libsort/heap_sort.c \ No newline at end of file diff --git a/src/io.c b/src/io.c new file mode 120000 index 0000000..f06095e --- /dev/null +++ b/src/io.c @@ -0,0 +1 @@ +../gear-lib/libfile/io.c \ No newline at end of file diff --git a/src/libatomic.c b/src/libatomic.c new file mode 120000 index 0000000..da44391 --- /dev/null +++ b/src/libatomic.c @@ -0,0 +1 @@ +../gear-lib/libthread/libatomic.c \ No newline at end of file diff --git a/src/libbase64.c b/src/libbase64.c new file mode 120000 index 0000000..090ff79 --- /dev/null +++ b/src/libbase64.c @@ -0,0 +1 @@ +../gear-lib/libbase64/libbase64.c \ No newline at end of file diff --git a/src/libdebug.c b/src/libdebug.c new file mode 120000 index 0000000..7e4c2e1 --- /dev/null +++ b/src/libdebug.c @@ -0,0 +1 @@ +../gear-lib/libdebug/libdebug.c \ No newline at end of file diff --git a/src/libfile.c b/src/libfile.c new file mode 120000 index 0000000..4dd9ab0 --- /dev/null +++ b/src/libfile.c @@ -0,0 +1 @@ +../gear-lib/libfile/libfile.c \ No newline at end of file diff --git a/src/libgevent.c b/src/libgevent.c new file mode 120000 index 0000000..5348eba --- /dev/null +++ b/src/libgevent.c @@ -0,0 +1 @@ +../gear-lib/libgevent/libgevent.c \ No newline at end of file diff --git a/src/libhal.c b/src/libhal.c new file mode 120000 index 0000000..8e64f2a --- /dev/null +++ b/src/libhal.c @@ -0,0 +1 @@ +../gear-lib/libhal/libhal.c \ No newline at end of file diff --git a/src/libhash.c b/src/libhash.c new file mode 120000 index 0000000..503b94a --- /dev/null +++ b/src/libhash.c @@ -0,0 +1 @@ +../gear-lib/libhash/libhash.c \ No newline at end of file diff --git a/src/libipc.c b/src/libipc.c new file mode 120000 index 0000000..3d74f8e --- /dev/null +++ b/src/libipc.c @@ -0,0 +1 @@ +../gear-lib/libipc/libipc.c \ No newline at end of file diff --git a/src/liblock.c b/src/liblock.c new file mode 120000 index 0000000..c953da2 --- /dev/null +++ b/src/liblock.c @@ -0,0 +1 @@ +../gear-lib/libthread/liblock.c \ No newline at end of file diff --git a/src/liblog.c b/src/liblog.c new file mode 120000 index 0000000..f1a669d --- /dev/null +++ b/src/liblog.c @@ -0,0 +1 @@ +../gear-lib/liblog/liblog.c \ No newline at end of file diff --git a/src/libmacro.c b/src/libmacro.c new file mode 120000 index 0000000..35847fc --- /dev/null +++ b/src/libmacro.c @@ -0,0 +1 @@ +../gear-lib/libmacro/libmacro.c \ No newline at end of file diff --git a/src/libmp4parser.c b/src/libmp4parser.c new file mode 120000 index 0000000..691bdd0 --- /dev/null +++ b/src/libmp4parser.c @@ -0,0 +1 @@ +../gear-lib/libmp4parser/libmp4parser.c \ No newline at end of file diff --git a/src/libplugin.c b/src/libplugin.c new file mode 120000 index 0000000..2481268 --- /dev/null +++ b/src/libplugin.c @@ -0,0 +1 @@ +../gear-lib/libplugin/libplugin.c \ No newline at end of file diff --git a/src/libptcp.c b/src/libptcp.c new file mode 120000 index 0000000..b51c5c0 --- /dev/null +++ b/src/libptcp.c @@ -0,0 +1 @@ +../gear-lib/libp2p/libptcp.c \ No newline at end of file diff --git a/src/libqueue.c b/src/libqueue.c new file mode 120000 index 0000000..ebc689a --- /dev/null +++ b/src/libqueue.c @@ -0,0 +1 @@ +../gear-lib/libqueue/libqueue.c \ No newline at end of file diff --git a/src/librbtree.c b/src/librbtree.c new file mode 120000 index 0000000..1f32360 --- /dev/null +++ b/src/librbtree.c @@ -0,0 +1 @@ +../gear-lib/librbtree/librbtree.c \ No newline at end of file diff --git a/src/libringbuffer.c b/src/libringbuffer.c new file mode 120000 index 0000000..3850a33 --- /dev/null +++ b/src/libringbuffer.c @@ -0,0 +1 @@ +../gear-lib/libringbuffer/libringbuffer.c \ No newline at end of file diff --git a/src/librpc.c b/src/librpc.c new file mode 120000 index 0000000..5948358 --- /dev/null +++ b/src/librpc.c @@ -0,0 +1 @@ +../gear-lib/librpc/librpc.c \ No newline at end of file diff --git a/src/librtmp.c b/src/librtmp.c new file mode 120000 index 0000000..06338ce --- /dev/null +++ b/src/librtmp.c @@ -0,0 +1 @@ +../gear-lib/librtmp/librtmp.c \ No newline at end of file diff --git a/src/librtsp_server.c b/src/librtsp_server.c new file mode 120000 index 0000000..28272e7 --- /dev/null +++ b/src/librtsp_server.c @@ -0,0 +1 @@ +../gear-lib/librtsp/librtsp_server.c \ No newline at end of file diff --git a/src/libskt.c b/src/libskt.c new file mode 120000 index 0000000..bb3a55b --- /dev/null +++ b/src/libskt.c @@ -0,0 +1 @@ +../gear-lib/libskt/libskt.c \ No newline at end of file diff --git a/src/libsort.c b/src/libsort.c new file mode 120000 index 0000000..2bbd014 --- /dev/null +++ b/src/libsort.c @@ -0,0 +1 @@ +../gear-lib/libsort/libsort.c \ No newline at end of file diff --git a/src/libstrex.c b/src/libstrex.c new file mode 120000 index 0000000..679c3a0 --- /dev/null +++ b/src/libstrex.c @@ -0,0 +1 @@ +../gear-lib/libstrex/libstrex.c \ No newline at end of file diff --git a/src/libstun.c b/src/libstun.c new file mode 120000 index 0000000..8598696 --- /dev/null +++ b/src/libstun.c @@ -0,0 +1 @@ +../gear-lib/libp2p/libstun.c \ No newline at end of file diff --git a/src/libsubmask.c b/src/libsubmask.c new file mode 120000 index 0000000..348b652 --- /dev/null +++ b/src/libsubmask.c @@ -0,0 +1 @@ +../gear-lib/libsubmask/libsubmask.c \ No newline at end of file diff --git a/src/libthread.c b/src/libthread.c new file mode 120000 index 0000000..c2ddb4f --- /dev/null +++ b/src/libthread.c @@ -0,0 +1 @@ +../gear-lib/libthread/libthread.c \ No newline at end of file diff --git a/src/libtime.c b/src/libtime.c new file mode 120000 index 0000000..723fe8f --- /dev/null +++ b/src/libtime.c @@ -0,0 +1 @@ +../gear-lib/libtime/libtime.c \ No newline at end of file diff --git a/src/libuvc.c b/src/libuvc.c new file mode 120000 index 0000000..16231ec --- /dev/null +++ b/src/libuvc.c @@ -0,0 +1 @@ +../gear-lib/libuvc/libuvc.c \ No newline at end of file diff --git a/src/libvector.c b/src/libvector.c new file mode 120000 index 0000000..40e335f --- /dev/null +++ b/src/libvector.c @@ -0,0 +1 @@ +../gear-lib/libvector/libvector.c \ No newline at end of file diff --git a/src/libworkq.c b/src/libworkq.c new file mode 120000 index 0000000..d6895ed --- /dev/null +++ b/src/libworkq.c @@ -0,0 +1 @@ +../gear-lib/libworkq/libworkq.c \ No newline at end of file diff --git a/src/log.c b/src/log.c new file mode 120000 index 0000000..93be0ab --- /dev/null +++ b/src/log.c @@ -0,0 +1 @@ +../gear-lib/librtmp/log.c \ No newline at end of file diff --git a/src/media_source.c b/src/media_source.c new file mode 120000 index 0000000..0609483 --- /dev/null +++ b/src/media_source.c @@ -0,0 +1 @@ +../gear-lib/librtsp/media_source.c \ No newline at end of file diff --git a/src/media_source_h264.c b/src/media_source_h264.c new file mode 120000 index 0000000..f8cd5ae --- /dev/null +++ b/src/media_source_h264.c @@ -0,0 +1 @@ +../gear-lib/librtsp/media_source_h264.c \ No newline at end of file diff --git a/src/media_source_live.c b/src/media_source_live.c new file mode 120000 index 0000000..5072dfa --- /dev/null +++ b/src/media_source_live.c @@ -0,0 +1 @@ +../gear-lib/librtsp/media_source_live.c \ No newline at end of file diff --git a/src/mp4parser_inner.c b/src/mp4parser_inner.c new file mode 120000 index 0000000..b4b2014 --- /dev/null +++ b/src/mp4parser_inner.c @@ -0,0 +1 @@ +../gear-lib/libmp4parser/mp4parser_inner.c \ No newline at end of file diff --git a/src/msgq_posix.c b/src/msgq_posix.c new file mode 120000 index 0000000..210e64c --- /dev/null +++ b/src/msgq_posix.c @@ -0,0 +1 @@ +../gear-lib/libipc/msgq_posix.c \ No newline at end of file diff --git a/src/msgq_sysv.c b/src/msgq_sysv.c new file mode 120000 index 0000000..65269c1 --- /dev/null +++ b/src/msgq_sysv.c @@ -0,0 +1 @@ +../gear-lib/libipc/msgq_sysv.c \ No newline at end of file diff --git a/src/netlink.c b/src/netlink.c new file mode 120000 index 0000000..57a738c --- /dev/null +++ b/src/netlink.c @@ -0,0 +1 @@ +../gear-lib/libipc/netlink.c \ No newline at end of file diff --git a/src/parseurl.c b/src/parseurl.c new file mode 120000 index 0000000..b591caa --- /dev/null +++ b/src/parseurl.c @@ -0,0 +1 @@ +../gear-lib/librtmp/parseurl.c \ No newline at end of file diff --git a/src/patch.c b/src/patch.c new file mode 120000 index 0000000..e0057cb --- /dev/null +++ b/src/patch.c @@ -0,0 +1 @@ +../gear-lib/libmp4parser/patch.c \ No newline at end of file diff --git a/src/poll.c b/src/poll.c new file mode 120000 index 0000000..14f5362 --- /dev/null +++ b/src/poll.c @@ -0,0 +1 @@ +../gear-lib/libgevent/poll.c \ No newline at end of file diff --git a/src/quick_sort.c b/src/quick_sort.c new file mode 120000 index 0000000..cd19094 --- /dev/null +++ b/src/quick_sort.c @@ -0,0 +1 @@ +../gear-lib/libsort/quick_sort.c \ No newline at end of file diff --git a/src/request_handle.c b/src/request_handle.c new file mode 120000 index 0000000..127279b --- /dev/null +++ b/src/request_handle.c @@ -0,0 +1 @@ +../gear-lib/librtsp/request_handle.c \ No newline at end of file diff --git a/src/rtmp.c b/src/rtmp.c new file mode 120000 index 0000000..30f6a64 --- /dev/null +++ b/src/rtmp.c @@ -0,0 +1 @@ +../gear-lib/librtmp/rtmp.c \ No newline at end of file diff --git a/src/rtmp_aac.c b/src/rtmp_aac.c new file mode 120000 index 0000000..217abd0 --- /dev/null +++ b/src/rtmp_aac.c @@ -0,0 +1 @@ +../gear-lib/librtmp/rtmp_aac.c \ No newline at end of file diff --git a/src/rtmp_g711.c b/src/rtmp_g711.c new file mode 120000 index 0000000..43208a4 --- /dev/null +++ b/src/rtmp_g711.c @@ -0,0 +1 @@ +../gear-lib/librtmp/rtmp_g711.c \ No newline at end of file diff --git a/src/rtmp_h264.c b/src/rtmp_h264.c new file mode 120000 index 0000000..eea8296 --- /dev/null +++ b/src/rtmp_h264.c @@ -0,0 +1 @@ +../gear-lib/librtmp/rtmp_h264.c \ No newline at end of file diff --git a/src/rtmp_util.c b/src/rtmp_util.c new file mode 120000 index 0000000..69bd189 --- /dev/null +++ b/src/rtmp_util.c @@ -0,0 +1 @@ +../gear-lib/librtmp/rtmp_util.c \ No newline at end of file diff --git a/src/rtp.c b/src/rtp.c new file mode 120000 index 0000000..198fa11 --- /dev/null +++ b/src/rtp.c @@ -0,0 +1 @@ +../gear-lib/librtsp/rtp.c \ No newline at end of file diff --git a/src/rtp_h264.c b/src/rtp_h264.c new file mode 120000 index 0000000..e8a4f28 --- /dev/null +++ b/src/rtp_h264.c @@ -0,0 +1 @@ +../gear-lib/librtsp/rtp_h264.c \ No newline at end of file diff --git a/src/rtsp_parser.c b/src/rtsp_parser.c new file mode 120000 index 0000000..6b1b307 --- /dev/null +++ b/src/rtsp_parser.c @@ -0,0 +1 @@ +../gear-lib/librtsp/rtsp_parser.c \ No newline at end of file diff --git a/src/sdp.c b/src/sdp.c new file mode 120000 index 0000000..3a65b64 --- /dev/null +++ b/src/sdp.c @@ -0,0 +1 @@ +../gear-lib/librtsp/sdp.c \ No newline at end of file diff --git a/src/select.c b/src/select.c new file mode 120000 index 0000000..2b46045 --- /dev/null +++ b/src/select.c @@ -0,0 +1 @@ +../gear-lib/libgevent/select.c \ No newline at end of file diff --git a/src/select_sort.c b/src/select_sort.c new file mode 120000 index 0000000..714b3d2 --- /dev/null +++ b/src/select_sort.c @@ -0,0 +1 @@ +../gear-lib/libsort/select_sort.c \ No newline at end of file diff --git a/src/shm.c b/src/shm.c new file mode 120000 index 0000000..d3e6a9d --- /dev/null +++ b/src/shm.c @@ -0,0 +1 @@ +../gear-lib/libipc/shm.c \ No newline at end of file diff --git a/src/transport_session.c b/src/transport_session.c new file mode 120000 index 0000000..1b239e9 --- /dev/null +++ b/src/transport_session.c @@ -0,0 +1 @@ +../gear-lib/librtsp/transport_session.c \ No newline at end of file diff --git a/src/unix_socket.c b/src/unix_socket.c new file mode 120000 index 0000000..d992fd7 --- /dev/null +++ b/src/unix_socket.c @@ -0,0 +1 @@ +../gear-lib/libipc/unix_socket.c \ No newline at end of file diff --git a/src/uri_parse.c b/src/uri_parse.c new file mode 120000 index 0000000..8da6099 --- /dev/null +++ b/src/uri_parse.c @@ -0,0 +1 @@ +../gear-lib/librtsp/uri_parse.c \ No newline at end of file diff --git a/src/v4l2.c b/src/v4l2.c new file mode 120000 index 0000000..9e5721f --- /dev/null +++ b/src/v4l2.c @@ -0,0 +1 @@ +../gear-lib/libuvc/v4l2.c \ No newline at end of file diff --git a/src/version.sh b/src/version.sh new file mode 100755 index 0000000..57ca41c --- /dev/null +++ b/src/version.sh @@ -0,0 +1,27 @@ +#!/bin/sh +major=1 +minor=0 +patch=0 + +libname=$1 +output=version.h + +LIBNAME=`echo ${libname} | tr 'a-z' 'A-Z'` +export version=${major}.${minor}.${patch} +export buildid=`git log -1 --pretty=format:"git-%cd-%h" --date=short 2>/dev/null` +autogen_version_h() +{ +cat > version.h <