Browse Source

zyn only test build

tags/1.9.4
falkTX 11 years ago
parent
commit
9b46d3124f
2 changed files with 11 additions and 5 deletions
  1. +9
    -0
      source/bridges/CarlaBridgePlugin.cpp
  2. +2
    -5
      source/bridges/Makefile

+ 9
- 0
source/bridges/CarlaBridgePlugin.cpp View File

@@ -436,6 +436,7 @@ int main(int argc, char* argv[])
{
CARLA_BRIDGE_USE_NAMESPACE

#if 0
if (argc != 6)
{
carla_stdout("usage: %s <osc-url|\"null\"> <type> <filename> <name|\"(none)\"> <label>", argv[0]);
@@ -470,6 +471,14 @@ int main(int argc, char* argv[])
carla_stderr("Invalid plugin type '%s'", stype);
return 1;
}
#else
const char* const oscUrl = "null";
const char* const filename = "zynaddsubfx";
const char* const name = nullptr;
const char* const label = "zynaddsubfx";
const bool useOsc = false;
CarlaBackend::PluginType itype = CarlaBackend::PLUGIN_INTERNAL;
#endif

// Init Plugin client
CarlaPluginClient client(name ? name : label);


+ 2
- 5
source/bridges/Makefile View File

@@ -45,18 +45,15 @@ NATIVE_BUILD_FLAGS = $(BUILD_PLUGIN_FLAGS) $(shell pkg-config --cflags jack) -D
NATIVE_LINK_FLAGS = $(LINK_PLUGIN_FLAGS) $(shell pkg-config --libs jack) -ldl

ifeq ($(HAVE_AF_DEPS),true)
NATIVE_BUILD_FLAGS += -DWANT_AUDIOFILE
NATIVE_LINK_FLAGS += $(shell pkg-config --libs libavcodec libavformat sndfile)
endif

ifeq ($(HAVE_ZYN_DEPS),true)
NATIVE_BUILD_FLAGS += -DWANT_ZYNADDSUBFX
NATIVE_LINK_FLAGS += $(shell pkg-config --libs fftw3 mxml)
endif

ifeq ($(HAVE_SUIL),true)
NATIVE_BUILD_FLAGS += $(shell pkg-config --cflags suil-0) -DWANT_SUIL
NATIVE_LINK_FLAGS += $(shell pkg-config --libs suil-0)
endif

POSIX_BUILD_FLAGS = $(BUILD_PLUGIN_FLAGS)
POSIX_32BIT_FLAGS = $(32BIT_FLAGS) -L/usr/lib32 -L/usr/lib/i386-linux-gnu
POSIX_64BIT_FLAGS = $(64BIT_FLAGS) -L/usr/lib64 -L/usr/lib/x86_64-linux-gnu


Loading…
Cancel
Save