#!/usr/bin/make -f include /usr/share/dpkg/architecture.mk include /usr/share/dpkg/buildtools.mk include /usr/share/dpkg/buildflags.mk export VERBOSE=1 noatomicarch = $(shell dpkg-architecture -qDEB_HOST_ARCH | egrep -x "(armel|powerpc|powerpcspe|m68k|mips|mipsel|sh4|riscv64)") # link with libatomic on architectures without built-in atomic ifeq ($(if $(noatomicarch),atomic), atomic) LIBS += -latomic endif CFLAGS += $(CPPFLAGS) CXXFLAGS += $(CPPFLAGS) %: dh $@ override_dh_auto_configure: $(MAKE) config FEATURES='jack ladspa lv2 vst2 xdg' PREFIX=/usr dh_auto_configure override_dh_auto_test: # the test suite requires build options incompatible with what we # ship in the package, so disable until upstream resolves this