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

3 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. # SlickEdit generated file. Do not edit this file except in designated areas.
  2. # Make command to use for dependencies
  3. MAKE=make
  4. RM=rm
  5. MKDIR=mkdir
  6. # -----Begin user-editable area-----
  7. # -----End user-editable area-----
  8. # If no configuration is specified, "Debug" will be used
  9. ifndef CFG
  10. CFG=Debug
  11. endif
  12. #
  13. # Configuration: Debug
  14. #
  15. ifeq "$(CFG)" "Debug"
  16. OUTDIR=Debug
  17. OUTFILE=$(OUTDIR)/MEKOROT
  18. CFG_INC=
  19. CFG_LIB=
  20. CFG_OBJ=
  21. COMMON_OBJ=$(OUTDIR)/MEKOROT.o $(OUTDIR)/MEKOROT_Kernel.o
  22. OBJ=$(COMMON_OBJ) $(CFG_OBJ)
  23. ALL_OBJ=$(OUTDIR)/MEKOROT.o $(OUTDIR)/MEKOROT_Kernel.o
  24. 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) $<
  25. LINK=g++ -g -o "$(OUTFILE)" $(ALL_OBJ)
  26. COMPILE_ADA=gnat -g -c -o "$(OUTDIR)/$(*F).o" "$<"
  27. COMPILE_ADB=gnat -g -c -o "$(OUTDIR)/$(*F).o" "$<"
  28. COMPILE_F=gfortran -c -g -o "$(OUTDIR)/$(*F).o" "$<"
  29. COMPILE_F90=gfortran -c -g -o "$(OUTDIR)/$(*F).o" "$<"
  30. COMPILE_D=gdc -c -g -o "$(OUTDIR)/$(*F).o" "$<"
  31. # Pattern rules
  32. $(OUTDIR)/%.o : %.d
  33. $(COMPILE_D)
  34. $(OUTDIR)/%.o : %.f90
  35. $(COMPILE_F90)
  36. $(OUTDIR)/%.o : %.f
  37. $(COMPILE_F)
  38. $(OUTDIR)/%.o : %.cpp
  39. $(COMPILE)
  40. $(OUTDIR)/%.o : %.ada
  41. $(COMPILE_ADA)
  42. $(OUTDIR)/%.o : %.adb
  43. $(COMPILE_ADB)
  44. # Build rules
  45. all: $(OUTFILE)
  46. $(OUTFILE): $(OUTDIR) $(OBJ)
  47. $(LINK)
  48. $(OUTDIR):
  49. $(MKDIR) -p "$(OUTDIR)"
  50. # Rebuild this project
  51. rebuild: cleanall
  52. @$(MAKE) -f "$(strip $(MAKEFILE_LIST))" $(MAKEFLAGS) all
  53. # Clean this project
  54. clean:
  55. $(RM) -f $(OUTFILE)
  56. $(RM) -f $(OBJ)
  57. # Clean this project and all dependencies
  58. cleanall: clean
  59. endif
  60. #
  61. # Configuration: Release
  62. #
  63. ifeq "$(CFG)" "Release"
  64. OUTDIR=Release
  65. OUTFILE=$(OUTDIR)/MEKOROT
  66. CFG_INC=
  67. CFG_LIB=
  68. CFG_OBJ=
  69. COMMON_OBJ=$(OUTDIR)/MEKOROT.o $(OUTDIR)/MEKOROT_Kernel.o
  70. OBJ=$(COMMON_OBJ) $(CFG_OBJ)
  71. ALL_OBJ=$(OUTDIR)/MEKOROT.o $(OUTDIR)/MEKOROT_Kernel.o
  72. COMPILE=g++ -c -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $<
  73. LINK=g++ -o "$(OUTFILE)" $(ALL_OBJ)
  74. COMPILE_ADA=gnat -O -c -o "$(OUTDIR)/$(*F).o" "$<"
  75. COMPILE_ADB=gnat -O -c -o "$(OUTDIR)/$(*F).o" "$<"
  76. COMPILE_F=gfortran -O -g -o "$(OUTDIR)/$(*F).o" "$<"
  77. COMPILE_F90=gfortran -O -g -o "$(OUTDIR)/$(*F).o" "$<"
  78. COMPILE_D=gdc -c -g -o "$(OUTDIR)/$(*F).o" "$<"
  79. # Pattern rules
  80. $(OUTDIR)/%.o : %.d
  81. $(COMPILE_D)
  82. $(OUTDIR)/%.o : %.f90
  83. $(COMPILE_F90)
  84. $(OUTDIR)/%.o : %.f
  85. $(COMPILE_F)
  86. $(OUTDIR)/%.o : %.cpp
  87. $(COMPILE)
  88. $(OUTDIR)/%.o : %.ada
  89. $(COMPILE_ADA)
  90. $(OUTDIR)/%.o : %.adb
  91. $(COMPILE_ADB)
  92. # Build rules
  93. all: $(OUTFILE)
  94. $(OUTFILE): $(OUTDIR) $(OBJ)
  95. $(LINK)
  96. $(OUTDIR):
  97. $(MKDIR) -p "$(OUTDIR)"
  98. # Rebuild this project
  99. rebuild: cleanall
  100. @$(MAKE) -f "$(strip $(MAKEFILE_LIST))" $(MAKEFLAGS) all
  101. # Clean this project
  102. clean:
  103. $(RM) -f $(OUTFILE)
  104. $(RM) -f $(OBJ)
  105. # Clean this project and all dependencies
  106. cleanall: clean
  107. endif
  108. #
  109. # include dependencies:
  110. #
  111. $(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
  112. $(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