Browse Source

DGL fix

tags/1.9.4
falkTX 10 years ago
parent
commit
274f1aecd8
6 changed files with 16 additions and 14 deletions
  1. +1
    -1
      source/Makefile.mk
  2. +2
    -0
      source/backend/plugin/NativePlugin.cpp
  3. +1
    -1
      source/backend/standalone/Makefile
  4. +9
    -9
      source/modules/daz-plugins/Makefile
  5. +1
    -1
      source/modules/daz-plugins/_all.c
  6. +2
    -2
      source/plugin/Makefile

+ 1
- 1
source/Makefile.mk View File

@@ -242,7 +242,7 @@ RTMIDI_FLAGS += -D__RTMIDI_DEBUG__
endif

ifeq ($(LINUX),true)
ifeq ($(HAVE_OPENGL),true)
ifeq ($(HAVE_DGL),true)
DGL_FLAGS = $(shell pkg-config --cflags gl x11)
DGL_LIBS = $(shell pkg-config --libs gl x11)
endif


+ 2
- 0
source/backend/plugin/NativePlugin.cpp View File

@@ -2215,6 +2215,8 @@ public:

CARLA_SAFE_ASSERT_BREAK(fDescriptor != nullptr);

carla_debug("Check vs \"%s\"", fDescriptor->label);

if (fDescriptor->label != nullptr && std::strcmp(fDescriptor->label, label) == 0)
break;



+ 1
- 1
source/backend/standalone/Makefile View File

@@ -41,7 +41,7 @@ LINK_FLAGS += $(JUCE_GRAPHICS_LIBS)
LINK_FLAGS += $(JUCE_GUI_BASICS_LIBS)
endif

ifeq ($(HAVE_OPENGL),true)
ifeq ($(HAVE_DGL),true)
STATIC_LIBS += ../../modules/dgl.a
LINK_FLAGS += $(DGL_LIBS)
endif


+ 9
- 9
source/modules/daz-plugins/Makefile View File

@@ -107,7 +107,7 @@ endif

# --------------------------------------------------------------

ifeq ($(HAVE_OPENGL),true)
ifeq ($(HAVE_DGL),true)
OBJS += \
distrho-3bandeq.cpp.o \
distrho-3bandsplitter.cpp.o \
@@ -234,28 +234,28 @@ audio-file.cpp.o: audio-file.cpp audio-base.hpp $(CXXDEPS)
$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@

