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.
145 lines
4.2 KiB
145 lines
4.2 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)/MEKOROT
|
|
CFG_INC=
|
|
CFG_LIB=
|
|
CFG_OBJ=
|
|
COMMON_OBJ=$(OUTDIR)/MEKOROT.o $(OUTDIR)/MEKOROT_Kernel.o
|
|
OBJ=$(COMMON_OBJ) $(CFG_OBJ)
|
|
ALL_OBJ=$(OUTDIR)/MEKOROT.o $(OUTDIR)/MEKOROT_Kernel.o
|
|
|
|
COMPILE=g++ -c "-DDEBUG" "-D__STDC_CONSTANT_MACROS" "-D_CLIENT_APPLICATION_" "-D_OPENCV_" -g -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++ -g -o "$(OUTFILE)" $(ALL_OBJ)
|
|
COMPILE_ADA=gnat -g -c -o "$(OUTDIR)/$(*F).o" "$<"
|
|
COMPILE_ADB=gnat -g -c -o "$(OUTDIR)/$(*F).o" "$<"
|
|
COMPILE_F=gfortran -c -g -o "$(OUTDIR)/$(*F).o" "$<"
|
|
COMPILE_F90=gfortran -c -g -o "$(OUTDIR)/$(*F).o" "$<"
|
|
COMPILE_D=gdc -c -g -o "$(OUTDIR)/$(*F).o" "$<"
|
|
|
|
# Pattern rules
|
|
$(OUTDIR)/%.o : %.d
|
|
$(COMPILE_D)
|
|
|
|
$(OUTDIR)/%.o : %.f90
|
|
$(COMPILE_F90)
|
|
|
|
$(OUTDIR)/%.o : %.f
|
|
$(COMPILE_F)
|
|
|
|
$(OUTDIR)/%.o : %.cpp
|
|
$(COMPILE)
|
|
|
|
$(OUTDIR)/%.o : %.ada
|
|
$(COMPILE_ADA)
|
|
|
|
$(OUTDIR)/%.o : %.adb
|
|
$(COMPILE_ADB)
|
|
|
|
# Build rules
|
|
all: $(OUTFILE)
|
|
|
|
$(OUTFILE): $(OUTDIR) $(OBJ)
|
|
$(LINK)
|
|
|
|
$(OUTDIR):
|
|
$(MKDIR) -p "$(OUTDIR)"
|
|
|
|
# Rebuild this project
|
|
rebuild: cleanall
|
|
@$(MAKE) -f "$(strip $(MAKEFILE_LIST))" $(MAKEFLAGS) all
|
|
|
|
# Clean this project
|
|
clean:
|
|
$(RM) -f $(OUTFILE)
|
|
$(RM) -f $(OBJ)
|
|
|
|
# Clean this project and all dependencies
|
|
cleanall: clean
|
|
endif
|
|
|
|
#
|
|
# Configuration: Release
|
|
#
|
|
ifeq "$(CFG)" "Release"
|
|
OUTDIR=Release
|
|
OUTFILE=$(OUTDIR)/MEKOROT
|
|
CFG_INC=
|
|
CFG_LIB=
|
|
CFG_OBJ=
|
|
COMMON_OBJ=$(OUTDIR)/MEKOROT.o $(OUTDIR)/MEKOROT_Kernel.o
|
|
OBJ=$(COMMON_OBJ) $(CFG_OBJ)
|
|
ALL_OBJ=$(OUTDIR)/MEKOROT.o $(OUTDIR)/MEKOROT_Kernel.o
|
|
|
|
COMPILE=g++ -c -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $<
|
|
LINK=g++ -o "$(OUTFILE)" $(ALL_OBJ)
|
|
COMPILE_ADA=gnat -O -c -o "$(OUTDIR)/$(*F).o" "$<"
|
|
COMPILE_ADB=gnat -O -c -o "$(OUTDIR)/$(*F).o" "$<"
|
|
COMPILE_F=gfortran -O -g -o "$(OUTDIR)/$(*F).o" "$<"
|
|
COMPILE_F90=gfortran -O -g -o "$(OUTDIR)/$(*F).o" "$<"
|
|
COMPILE_D=gdc -c -g -o "$(OUTDIR)/$(*F).o" "$<"
|
|
|
|
# Pattern rules
|
|
$(OUTDIR)/%.o : %.d
|
|
$(COMPILE_D)
|
|
|
|
$(OUTDIR)/%.o : %.f90
|
|
$(COMPILE_F90)
|
|
|
|
$(OUTDIR)/%.o : %.f
|
|
$(COMPILE_F)
|
|
|
|
$(OUTDIR)/%.o : %.cpp
|
|
$(COMPILE)
|
|
|
|
$(OUTDIR)/%.o : %.ada
|
|
$(COMPILE_ADA)
|
|
|
|
$(OUTDIR)/%.o : %.adb
|
|
$(COMPILE_ADB)
|
|
|
|
# Build rules
|
|
all: $(OUTFILE)
|
|
|
|
$(OUTFILE): $(OUTDIR) $(OBJ)
|
|
$(LINK)
|
|
|
|
$(OUTDIR):
|
|
$(MKDIR) -p "$(OUTDIR)"
|
|
|
|
# Rebuild this project
|
|
rebuild: cleanall
|
|
@$(MAKE) -f "$(strip $(MAKEFILE_LIST))" $(MAKEFLAGS) all
|
|
|
|
# Clean this project
|
|
clean:
|
|
$(RM) -f $(OUTFILE)
|
|
$(RM) -f $(OBJ)
|
|
|
|
# Clean this project and all dependencies
|
|
cleanall: clean
|
|
endif
|
|
|
|
#
|
|
# include dependencies:
|
|
#
|
|
$(OUTDIR)/MEKOROT.o: MEKOROT.cpp MEKOROT.h ../../lib/components/base/basicLogCollection.h ../../lib/components/base/basicSettingsProvider.h ../../lib/components/object/objectConsoleLoggingService.h ../../lib/components/object/objectFileLoggingService.h MEKOROT_Kernel.h ../../lib/components/base/basicEngine.h ../../lib/components/base/basicMediaDestination.h ../../lib/components/base/basicThread.h ../../lib/data/media/lapsedVideoRecorder.h ../../lib/data/media/videoNode.h ../../lib/data/media/video/videoAVLIBSource.h ../../lib/data/protocol/protocolLGS2D.h ../../lib/data/protocol/protocolPTZ_ONVIF.h ../../lib/data/storage/storageProvider.h ../../lib/hardware/uart/serialPort.h
|
|
$(OUTDIR)/MEKOROT_Kernel.o: MEKOROT_Kernel.cpp MEKOROT_Kernel.h ../../lib/components/base/basicEngine.h ../../lib/components/base/basicMediaDestination.h ../../lib/components/base/basicThread.h ../../lib/data/media/lapsedVideoRecorder.h ../../lib/data/media/videoNode.h ../../lib/data/media/video/videoAVLIBSource.h ../../lib/data/protocol/protocolLGS2D.h ../../lib/data/protocol/protocolPTZ_ONVIF.h ../../lib/data/storage/storageProvider.h ../../lib/hardware/uart/serialPort.h
|