The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
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.

136 lines
5.6KB

  1. # Automatically generated makefile, created by the Projucer
  2. # Don't edit this file! Your changes will be overwritten when you re-save the Projucer project!
  3. # build with "V=1" for verbose builds
  4. ifeq ($(V), 1)
  5. V_AT =
  6. else
  7. V_AT = @
  8. endif
  9. # (this disables dependency generation if multiple architectures are set)
  10. DEPFLAGS := $(if $(word 2, $(TARGET_ARCH)), , -MMD)
  11. ifndef STRIP
  12. STRIP=strip
  13. endif
  14. ifndef AR
  15. AR=ar
  16. endif
  17. ifndef CONFIG
  18. CONFIG=Debug
  19. endif
  20. ifeq ($(CONFIG),Debug)
  21. JUCE_BINDIR := build
  22. JUCE_LIBDIR := build
  23. JUCE_OBJDIR := build/intermediate/Debug
  24. JUCE_OUTDIR := build
  25. ifeq ($(TARGET_ARCH),)
  26. TARGET_ARCH := -march=native
  27. endif
  28. JUCE_CPPFLAGS := $(DEPFLAGS) -DLINUX=1 -DDEBUG=1 -D_DEBUG=1 -DJUCER_LINUX_MAKE_6D53C8B4=1 -DJUCE_APP_VERSION=1.0.0 -DJUCE_APP_VERSION_HEX=0x10000 $(shell pkg-config --cflags freetype2 libcurl x11 xext xinerama) -pthread -I../../JuceLibraryCode -I../../../../modules $(CPPFLAGS)
  29. JUCE_CPPFLAGS_APP := -DJucePlugin_Build_VST=0 -DJucePlugin_Build_VST3=0 -DJucePlugin_Build_AU=0 -DJucePlugin_Build_AUv3=0 -DJucePlugin_Build_RTAS=0 -DJucePlugin_Build_AAX=0 -DJucePlugin_Build_Standalone=0
  30. JUCE_TARGET_APP := OSCSender
  31. JUCE_CFLAGS += $(JUCE_CPPFLAGS) $(TARGET_ARCH) -g -ggdb -O0 $(CFLAGS)
  32. JUCE_CXXFLAGS += $(CXXFLAGS) $(JUCE_CFLAGS) -std=c++11 $(CXXFLAGS)
  33. JUCE_LDFLAGS += $(TARGET_ARCH) -L$(JUCE_BINDIR) -L$(JUCE_LIBDIR) -L/usr/X11R6/lib/ $(shell pkg-config --libs freetype2 libcurl x11 xext xinerama) -ldl -lpthread -lrt $(LDFLAGS)
  34. CLEANCMD = rm -rf $(JUCE_OUTDIR)/$(TARGET) $(JUCE_OBJDIR)
  35. endif
  36. ifeq ($(CONFIG),Release)
  37. JUCE_BINDIR := build
  38. JUCE_LIBDIR := build
  39. JUCE_OBJDIR := build/intermediate/Release
  40. JUCE_OUTDIR := build
  41. ifeq ($(TARGET_ARCH),)
  42. TARGET_ARCH := -march=native
  43. endif
  44. JUCE_CPPFLAGS := $(DEPFLAGS) -DLINUX=1 -DNDEBUG=1 -DJUCER_LINUX_MAKE_6D53C8B4=1 -DJUCE_APP_VERSION=1.0.0 -DJUCE_APP_VERSION_HEX=0x10000 $(shell pkg-config --cflags freetype2 libcurl x11 xext xinerama) -pthread -I../../JuceLibraryCode -I../../../../modules $(CPPFLAGS)
  45. JUCE_CPPFLAGS_APP := -DJucePlugin_Build_VST=0 -DJucePlugin_Build_VST3=0 -DJucePlugin_Build_AU=0 -DJucePlugin_Build_AUv3=0 -DJucePlugin_Build_RTAS=0 -DJucePlugin_Build_AAX=0 -DJucePlugin_Build_Standalone=0
  46. JUCE_TARGET_APP := OSCSender
  47. JUCE_CFLAGS += $(JUCE_CPPFLAGS) $(TARGET_ARCH) -O3 $(CFLAGS)
  48. JUCE_CXXFLAGS += $(CXXFLAGS) $(JUCE_CFLAGS) -std=c++11 $(CXXFLAGS)
  49. JUCE_LDFLAGS += $(TARGET_ARCH) -L$(JUCE_BINDIR) -L$(JUCE_LIBDIR) -fvisibility=hidden -L/usr/X11R6/lib/ $(shell pkg-config --libs freetype2 libcurl x11 xext xinerama) -ldl -lpthread -lrt $(LDFLAGS)
  50. CLEANCMD = rm -rf $(JUCE_OUTDIR)/$(TARGET) $(JUCE_OBJDIR)
  51. endif
  52. OBJECTS_APP := \
  53. $(JUCE_OBJDIR)/Main_90ebc5c2.o \
  54. $(JUCE_OBJDIR)/include_juce_core_f26d17db.o \
  55. $(JUCE_OBJDIR)/include_juce_data_structures_7471b1e3.o \
  56. $(JUCE_OBJDIR)/include_juce_events_fd7d695.o \
  57. $(JUCE_OBJDIR)/include_juce_graphics_f817e147.o \
  58. $(JUCE_OBJDIR)/include_juce_gui_basics_e3f79785.o \
  59. $(JUCE_OBJDIR)/include_juce_osc_f3df604d.o \
  60. .PHONY: clean all
  61. all : $(JUCE_OUTDIR)/$(JUCE_TARGET_APP)
  62. $(JUCE_OUTDIR)/$(JUCE_TARGET_APP) : check-pkg-config $(OBJECTS_APP) $(RESOURCES)
  63. @echo Linking "OSCSender - App"
  64. -$(V_AT)mkdir -p $(JUCE_BINDIR)
  65. -$(V_AT)mkdir -p $(JUCE_LIBDIR)
  66. -$(V_AT)mkdir -p $(JUCE_OUTDIR)
  67. $(V_AT)$(CXX) -o $(JUCE_OUTDIR)/$(JUCE_TARGET_APP) $(OBJECTS_APP) $(JUCE_LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
  68. $(JUCE_OBJDIR)/Main_90ebc5c2.o: ../../Source/Main.cpp
  69. -$(V_AT)mkdir -p $(JUCE_OBJDIR)
  70. @echo "Compiling Main.cpp"
  71. $(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
  72. $(JUCE_OBJDIR)/include_juce_core_f26d17db.o: ../../JuceLibraryCode/include_juce_core.cpp
  73. -$(V_AT)mkdir -p $(JUCE_OBJDIR)
  74. @echo "Compiling include_juce_core.cpp"
  75. $(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
  76. $(JUCE_OBJDIR)/include_juce_data_structures_7471b1e3.o: ../../JuceLibraryCode/include_juce_data_structures.cpp
  77. -$(V_AT)mkdir -p $(JUCE_OBJDIR)
  78. @echo "Compiling include_juce_data_structures.cpp"
  79. $(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
  80. $(JUCE_OBJDIR)/include_juce_events_fd7d695.o: ../../JuceLibraryCode/include_juce_events.cpp
  81. -$(V_AT)mkdir -p $(JUCE_OBJDIR)
  82. @echo "Compiling include_juce_events.cpp"
  83. $(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
  84. $(JUCE_OBJDIR)/include_juce_graphics_f817e147.o: ../../JuceLibraryCode/include_juce_graphics.cpp
  85. -$(V_AT)mkdir -p $(JUCE_OBJDIR)
  86. @echo "Compiling include_juce_graphics.cpp"
  87. $(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
  88. $(JUCE_OBJDIR)/include_juce_gui_basics_e3f79785.o: ../../JuceLibraryCode/include_juce_gui_basics.cpp
  89. -$(V_AT)mkdir -p $(JUCE_OBJDIR)
  90. @echo "Compiling include_juce_gui_basics.cpp"
  91. $(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
  92. $(JUCE_OBJDIR)/include_juce_osc_f3df604d.o: ../../JuceLibraryCode/include_juce_osc.cpp
  93. -$(V_AT)mkdir -p $(JUCE_OBJDIR)
  94. @echo "Compiling include_juce_osc.cpp"
  95. $(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
  96. check-pkg-config:
  97. @command -v pkg-config >/dev/null 2>&1 || { echo >&2 "pkg-config not installed. Please, install it."; exit 1; }
  98. @pkg-config --print-errors freetype2 libcurl x11 xext xinerama
  99. clean:
  100. @echo Cleaning OSCSender
  101. $(V_AT)$(CLEANCMD)
  102. strip:
  103. @echo Stripping OSCSender
  104. -$(V_AT)$(STRIP) --strip-unneeded $(JUCE_OUTDIR)/$(TARGET)
  105. -include $(OBJECTS_APP:%.o=%.d)