diff --git a/Makefile b/Makefile index e5f91b8b3..575a25263 100644 --- a/Makefile +++ b/Makefile @@ -720,6 +720,7 @@ endif # HAVE_PYQT # ------------------------------------------------------------------------------------------------------------- +ifeq ($(CAN_GENERATE_LV2_TTL),true) # Install lv2 plugin install -d $(DESTDIR)$(LIBDIR)/lv2/carla.lv2 @@ -733,6 +734,7 @@ endif # HAVE_PYQT $(LINK) ../../carla/$$i $(DESTDIR)$(LIBDIR)/lv2/carla.lv2/$$i; \ done rm -f $(DESTDIR)$(LIBDIR)/lv2/carla.lv2/libcarla_standalone2.* +endif ifeq ($(LINUX),true) # Link jack app bridge diff --git a/source/Makefile.mk b/source/Makefile.mk index 0bea6a188..432b77fd4 100644 --- a/source/Makefile.mk +++ b/source/Makefile.mk @@ -764,6 +764,22 @@ endif LINK := ln -sf # --------------------------------------------------------------------------------------------------------------------- +# Check if we can generate ttl files + +ifneq ($(BUILDING_FOR_WINE),true) +ifeq ($(CROSS_COMPILING),true) +NEEDS_WINE = true +endif +endif + +ifneq ($(CROSS_COMPILING),true) +CAN_GENERATE_LV2_TTL = true +else ifeq ($(NEEDS_WINE),true) +CAN_GENERATE_LV2_TTL = true +endif + +# --------------------------------------------------------------------------------------------------------------------- +# Check if we should build the external plugins ifneq ($(DEBUG),true) ifneq ($(TESTBUILD),true) diff --git a/source/plugin/Makefile b/source/plugin/Makefile index 560cec1ac..2e5c1063c 100644 --- a/source/plugin/Makefile +++ b/source/plugin/Makefile @@ -44,18 +44,6 @@ ifeq ($(HAVE_X11),true) BUILD_CXX_FLAGS += $(X11_FLAGS) endif -ifeq ($(BUILDING_FOR_WINDOWS),true) -ifeq ($(CROSS_COMPILING),true) -NEEDS_WINE = true -endif -endif - -ifneq ($(CROSS_COMPILING),true) -CAN_GENERATE_LV2_TTL = true -else ifeq ($(NEEDS_WINE),true) -CAN_GENERATE_LV2_TTL = true -endif - # --------------------------------------------------------------------------------------------------------------------- # Libs