提交 1c61d4f2 authored 作者: blu's avatar blu

init

上级 4a0d7adc
......@@ -40,6 +40,9 @@ default_target: all
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
# Suppress display of executed commands.
$(VERBOSE).SILENT:
......@@ -56,10 +59,10 @@ cmake_force:
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/local/Cellar/cmake/3.17.0_1/bin/cmake
CMAKE_COMMAND = /usr/local/Cellar/cmake/3.17.1/bin/cmake
# The command to remove a file.
RM = /usr/local/Cellar/cmake/3.17.0_1/bin/cmake -E rm -f
RM = /usr/local/Cellar/cmake/3.17.1/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
......@@ -76,7 +79,7 @@ CMAKE_BINARY_DIR = /Users/blu/work/opencv-projects/opencv-motion-detect
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
/usr/local/Cellar/cmake/3.17.0_1/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
/usr/local/Cellar/cmake/3.17.1/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
......@@ -87,7 +90,7 @@ rebuild_cache/fast: rebuild_cache
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
/usr/local/Cellar/cmake/3.16.5/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
/usr/local/Cellar/cmake/3.17.1/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : edit_cache
# Special rule for the target edit_cache
......@@ -98,13 +101,13 @@ edit_cache/fast: edit_cache
# The main all target
all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /Users/blu/work/opencv-projects/opencv-motion-detect/CMakeFiles /Users/blu/work/opencv-projects/opencv-motion-detect/CMakeFiles/progress.marks
$(MAKE) -f CMakeFiles/Makefile2 all
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start /Users/blu/work/opencv-projects/opencv-motion-detect/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
$(MAKE) -f CMakeFiles/Makefile2 clean
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clean
.PHONY : clean
# The main clean target
......@@ -114,12 +117,12 @@ clean/fast: clean
# Prepare targets for installation.
preinstall: all
$(MAKE) -f CMakeFiles/Makefile2 preinstall
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
$(MAKE) -f CMakeFiles/Makefile2 preinstall
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall/fast
# clear depends
......@@ -132,12 +135,12 @@ depend:
# Build rule for target.
evmlmotion: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 evmlmotion
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 evmlmotion
.PHONY : evmlmotion
# fast build rule for target.
evmlmotion/fast:
$(MAKE) -f CMakeFiles/evmlmotion.dir/build.make CMakeFiles/evmlmotion.dir/build
$(MAKE) $(MAKESILENT) -f CMakeFiles/evmlmotion.dir/build.make CMakeFiles/evmlmotion.dir/build
.PHONY : evmlmotion/fast
#=============================================================================
......@@ -145,12 +148,12 @@ evmlmotion/fast:
# Build rule for target.
evslicer: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 evslicer
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 evslicer
.PHONY : evslicer
# fast build rule for target.
evslicer/fast:
$(MAKE) -f CMakeFiles/evslicer.dir/build.make CMakeFiles/evslicer.dir/build
$(MAKE) $(MAKESILENT) -f CMakeFiles/evslicer.dir/build.make CMakeFiles/evslicer.dir/build
.PHONY : evslicer/fast
#=============================================================================
......@@ -158,12 +161,12 @@ evslicer/fast:
# Build rule for target.
evpuller: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 evpuller
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 evpuller
.PHONY : evpuller
# fast build rule for target.
evpuller/fast:
$(MAKE) -f CMakeFiles/evpuller.dir/build.make CMakeFiles/evpuller.dir/build
$(MAKE) $(MAKESILENT) -f CMakeFiles/evpuller.dir/build.make CMakeFiles/evpuller.dir/build
.PHONY : evpuller/fast
#=============================================================================
......@@ -171,12 +174,12 @@ evpuller/fast:
# Build rule for target.
evmgr: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 evmgr
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 evmgr
.PHONY : evmgr
# fast build rule for target.
evmgr/fast:
$(MAKE) -f CMakeFiles/evmgr.dir/build.make CMakeFiles/evmgr.dir/build
$(MAKE) $(MAKESILENT) -f CMakeFiles/evmgr.dir/build.make CMakeFiles/evmgr.dir/build
.PHONY : evmgr/fast
#=============================================================================
......@@ -184,12 +187,12 @@ evmgr/fast:
# Build rule for target.
evwifi: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 evwifi
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 evwifi
.PHONY : evwifi
# fast build rule for target.
evwifi/fast:
$(MAKE) -f CMakeFiles/evwifi.dir/build.make CMakeFiles/evwifi.dir/build
$(MAKE) $(MAKESILENT) -f CMakeFiles/evwifi.dir/build.make CMakeFiles/evwifi.dir/build
.PHONY : evwifi/fast
#=============================================================================
......@@ -197,12 +200,12 @@ evwifi/fast:
# Build rule for target.
evdaemon: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 evdaemon
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 evdaemon
.PHONY : evdaemon
# fast build rule for target.
evdaemon/fast:
$(MAKE) -f CMakeFiles/evdaemon.dir/build.make CMakeFiles/evdaemon.dir/build
$(MAKE) $(MAKESILENT) -f CMakeFiles/evdaemon.dir/build.make CMakeFiles/evdaemon.dir/build
.PHONY : evdaemon/fast
#=============================================================================
......@@ -210,12 +213,12 @@ evdaemon/fast:
# Build rule for target.
evcloudsvc: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 evcloudsvc
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 evcloudsvc
.PHONY : evcloudsvc
# fast build rule for target.
evcloudsvc/fast:
$(MAKE) -f CMakeFiles/evcloudsvc.dir/build.make CMakeFiles/evcloudsvc.dir/build
$(MAKE) $(MAKESILENT) -f CMakeFiles/evcloudsvc.dir/build.make CMakeFiles/evcloudsvc.dir/build
.PHONY : evcloudsvc/fast
#=============================================================================
......@@ -223,12 +226,12 @@ evcloudsvc/fast:
# Build rule for target.
zmqhelper: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 zmqhelper
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 zmqhelper
.PHONY : zmqhelper
# fast build rule for target.
zmqhelper/fast:
$(MAKE) -f CMakeFiles/zmqhelper.dir/build.make CMakeFiles/zmqhelper.dir/build
$(MAKE) $(MAKESILENT) -f CMakeFiles/zmqhelper.dir/build.make CMakeFiles/zmqhelper.dir/build
.PHONY : zmqhelper/fast
#=============================================================================
......@@ -236,12 +239,12 @@ zmqhelper/fast:
# Build rule for target.
util: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 util
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 util
.PHONY : util
# fast build rule for target.
util/fast:
$(MAKE) -f CMakeFiles/util.dir/build.make CMakeFiles/util.dir/build
$(MAKE) $(MAKESILENT) -f CMakeFiles/util.dir/build.make CMakeFiles/util.dir/build
.PHONY : util/fast
#=============================================================================
......@@ -249,12 +252,12 @@ util/fast:
# Build rule for target.
database: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 database
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 database
.PHONY : database
# fast build rule for target.
database/fast:
$(MAKE) -f CMakeFiles/database.dir/build.make CMakeFiles/database.dir/build
$(MAKE) $(MAKESILENT) -f CMakeFiles/database.dir/build.make CMakeFiles/database.dir/build
.PHONY : database/fast
#=============================================================================
......@@ -262,12 +265,12 @@ database/fast:
# Build rule for target.
post: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 post
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 post
.PHONY : post
# fast build rule for target.
post/fast:
$(MAKE) -f CMakeFiles/post.dir/build.make CMakeFiles/post.dir/build
$(MAKE) $(MAKESILENT) -f CMakeFiles/post.dir/build.make CMakeFiles/post.dir/build
.PHONY : post/fast
#=============================================================================
......@@ -275,12 +278,12 @@ post/fast:
# Build rule for target.
evpusher: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 evpusher
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 evpusher
.PHONY : evpusher
# fast build rule for target.
evpusher/fast:
$(MAKE) -f CMakeFiles/evpusher.dir/build.make CMakeFiles/evpusher.dir/build
$(MAKE) $(MAKESILENT) -f CMakeFiles/evpusher.dir/build.make CMakeFiles/evpusher.dir/build
.PHONY : evpusher/fast
#=============================================================================
......@@ -288,12 +291,12 @@ evpusher/fast:
# Build rule for target.
dirmon: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 dirmon
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 dirmon
.PHONY : dirmon
# fast build rule for target.
dirmon/fast:
$(MAKE) -f CMakeFiles/dirmon.dir/build.make CMakeFiles/dirmon.dir/build
$(MAKE) $(MAKESILENT) -f CMakeFiles/dirmon.dir/build.make CMakeFiles/dirmon.dir/build
.PHONY : dirmon/fast
database.o: database.cpp.o
......@@ -302,7 +305,7 @@ database.o: database.cpp.o
# target to build an object file
database.cpp.o:
$(MAKE) -f CMakeFiles/database.dir/build.make CMakeFiles/database.dir/database.cpp.o
$(MAKE) $(MAKESILENT) -f CMakeFiles/database.dir/build.make CMakeFiles/database.dir/database.cpp.o
.PHONY : database.cpp.o
database.i: database.cpp.i
......@@ -311,7 +314,7 @@ database.i: database.cpp.i
# target to preprocess a source file
database.cpp.i:
$(MAKE) -f CMakeFiles/database.dir/build.make CMakeFiles/database.dir/database.cpp.i
$(MAKE) $(MAKESILENT) -f CMakeFiles/database.dir/build.make CMakeFiles/database.dir/database.cpp.i
.PHONY : database.cpp.i
database.s: database.cpp.s
......@@ -320,7 +323,7 @@ database.s: database.cpp.s
# target to generate assembly for a file
database.cpp.s:
$(MAKE) -f CMakeFiles/database.dir/build.make CMakeFiles/database.dir/database.cpp.s
$(MAKE) $(MAKESILENT) -f CMakeFiles/database.dir/build.make CMakeFiles/database.dir/database.cpp.s
.PHONY : database.cpp.s
dirmon.o: dirmon.cpp.o
......@@ -329,7 +332,7 @@ dirmon.o: dirmon.cpp.o
# target to build an object file
dirmon.cpp.o:
$(MAKE) -f CMakeFiles/dirmon.dir/build.make CMakeFiles/dirmon.dir/dirmon.cpp.o
$(MAKE) $(MAKESILENT) -f CMakeFiles/dirmon.dir/build.make CMakeFiles/dirmon.dir/dirmon.cpp.o
.PHONY : dirmon.cpp.o
dirmon.i: dirmon.cpp.i
......@@ -338,7 +341,7 @@ dirmon.i: dirmon.cpp.i
# target to preprocess a source file
dirmon.cpp.i:
$(MAKE) -f CMakeFiles/dirmon.dir/build.make CMakeFiles/dirmon.dir/dirmon.cpp.i
$(MAKE) $(MAKESILENT) -f CMakeFiles/dirmon.dir/build.make CMakeFiles/dirmon.dir/dirmon.cpp.i
.PHONY : dirmon.cpp.i
dirmon.s: dirmon.cpp.s
......@@ -347,7 +350,7 @@ dirmon.s: dirmon.cpp.s
# target to generate assembly for a file
dirmon.cpp.s:
$(MAKE) -f CMakeFiles/dirmon.dir/build.make CMakeFiles/dirmon.dir/dirmon.cpp.s
$(MAKE) $(MAKESILENT) -f CMakeFiles/dirmon.dir/build.make CMakeFiles/dirmon.dir/dirmon.cpp.s
.PHONY : dirmon.cpp.s
evcloudsvc.o: evcloudsvc.cpp.o
......@@ -356,7 +359,7 @@ evcloudsvc.o: evcloudsvc.cpp.o
# target to build an object file
evcloudsvc.cpp.o:
$(MAKE) -f CMakeFiles/evcloudsvc.dir/build.make CMakeFiles/evcloudsvc.dir/evcloudsvc.cpp.o
$(MAKE) $(MAKESILENT) -f CMakeFiles/evcloudsvc.dir/build.make CMakeFiles/evcloudsvc.dir/evcloudsvc.cpp.o
.PHONY : evcloudsvc.cpp.o
evcloudsvc.i: evcloudsvc.cpp.i
......@@ -365,7 +368,7 @@ evcloudsvc.i: evcloudsvc.cpp.i
# target to preprocess a source file
evcloudsvc.cpp.i:
$(MAKE) -f CMakeFiles/evcloudsvc.dir/build.make CMakeFiles/evcloudsvc.dir/evcloudsvc.cpp.i
$(MAKE) $(MAKESILENT) -f CMakeFiles/evcloudsvc.dir/build.make CMakeFiles/evcloudsvc.dir/evcloudsvc.cpp.i
.PHONY : evcloudsvc.cpp.i
evcloudsvc.s: evcloudsvc.cpp.s
......@@ -374,7 +377,7 @@ evcloudsvc.s: evcloudsvc.cpp.s
# target to generate assembly for a file
evcloudsvc.cpp.s:
$(MAKE) -f CMakeFiles/evcloudsvc.dir/build.make CMakeFiles/evcloudsvc.dir/evcloudsvc.cpp.s
$(MAKE) $(MAKESILENT) -f CMakeFiles/evcloudsvc.dir/build.make CMakeFiles/evcloudsvc.dir/evcloudsvc.cpp.s
.PHONY : evcloudsvc.cpp.s
evdaemon.o: evdaemon.cpp.o
......@@ -383,7 +386,7 @@ evdaemon.o: evdaemon.cpp.o
# target to build an object file
evdaemon.cpp.o:
$(MAKE) -f CMakeFiles/evdaemon.dir/build.make CMakeFiles/evdaemon.dir/evdaemon.cpp.o
$(MAKE) $(MAKESILENT) -f CMakeFiles/evdaemon.dir/build.make CMakeFiles/evdaemon.dir/evdaemon.cpp.o
.PHONY : evdaemon.cpp.o
evdaemon.i: evdaemon.cpp.i
......@@ -392,7 +395,7 @@ evdaemon.i: evdaemon.cpp.i
# target to preprocess a source file
evdaemon.cpp.i:
$(MAKE) -f CMakeFiles/evdaemon.dir/build.make CMakeFiles/evdaemon.dir/evdaemon.cpp.i
$(MAKE) $(MAKESILENT) -f CMakeFiles/evdaemon.dir/build.make CMakeFiles/evdaemon.dir/evdaemon.cpp.i
.PHONY : evdaemon.cpp.i
evdaemon.s: evdaemon.cpp.s
......@@ -401,7 +404,7 @@ evdaemon.s: evdaemon.cpp.s
# target to generate assembly for a file
evdaemon.cpp.s:
$(MAKE) -f CMakeFiles/evdaemon.dir/build.make CMakeFiles/evdaemon.dir/evdaemon.cpp.s
$(MAKE) $(MAKESILENT) -f CMakeFiles/evdaemon.dir/build.make CMakeFiles/evdaemon.dir/evdaemon.cpp.s
.PHONY : evdaemon.cpp.s
evmgr.o: evmgr.cpp.o
......@@ -410,7 +413,7 @@ evmgr.o: evmgr.cpp.o
# target to build an object file
evmgr.cpp.o:
$(MAKE) -f CMakeFiles/evmgr.dir/build.make CMakeFiles/evmgr.dir/evmgr.cpp.o
$(MAKE) $(MAKESILENT) -f CMakeFiles/evmgr.dir/build.make CMakeFiles/evmgr.dir/evmgr.cpp.o
.PHONY : evmgr.cpp.o
evmgr.i: evmgr.cpp.i
......@@ -419,7 +422,7 @@ evmgr.i: evmgr.cpp.i
# target to preprocess a source file
evmgr.cpp.i:
$(MAKE) -f CMakeFiles/evmgr.dir/build.make CMakeFiles/evmgr.dir/evmgr.cpp.i
$(MAKE) $(MAKESILENT) -f CMakeFiles/evmgr.dir/build.make CMakeFiles/evmgr.dir/evmgr.cpp.i
.PHONY : evmgr.cpp.i
evmgr.s: evmgr.cpp.s
......@@ -428,7 +431,7 @@ evmgr.s: evmgr.cpp.s
# target to generate assembly for a file
evmgr.cpp.s:
$(MAKE) -f CMakeFiles/evmgr.dir/build.make CMakeFiles/evmgr.dir/evmgr.cpp.s
$(MAKE) $(MAKESILENT) -f CMakeFiles/evmgr.dir/build.make CMakeFiles/evmgr.dir/evmgr.cpp.s
.PHONY : evmgr.cpp.s
evmlmotion.o: evmlmotion.cpp.o
......@@ -437,7 +440,7 @@ evmlmotion.o: evmlmotion.cpp.o
# target to build an object file
evmlmotion.cpp.o:
$(MAKE) -f CMakeFiles/evmlmotion.dir/build.make CMakeFiles/evmlmotion.dir/evmlmotion.cpp.o
$(MAKE) $(MAKESILENT) -f CMakeFiles/evmlmotion.dir/build.make CMakeFiles/evmlmotion.dir/evmlmotion.cpp.o
.PHONY : evmlmotion.cpp.o
evmlmotion.i: evmlmotion.cpp.i
......@@ -446,7 +449,7 @@ evmlmotion.i: evmlmotion.cpp.i
# target to preprocess a source file
evmlmotion.cpp.i:
$(MAKE) -f CMakeFiles/evmlmotion.dir/build.make CMakeFiles/evmlmotion.dir/evmlmotion.cpp.i
$(MAKE) $(MAKESILENT) -f CMakeFiles/evmlmotion.dir/build.make CMakeFiles/evmlmotion.dir/evmlmotion.cpp.i
.PHONY : evmlmotion.cpp.i
evmlmotion.s: evmlmotion.cpp.s
......@@ -455,7 +458,7 @@ evmlmotion.s: evmlmotion.cpp.s
# target to generate assembly for a file
evmlmotion.cpp.s:
$(MAKE) -f CMakeFiles/evmlmotion.dir/build.make CMakeFiles/evmlmotion.dir/evmlmotion.cpp.s
$(MAKE) $(MAKESILENT) -f CMakeFiles/evmlmotion.dir/build.make CMakeFiles/evmlmotion.dir/evmlmotion.cpp.s
.PHONY : evmlmotion.cpp.s
evpuller.o: evpuller.cpp.o
......@@ -464,7 +467,7 @@ evpuller.o: evpuller.cpp.o
# target to build an object file
evpuller.cpp.o:
$(MAKE) -f CMakeFiles/evpuller.dir/build.make CMakeFiles/evpuller.dir/evpuller.cpp.o
$(MAKE) $(MAKESILENT) -f CMakeFiles/evpuller.dir/build.make CMakeFiles/evpuller.dir/evpuller.cpp.o
.PHONY : evpuller.cpp.o
evpuller.i: evpuller.cpp.i
......@@ -473,7 +476,7 @@ evpuller.i: evpuller.cpp.i
# target to preprocess a source file
evpuller.cpp.i:
$(MAKE) -f CMakeFiles/evpuller.dir/build.make CMakeFiles/evpuller.dir/evpuller.cpp.i
$(MAKE) $(MAKESILENT) -f CMakeFiles/evpuller.dir/build.make CMakeFiles/evpuller.dir/evpuller.cpp.i
.PHONY : evpuller.cpp.i
evpuller.s: evpuller.cpp.s
......@@ -482,7 +485,7 @@ evpuller.s: evpuller.cpp.s
# target to generate assembly for a file
evpuller.cpp.s:
$(MAKE) -f CMakeFiles/evpuller.dir/build.make CMakeFiles/evpuller.dir/evpuller.cpp.s
$(MAKE) $(MAKESILENT) -f CMakeFiles/evpuller.dir/build.make CMakeFiles/evpuller.dir/evpuller.cpp.s
.PHONY : evpuller.cpp.s
evpusher.o: evpusher.cpp.o
......@@ -491,7 +494,7 @@ evpusher.o: evpusher.cpp.o
# target to build an object file
evpusher.cpp.o:
$(MAKE) -f CMakeFiles/evpusher.dir/build.make CMakeFiles/evpusher.dir/evpusher.cpp.o
$(MAKE) $(MAKESILENT) -f CMakeFiles/evpusher.dir/build.make CMakeFiles/evpusher.dir/evpusher.cpp.o
.PHONY : evpusher.cpp.o
evpusher.i: evpusher.cpp.i
......@@ -500,7 +503,7 @@ evpusher.i: evpusher.cpp.i
# target to preprocess a source file
evpusher.cpp.i:
$(MAKE) -f CMakeFiles/evpusher.dir/build.make CMakeFiles/evpusher.dir/evpusher.cpp.i
$(MAKE) $(MAKESILENT) -f CMakeFiles/evpusher.dir/build.make CMakeFiles/evpusher.dir/evpusher.cpp.i
.PHONY : evpusher.cpp.i
evpusher.s: evpusher.cpp.s
......@@ -509,7 +512,7 @@ evpusher.s: evpusher.cpp.s
# target to generate assembly for a file
evpusher.cpp.s:
$(MAKE) -f CMakeFiles/evpusher.dir/build.make CMakeFiles/evpusher.dir/evpusher.cpp.s
$(MAKE) $(MAKESILENT) -f CMakeFiles/evpusher.dir/build.make CMakeFiles/evpusher.dir/evpusher.cpp.s
.PHONY : evpusher.cpp.s
evslicer.o: evslicer.cpp.o
......@@ -518,7 +521,7 @@ evslicer.o: evslicer.cpp.o
# target to build an object file
evslicer.cpp.o:
$(MAKE) -f CMakeFiles/evslicer.dir/build.make CMakeFiles/evslicer.dir/evslicer.cpp.o
$(MAKE) $(MAKESILENT) -f CMakeFiles/evslicer.dir/build.make CMakeFiles/evslicer.dir/evslicer.cpp.o
.PHONY : evslicer.cpp.o
evslicer.i: evslicer.cpp.i
......@@ -527,7 +530,7 @@ evslicer.i: evslicer.cpp.i
# target to preprocess a source file
evslicer.cpp.i:
$(MAKE) -f CMakeFiles/evslicer.dir/build.make CMakeFiles/evslicer.dir/evslicer.cpp.i
$(MAKE) $(MAKESILENT) -f CMakeFiles/evslicer.dir/build.make CMakeFiles/evslicer.dir/evslicer.cpp.i
.PHONY : evslicer.cpp.i
evslicer.s: evslicer.cpp.s
......@@ -536,7 +539,7 @@ evslicer.s: evslicer.cpp.s
# target to generate assembly for a file
evslicer.cpp.s:
$(MAKE) -f CMakeFiles/evslicer.dir/build.make CMakeFiles/evslicer.dir/evslicer.cpp.s
$(MAKE) $(MAKESILENT) -f CMakeFiles/evslicer.dir/build.make CMakeFiles/evslicer.dir/evslicer.cpp.s
.PHONY : evslicer.cpp.s
evwifi.o: evwifi.cpp.o
......@@ -545,7 +548,7 @@ evwifi.o: evwifi.cpp.o
# target to build an object file
evwifi.cpp.o:
$(MAKE) -f CMakeFiles/evwifi.dir/build.make CMakeFiles/evwifi.dir/evwifi.cpp.o
$(MAKE) $(MAKESILENT) -f CMakeFiles/evwifi.dir/build.make CMakeFiles/evwifi.dir/evwifi.cpp.o
.PHONY : evwifi.cpp.o
evwifi.i: evwifi.cpp.i
......@@ -554,7 +557,7 @@ evwifi.i: evwifi.cpp.i
# target to preprocess a source file
evwifi.cpp.i:
$(MAKE) -f CMakeFiles/evwifi.dir/build.make CMakeFiles/evwifi.dir/evwifi.cpp.i
$(MAKE) $(MAKESILENT) -f CMakeFiles/evwifi.dir/build.make CMakeFiles/evwifi.dir/evwifi.cpp.i
.PHONY : evwifi.cpp.i
evwifi.s: evwifi.cpp.s
......@@ -563,7 +566,7 @@ evwifi.s: evwifi.cpp.s
# target to generate assembly for a file
evwifi.cpp.s:
$(MAKE) -f CMakeFiles/evwifi.dir/build.make CMakeFiles/evwifi.dir/evwifi.cpp.s
$(MAKE) $(MAKESILENT) -f CMakeFiles/evwifi.dir/build.make CMakeFiles/evwifi.dir/evwifi.cpp.s
.PHONY : evwifi.cpp.s
inc/utils.o: inc/utils.cpp.o
......@@ -572,7 +575,7 @@ inc/utils.o: inc/utils.cpp.o
# target to build an object file
inc/utils.cpp.o:
$(MAKE) -f CMakeFiles/util.dir/build.make CMakeFiles/util.dir/inc/utils.cpp.o
$(MAKE) $(MAKESILENT) -f CMakeFiles/util.dir/build.make CMakeFiles/util.dir/inc/utils.cpp.o
.PHONY : inc/utils.cpp.o
inc/utils.i: inc/utils.cpp.i
......@@ -581,7 +584,7 @@ inc/utils.i: inc/utils.cpp.i
# target to preprocess a source file
inc/utils.cpp.i:
$(MAKE) -f CMakeFiles/util.dir/build.make CMakeFiles/util.dir/inc/utils.cpp.i
$(MAKE) $(MAKESILENT) -f CMakeFiles/util.dir/build.make CMakeFiles/util.dir/inc/utils.cpp.i
.PHONY : inc/utils.cpp.i
inc/utils.s: inc/utils.cpp.s
......@@ -590,7 +593,7 @@ inc/utils.s: inc/utils.cpp.s
# target to generate assembly for a file
inc/utils.cpp.s:
$(MAKE) -f CMakeFiles/util.dir/build.make CMakeFiles/util.dir/inc/utils.cpp.s
$(MAKE) $(MAKESILENT) -f CMakeFiles/util.dir/build.make CMakeFiles/util.dir/inc/utils.cpp.s
.PHONY : inc/utils.cpp.s
inc/zmqhelper.o: inc/zmqhelper.cpp.o
......@@ -599,7 +602,7 @@ inc/zmqhelper.o: inc/zmqhelper.cpp.o
# target to build an object file
inc/zmqhelper.cpp.o:
$(MAKE) -f CMakeFiles/zmqhelper.dir/build.make CMakeFiles/zmqhelper.dir/inc/zmqhelper.cpp.o
$(MAKE) $(MAKESILENT) -f CMakeFiles/zmqhelper.dir/build.make CMakeFiles/zmqhelper.dir/inc/zmqhelper.cpp.o
.PHONY : inc/zmqhelper.cpp.o
inc/zmqhelper.i: inc/zmqhelper.cpp.i
......@@ -608,7 +611,7 @@ inc/zmqhelper.i: inc/zmqhelper.cpp.i
# target to preprocess a source file
inc/zmqhelper.cpp.i:
$(MAKE) -f CMakeFiles/zmqhelper.dir/build.make CMakeFiles/zmqhelper.dir/inc/zmqhelper.cpp.i
$(MAKE) $(MAKESILENT) -f CMakeFiles/zmqhelper.dir/build.make CMakeFiles/zmqhelper.dir/inc/zmqhelper.cpp.i
.PHONY : inc/zmqhelper.cpp.i
inc/zmqhelper.s: inc/zmqhelper.cpp.s
......@@ -617,7 +620,7 @@ inc/zmqhelper.s: inc/zmqhelper.cpp.s
# target to generate assembly for a file
inc/zmqhelper.cpp.s:
$(MAKE) -f CMakeFiles/zmqhelper.dir/build.make CMakeFiles/zmqhelper.dir/inc/zmqhelper.cpp.s
$(MAKE) $(MAKESILENT) -f CMakeFiles/zmqhelper.dir/build.make CMakeFiles/zmqhelper.dir/inc/zmqhelper.cpp.s
.PHONY : inc/zmqhelper.cpp.s
postfile.o: postfile.cpp.o
......@@ -626,7 +629,7 @@ postfile.o: postfile.cpp.o
# target to build an object file
postfile.cpp.o:
$(MAKE) -f CMakeFiles/post.dir/build.make CMakeFiles/post.dir/postfile.cpp.o
$(MAKE) $(MAKESILENT) -f CMakeFiles/post.dir/build.make CMakeFiles/post.dir/postfile.cpp.o
.PHONY : postfile.cpp.o
postfile.i: postfile.cpp.i
......@@ -635,7 +638,7 @@ postfile.i: postfile.cpp.i
# target to preprocess a source file
postfile.cpp.i:
$(MAKE) -f CMakeFiles/post.dir/build.make CMakeFiles/post.dir/postfile.cpp.i
$(MAKE) $(MAKESILENT) -f CMakeFiles/post.dir/build.make CMakeFiles/post.dir/postfile.cpp.i
.PHONY : postfile.cpp.i
postfile.s: postfile.cpp.s
......@@ -644,7 +647,7 @@ postfile.s: postfile.cpp.s
# target to generate assembly for a file
postfile.cpp.s:
$(MAKE) -f CMakeFiles/post.dir/build.make CMakeFiles/post.dir/postfile.cpp.s
$(MAKE) $(MAKESILENT) -f CMakeFiles/post.dir/build.make CMakeFiles/post.dir/postfile.cpp.s
.PHONY : postfile.cpp.s
# Help Target
......
......@@ -587,6 +587,7 @@ private:
if(ipcStatus["issues"].count(selfId) != 0) {
ipcStatus["issues"].erase(selfId);
}
spdlog::info("update status to online = true");
ipcStatus["mgrTerminal"]["online"] = true;
}
}
......@@ -666,6 +667,11 @@ private:
if(peerData["ipcStatus"].count(ipcSn) != 0) {
auto &ipcStatus = peerData["ipcStatus"][ipcSn];
if(ipcStatus.count("mgrTerminal") == 0){
ipcStatus["mgrTerminal"] = json();
ipcStatus["mgrTerminal"]["sn"] = peerId;
ipcStatus["mgrTerminal"]["online"] = true;
}
// log report, filter out ping
if(catId == EV_MSG_REPORT_CATID_AVMODOFFLINE && status == "recover") {
// nop
......
......@@ -20,6 +20,7 @@ import string
import pdb
import traceback
import sys
import shutil
random.seed(datetime.datetime.now())
......@@ -75,6 +76,7 @@ RABBITMQ_EXHANGE = os.getenv("RABBITMQ_EXHANGE", "video")
AI_QUEUE_TASK = os.getenv('AI_TASK', 'videoai.v1.task')
AI_QUEUE_RESULT = os.getenv('AI_RESULT', 'videoai.v1.result')
AI_EXCHANGE = os.getenv('AI_XHG', 'videoai')
VIDEO_FILES_MOUNT_DIR = os.getenv('MOUNT_DIR', '/data/pre-data/')
CAMERA_CONFIG_MAP = {}
......@@ -144,6 +146,7 @@ print("CONFIG: \n\tMQTT: {}:{}\n\tBIN_NAME: {}".format(
MQTT_HOST, MQTT_PORT, binName))
def downloadFile(ipcSn, dirName, fileName, destDir):
if False: # azure
file_path = ipcSn + '/'+dirName+'/'+fileName
destDir = destDir + '/' + fileName
print("downloading {}: {} {} {}".format(
......@@ -152,6 +155,12 @@ def downloadFile(ipcSn, dirName, fileName, destDir):
with open(destDir, "wb") as f:
data = fc.download_file()
data.readinto(f)
else:
file_path = VIDEO_FILES_MOUNT_DIR + ipcSn + '/' + dirName + '/' + fileName
destDir = destDir + '/' + fileName
print("copying {}: {} {} {}".format(
destDir, ipcSn, dirName, file_path))
shutil.copyfile(file_path, destDir)
def uploadFile(ipcSn, dirName, fileName, srcPath):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论