You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
137 lines
4.5 KiB
137 lines
4.5 KiB
# SlickEdit generated file. Do not edit this file except in designated areas.
|
|
|
|
# Make command to use for dependencies
|
|
MAKE=make
|
|
RM=rm
|
|
MKDIR=mkdir
|
|
|
|
# -----Begin user-editable area-----
|
|
|
|
# -----End user-editable area-----
|
|
|
|
# If no configuration is specified, "Debug" will be used
|
|
ifndef CFG
|
|
CFG=Debug
|
|
endif
|
|
|
|
#
|
|
# Configuration: Debug
|
|
#
|
|
ifeq "$(CFG)" "Debug"
|
|
OUTDIR=Debug
|
|
OUTFILE=$(OUTDIR)/MastBaum
|
|
CFG_INC=-I/usr/include/arm-linux-gnueabihf/qt5
|
|
CFG_LIB=-L/opt/DFSL/lib -lONVIF -lDFSL -lpthread -lconfig++ -lcurl \
|
|
`pkg-config opencv --libs` -lncurses -lcdk -lavdevice -lavformat \
|
|
-lnewt -lQt5Concurrent -lQt5DBus -lQt5MultimediaWidgets \
|
|
-lQt5Multimedia -lQt5Network -lQt5OpenGLExtensions -lQt5OpenGL \
|
|
-lQt5PrintSupport -lQt5Sql -lQt5Test -lQt5Widgets -lQt5Gui -lQt5Xml \
|
|
-lQt5Core -L/usr/local/mysql/lib -lmysqlclient -lwiringPi \
|
|
-lwiringPiDev -L /usr/local/lib -lm -lcrypt -lrt -lgsoap++
|
|
CFG_OBJ=
|
|
COMMON_OBJ=$(OUTDIR)/ClientHandler.o $(OUTDIR)/interProcessProto.o \
|
|
$(OUTDIR)/Kernel.o $(OUTDIR)/NetworkManager.o $(OUTDIR)/Server.o
|
|
OBJ=$(COMMON_OBJ) $(CFG_OBJ)
|
|
ALL_OBJ=$(OUTDIR)/ClientHandler.o $(OUTDIR)/interProcessProto.o \
|
|
$(OUTDIR)/Kernel.o $(OUTDIR)/NetworkManager.o $(OUTDIR)/Server.o \
|
|
-L/opt/DFSL/lib -lONVIF -lDFSL -lpthread -lconfig++ -lcurl \
|
|
`pkg-config opencv --libs` -lncurses -lcdk -lavdevice -lavformat \
|
|
-lnewt -lQt5Concurrent -lQt5DBus -lQt5MultimediaWidgets \
|
|
-lQt5Multimedia -lQt5Network -lQt5OpenGLExtensions -lQt5OpenGL \
|
|
-lQt5PrintSupport -lQt5Sql -lQt5Test -lQt5Widgets -lQt5Gui -lQt5Xml \
|
|
-lQt5Core -L/usr/local/mysql/lib -lmysqlclient -lwiringPi \
|
|
-lwiringPiDev -L /usr/local/lib -lm -lcrypt -lrt -lgsoap++
|
|
|
|
COMPILE=g++ -c -x c++ "-DDEBUG" "-DVL_DISABLE_SSE2" "-DVL_DISABLE_AVX" "-DVL_EMBED_INCODE" "-D_CLIENT_APPLICATION_" "-DWITH_OPENSSL" "-D_CRT_SECURE_NO_WARNINGS" "-D__STDC_CONSTANT_MACROS" "-DCURL_STATICLIB" "-DOPENCV" "-DWITH_PURE_VIRTUAL" -g -ggdb -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $<
|
|
LINK=g++ -g -ggdb -o "$(OUTFILE)" $(ALL_OBJ)
|
|
|
|
# Pattern rules
|
|
$(OUTDIR)/%.o : ../lib/App/mastbaumSERVER/%.cpp
|
|
$(COMPILE)
|
|
|
|
# Build rules
|
|
all: $(OUTFILE)
|
|
|
|
$(OUTFILE): $(OUTDIR) deps $(OBJ)
|
|
$(LINK)
|
|
|
|
$(OUTDIR):
|
|
$(MKDIR) -p "$(OUTDIR)"
|
|
|
|
# Build dependencies
|
|
deps:
|
|
@(cd ../libDFSL/;$(MAKE) -f makefile CFG=$(CFG))
|
|
|
|
# Rebuild this project
|
|
rebuild: cleanall all
|
|
|
|
# Clean this project
|
|
clean:
|
|
$(RM) -f $(OUTFILE)
|
|
$(RM) -f $(OBJ)
|
|
|
|
# Clean this project and all dependencies
|
|
cleanall: clean
|
|
@(cd ../libDFSL/;$(MAKE) -f makefile cleanall CFG=$(CFG))
|
|
endif
|
|
|
|
#
|
|
# Configuration: Release
|
|
#
|
|
ifeq "$(CFG)" "Release"
|
|
OUTDIR=Release
|
|
OUTFILE=$(OUTDIR)/MastBaum
|
|
CFG_INC=-I/usr/include/arm-linux-gnueabihf/qt5
|
|
CFG_LIB=-L/opt/DFSL/lib -lONVIF -lDFSL -lpthread -lconfig++ -lcurl \
|
|
`pkg-config opencv --libs` -lncurses -lcdk -lavdevice -lavformat \
|
|
-lnewt -lQt5Concurrent -lQt5DBus -lQt5MultimediaWidgets \
|
|
-lQt5Multimedia -lQt5Network -lQt5OpenGLExtensions -lQt5OpenGL \
|
|
-lQt5PrintSupport -lQt5Sql -lQt5Test -lQt5Widgets -lQt5Gui -lQt5Xml \
|
|
-lQt5Core -L/usr/local/mysql/lib -lmysqlclient -lwiringPi \
|
|
-lwiringPiDev -L /usr/local/lib -lm -lcrypt -lrt -lgsoap++
|
|
CFG_OBJ=
|
|
COMMON_OBJ=$(OUTDIR)/ClientHandler.o $(OUTDIR)/interProcessProto.o \
|
|
$(OUTDIR)/Kernel.o $(OUTDIR)/NetworkManager.o $(OUTDIR)/Server.o
|
|
OBJ=$(COMMON_OBJ) $(CFG_OBJ)
|
|
ALL_OBJ=$(OUTDIR)/ClientHandler.o $(OUTDIR)/interProcessProto.o \
|
|
$(OUTDIR)/Kernel.o $(OUTDIR)/NetworkManager.o $(OUTDIR)/Server.o \
|
|
-L/opt/DFSL/lib -lONVIF -lDFSL -lpthread -lconfig++ -lcurl \
|
|
`pkg-config opencv --libs` -lncurses -lcdk -lavdevice -lavformat \
|
|
-lnewt -lQt5Concurrent -lQt5DBus -lQt5MultimediaWidgets \
|
|
-lQt5Multimedia -lQt5Network -lQt5OpenGLExtensions -lQt5OpenGL \
|
|
-lQt5PrintSupport -lQt5Sql -lQt5Test -lQt5Widgets -lQt5Gui -lQt5Xml \
|
|
-lQt5Core -L/usr/local/mysql/lib -lmysqlclient -lwiringPi \
|
|
-lwiringPiDev -L /usr/local/lib -lm -lcrypt -lrt -lgsoap++
|
|
|
|
COMPILE=g++ -c -x c++ -Ofast -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $<
|
|
LINK=g++ -o "$(OUTFILE)" $(ALL_OBJ)
|
|
|
|
# Pattern rules
|
|
$(OUTDIR)/%.o : ../lib/App/mastbaumSERVER/%.cpp
|
|
$(COMPILE)
|
|
|
|
# Build rules
|
|
all: $(OUTFILE)
|
|
|
|
$(OUTFILE): $(OUTDIR) deps $(OBJ)
|
|
$(LINK)
|
|
|
|
$(OUTDIR):
|
|
$(MKDIR) -p "$(OUTDIR)"
|
|
|
|
# Build dependencies
|
|
deps:
|
|
@(cd ../libDFSL/;$(MAKE) -f makefile CFG=$(CFG))
|
|
|
|
# Rebuild this project
|
|
rebuild: cleanall all
|
|
|
|
# Clean this project
|
|
clean:
|
|
$(RM) -f $(OUTFILE)
|
|
$(RM) -f $(OBJ)
|
|
|
|
# Clean this project and all dependencies
|
|
cleanall: clean
|
|
@(cd ../libDFSL/;$(MAKE) -f makefile cleanall CFG=$(CFG))
|
|
endif
|