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

7 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)/MastBaum
  18. CFG_INC=-I/usr/include/arm-linux-gnueabihf/qt5
  19. CFG_LIB=-L/opt/DFSL/lib -lONVIF -lDFSL -lpthread -lconfig++ -lcurl \
  20. `pkg-config opencv --libs` -lncurses -lcdk -lavdevice -lavformat \
  21. -lnewt -lQt5Concurrent -lQt5DBus -lQt5MultimediaWidgets \
  22. -lQt5Multimedia -lQt5Network -lQt5OpenGLExtensions -lQt5OpenGL \
  23. -lQt5PrintSupport -lQt5Sql -lQt5Test -lQt5Widgets -lQt5Gui -lQt5Xml \
  24. -lQt5Core -L/usr/local/mysql/lib -lmysqlclient -lwiringPi \
  25. -lwiringPiDev -L /usr/local/lib -lm -lcrypt -lrt -lgsoap++
  26. CFG_OBJ=
  27. COMMON_OBJ=$(OUTDIR)/ClientHandler.o $(OUTDIR)/interProcessProto.o \
  28. $(OUTDIR)/Kernel.o $(OUTDIR)/NetworkManager.o $(OUTDIR)/Server.o
  29. OBJ=$(COMMON_OBJ) $(CFG_OBJ)
  30. ALL_OBJ=$(OUTDIR)/ClientHandler.o $(OUTDIR)/interProcessProto.o \
  31. $(OUTDIR)/Kernel.o $(OUTDIR)/NetworkManager.o $(OUTDIR)/Server.o \
  32. -L/opt/DFSL/lib -lONVIF -lDFSL -lpthread -lconfig++ -lcurl \
  33. `pkg-config opencv --libs` -lncurses -lcdk -lavdevice -lavformat \
  34. -lnewt -lQt5Concurrent -lQt5DBus -lQt5MultimediaWidgets \
  35. -lQt5Multimedia -lQt5Network -lQt5OpenGLExtensions -lQt5OpenGL \
  36. -lQt5PrintSupport -lQt5Sql -lQt5Test -lQt5Widgets -lQt5Gui -lQt5Xml \
  37. -lQt5Core -L/usr/local/mysql/lib -lmysqlclient -lwiringPi \
  38. -lwiringPiDev -L /usr/local/lib -lm -lcrypt -lrt -lgsoap++
  39. 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) $<
  40. LINK=g++ -g -ggdb -o "$(OUTFILE)" $(ALL_OBJ)
  41. # Pattern rules
  42. $(OUTDIR)/%.o : ../lib/App/mastbaumSERVER/%.cpp
  43. $(COMPILE)
  44. # Build rules
  45. all: $(OUTFILE)
  46. $(OUTFILE): $(OUTDIR) deps $(OBJ)
  47. $(LINK)
  48. $(OUTDIR):
  49. $(MKDIR) -p "$(OUTDIR)"
  50. # Build dependencies
  51. deps:
  52. @(cd ../libDFSL/;$(MAKE) -f makefile CFG=$(CFG))
  53. # Rebuild this project
  54. rebuild: cleanall all
  55. # Clean this project
  56. clean:
  57. $(RM) -f $(OUTFILE)
  58. $(RM) -f $(OBJ)
  59. # Clean this project and all dependencies
  60. cleanall: clean
  61. @(cd ../libDFSL/;$(MAKE) -f makefile cleanall CFG=$(CFG))
  62. endif
  63. #
  64. # Configuration: Release
  65. #
  66. ifeq "$(CFG)" "Release"
  67. OUTDIR=Release
  68. OUTFILE=$(OUTDIR)/MastBaum
  69. CFG_INC=-I/usr/include/arm-linux-gnueabihf/qt5
  70. CFG_LIB=-L/opt/DFSL/lib -lONVIF -lDFSL -lpthread -lconfig++ -lcurl \
  71. `pkg-config opencv --libs` -lncurses -lcdk -lavdevice -lavformat \
  72. -lnewt -lQt5Concurrent -lQt5DBus -lQt5MultimediaWidgets \
  73. -lQt5Multimedia -lQt5Network -lQt5OpenGLExtensions -lQt5OpenGL \
  74. -lQt5PrintSupport -lQt5Sql -lQt5Test -lQt5Widgets -lQt5Gui -lQt5Xml \
  75. -lQt5Core -L/usr/local/mysql/lib -lmysqlclient -lwiringPi \
  76. -lwiringPiDev -L /usr/local/lib -lm -lcrypt -lrt -lgsoap++
  77. CFG_OBJ=
  78. COMMON_OBJ=$(OUTDIR)/ClientHandler.o $(OUTDIR)/interProcessProto.o \
  79. $(OUTDIR)/Kernel.o $(OUTDIR)/NetworkManager.o $(OUTDIR)/Server.o
  80. OBJ=$(COMMON_OBJ) $(CFG_OBJ)
  81. ALL_OBJ=$(OUTDIR)/ClientHandler.o $(OUTDIR)/interProcessProto.o \
  82. $(OUTDIR)/Kernel.o $(OUTDIR)/NetworkManager.o $(OUTDIR)/Server.o \
  83. -L/opt/DFSL/lib -lONVIF -lDFSL -lpthread -lconfig++ -lcurl \
  84. `pkg-config opencv --libs` -lncurses -lcdk -lavdevice -lavformat \
  85. -lnewt -lQt5Concurrent -lQt5DBus -lQt5MultimediaWidgets \
  86. -lQt5Multimedia -lQt5Network -lQt5OpenGLExtensions -lQt5OpenGL \
  87. -lQt5PrintSupport -lQt5Sql -lQt5Test -lQt5Widgets -lQt5Gui -lQt5Xml \
  88. -lQt5Core -L/usr/local/mysql/lib -lmysqlclient -lwiringPi \
  89. -lwiringPiDev -L /usr/local/lib -lm -lcrypt -lrt -lgsoap++
  90. COMPILE=g++ -c -x c++ -Ofast -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $<
  91. LINK=g++ -o "$(OUTFILE)" $(ALL_OBJ)
  92. # Pattern rules
  93. $(OUTDIR)/%.o : ../lib/App/mastbaumSERVER/%.cpp
  94. $(COMPILE)
  95. # Build rules
  96. all: $(OUTFILE)
  97. $(OUTFILE): $(OUTDIR) deps $(OBJ)
  98. $(LINK)
  99. $(OUTDIR):
  100. $(MKDIR) -p "$(OUTDIR)"
  101. # Build dependencies
  102. deps:
  103. @(cd ../libDFSL/;$(MAKE) -f makefile CFG=$(CFG))
  104. # Rebuild this project
  105. rebuild: cleanall all
  106. # Clean this project
  107. clean:
  108. $(RM) -f $(OUTFILE)
  109. $(RM) -f $(OBJ)
  110. # Clean this project and all dependencies
  111. cleanall: clean
  112. @(cd ../libDFSL/;$(MAKE) -f makefile cleanall CFG=$(CFG))
  113. endif