aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends/Makefile
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2019-08-07 17:25:24 +0200
committercbdev <cb@cbcdn.com>2019-08-07 17:25:24 +0200
commit47a5f9a21bd661f9161d6175ebd074962daee255 (patch)
tree8faa7b645cd719eb64a82e41f2bc536579ef265b /backends/Makefile
parent20a6882a063404858588596bd3f12bdd9e53460a (diff)
downloadmidimonster-47a5f9a21bd661f9161d6175ebd074962daee255.tar.gz
midimonster-47a5f9a21bd661f9161d6175ebd074962daee255.tar.bz2
midimonster-47a5f9a21bd661f9161d6175ebd074962daee255.zip
Fix export visibilities for GCC
Diffstat (limited to 'backends/Makefile')
-rw-r--r--backends/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/backends/Makefile b/backends/Makefile
index 2374df0..3308ef0 100644
--- a/backends/Makefile
+++ b/backends/Makefile
@@ -1,8 +1,8 @@
.PHONY: all clean full
-OPTIONAL_BACKENDS = ola.so
-WINDOWS_BACKENDS = loopback.dll artnet.dll osc.dll sacn.dll
LINUX_BACKENDS = midi.so evdev.so
-BACKENDS = artnet.so osc.so loopback.so sacn.so lua.so
+WINDOWS_BACKENDS = artnet.dll osc.dll loopback.dll sacn.dll maweb.dll
+BACKENDS = artnet.so osc.so loopback.so sacn.so lua.so maweb.so
+OPTIONAL_BACKENDS = ola.so
BACKEND_LIB = libmmbackend.o
SYSTEM := $(shell uname -s)
@@ -32,6 +32,10 @@ sacn.so: ADDITIONAL_OBJS += $(BACKEND_LIB)
sacn.dll: ADDITIONAL_OBJS += $(BACKEND_LIB)
sacn.dll: LDLIBS += -lws2_32
+maweb.so: ADDITIONAL_OBJS += $(BACKEND_LIB)
+maweb.dll: ADDITIONAL_OBJS += $(BACKEND_LIB)
+maweb.dll: LDLIBS += -lws2_32
+
midi.so: LDLIBS = -lasound
evdev.so: CFLAGS += $(shell pkg-config --cflags libevdev)
evdev.so: LDLIBS = $(shell pkg-config --libs libevdev)