|
|
|
@ -21,12 +21,12 @@ ifeq "$(CFG)" "Debug" |
|
|
|
OUTDIR=Debug |
|
|
|
OUTFILE=$(OUTDIR)/mojo_d |
|
|
|
CFG_INC= |
|
|
|
CFG_LIB=-lsqlite3 -lpthread -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 |
|
|
|
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 |
|
|
|
CFG_OBJ= |
|
|
|
COMMON_OBJ=$(OUTDIR)/base64.o $(OUTDIR)/basicCameraInfo.o \
|
|
|
|
$(OUTDIR)/basicDualThread.o $(OUTDIR)/basicEngine.o \
|
|
|
|
@ -120,9 +120,9 @@ ALL_OBJ=$(OUTDIR)/base64.o $(OUTDIR)/basicCameraInfo.o \ |
|
|
|
$(OUTDIR)/Transform.o $(OUTDIR)/transportSerial.o \
|
|
|
|
$(OUTDIR)/transportSocket.o $(OUTDIR)/utm.o \
|
|
|
|
$(OUTDIR)/videoAVLIBSource.o $(OUTDIR)/videoLive555AVLibSource.o \
|
|
|
|
$(OUTDIR)/xmlParser.o -lsqlite3 -lpthread -lssl -lcurl -lm -lcrypto \
|
|
|
|
-lconfig -lz -lv4l1 -lv4l2 -lhidapi-libusb `pkg-config libavcodec \
|
|
|
|
libavdevice libavfilter libavformat libavutil libpostproc \
|
|
|
|
$(OUTDIR)/xmlParser.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 |
|
|
|
@ -308,7 +308,7 @@ ALL_OBJ=$(OUTDIR)/base64.o $(OUTDIR)/basicCameraInfo.o \ |
|
|
|
$(OUTDIR)/xmlParser.o |
|
|
|
|
|
|
|
COMPILE=g++ -c -x c++ "-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 -lelf -lcurses -lcdk -lcurl `pkg-config --libs rdkafka++` -lwiringx -lsqlite3 -s -o "$(OUTFILE)" $(ALL_OBJ) |
|
|
|
LINK=g++ -O3 -w -lconfig -lpthread -lmysqlclient -lelf -lcurses -lcdk -lcurl `pkg-config --libs rdkafka++` -lwiringx -lsqlite3 -s -o "$(OUTFILE)" $(ALL_OBJ) |
|
|
|
|
|
|
|
# Pattern rules
|
|
|
|
$(OUTDIR)/%.o : ../../lib/components/object/%.cpp |
|
|
|
|