@@ -720,6 +720,7 @@ endif # HAVE_PYQT | |||||
# ------------------------------------------------------------------------------------------------------------- | # ------------------------------------------------------------------------------------------------------------- | ||||
ifeq ($(CAN_GENERATE_LV2_TTL),true) | |||||
# Install lv2 plugin | # Install lv2 plugin | ||||
install -d $(DESTDIR)$(LIBDIR)/lv2/carla.lv2 | install -d $(DESTDIR)$(LIBDIR)/lv2/carla.lv2 | ||||
@@ -733,6 +734,7 @@ endif # HAVE_PYQT | |||||
$(LINK) ../../carla/$$i $(DESTDIR)$(LIBDIR)/lv2/carla.lv2/$$i; \ | $(LINK) ../../carla/$$i $(DESTDIR)$(LIBDIR)/lv2/carla.lv2/$$i; \ | ||||
done | done | ||||
rm -f $(DESTDIR)$(LIBDIR)/lv2/carla.lv2/libcarla_standalone2.* | rm -f $(DESTDIR)$(LIBDIR)/lv2/carla.lv2/libcarla_standalone2.* | ||||
endif | |||||
ifeq ($(LINUX),true) | ifeq ($(LINUX),true) | ||||
# Link jack app bridge | # Link jack app bridge | ||||
@@ -764,6 +764,22 @@ endif | |||||
LINK := ln -sf | 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 ($(DEBUG),true) | ||||
ifneq ($(TESTBUILD),true) | ifneq ($(TESTBUILD),true) | ||||
@@ -44,18 +44,6 @@ ifeq ($(HAVE_X11),true) | |||||
BUILD_CXX_FLAGS += $(X11_FLAGS) | BUILD_CXX_FLAGS += $(X11_FLAGS) | ||||
endif | 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 | # Libs | ||||