Browse Source

Add static-plugin target, fix some warnings

tags/v2.4.2
falkTX 3 years ago
parent
commit
8c9edf7d51
6 changed files with 17 additions and 4 deletions
  1. +9
    -0
      Makefile
  2. +2
    -0
      source/backend/Makefile
  3. +4
    -2
      source/backend/utils/Information.cpp
  4. +0
    -1
      source/modules/zita-resampler/resampler.h
  5. +0
    -1
      source/modules/zita-resampler/vresampler.h
  6. +2
    -0
      source/plugin/Makefile

+ 9
- 0
Makefile View File

@@ -216,6 +216,15 @@ rest: libs
theme: libs
@$(MAKE) -C source/theme

# ---------------------------------------------------------------------------------------------------------------------
# static targets

static-backend: libs
@$(MAKE) -C source/backend static

static-plugin: static-backend
@$(MAKE) -C source/plugin static

# ---------------------------------------------------------------------------------------------------------------------
# hacks



+ 2
- 0
source/backend/Makefile View File

@@ -109,6 +109,8 @@ endif
all: $(TARGETS)
$(MAKE) -C utils

static: $(OBJS_standalone)

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

clean:


+ 4
- 2
source/backend/utils/Information.cpp View File

@@ -36,7 +36,9 @@
#ifdef USING_JUCE
# include "AppConfig.h"
# include "juce_core/juce_core.h"
#else
#endif

#ifdef USING_RTAUDIO
# include "rtaudio/RtAudio.h"
# include "rtmidi/RtMidi.h"
#endif
@@ -94,7 +96,7 @@ const char* carla_get_complete_license_text()
#endif
"<li>rtmempool library by Nedko Arnaudov"
"<li>serd, sord, sratom and lilv libraries for LV2 discovery</li>"
#ifndef USING_JUCE
#ifdef USING_RTAUDIO
"<li>RtAudio v" RTAUDIO_VERSION " and RtMidi v" RTMIDI_VERSION " for native Audio and MIDI support</li>"
#endif
"<li>zita-resampler for audio file sample rate resampling</li>"


+ 0
- 1
source/modules/zita-resampler/resampler.h View File

@@ -69,7 +69,6 @@ private:
unsigned int _phase;
unsigned int _pstep;
float *_buff;
void *_dummy [8];
};




+ 0
- 1
source/modules/zita-resampler/vresampler.h View File

@@ -77,7 +77,6 @@ private:
float *_buff;
float *_c1;
float *_c2;
void *_dummy [8];
};




+ 2
- 0
source/plugin/Makefile View File

@@ -213,6 +213,8 @@ else
wine: $(BINDIR)/CarlaVstShellBridged.dll.so $(BINDIR)/CarlaVstFxShellBridged.dll.so
endif

static: $(OBJDIR)/carla-host-plugin.cpp.o

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

BUNDLES = audiogain files miditools


Loading…
Cancel
Save