diff --git a/EasyIPCamera_RTSP/Buildit b/EasyIPCamera_RTSP/Buildit
index 5d2d1b6825b55446d3ea4f60daecc24b7d0ff807..5fff07da3ed1f92a97f2e886b9672e9d99ec73de 100644
--- a/EasyIPCamera_RTSP/Buildit
+++ b/EasyIPCamera_RTSP/Buildit
@@ -4,16 +4,40 @@ usage()
{
echo "0. clean up ./Buildit clean"
echo "1. build 32bit program ./Buildit i386"
- echo "2. build 64bit program ./Buildit x64"
+ echo "2. build 64bit program ./Buildit x64"
+ echo "3. build hisiv100 program ./Buildit hisiv100[target in hisiv100]"
+ echo "4. build hisiv200 program ./Buildit hisiv200[target in hisiv200]"
+ echo "5. build hisiv300 program ./Buildit hisiv300[target in hisiv300]"
+ echo "6. build hisiv400 program ./Buildit hisiv400[target in hisiv400]"
+ echo "7. build hisiv500 program ./Buildit hisiv500[target in hisiv500]"
+ echo "8. build hisiv600 program ./Buildit hisiv600[target in hisiv600]"
}
if [ "$*" = "clean" ] ; then
make -f nbproject/Makefile-i386.mk QMAKE= SUBPROJECTS= .clean-conf
make -f nbproject/Makefile-x64.mk QMAKE= SUBPROJECTS= .clean-conf
+ make -f nbproject/Makefile-hisiv100.mk QMAKE= SUBPROJECTS= .clean-conf
+ make -f nbproject/Makefile-hisiv200.mk QMAKE= SUBPROJECTS= .clean-conf
+ make -f nbproject/Makefile-hisiv300.mk QMAKE= SUBPROJECTS= .clean-conf
+ make -f nbproject/Makefile-hisiv400.mk QMAKE= SUBPROJECTS= .clean-conf
+ make -f nbproject/Makefile-hisiv500.mk QMAKE= SUBPROJECTS= .clean-conf
+ make -f nbproject/Makefile-hisiv600.mk QMAKE= SUBPROJECTS= .clean-conf
elif [ "$*" = "i386" ] ; then
make -f nbproject/Makefile-i386.mk QMAKE= SUBPROJECTS= .build-conf
elif [ "$*" = "x64" ] ; then
make -f nbproject/Makefile-x64.mk QMAKE= SUBPROJECTS= .build-conf
+elif [ "$*" = "hisiv100" ] ; then
+ make -f nbproject/Makefile-hisiv100.mk QMAKE= SUBPROJECTS= .build-conf
+elif [ "$*" = "hisiv200" ] ; then
+ make -f nbproject/Makefile-hisiv200.mk QMAKE= SUBPROJECTS= .build-conf
+elif [ "$*" = "hisiv300" ] ; then
+ make -f nbproject/Makefile-hisiv300.mk QMAKE= SUBPROJECTS= .build-conf
+elif [ "$*" = "hisiv400" ] ; then
+ make -f nbproject/Makefile-hisiv400.mk QMAKE= SUBPROJECTS= .build-conf
+elif [ "$*" = "hisiv500" ] ; then
+ make -f nbproject/Makefile-hisiv500.mk QMAKE= SUBPROJECTS= .build-conf
+elif [ "$*" = "hisiv600" ] ; then
+ make -f nbproject/Makefile-hisiv600.mk QMAKE= SUBPROJECTS= .build-conf
else
usage;
fi
diff --git a/EasyIPCamera_RTSP/libEasyRTSPClient/Lib/hisiv100/libeasyrtspclient.a b/EasyIPCamera_RTSP/libEasyRTSPClient/Lib/hisiv100/libeasyrtspclient.a
new file mode 100644
index 0000000000000000000000000000000000000000..2ed48ab104b41f21a98937f235a539e4949962a9
Binary files /dev/null and b/EasyIPCamera_RTSP/libEasyRTSPClient/Lib/hisiv100/libeasyrtspclient.a differ
diff --git a/EasyIPCamera_RTSP/libEasyRTSPClient/Lib/hisiv200/libeasyrtspclient.a b/EasyIPCamera_RTSP/libEasyRTSPClient/Lib/hisiv200/libeasyrtspclient.a
new file mode 100644
index 0000000000000000000000000000000000000000..fd2f45328fe2320aac0457eb98051e899d5b9209
Binary files /dev/null and b/EasyIPCamera_RTSP/libEasyRTSPClient/Lib/hisiv200/libeasyrtspclient.a differ
diff --git a/EasyIPCamera_RTSP/libEasyRTSPClient/Lib/hisiv300/libeasyrtspclient.a b/EasyIPCamera_RTSP/libEasyRTSPClient/Lib/hisiv300/libeasyrtspclient.a
new file mode 100644
index 0000000000000000000000000000000000000000..d47d3652806fc72620b5eb4bc7aebc9fb5d0537c
Binary files /dev/null and b/EasyIPCamera_RTSP/libEasyRTSPClient/Lib/hisiv300/libeasyrtspclient.a differ
diff --git a/EasyIPCamera_RTSP/libEasyRTSPClient/Lib/hisiv400/libeasyrtspclient.a b/EasyIPCamera_RTSP/libEasyRTSPClient/Lib/hisiv400/libeasyrtspclient.a
new file mode 100644
index 0000000000000000000000000000000000000000..59b098e1ec8b82a1d412b6ebb71fe943fbf87354
Binary files /dev/null and b/EasyIPCamera_RTSP/libEasyRTSPClient/Lib/hisiv400/libeasyrtspclient.a differ
diff --git a/EasyIPCamera_RTSP/libEasyRTSPClient/Lib/hisiv500/libeasyrtspclient.a b/EasyIPCamera_RTSP/libEasyRTSPClient/Lib/hisiv500/libeasyrtspclient.a
new file mode 100644
index 0000000000000000000000000000000000000000..8f19015ace6381f51de10c102cb70906f1577662
Binary files /dev/null and b/EasyIPCamera_RTSP/libEasyRTSPClient/Lib/hisiv500/libeasyrtspclient.a differ
diff --git a/EasyIPCamera_RTSP/libEasyRTSPClient/Lib/hisiv600/libeasyrtspclient.a b/EasyIPCamera_RTSP/libEasyRTSPClient/Lib/hisiv600/libeasyrtspclient.a
new file mode 100644
index 0000000000000000000000000000000000000000..605c3e03a83dab0ee7df588e4f97e977ddeb14ca
Binary files /dev/null and b/EasyIPCamera_RTSP/libEasyRTSPClient/Lib/hisiv600/libeasyrtspclient.a differ
diff --git a/EasyIPCamera_RTSP/nbproject/Makefile-Release.mk b/EasyIPCamera_RTSP/nbproject/Makefile-hisiv100.mk
similarity index 87%
rename from EasyIPCamera_RTSP/nbproject/Makefile-Release.mk
rename to EasyIPCamera_RTSP/nbproject/Makefile-hisiv100.mk
index ac1f2e9d2c7593f38f2e09b602458c6074c10bf7..bbd5ec9bde7e423cd74a69913809cb7e1f9f7227 100644
--- a/EasyIPCamera_RTSP/nbproject/Makefile-Release.mk
+++ b/EasyIPCamera_RTSP/nbproject/Makefile-hisiv100.mk
@@ -15,15 +15,15 @@ NM=nm
CCADMIN=CCadmin
RANLIB=ranlib
CC=gcc
-CCC=g++
-CXX=g++
+CCC=arm-hisiv100-linux-uclibcgnueabi-g++
+CXX=arm-hisiv100-linux-uclibcgnueabi-g++
FC=gfortran
-AS=as
+AS=arm-hisiv100-linux-uclibcgnueabi-as
# Macros
-CND_PLATFORM=GNU-Linux
+CND_PLATFORM=hisiv100-Linux
CND_DLIB_EXT=so
-CND_CONF=Release
+CND_CONF=hisiv100
CND_DISTDIR=dist
CND_BUILDDIR=build
@@ -53,7 +53,7 @@ FFLAGS=
ASFLAGS=
# Link Libraries and Options
-LDLIBSOPTIONS=-L../Lib/x64 -LlibEasyRTSPClient/Lib/x64
+LDLIBSOPTIONS=-L../Lib/${CND_CONF}_shared -LlibEasyRTSPClient/Lib/${CND_CONF}
# Build Targets
.build-conf: ${BUILD_SUBPROJECTS}
diff --git a/EasyIPCamera_RTSP/nbproject/Makefile-Debug.mk b/EasyIPCamera_RTSP/nbproject/Makefile-hisiv200.mk
similarity index 74%
rename from EasyIPCamera_RTSP/nbproject/Makefile-Debug.mk
rename to EasyIPCamera_RTSP/nbproject/Makefile-hisiv200.mk
index 7795f7a5f6aaa53be0163d32c130dc07fecb7fbc..569b99de05009305fd6e8fb85cfb0b6e13abc34a 100644
--- a/EasyIPCamera_RTSP/nbproject/Makefile-Debug.mk
+++ b/EasyIPCamera_RTSP/nbproject/Makefile-hisiv200.mk
@@ -14,16 +14,16 @@ GREP=grep
NM=nm
CCADMIN=CCadmin
RANLIB=ranlib
-CC=gcc
-CCC=g++
-CXX=g++
+CC=arm-hisiv200-linux-gnueabi-gcc
+CCC=arm-hisiv200-linux-gnueabi-g++
+CXX=arm-hisiv200-linux-gnueabi-g++
FC=gfortran
-AS=as
+AS=arm-hisiv200-linux-gnueabi-as
# Macros
-CND_PLATFORM=GNU-Linux
+CND_PLATFORM=hisiv200-Linux
CND_DLIB_EXT=so
-CND_CONF=Debug
+CND_CONF=hisiv200
CND_DISTDIR=dist
CND_BUILDDIR=build
@@ -53,7 +53,7 @@ FFLAGS=
ASFLAGS=
# Link Libraries and Options
-LDLIBSOPTIONS=-L../Lib/x64 -LlibEasyRTSPClient/Lib/x64
+LDLIBSOPTIONS=-L../Lib/${CND_CONF}_shared -LlibEasyRTSPClient/Lib/${CND_CONF}
# Build Targets
.build-conf: ${BUILD_SUBPROJECTS}
@@ -66,12 +66,12 @@ ${CND_CONF}/easyipcamera_rtsp: ${OBJECTFILES}
${OBJECTDIR}/GetVPSSPSPPS.o: GetVPSSPSPPS.cpp
${MKDIR} -p ${OBJECTDIR}
${RM} "$@.d"
- $(COMPILE.cc) -g -IlibEasyRTSPClient/Include -I../Include -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/GetVPSSPSPPS.o GetVPSSPSPPS.cpp
+ $(COMPILE.cc) -O2 -IlibEasyRTSPClient/Include -I../Include -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/GetVPSSPSPPS.o GetVPSSPSPPS.cpp
${OBJECTDIR}/main.o: main.cpp
${MKDIR} -p ${OBJECTDIR}
${RM} "$@.d"
- $(COMPILE.cc) -g -IlibEasyRTSPClient/Include -I../Include -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/main.o main.cpp
+ $(COMPILE.cc) -O2 -IlibEasyRTSPClient/Include -I../Include -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/main.o main.cpp
# Subprojects
.build-subprojects:
diff --git a/EasyIPCamera_RTSP/nbproject/Makefile-hisiv300.mk b/EasyIPCamera_RTSP/nbproject/Makefile-hisiv300.mk
new file mode 100644
index 0000000000000000000000000000000000000000..fca2ff93b462cd5585efe8eaf09f9b4737c6b0fa
--- /dev/null
+++ b/EasyIPCamera_RTSP/nbproject/Makefile-hisiv300.mk
@@ -0,0 +1,89 @@
+#
+# Generated Makefile - do not edit!
+#
+# Edit the Makefile in the project folder instead (../Makefile). Each target
+# has a -pre and a -post target defined where you can add customized code.
+#
+# This makefile implements configuration specific macros and targets.
+
+
+# Environment
+MKDIR=mkdir
+CP=cp
+GREP=grep
+NM=nm
+CCADMIN=CCadmin
+RANLIB=ranlib
+CC=arm-hisiv300-linux-uclibcgnueabi-gcc
+CCC=arm-hisiv300-linux-uclibcgnueabi-g++
+CXX=arm-hisiv300-linux-uclibcgnueabi-g++
+FC=gfortran
+AS=arm-hisiv300-linux-uclibcgnueabi-as
+
+# Macros
+CND_PLATFORM=hisiv300-Linux
+CND_DLIB_EXT=so
+CND_CONF=hisiv300
+CND_DISTDIR=dist
+CND_BUILDDIR=build
+
+# Include project Makefile
+include Makefile
+
+# Object Directory
+OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}
+
+# Object Files
+OBJECTFILES= \
+ ${OBJECTDIR}/GetVPSSPSPPS.o \
+ ${OBJECTDIR}/main.o
+
+
+# C Compiler Flags
+CFLAGS=
+
+# CC Compiler Flags
+CCFLAGS=
+CXXFLAGS=
+
+# Fortran Compiler Flags
+FFLAGS=
+
+# Assembler Flags
+ASFLAGS=
+
+# Link Libraries and Options
+LDLIBSOPTIONS=-L../Lib/${CND_CONF}_shared -LlibEasyRTSPClient/Lib/${CND_CONF}
+
+# Build Targets
+.build-conf: ${BUILD_SUBPROJECTS}
+ "${MAKE}" -f nbproject/Makefile-${CND_CONF}.mk ${CND_CONF}/easyipcamera_rtsp
+
+${CND_CONF}/easyipcamera_rtsp: ${OBJECTFILES}
+ ${MKDIR} -p ${CND_CONF}
+ ${LINK.cc} -o ${CND_CONF}/easyipcamera_rtsp ${OBJECTFILES} ${LDLIBSOPTIONS} -leasyrtspclient -leasyipcamera -lrt -lpthread
+
+${OBJECTDIR}/GetVPSSPSPPS.o: GetVPSSPSPPS.cpp
+ ${MKDIR} -p ${OBJECTDIR}
+ ${RM} "$@.d"
+ $(COMPILE.cc) -O2 -IlibEasyRTSPClient/Include -I../Include -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/GetVPSSPSPPS.o GetVPSSPSPPS.cpp
+
+${OBJECTDIR}/main.o: main.cpp
+ ${MKDIR} -p ${OBJECTDIR}
+ ${RM} "$@.d"
+ $(COMPILE.cc) -O2 -IlibEasyRTSPClient/Include -I../Include -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/main.o main.cpp
+
+# Subprojects
+.build-subprojects:
+
+# Clean Targets
+.clean-conf: ${CLEAN_SUBPROJECTS}
+ ${RM} -r ${CND_BUILDDIR}/${CND_CONF}
+
+# Subprojects
+.clean-subprojects:
+
+# Enable dependency checking
+.dep.inc: .depcheck-impl
+
+include .dep.inc
diff --git a/EasyIPCamera_RTSP/nbproject/Makefile-hisiv400.mk b/EasyIPCamera_RTSP/nbproject/Makefile-hisiv400.mk
new file mode 100644
index 0000000000000000000000000000000000000000..d63ec74ffdece2821c54595897a50facd55d1aff
--- /dev/null
+++ b/EasyIPCamera_RTSP/nbproject/Makefile-hisiv400.mk
@@ -0,0 +1,89 @@
+#
+# Generated Makefile - do not edit!
+#
+# Edit the Makefile in the project folder instead (../Makefile). Each target
+# has a -pre and a -post target defined where you can add customized code.
+#
+# This makefile implements configuration specific macros and targets.
+
+
+# Environment
+MKDIR=mkdir
+CP=cp
+GREP=grep
+NM=nm
+CCADMIN=CCadmin
+RANLIB=ranlib
+CC=arm-hisiv400-linux-gnueabi-gcc
+CCC=arm-hisiv400-linux-gnueabi-g++
+CXX=arm-hisiv400-linux-gnueabi-g++
+FC=gfortran
+AS=arm-hisiv400-linux-gnueabi-as
+
+# Macros
+CND_PLATFORM=hisiv400-Linux
+CND_DLIB_EXT=so
+CND_CONF=hisiv400
+CND_DISTDIR=dist
+CND_BUILDDIR=build
+
+# Include project Makefile
+include Makefile
+
+# Object Directory
+OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}
+
+# Object Files
+OBJECTFILES= \
+ ${OBJECTDIR}/GetVPSSPSPPS.o \
+ ${OBJECTDIR}/main.o
+
+
+# C Compiler Flags
+CFLAGS=
+
+# CC Compiler Flags
+CCFLAGS=
+CXXFLAGS=
+
+# Fortran Compiler Flags
+FFLAGS=
+
+# Assembler Flags
+ASFLAGS=
+
+# Link Libraries and Options
+LDLIBSOPTIONS=-L../Lib/${CND_CONF}_shared -LlibEasyRTSPClient/Lib/${CND_CONF}
+
+# Build Targets
+.build-conf: ${BUILD_SUBPROJECTS}
+ "${MAKE}" -f nbproject/Makefile-${CND_CONF}.mk ${CND_CONF}/easyipcamera_rtsp
+
+${CND_CONF}/easyipcamera_rtsp: ${OBJECTFILES}
+ ${MKDIR} -p ${CND_CONF}
+ ${LINK.cc} -o ${CND_CONF}/easyipcamera_rtsp ${OBJECTFILES} ${LDLIBSOPTIONS} -leasyrtspclient -leasyipcamera -lrt -lpthread -s
+
+${OBJECTDIR}/GetVPSSPSPPS.o: GetVPSSPSPPS.cpp
+ ${MKDIR} -p ${OBJECTDIR}
+ ${RM} "$@.d"
+ $(COMPILE.cc) -O2 -IlibEasyRTSPClient/Include -I../Include -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/GetVPSSPSPPS.o GetVPSSPSPPS.cpp
+
+${OBJECTDIR}/main.o: main.cpp
+ ${MKDIR} -p ${OBJECTDIR}
+ ${RM} "$@.d"
+ $(COMPILE.cc) -O2 -IlibEasyRTSPClient/Include -I../Include -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/main.o main.cpp
+
+# Subprojects
+.build-subprojects:
+
+# Clean Targets
+.clean-conf: ${CLEAN_SUBPROJECTS}
+ ${RM} -r ${CND_BUILDDIR}/${CND_CONF}
+
+# Subprojects
+.clean-subprojects:
+
+# Enable dependency checking
+.dep.inc: .depcheck-impl
+
+include .dep.inc
diff --git a/EasyIPCamera_RTSP/nbproject/Makefile-hisiv500.mk b/EasyIPCamera_RTSP/nbproject/Makefile-hisiv500.mk
new file mode 100644
index 0000000000000000000000000000000000000000..cc6d663894e15a5af97c956fa996035689df0255
--- /dev/null
+++ b/EasyIPCamera_RTSP/nbproject/Makefile-hisiv500.mk
@@ -0,0 +1,89 @@
+#
+# Generated Makefile - do not edit!
+#
+# Edit the Makefile in the project folder instead (../Makefile). Each target
+# has a -pre and a -post target defined where you can add customized code.
+#
+# This makefile implements configuration specific macros and targets.
+
+
+# Environment
+MKDIR=mkdir
+CP=cp
+GREP=grep
+NM=nm
+CCADMIN=CCadmin
+RANLIB=ranlib
+CC=arm-hisiv500-linux-uclibcgnueabi-gcc
+CCC=arm-hisiv500-linux-uclibcgnueabi-g++
+CXX=arm-hisiv500-linux-uclibcgnueabi-g++
+FC=gfortran
+AS=arm-hisiv500-linux-uclibcgnueabi-as
+
+# Macros
+CND_PLATFORM=hisiv500-Linux
+CND_DLIB_EXT=so
+CND_CONF=hisiv500
+CND_DISTDIR=dist
+CND_BUILDDIR=build
+
+# Include project Makefile
+include Makefile
+
+# Object Directory
+OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}
+
+# Object Files
+OBJECTFILES= \
+ ${OBJECTDIR}/GetVPSSPSPPS.o \
+ ${OBJECTDIR}/main.o
+
+
+# C Compiler Flags
+CFLAGS=
+
+# CC Compiler Flags
+CCFLAGS=
+CXXFLAGS=
+
+# Fortran Compiler Flags
+FFLAGS=
+
+# Assembler Flags
+ASFLAGS=
+
+# Link Libraries and Options
+LDLIBSOPTIONS=-L../Lib/${CND_CONF}_shared -LlibEasyRTSPClient/Lib/${CND_CONF}
+
+# Build Targets
+.build-conf: ${BUILD_SUBPROJECTS}
+ "${MAKE}" -f nbproject/Makefile-${CND_CONF}.mk ${CND_CONF}/easyipcamera_rtsp
+
+${CND_CONF}/easyipcamera_rtsp: ${OBJECTFILES}
+ ${MKDIR} -p ${CND_CONF}
+ ${LINK.cc} -o ${CND_CONF}/easyipcamera_rtsp ${OBJECTFILES} ${LDLIBSOPTIONS} -leasyrtspclient -leasyipcamera -lrt -lpthread
+
+${OBJECTDIR}/GetVPSSPSPPS.o: GetVPSSPSPPS.cpp
+ ${MKDIR} -p ${OBJECTDIR}
+ ${RM} "$@.d"
+ $(COMPILE.cc) -O2 -IlibEasyRTSPClient/Include -I../Include -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/GetVPSSPSPPS.o GetVPSSPSPPS.cpp
+
+${OBJECTDIR}/main.o: main.cpp
+ ${MKDIR} -p ${OBJECTDIR}
+ ${RM} "$@.d"
+ $(COMPILE.cc) -O2 -IlibEasyRTSPClient/Include -I../Include -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/main.o main.cpp
+
+# Subprojects
+.build-subprojects:
+
+# Clean Targets
+.clean-conf: ${CLEAN_SUBPROJECTS}
+ ${RM} -r ${CND_BUILDDIR}/${CND_CONF}
+
+# Subprojects
+.clean-subprojects:
+
+# Enable dependency checking
+.dep.inc: .depcheck-impl
+
+include .dep.inc
diff --git a/EasyIPCamera_RTSP/nbproject/Makefile-hisiv600.mk b/EasyIPCamera_RTSP/nbproject/Makefile-hisiv600.mk
new file mode 100644
index 0000000000000000000000000000000000000000..59884fae5215d46c76183171f4b6c8657b36ce60
--- /dev/null
+++ b/EasyIPCamera_RTSP/nbproject/Makefile-hisiv600.mk
@@ -0,0 +1,89 @@
+#
+# Generated Makefile - do not edit!
+#
+# Edit the Makefile in the project folder instead (../Makefile). Each target
+# has a -pre and a -post target defined where you can add customized code.
+#
+# This makefile implements configuration specific macros and targets.
+
+
+# Environment
+MKDIR=mkdir
+CP=cp
+GREP=grep
+NM=nm
+CCADMIN=CCadmin
+RANLIB=ranlib
+CC=arm-hisiv600-linux-gnueabi-gcc
+CCC=arm-hisiv600-linux-gnueabi-g++
+CXX=arm-hisiv600-linux-gnueabi-g++
+FC=gfortran
+AS=arm-hisiv600-linux-gnueabi-as
+
+# Macros
+CND_PLATFORM=hisiv600-Linux
+CND_DLIB_EXT=so
+CND_CONF=hisiv600
+CND_DISTDIR=dist
+CND_BUILDDIR=build
+
+# Include project Makefile
+include Makefile
+
+# Object Directory
+OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}
+
+# Object Files
+OBJECTFILES= \
+ ${OBJECTDIR}/GetVPSSPSPPS.o \
+ ${OBJECTDIR}/main.o
+
+
+# C Compiler Flags
+CFLAGS=
+
+# CC Compiler Flags
+CCFLAGS=
+CXXFLAGS=
+
+# Fortran Compiler Flags
+FFLAGS=
+
+# Assembler Flags
+ASFLAGS=
+
+# Link Libraries and Options
+LDLIBSOPTIONS=-L../Lib/${CND_CONF}_shared -LlibEasyRTSPClient/Lib/${CND_CONF}
+
+# Build Targets
+.build-conf: ${BUILD_SUBPROJECTS}
+ "${MAKE}" -f nbproject/Makefile-${CND_CONF}.mk ${CND_CONF}/easyipcamera_rtsp
+
+${CND_CONF}/easyipcamera_rtsp: ${OBJECTFILES}
+ ${MKDIR} -p ${CND_CONF}
+ ${LINK.cc} -o ${CND_CONF}/easyipcamera_rtsp ${OBJECTFILES} ${LDLIBSOPTIONS} -leasyrtspclient -leasyipcamera -lrt -lpthread
+
+${OBJECTDIR}/GetVPSSPSPPS.o: GetVPSSPSPPS.cpp
+ ${MKDIR} -p ${OBJECTDIR}
+ ${RM} "$@.d"
+ $(COMPILE.cc) -O2 -IlibEasyRTSPClient/Include -I../Include -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/GetVPSSPSPPS.o GetVPSSPSPPS.cpp
+
+${OBJECTDIR}/main.o: main.cpp
+ ${MKDIR} -p ${OBJECTDIR}
+ ${RM} "$@.d"
+ $(COMPILE.cc) -O2 -IlibEasyRTSPClient/Include -I../Include -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/main.o main.cpp
+
+# Subprojects
+.build-subprojects:
+
+# Clean Targets
+.clean-conf: ${CLEAN_SUBPROJECTS}
+ ${RM} -r ${CND_BUILDDIR}/${CND_CONF}
+
+# Subprojects
+.clean-subprojects:
+
+# Enable dependency checking
+.dep.inc: .depcheck-impl
+
+include .dep.inc
diff --git a/EasyIPCamera_RTSP/nbproject/Makefile-impl.mk b/EasyIPCamera_RTSP/nbproject/Makefile-impl.mk
index bac70c237bbb83f16b2432bba7ec8df673075fe9..032f6912da002c7306153d244a76abb7b1fcf812 100644
--- a/EasyIPCamera_RTSP/nbproject/Makefile-impl.mk
+++ b/EasyIPCamera_RTSP/nbproject/Makefile-impl.mk
@@ -27,11 +27,11 @@ CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}}
PROJECTNAME=EasyIPCamera_RTSP
# Active Configuration
-DEFAULTCONF=Debug
+DEFAULTCONF=x64
CONF=${DEFAULTCONF}
# All Configurations
-ALLCONFS=Debug Release x64 i386
+ALLCONFS=x64 i386 hisiv100 hisiv200 hisiv300 hisiv400 hisiv500 hisiv600
# build
diff --git a/EasyIPCamera_RTSP/nbproject/Makefile-variables.mk b/EasyIPCamera_RTSP/nbproject/Makefile-variables.mk
index 4007efc930b0486c4b96d9b4af0a77129e455a12..d352fb10e6286e751502a001b6e1d54ecf140d08 100644
--- a/EasyIPCamera_RTSP/nbproject/Makefile-variables.mk
+++ b/EasyIPCamera_RTSP/nbproject/Makefile-variables.mk
@@ -6,22 +6,6 @@
CND_BASEDIR=`pwd`
CND_BUILDDIR=build
CND_DISTDIR=dist
-# Debug configuration
-CND_PLATFORM_Debug=GNU-Linux
-CND_ARTIFACT_DIR_Debug=Debug
-CND_ARTIFACT_NAME_Debug=easyipcamera_rtsp
-CND_ARTIFACT_PATH_Debug=Debug/easyipcamera_rtsp
-CND_PACKAGE_DIR_Debug=dist/Debug/GNU-Linux/package
-CND_PACKAGE_NAME_Debug=easyipcamerartsp.tar
-CND_PACKAGE_PATH_Debug=dist/Debug/GNU-Linux/package/easyipcamerartsp.tar
-# Release configuration
-CND_PLATFORM_Release=GNU-Linux
-CND_ARTIFACT_DIR_Release=Release
-CND_ARTIFACT_NAME_Release=easyipcamera_rtsp
-CND_ARTIFACT_PATH_Release=Release/easyipcamera_rtsp
-CND_PACKAGE_DIR_Release=dist/Release/GNU-Linux/package
-CND_PACKAGE_NAME_Release=easyipcamerartsp.tar
-CND_PACKAGE_PATH_Release=dist/Release/GNU-Linux/package/easyipcamerartsp.tar
# x64 configuration
CND_PLATFORM_x64=GNU-Linux
CND_ARTIFACT_DIR_x64=x64
@@ -38,6 +22,54 @@ CND_ARTIFACT_PATH_i386=i386/easyipcamera_rtsp
CND_PACKAGE_DIR_i386=dist/i386/GNU-Linux/package
CND_PACKAGE_NAME_i386=easyipcamerartsp.tar
CND_PACKAGE_PATH_i386=dist/i386/GNU-Linux/package/easyipcamerartsp.tar
+# hisiv100 configuration
+CND_PLATFORM_hisiv100=hisiv100-Linux
+CND_ARTIFACT_DIR_hisiv100=hisiv100
+CND_ARTIFACT_NAME_hisiv100=easyipcamera_rtsp
+CND_ARTIFACT_PATH_hisiv100=hisiv100/easyipcamera_rtsp
+CND_PACKAGE_DIR_hisiv100=dist/hisiv100/hisiv100-Linux/package
+CND_PACKAGE_NAME_hisiv100=easyipcamerartsp.tar
+CND_PACKAGE_PATH_hisiv100=dist/hisiv100/hisiv100-Linux/package/easyipcamerartsp.tar
+# hisiv200 configuration
+CND_PLATFORM_hisiv200=hisiv200-Linux
+CND_ARTIFACT_DIR_hisiv200=hisiv200
+CND_ARTIFACT_NAME_hisiv200=easyipcamera_rtsp
+CND_ARTIFACT_PATH_hisiv200=hisiv200/easyipcamera_rtsp
+CND_PACKAGE_DIR_hisiv200=dist/hisiv200/hisiv200-Linux/package
+CND_PACKAGE_NAME_hisiv200=easyipcamerartsp.tar
+CND_PACKAGE_PATH_hisiv200=dist/hisiv200/hisiv200-Linux/package/easyipcamerartsp.tar
+# hisiv300 configuration
+CND_PLATFORM_hisiv300=hisiv300-Linux
+CND_ARTIFACT_DIR_hisiv300=hisiv300
+CND_ARTIFACT_NAME_hisiv300=easyipcamera_rtsp
+CND_ARTIFACT_PATH_hisiv300=hisiv300/easyipcamera_rtsp
+CND_PACKAGE_DIR_hisiv300=dist/hisiv300/hisiv300-Linux/package
+CND_PACKAGE_NAME_hisiv300=easyipcamerartsp.tar
+CND_PACKAGE_PATH_hisiv300=dist/hisiv300/hisiv300-Linux/package/easyipcamerartsp.tar
+# hisiv400 configuration
+CND_PLATFORM_hisiv400=hisiv400-Linux
+CND_ARTIFACT_DIR_hisiv400=hisiv400
+CND_ARTIFACT_NAME_hisiv400=easyipcamera_rtsp
+CND_ARTIFACT_PATH_hisiv400=hisiv400/easyipcamera_rtsp
+CND_PACKAGE_DIR_hisiv400=dist/hisiv400/hisiv400-Linux/package
+CND_PACKAGE_NAME_hisiv400=easyipcamerartsp.tar
+CND_PACKAGE_PATH_hisiv400=dist/hisiv400/hisiv400-Linux/package/easyipcamerartsp.tar
+# hisiv500 configuration
+CND_PLATFORM_hisiv500=hisiv500-Linux
+CND_ARTIFACT_DIR_hisiv500=hisiv500
+CND_ARTIFACT_NAME_hisiv500=easyipcamera_rtsp
+CND_ARTIFACT_PATH_hisiv500=hisiv500/easyipcamera_rtsp
+CND_PACKAGE_DIR_hisiv500=dist/hisiv500/hisiv500-Linux/package
+CND_PACKAGE_NAME_hisiv500=easyipcamerartsp.tar
+CND_PACKAGE_PATH_hisiv500=dist/hisiv500/hisiv500-Linux/package/easyipcamerartsp.tar
+# hisiv600 configuration
+CND_PLATFORM_hisiv600=hisiv600-Linux
+CND_ARTIFACT_DIR_hisiv600=hisiv600
+CND_ARTIFACT_NAME_hisiv600=easyipcamera_rtsp
+CND_ARTIFACT_PATH_hisiv600=hisiv600/easyipcamera_rtsp
+CND_PACKAGE_DIR_hisiv600=dist/hisiv600/hisiv600-Linux/package
+CND_PACKAGE_NAME_hisiv600=easyipcamerartsp.tar
+CND_PACKAGE_PATH_hisiv600=dist/hisiv600/hisiv600-Linux/package/easyipcamerartsp.tar
#
# include compiler specific variables
#
diff --git a/EasyIPCamera_RTSP/nbproject/Package-hisiv100.bash b/EasyIPCamera_RTSP/nbproject/Package-hisiv100.bash
new file mode 100644
index 0000000000000000000000000000000000000000..4b199efb5d3eb6079b2509fe580ad3f649092c03
--- /dev/null
+++ b/EasyIPCamera_RTSP/nbproject/Package-hisiv100.bash
@@ -0,0 +1,76 @@
+#!/bin/bash -x
+
+#
+# Generated - do not edit!
+#
+
+# Macros
+TOP=`pwd`
+CND_PLATFORM=hisiv100-Linux
+CND_CONF=hisiv100
+CND_DISTDIR=dist
+CND_BUILDDIR=build
+CND_DLIB_EXT=so
+NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
+TMPDIRNAME=tmp-packaging
+OUTPUT_PATH=${CND_CONF}/easyipcamera_rtsp
+OUTPUT_BASENAME=easyipcamera_rtsp
+PACKAGE_TOP_DIR=easyipcamerartsp/
+
+# Functions
+function checkReturnCode
+{
+ rc=$?
+ if [ $rc != 0 ]
+ then
+ exit $rc
+ fi
+}
+function makeDirectory
+# $1 directory path
+# $2 permission (optional)
+{
+ mkdir -p "$1"
+ checkReturnCode
+ if [ "$2" != "" ]
+ then
+ chmod $2 "$1"
+ checkReturnCode
+ fi
+}
+function copyFileToTmpDir
+# $1 from-file path
+# $2 to-file path
+# $3 permission
+{
+ cp "$1" "$2"
+ checkReturnCode
+ if [ "$3" != "" ]
+ then
+ chmod $3 "$2"
+ checkReturnCode
+ fi
+}
+
+# Setup
+cd "${TOP}"
+mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package
+rm -rf ${NBTMPDIR}
+mkdir -p ${NBTMPDIR}
+
+# Copy files and create directories and links
+cd "${TOP}"
+makeDirectory "${NBTMPDIR}/easyipcamerartsp/bin"
+copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
+
+
+# Generate tar file
+cd "${TOP}"
+rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/easyipcamerartsp.tar
+cd ${NBTMPDIR}
+tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/easyipcamerartsp.tar *
+checkReturnCode
+
+# Cleanup
+cd "${TOP}"
+rm -rf ${NBTMPDIR}
diff --git a/EasyIPCamera_RTSP/nbproject/Package-hisiv200.bash b/EasyIPCamera_RTSP/nbproject/Package-hisiv200.bash
new file mode 100644
index 0000000000000000000000000000000000000000..032c28ac03123a0a0c173771db6d56f56411a48a
--- /dev/null
+++ b/EasyIPCamera_RTSP/nbproject/Package-hisiv200.bash
@@ -0,0 +1,76 @@
+#!/bin/bash -x
+
+#
+# Generated - do not edit!
+#
+
+# Macros
+TOP=`pwd`
+CND_PLATFORM=hisiv200-Linux
+CND_CONF=hisiv200
+CND_DISTDIR=dist
+CND_BUILDDIR=build
+CND_DLIB_EXT=so
+NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
+TMPDIRNAME=tmp-packaging
+OUTPUT_PATH=${CND_CONF}/easyipcamera_rtsp
+OUTPUT_BASENAME=easyipcamera_rtsp
+PACKAGE_TOP_DIR=easyipcamerartsp/
+
+# Functions
+function checkReturnCode
+{
+ rc=$?
+ if [ $rc != 0 ]
+ then
+ exit $rc
+ fi
+}
+function makeDirectory
+# $1 directory path
+# $2 permission (optional)
+{
+ mkdir -p "$1"
+ checkReturnCode
+ if [ "$2" != "" ]
+ then
+ chmod $2 "$1"
+ checkReturnCode
+ fi
+}
+function copyFileToTmpDir
+# $1 from-file path
+# $2 to-file path
+# $3 permission
+{
+ cp "$1" "$2"
+ checkReturnCode
+ if [ "$3" != "" ]
+ then
+ chmod $3 "$2"
+ checkReturnCode
+ fi
+}
+
+# Setup
+cd "${TOP}"
+mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package
+rm -rf ${NBTMPDIR}
+mkdir -p ${NBTMPDIR}
+
+# Copy files and create directories and links
+cd "${TOP}"
+makeDirectory "${NBTMPDIR}/easyipcamerartsp/bin"
+copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
+
+
+# Generate tar file
+cd "${TOP}"
+rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/easyipcamerartsp.tar
+cd ${NBTMPDIR}
+tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/easyipcamerartsp.tar *
+checkReturnCode
+
+# Cleanup
+cd "${TOP}"
+rm -rf ${NBTMPDIR}
diff --git a/EasyIPCamera_RTSP/nbproject/Package-hisiv300.bash b/EasyIPCamera_RTSP/nbproject/Package-hisiv300.bash
new file mode 100644
index 0000000000000000000000000000000000000000..3112d4a4259dba43e93adcb953468fbd1b33d4b4
--- /dev/null
+++ b/EasyIPCamera_RTSP/nbproject/Package-hisiv300.bash
@@ -0,0 +1,76 @@
+#!/bin/bash -x
+
+#
+# Generated - do not edit!
+#
+
+# Macros
+TOP=`pwd`
+CND_PLATFORM=hisiv300-Linux
+CND_CONF=hisiv300
+CND_DISTDIR=dist
+CND_BUILDDIR=build
+CND_DLIB_EXT=so
+NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
+TMPDIRNAME=tmp-packaging
+OUTPUT_PATH=${CND_CONF}/easyipcamera_rtsp
+OUTPUT_BASENAME=easyipcamera_rtsp
+PACKAGE_TOP_DIR=easyipcamerartsp/
+
+# Functions
+function checkReturnCode
+{
+ rc=$?
+ if [ $rc != 0 ]
+ then
+ exit $rc
+ fi
+}
+function makeDirectory
+# $1 directory path
+# $2 permission (optional)
+{
+ mkdir -p "$1"
+ checkReturnCode
+ if [ "$2" != "" ]
+ then
+ chmod $2 "$1"
+ checkReturnCode
+ fi
+}
+function copyFileToTmpDir
+# $1 from-file path
+# $2 to-file path
+# $3 permission
+{
+ cp "$1" "$2"
+ checkReturnCode
+ if [ "$3" != "" ]
+ then
+ chmod $3 "$2"
+ checkReturnCode
+ fi
+}
+
+# Setup
+cd "${TOP}"
+mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package
+rm -rf ${NBTMPDIR}
+mkdir -p ${NBTMPDIR}
+
+# Copy files and create directories and links
+cd "${TOP}"
+makeDirectory "${NBTMPDIR}/easyipcamerartsp/bin"
+copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
+
+
+# Generate tar file
+cd "${TOP}"
+rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/easyipcamerartsp.tar
+cd ${NBTMPDIR}
+tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/easyipcamerartsp.tar *
+checkReturnCode
+
+# Cleanup
+cd "${TOP}"
+rm -rf ${NBTMPDIR}
diff --git a/EasyIPCamera_RTSP/nbproject/Package-hisiv400.bash b/EasyIPCamera_RTSP/nbproject/Package-hisiv400.bash
new file mode 100644
index 0000000000000000000000000000000000000000..3b69f0d278ed0c3a9e1de0bc0078a0d73938a5c3
--- /dev/null
+++ b/EasyIPCamera_RTSP/nbproject/Package-hisiv400.bash
@@ -0,0 +1,76 @@
+#!/bin/bash -x
+
+#
+# Generated - do not edit!
+#
+
+# Macros
+TOP=`pwd`
+CND_PLATFORM=hisiv400-Linux
+CND_CONF=hisiv400
+CND_DISTDIR=dist
+CND_BUILDDIR=build
+CND_DLIB_EXT=so
+NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
+TMPDIRNAME=tmp-packaging
+OUTPUT_PATH=${CND_CONF}/easyipcamera_rtsp
+OUTPUT_BASENAME=easyipcamera_rtsp
+PACKAGE_TOP_DIR=easyipcamerartsp/
+
+# Functions
+function checkReturnCode
+{
+ rc=$?
+ if [ $rc != 0 ]
+ then
+ exit $rc
+ fi
+}
+function makeDirectory
+# $1 directory path
+# $2 permission (optional)
+{
+ mkdir -p "$1"
+ checkReturnCode
+ if [ "$2" != "" ]
+ then
+ chmod $2 "$1"
+ checkReturnCode
+ fi
+}
+function copyFileToTmpDir
+# $1 from-file path
+# $2 to-file path
+# $3 permission
+{
+ cp "$1" "$2"
+ checkReturnCode
+ if [ "$3" != "" ]
+ then
+ chmod $3 "$2"
+ checkReturnCode
+ fi
+}
+
+# Setup
+cd "${TOP}"
+mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package
+rm -rf ${NBTMPDIR}
+mkdir -p ${NBTMPDIR}
+
+# Copy files and create directories and links
+cd "${TOP}"
+makeDirectory "${NBTMPDIR}/easyipcamerartsp/bin"
+copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
+
+
+# Generate tar file
+cd "${TOP}"
+rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/easyipcamerartsp.tar
+cd ${NBTMPDIR}
+tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/easyipcamerartsp.tar *
+checkReturnCode
+
+# Cleanup
+cd "${TOP}"
+rm -rf ${NBTMPDIR}
diff --git a/EasyIPCamera_RTSP/nbproject/Package-hisiv500.bash b/EasyIPCamera_RTSP/nbproject/Package-hisiv500.bash
new file mode 100644
index 0000000000000000000000000000000000000000..b8b9901e1d3855633d35df9c946bc20c532b97f3
--- /dev/null
+++ b/EasyIPCamera_RTSP/nbproject/Package-hisiv500.bash
@@ -0,0 +1,76 @@
+#!/bin/bash -x
+
+#
+# Generated - do not edit!
+#
+
+# Macros
+TOP=`pwd`
+CND_PLATFORM=hisiv500-Linux
+CND_CONF=hisiv500
+CND_DISTDIR=dist
+CND_BUILDDIR=build
+CND_DLIB_EXT=so
+NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
+TMPDIRNAME=tmp-packaging
+OUTPUT_PATH=${CND_CONF}/easyipcamera_rtsp
+OUTPUT_BASENAME=easyipcamera_rtsp
+PACKAGE_TOP_DIR=easyipcamerartsp/
+
+# Functions
+function checkReturnCode
+{
+ rc=$?
+ if [ $rc != 0 ]
+ then
+ exit $rc
+ fi
+}
+function makeDirectory
+# $1 directory path
+# $2 permission (optional)
+{
+ mkdir -p "$1"
+ checkReturnCode
+ if [ "$2" != "" ]
+ then
+ chmod $2 "$1"
+ checkReturnCode
+ fi
+}
+function copyFileToTmpDir
+# $1 from-file path
+# $2 to-file path
+# $3 permission
+{
+ cp "$1" "$2"
+ checkReturnCode
+ if [ "$3" != "" ]
+ then
+ chmod $3 "$2"
+ checkReturnCode
+ fi
+}
+
+# Setup
+cd "${TOP}"
+mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package
+rm -rf ${NBTMPDIR}
+mkdir -p ${NBTMPDIR}
+
+# Copy files and create directories and links
+cd "${TOP}"
+makeDirectory "${NBTMPDIR}/easyipcamerartsp/bin"
+copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
+
+
+# Generate tar file
+cd "${TOP}"
+rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/easyipcamerartsp.tar
+cd ${NBTMPDIR}
+tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/easyipcamerartsp.tar *
+checkReturnCode
+
+# Cleanup
+cd "${TOP}"
+rm -rf ${NBTMPDIR}
diff --git a/EasyIPCamera_RTSP/nbproject/Package-hisiv600.bash b/EasyIPCamera_RTSP/nbproject/Package-hisiv600.bash
new file mode 100644
index 0000000000000000000000000000000000000000..416b581358860d24f485847288ef6e74e8e85b4f
--- /dev/null
+++ b/EasyIPCamera_RTSP/nbproject/Package-hisiv600.bash
@@ -0,0 +1,76 @@
+#!/bin/bash -x
+
+#
+# Generated - do not edit!
+#
+
+# Macros
+TOP=`pwd`
+CND_PLATFORM=hisiv600-Linux
+CND_CONF=hisiv600
+CND_DISTDIR=dist
+CND_BUILDDIR=build
+CND_DLIB_EXT=so
+NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
+TMPDIRNAME=tmp-packaging
+OUTPUT_PATH=${CND_CONF}/easyipcamera_rtsp
+OUTPUT_BASENAME=easyipcamera_rtsp
+PACKAGE_TOP_DIR=easyipcamerartsp/
+
+# Functions
+function checkReturnCode
+{
+ rc=$?
+ if [ $rc != 0 ]
+ then
+ exit $rc
+ fi
+}
+function makeDirectory
+# $1 directory path
+# $2 permission (optional)
+{
+ mkdir -p "$1"
+ checkReturnCode
+ if [ "$2" != "" ]
+ then
+ chmod $2 "$1"
+ checkReturnCode
+ fi
+}
+function copyFileToTmpDir
+# $1 from-file path
+# $2 to-file path
+# $3 permission
+{
+ cp "$1" "$2"
+ checkReturnCode
+ if [ "$3" != "" ]
+ then
+ chmod $3 "$2"
+ checkReturnCode
+ fi
+}
+
+# Setup
+cd "${TOP}"
+mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package
+rm -rf ${NBTMPDIR}
+mkdir -p ${NBTMPDIR}
+
+# Copy files and create directories and links
+cd "${TOP}"
+makeDirectory "${NBTMPDIR}/easyipcamerartsp/bin"
+copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
+
+
+# Generate tar file
+cd "${TOP}"
+rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/easyipcamerartsp.tar
+cd ${NBTMPDIR}
+tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/easyipcamerartsp.tar *
+checkReturnCode
+
+# Cleanup
+cd "${TOP}"
+rm -rf ${NBTMPDIR}
diff --git a/EasyIPCamera_RTSP/nbproject/Package-Debug.bash b/EasyIPCamera_RTSP/nbproject/Package-i386.bash
similarity index 98%
rename from EasyIPCamera_RTSP/nbproject/Package-Debug.bash
rename to EasyIPCamera_RTSP/nbproject/Package-i386.bash
index 87ff9a5a14e63cfa9bc52308f2d7f1acce372284..899572c30ab69cf835b6fe67639fc73040467d6d 100644
--- a/EasyIPCamera_RTSP/nbproject/Package-Debug.bash
+++ b/EasyIPCamera_RTSP/nbproject/Package-i386.bash
@@ -7,7 +7,7 @@
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux
-CND_CONF=Debug
+CND_CONF=i386
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
diff --git a/EasyIPCamera_RTSP/nbproject/Package-Release.bash b/EasyIPCamera_RTSP/nbproject/Package-x64.bash
similarity index 98%
rename from EasyIPCamera_RTSP/nbproject/Package-Release.bash
rename to EasyIPCamera_RTSP/nbproject/Package-x64.bash
index 04ceb3d20923c36a32df5767fb9c076346c1c9fe..071d0fb91400cb01ac17e88ec44468af2cd6f2dd 100644
--- a/EasyIPCamera_RTSP/nbproject/Package-Release.bash
+++ b/EasyIPCamera_RTSP/nbproject/Package-x64.bash
@@ -7,7 +7,7 @@
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux
-CND_CONF=Release
+CND_CONF=x64
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
diff --git a/EasyIPCamera_RTSP/nbproject/configurations.xml b/EasyIPCamera_RTSP/nbproject/configurations.xml
index ff6c2c72890b8b5564811f5a3b5e6d6b511901b5..d0c5734b37013b66ac11ffe2b7e57ba81b0daac3 100644
--- a/EasyIPCamera_RTSP/nbproject/configurations.xml
+++ b/EasyIPCamera_RTSP/nbproject/configurations.xml
@@ -24,23 +24,33 @@
Makefile
-
+
default
true
false
+
+ 5
+
+ 5
libEasyRTSPClient/Include
../Include
+
+ 5
+
+
+ 5
+
- ../Lib/x64
+ ../Lib/x64_shared
libEasyRTSPClient/Lib/x64
-leasyrtspclient -leasyipcamera -lrt -lpthread
@@ -53,7 +63,7 @@
-
-
+
default
true
@@ -62,6 +72,7 @@
5
+ -m32
5
@@ -69,6 +80,7 @@
libEasyRTSPClient/Include
../Include
+ -m32
5
@@ -79,8 +91,8 @@
- ../Lib/x64
- libEasyRTSPClient/Lib/x64
+ ../Lib/${CND_CONF}_shared
+ libEasyRTSPClient/Lib/${CND_CONF}
-leasyrtspclient -leasyipcamera -lrt -lpthread
@@ -92,15 +104,16 @@
-
-
+
- default
+ hisiv100|GNU
true
false
5
+ gcc
5
@@ -118,8 +131,8 @@
- ../Lib/x64_shared
- libEasyRTSPClient/Lib/x64
+ ../Lib/${CND_CONF}_shared
+ libEasyRTSPClient/Lib/${CND_CONF}
-leasyrtspclient -leasyipcamera -lrt -lpthread
@@ -131,16 +144,172 @@
-
-
+
- default
+ hisiv200|GNU
+ true
+ false
+
+
+
+ 5
+
+
+ 5
+
+ libEasyRTSPClient/Include
+ ../Include
+
+
+
+ 5
+
+
+ 5
+
+
+
+
+ ../Lib/${CND_CONF}_shared
+ libEasyRTSPClient/Lib/${CND_CONF}
+
+ -leasyrtspclient -leasyipcamera -lrt -lpthread
+
+
+ -
+
+ -
+
+ -
+
+
+
+
+ hisiv300|GNU
+ true
+ false
+
+
+
+ 5
+
+
+ 5
+
+ libEasyRTSPClient/Include
+ ../Include
+
+
+
+ 5
+
+
+ 5
+
+
+
+
+ ../Lib/${CND_CONF}_shared
+ libEasyRTSPClient/Lib/${CND_CONF}
+
+ -leasyrtspclient -leasyipcamera -lrt -lpthread
+
+
+ -
+
+ -
+
+ -
+
+
+
+
+ hisiv400|GNU
+ true
+ false
+
+
+
+ 5
+
+
+ 5
+
+ libEasyRTSPClient/Include
+ ../Include
+
+
+
+ 5
+
+
+ 5
+
+
+
+
+ ../Lib/${CND_CONF}_shared
+ libEasyRTSPClient/Lib/${CND_CONF}
+
+ true
+ -leasyrtspclient -leasyipcamera -lrt -lpthread
+
+
+ -
+
+ -
+
+ -
+
+
+
+
+ hisiv500|GNU
+ true
+ false
+
+
+
+ 5
+
+
+ 5
+
+ libEasyRTSPClient/Include
+ ../Include
+
+
+
+ 5
+
+
+ 5
+
+
+
+
+ ../Lib/${CND_CONF}_shared
+ libEasyRTSPClient/Lib/${CND_CONF}
+
+ -leasyrtspclient -leasyipcamera -lrt -lpthread
+
+
+ -
+
+ -
+
+ -
+
+
+
+
+ hisiv600|GNU
true
false
5
- -m32
5
@@ -148,7 +317,6 @@
libEasyRTSPClient/Include
../Include
- -m32
5
diff --git a/EasyIPCamera_RTSP/nbproject/project.xml b/EasyIPCamera_RTSP/nbproject/project.xml
index 27434aa686de0176beecba532d246cb2101ad96f..b38d5bc82393782149bc3db39f7eb41e31ef6303 100644
--- a/EasyIPCamera_RTSP/nbproject/project.xml
+++ b/EasyIPCamera_RTSP/nbproject/project.xml
@@ -12,19 +12,35 @@
- Debug
+ x64
1
- Release
+ i386
1
- x64
+ hisiv100
1
- i386
+ hisiv200
+ 1
+
+
+ hisiv300
+ 1
+
+
+ hisiv400
+ 1
+
+
+ hisiv500
+ 1
+
+
+ hisiv600
1