@@ -216,6 +216,15 @@ rest: libs | |||||
theme: libs | theme: libs | ||||
@$(MAKE) -C source/theme | @$(MAKE) -C source/theme | ||||
# --------------------------------------------------------------------------------------------------------------------- | |||||
# static targets | |||||
static-backend: libs | |||||
@$(MAKE) -C source/backend static | |||||
static-plugin: static-backend | |||||
@$(MAKE) -C source/plugin static | |||||
# --------------------------------------------------------------------------------------------------------------------- | # --------------------------------------------------------------------------------------------------------------------- | ||||
# hacks | # hacks | ||||
@@ -109,6 +109,8 @@ endif | |||||
all: $(TARGETS) | all: $(TARGETS) | ||||
$(MAKE) -C utils | $(MAKE) -C utils | ||||
static: $(OBJS_standalone) | |||||
# --------------------------------------------------------------------------------------------------------------------- | # --------------------------------------------------------------------------------------------------------------------- | ||||
clean: | clean: | ||||
@@ -36,7 +36,9 @@ | |||||
#ifdef USING_JUCE | #ifdef USING_JUCE | ||||
# include "AppConfig.h" | # include "AppConfig.h" | ||||
# include "juce_core/juce_core.h" | # include "juce_core/juce_core.h" | ||||
#else | |||||
#endif | |||||
#ifdef USING_RTAUDIO | |||||
# include "rtaudio/RtAudio.h" | # include "rtaudio/RtAudio.h" | ||||
# include "rtmidi/RtMidi.h" | # include "rtmidi/RtMidi.h" | ||||
#endif | #endif | ||||
@@ -94,7 +96,7 @@ const char* carla_get_complete_license_text() | |||||
#endif | #endif | ||||
"<li>rtmempool library by Nedko Arnaudov" | "<li>rtmempool library by Nedko Arnaudov" | ||||
"<li>serd, sord, sratom and lilv libraries for LV2 discovery</li>" | "<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>" | "<li>RtAudio v" RTAUDIO_VERSION " and RtMidi v" RTMIDI_VERSION " for native Audio and MIDI support</li>" | ||||
#endif | #endif | ||||
"<li>zita-resampler for audio file sample rate resampling</li>" | "<li>zita-resampler for audio file sample rate resampling</li>" | ||||
@@ -69,7 +69,6 @@ private: | |||||
unsigned int _phase; | unsigned int _phase; | ||||
unsigned int _pstep; | unsigned int _pstep; | ||||
float *_buff; | float *_buff; | ||||
void *_dummy [8]; | |||||
}; | }; | ||||
@@ -77,7 +77,6 @@ private: | |||||
float *_buff; | float *_buff; | ||||
float *_c1; | float *_c1; | ||||
float *_c2; | float *_c2; | ||||
void *_dummy [8]; | |||||
}; | }; | ||||
@@ -213,6 +213,8 @@ else | |||||
wine: $(BINDIR)/CarlaVstShellBridged.dll.so $(BINDIR)/CarlaVstFxShellBridged.dll.so | wine: $(BINDIR)/CarlaVstShellBridged.dll.so $(BINDIR)/CarlaVstFxShellBridged.dll.so | ||||
endif | endif | ||||
static: $(OBJDIR)/carla-host-plugin.cpp.o | |||||
# --------------------------------------------------------------------------------------------------------------------- | # --------------------------------------------------------------------------------------------------------------------- | ||||
BUNDLES = audiogain files miditools | BUNDLES = audiogain files miditools | ||||