|
|
|
@ -22,11 +22,10 @@ OUTDIR=Debug |
|
|
|
OUTFILE=$(OUTDIR)/serva_d |
|
|
|
CFG_INC= |
|
|
|
CFG_LIB=-lsqlite3 -lpthread -lmysqlclient -lssl -lcurl -lm -lcrypto \
|
|
|
|
-lconfig -lz -lv4l1 -lv4l2 -lhidapi-libusb `pkg-config libavcodec \
|
|
|
|
libavdevice libavfilter libavformat libavutil libpostproc \
|
|
|
|
libswresample libswscale --libs` -latomic `pkg-config --libs openssl \
|
|
|
|
opencv4 rdkafka++` -lwiringx -lliveMedia -lgroupsock \
|
|
|
|
-lBasicUsageEnvironment -lUsageEnvironment |
|
|
|
-lconfig -lz `pkg-config libavcodec libavdevice libavfilter \
|
|
|
|
libavformat libavutil libpostproc libswresample libswscale --libs` \
|
|
|
|
-latomic `pkg-config --libs openssl opencv4 rdkafka++`-lliveMedia \
|
|
|
|
-lgroupsock -lBasicUsageEnvironment -lUsageEnvironment |
|
|
|
CFG_OBJ= |
|
|
|
COMMON_OBJ=$(OUTDIR)/basicEngine.o $(OUTDIR)/basicEvent.o \
|
|
|
|
$(OUTDIR)/basicEventHandler.o $(OUTDIR)/basicEventHeap.o \
|
|
|
|
@ -59,13 +58,13 @@ ALL_OBJ=$(OUTDIR)/basicEngine.o $(OUTDIR)/basicEvent.o \ |
|
|
|
$(OUTDIR)/servaKernel.o $(OUTDIR)/servaKernelToolKit.o \
|
|
|
|
$(OUTDIR)/serverDataBinder.o $(OUTDIR)/serverMySQL_dataBinder.o \
|
|
|
|
$(OUTDIR)/Transform.o $(OUTDIR)/utm.o -lsqlite3 -lpthread \
|
|
|
|
-lmysqlclient -lssl -lcurl -lm -lcrypto -lconfig -lz -lv4l1 -lv4l2 \
|
|
|
|
-lhidapi-libusb `pkg-config libavcodec libavdevice libavfilter \
|
|
|
|
libavformat libavutil libpostproc libswresample libswscale --libs` \
|
|
|
|
-latomic `pkg-config --libs openssl opencv4 rdkafka++` -lwiringx \
|
|
|
|
-lliveMedia -lgroupsock -lBasicUsageEnvironment -lUsageEnvironment |
|
|
|
-lmysqlclient -lssl -lcurl -lm -lcrypto -lconfig -lz `pkg-config \
|
|
|
|
libavcodec libavdevice libavfilter libavformat libavutil libpostproc \
|
|
|
|
libswresample libswscale --libs` -latomic `pkg-config --libs openssl \
|
|
|
|
opencv4 rdkafka++`-lliveMedia -lgroupsock -lBasicUsageEnvironment \
|
|
|
|
-lUsageEnvironment |
|
|
|
|
|
|
|
COMPILE=g++ -c -x c++ "-DDEBUG" "-DUSE_MYSQL" "-D__STDC_CONSTANT_MACROS__" "-D_CLIENT_APPLICATION_" "-D_OPENCV_" "-DRASPI_HARDWARE" -O0 -w -Wpointer-arith -std=c++11 -Wno-write-strings -I../../lib/include `pkg-config opencv4 libavcodec libavdevice libavfilter libavformat libavutil libpostproc libswresample libswscale live555 --cflags` -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $< |
|
|
|
COMPILE=g++ -c -x c++ "-DDEBUG" "-DUSE_SERVER_MYSQL" "-D__STDC_CONSTANT_MACROS__" "-D_SERVER_APPLICATION_" "-D_OPENCV_" "-DRASPI_HARDWARE" -O0 -w -Wpointer-arith -std=c++11 -Wno-write-strings -I../../lib/include `pkg-config opencv4 libavcodec libavdevice libavfilter libavformat libavutil libpostproc libswresample libswscale live555 --cflags` -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $< |
|
|
|
LINK=g++ -O0 -w -o "$(OUTFILE)" $(ALL_OBJ) |
|
|
|
|
|
|
|
# Pattern rules
|
|
|
|
@ -153,8 +152,8 @@ ALL_OBJ=$(OUTDIR)/basicEngine.o $(OUTDIR)/basicEvent.o \ |
|
|
|
$(OUTDIR)/serverDataBinder.o $(OUTDIR)/serverMySQL_dataBinder.o \
|
|
|
|
$(OUTDIR)/Transform.o $(OUTDIR)/utm.o |
|
|
|
|
|
|
|
COMPILE=g++ -c -x c++ "-DUSE_MYSQL" "-DSLIM_KERNEL" "-D_THREAD_SAFE" "-D_BSD_SOURCE" "-D_REENTRANT" -O3 -w -Wpointer-arith -std=gnu++11 -I../../lib/include -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $< |
|
|
|
LINK=g++ -O3 -w -lconfig -lpthread -lmysqlclient -lelf -lcurses -lcdk -lcurl `pkg-config --libs rdkafka++` -lwiringx -lsqlite3 -s -o "$(OUTFILE)" $(ALL_OBJ) |
|
|
|
COMPILE=g++ -c -x c++ "-DUSE_SERVER_MYSQL" "-D_SERVER_APPLICATION_" "-D_THREAD_SAFE" "-D_BSD_SOURCE" "-D_REENTRANT" "-DRASPI_HARDWARE" -O3 -w -Wpointer-arith -std=gnu++11 -I../../lib/include -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $< |
|
|
|
LINK=g++ -O3 -w -lconfig -lpthread -lmysqlclient -lelf -lcurses -lcdk -lcurl `pkg-config --libs rdkafka++` -s -o "$(OUTFILE)" $(ALL_OBJ) |
|
|
|
|
|
|
|
# Pattern rules
|
|
|
|
$(OUTDIR)/%.o : ../../lib/components/object/%.cpp |
|
|
|
@ -207,12 +206,11 @@ ifeq "$(CFG)" "Debug86" |
|
|
|
OUTDIR=Debug86 |
|
|
|
OUTFILE=$(OUTDIR)/serva_d |
|
|
|
CFG_INC= |
|
|
|
CFG_LIB=-lsqlite3 -lpthread -lmysqlclient -lssl -lcurl -lm -lcrypto \
|
|
|
|
-lconfig -lz -lv4l1 -lv4l2 -lhidapi-libusb `pkg-config libavcodec \
|
|
|
|
libavdevice libavfilter libavformat libavutil libpostproc \
|
|
|
|
libswresample libswscale --libs` -latomic `pkg-config --libs openssl \
|
|
|
|
opencv4 rdkafka++` -lliveMedia -lgroupsock -lBasicUsageEnvironment \
|
|
|
|
-lUsageEnvironment |
|
|
|
CFG_LIB=-lpthread -lmysqlclient -lssl -lcurl -lm -lcrypto -lconfig \
|
|
|
|
-lz `pkg-config libavcodec libavdevice libavfilter libavformat \
|
|
|
|
libavutil libpostproc libswresample libswscale --libs` -latomic \
|
|
|
|
`pkg-config --libs openssl opencv4 rdkafka++` -lliveMedia \
|
|
|
|
-lgroupsock -lBasicUsageEnvironment -lUsageEnvironment |
|
|
|
CFG_OBJ= |
|
|
|
COMMON_OBJ=$(OUTDIR)/basicEngine.o $(OUTDIR)/basicEvent.o \
|
|
|
|
$(OUTDIR)/basicEventHandler.o $(OUTDIR)/basicEventHeap.o \
|
|
|
|
@ -244,14 +242,14 @@ ALL_OBJ=$(OUTDIR)/basicEngine.o $(OUTDIR)/basicEvent.o \ |
|
|
|
$(OUTDIR)/objectMySQLLoggingService.o $(OUTDIR)/servaBackend.o \
|
|
|
|
$(OUTDIR)/servaKernel.o $(OUTDIR)/servaKernelToolKit.o \
|
|
|
|
$(OUTDIR)/serverDataBinder.o $(OUTDIR)/serverMySQL_dataBinder.o \
|
|
|
|
$(OUTDIR)/Transform.o $(OUTDIR)/utm.o -lsqlite3 -lpthread \
|
|
|
|
-lmysqlclient -lssl -lcurl -lm -lcrypto -lconfig -lz -lv4l1 -lv4l2 \
|
|
|
|
-lhidapi-libusb `pkg-config libavcodec libavdevice libavfilter \
|
|
|
|
libavformat libavutil libpostproc libswresample libswscale --libs` \
|
|
|
|
-latomic `pkg-config --libs openssl opencv4 rdkafka++` -lliveMedia \
|
|
|
|
-lgroupsock -lBasicUsageEnvironment -lUsageEnvironment |
|
|
|
$(OUTDIR)/Transform.o $(OUTDIR)/utm.o -lpthread -lmysqlclient -lssl \
|
|
|
|
-lcurl -lm -lcrypto -lconfig -lz `pkg-config libavcodec libavdevice \
|
|
|
|
libavfilter libavformat libavutil libpostproc libswresample \
|
|
|
|
libswscale --libs` -latomic `pkg-config --libs openssl opencv4 \
|
|
|
|
rdkafka++` -lliveMedia -lgroupsock -lBasicUsageEnvironment \
|
|
|
|
-lUsageEnvironment |
|
|
|
|
|
|
|
COMPILE=g++ -c -x c++ "-DDEBUG" "-DUSE_SERVER_MYSQL" "-D__STDC_CONSTANT_MACROS" "-D_CLIENT_APPLICATION_" "-D_OPENCV_" -O0 -w -Wpointer-arith -std=c++11 -Wno-write-strings -I../../lib/include `pkg-config opencv4 libavcodec libavdevice libavfilter libavformat libavutil libpostproc libswresample libswscale live555 --cflags` -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $< |
|
|
|
COMPILE=g++ -c -x c++ "-DDEBUG" "-DUSE_SERVER_MYSQL" "-D__STDC_CONSTANT_MACROS" "-D_SERVER_APPLICATION_" "-D_OPENCV_" -O0 -w -Wpointer-arith -std=c++11 -Wno-write-strings -I../../lib/include `pkg-config opencv4 libavcodec libavdevice libavfilter libavformat libavutil libpostproc libswresample libswscale live555 --cflags` -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $< |
|
|
|
LINK=g++ -O0 -w -o "$(OUTFILE)" $(ALL_OBJ) |
|
|
|
|
|
|
|
# Pattern rules
|
|
|
|
@ -305,12 +303,11 @@ ifeq "$(CFG)" "Release86" |
|
|
|
OUTDIR=Release86 |
|
|
|
OUTFILE=$(OUTDIR)/serva |
|
|
|
CFG_INC= |
|
|
|
CFG_LIB=-lsqlite3 -lpthread -lmysqlclient -lssl -lcurl -lm -lcrypto \
|
|
|
|
-lconfig -lz -lv4l1 -lv4l2 -lhidapi-libusb `pkg-config libavcodec \
|
|
|
|
libavdevice libavfilter libavformat libavutil libpostproc \
|
|
|
|
libswresample libswscale --libs` -latomic `pkg-config --libs openssl \
|
|
|
|
opencv4 rdkafka++` -lliveMedia -lgroupsock -lBasicUsageEnvironment \
|
|
|
|
-lUsageEnvironment |
|
|
|
CFG_LIB=-lpthread -lmysqlclient -lssl -lcurl -lm -lcrypto -lconfig \
|
|
|
|
-lz `pkg-config libavcodec libavdevice libavfilter libavformat \
|
|
|
|
libavutil libpostproc libswresample libswscale --libs` -latomic \
|
|
|
|
`pkg-config --libs openssl opencv4 rdkafka++` -lliveMedia \
|
|
|
|
-lgroupsock -lBasicUsageEnvironment -lUsageEnvironment -s |
|
|
|
CFG_OBJ= |
|
|
|
COMMON_OBJ=$(OUTDIR)/basicEngine.o $(OUTDIR)/basicEvent.o \
|
|
|
|
$(OUTDIR)/basicEventHandler.o $(OUTDIR)/basicEventHeap.o \
|
|
|
|
@ -342,14 +339,14 @@ ALL_OBJ=$(OUTDIR)/basicEngine.o $(OUTDIR)/basicEvent.o \ |
|
|
|
$(OUTDIR)/objectMySQLLoggingService.o $(OUTDIR)/servaBackend.o \
|
|
|
|
$(OUTDIR)/servaKernel.o $(OUTDIR)/servaKernelToolKit.o \
|
|
|
|
$(OUTDIR)/serverDataBinder.o $(OUTDIR)/serverMySQL_dataBinder.o \
|
|
|
|
$(OUTDIR)/Transform.o $(OUTDIR)/utm.o -lsqlite3 -lpthread \
|
|
|
|
-lmysqlclient -lssl -lcurl -lm -lcrypto -lconfig -lz -lv4l1 -lv4l2 \
|
|
|
|
-lhidapi-libusb `pkg-config libavcodec libavdevice libavfilter \
|
|
|
|
libavformat libavutil libpostproc libswresample libswscale --libs` \
|
|
|
|
-latomic `pkg-config --libs openssl opencv4 rdkafka++` -lliveMedia \
|
|
|
|
-lgroupsock -lBasicUsageEnvironment -lUsageEnvironment |
|
|
|
|
|
|
|
COMPILE=g++ -c -x c++ "-DUSE_SERVER_MYSQL" "-D__STDC_CONSTANT_MACROS" "-D_CLIENT_APPLICATION_" "-D_OPENCV_" -O3 -w -Wpointer-arith -std=c++11 -Wno-write-strings -I../../lib/include `pkg-config opencv4 libavcodec libavdevice libavfilter libavformat libavutil libpostproc libswresample libswscale live555 --cflags` -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $< |
|
|
|
$(OUTDIR)/Transform.o $(OUTDIR)/utm.o -lpthread -lmysqlclient -lssl \
|
|
|
|
-lcurl -lm -lcrypto -lconfig -lz `pkg-config libavcodec libavdevice \
|
|
|
|
libavfilter libavformat libavutil libpostproc libswresample \
|
|
|
|
libswscale --libs` -latomic `pkg-config --libs openssl opencv4 \
|
|
|
|
rdkafka++` -lliveMedia -lgroupsock -lBasicUsageEnvironment \
|
|
|
|
-lUsageEnvironment -s |
|
|
|
|
|
|
|
COMPILE=g++ -c -x c++ "-DUSE_SERVER_MYSQL" "-D__STDC_CONSTANT_MACROS" "-D_SERVER_APPLICATION_" "-D_OPENCV_" -O3 -w -Wpointer-arith -std=c++11 -Wno-write-strings -I../../lib/include `pkg-config opencv4 libavcodec libavdevice libavfilter libavformat libavutil libpostproc libswresample libswscale live555 --cflags` -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $< |
|
|
|
LINK=g++ -O3 -w -o "$(OUTFILE)" $(ALL_OBJ) |
|
|
|
|
|
|
|
# Pattern rules
|
|
|
|
@ -415,7 +412,7 @@ $(OUTDIR)/basicThread.o: ../../lib/components/base/basicThread.cpp ../../lib/com |
|
|
|
$(OUTDIR)/json_reader.o: ../../lib/data/json/json_reader.cpp ../../lib/data/json/json_tool.h |
|
|
|
$(OUTDIR)/json_value.o: ../../lib/data/json/json_value.cpp ../../lib/data/json/json_valueiterator.inl |
|
|
|
$(OUTDIR)/json_writer.o: ../../lib/data/json/json_writer.cpp ../../lib/data/json/json_tool.h |
|
|
|
$(OUTDIR)/kernelPrototype.o: ../../lib/App/common/kernelPrototype.cpp ../../lib/App/common/kernelPrototype.h ../../lib/App/common/MySQL_dataBinder.h ../../lib/App/common/SQLite_dataBinder.h |
|
|
|
$(OUTDIR)/kernelPrototype.o: ../../lib/App/common/kernelPrototype.cpp ../../lib/App/common/kernelPrototype.h |
|
|
|
$(OUTDIR)/lifeMonitoring.o: ../../lib/App/serva/lifeMonitoring.cpp ../../lib/App/serva/lifeMonitoring.h |
|
|
|
$(OUTDIR)/md5.o: ../../lib/alg/generic/md5.cpp ../../lib/alg/generic/md5.h |
|
|
|
$(OUTDIR)/mysql_class.o: ../../lib/data/mysql/mysql_class.cpp ../../lib/data/mysql/mysql_class.h |
|
|
|
|