|
|
|
@ -25,8 +25,8 @@ 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++` -lwiringPi -lliveMedia -lgroupsock \
|
|
|
|
-lBasicUsageEnvironment -lUsageEnvironment |
|
|
|
rdkafka++` -lwiringx -lliveMedia -lgroupsock -lBasicUsageEnvironment \
|
|
|
|
-lUsageEnvironment |
|
|
|
CFG_OBJ= |
|
|
|
COMMON_OBJ=$(OUTDIR)/base64.o $(OUTDIR)/basicCameraInfo.o \
|
|
|
|
$(OUTDIR)/basicDualThread.o $(OUTDIR)/basicEngine.o \
|
|
|
|
@ -124,7 +124,7 @@ ALL_OBJ=$(OUTDIR)/base64.o $(OUTDIR)/basicCameraInfo.o \ |
|
|
|
-lconfig -lz -lv4l1 -lv4l2 -lhidapi-libusb `pkg-config libavcodec \
|
|
|
|
libavdevice libavfilter libavformat libavutil libpostproc \
|
|
|
|
libswresample libswscale --libs` -latomic `pkg-config --libs openssl \
|
|
|
|
opencv4 rdkafka++` -lwiringPi -lliveMedia -lgroupsock \
|
|
|
|
opencv4 rdkafka++` -lwiringx -lliveMedia -lgroupsock \
|
|
|
|
-lBasicUsageEnvironment -lUsageEnvironment |
|
|
|
|
|
|
|
COMPILE=g++ -c -x c++ "-DDEBUG" "-D__STDC_CONSTANT_MACROS" "-D_CLIENT_APPLICATION_" "-D_OPENCV_" "-DRASPI_HARDWARE" -O0 -g1 -ggdb -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) $< |
|
|
|
@ -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++` -lsqlite3 -s -o "$(OUTFILE)" $(ALL_OBJ) |
|
|
|
LINK=g++ -O3 -w -lconfig -lpthread -lelf -lcurses -lcdk -lcurl `pkg-config --libs rdkafka++` -lwiringx -lsqlite3 -s -o "$(OUTFILE)" $(ALL_OBJ) |
|
|
|
|
|
|
|
# Pattern rules
|
|
|
|
$(OUTDIR)/%.o : ../../lib/components/object/%.cpp |
|
|
|
|