distrho-3bandeq.cpp.o: distrho-3bandeq.cpp 3bandeq/*.cpp 3bandeq/*.h 3bandeq/*.hpp distrho/DistrhoPluginCarla.cpp $(CXXDEPS)
$(CXX) $< $(BUILD_CXX_FLAGS) -I3bandeq -DDISTRHO_NAMESPACE=DISTRHO_3BandEQ -c -o $@
$(CXX) $< $(BUILD_CXX_FLAGS) -I../dgl -I3bandeq -DDISTRHO_NAMESPACE=DISTRHO_3BandEQ -c -o $@

distrho-3bandsplitter.cpp.o: distrho-3bandsplitter.cpp 3bandsplitter/*.cpp 3bandsplitter/*.h 3bandsplitter/*.hpp distrho/DistrhoPluginCarla.cpp $(CXXDEPS)
$(CXX) $< $(BUILD_CXX_FLAGS) -I3bandsplitter -DDISTRHO_NAMESPACE=DISTRHO_3BandSplitter -c -o $@
$(CXX) $< $(BUILD_CXX_FLAGS) -I../dgl -I3bandsplitter -DDISTRHO_NAMESPACE=DISTRHO_3BandSplitter -c -o $@

distrho-nekobi.cpp.o: distrho-nekobi.cpp nekobi/*.cpp nekobi/*.h nekobi/*.hpp nekobi/nekobee-src/*.c nekobi/nekobee-src/*.h distrho/DistrhoPluginCarla.cpp $(CXXDEPS)
$(CXX) $< $(BUILD_CXX_FLAGS) -Inekobi -DDISTRHO_NAMESPACE=DISTRHO_Nekobi -c -o $@
$(CXX) $< $(BUILD_CXX_FLAGS) -I../dgl -Inekobi -DDISTRHO_NAMESPACE=DISTRHO_Nekobi -c -o $@

distrho-pingpongpan.cpp.o: distrho-pingpongpan.cpp pingpongpan/*.cpp pingpongpan/*.h pingpongpan/*.hpp distrho/DistrhoPluginCarla.cpp $(CXXDEPS)
$(CXX) $< $(BUILD_CXX_FLAGS) -Ipingpongpan -DDISTRHO_NAMESPACE=DISTRHO_PingPongPan -c -o $@
$(CXX) $< $(BUILD_CXX_FLAGS) -I../dgl -Ipingpongpan -DDISTRHO_NAMESPACE=DISTRHO_PingPongPan -c -o $@

distrho-stereoenhancer.cpp.o: distrho-stereoenhancer.cpp stereoenhancer/*.cpp stereoenhancer/*.h stereoenhancer/*.hpp distrho/DistrhoPluginCarla.cpp $(CXXDEPS)
$(CXX) $< $(BUILD_CXX_FLAGS) -Istereoenhancer -DDISTRHO_NAMESPACE=DISTRHO_StereoEnhancer -c -o $@
$(CXX) $< $(BUILD_CXX_FLAGS) -I../dgl -Istereoenhancer -DDISTRHO_NAMESPACE=DISTRHO_StereoEnhancer -c -o $@

distrho-bigmeter.cpp.o: distrho-bigmeter.cpp bigmeter/*.cpp bigmeter/*.h bigmeter/*.hpp distrho/DistrhoPluginCarla.cpp $(CXXDEPS)
$(CXX) $< $(BUILD_CXX_FLAGS) -Ibigmeter -DDISTRHO_NAMESPACE=DISTRHO_BigMeter -c -o $@
$(CXX) $< $(BUILD_CXX_FLAGS) -I../dgl -Ibigmeter -DDISTRHO_NAMESPACE=DISTRHO_BigMeter -c -o $@

distrho-bigmeterM.cpp.o: distrho-bigmeterM.cpp bigmeterM/*.cpp bigmeterM/*.h bigmeterM/*.hpp distrho/DistrhoPluginCarla.cpp $(CXXDEPS)
$(CXX) $< $(BUILD_CXX_FLAGS) -IbigmeterM -DDISTRHO_NAMESPACE=DISTRHO_BigMeterM -c -o $@
$(CXX) $< $(BUILD_CXX_FLAGS) -I../dgl -IbigmeterM -DDISTRHO_NAMESPACE=DISTRHO_BigMeterM -c -o $@

distrho-notes.cpp.o: distrho-notes.cpp notes/*.cpp notes/*.h notes/*.hpp distrho/DistrhoPluginCarla.cpp $(CXXDEPS)
$(CXX) $< $(BUILD_CXX_FLAGS) -Inotes -DDISTRHO_NAMESPACE=DISTRHO_Notes -c -o $@
$(CXX) $< $(BUILD_CXX_FLAGS) -I../dgl -Inotes -DDISTRHO_NAMESPACE=DISTRHO_Notes -c -o $@

midi-file.cpp.o: midi-file.cpp midi-base.hpp $(CXXDEPS)
$(CXX) $< $(MF_CXX_FLAGS) -c -o $@


+ 1
- 1
source/modules/daz-plugins/_all.c View File

@@ -107,7 +107,7 @@ void carla_register_all_plugins()
carla_register_native_plugin_midifile();
#endif

#ifdef HAVE_OPENGL
#ifdef HAVE_DGL
// DISTRHO plugins (OpenGL)
carla_register_native_plugin_3BandEQ();
carla_register_native_plugin_3BandSplitter();


+ 2
- 2
source/plugin/Makefile View File

@@ -62,7 +62,7 @@ LINK_FLAGS += $(JUCE_GRAPHICS_LIBS)
LINK_FLAGS += $(JUCE_GUI_BASICS_LIBS)
endif

ifeq ($(HAVE_OPENGL),true)
ifeq ($(HAVE_DGL),true)
LINK_FLAGS += $(DGL_LIBS)
endif

@@ -111,7 +111,7 @@ LIBS += ../modules/juce_graphics.a
LIBS += ../modules/juce_gui_basics.a
endif

ifeq ($(HAVE_OPENGL),true)
ifeq ($(HAVE_DGL),true)
LIBS += ../modules/dgl.a
endif



Loading…
Cancel
Save