]> git.sesse.net Git - mlt/blobdiff - src/modules/sdl/Makefile
Fix race condition in mlt_consumer_stop().
[mlt] / src / modules / sdl / Makefile
index 1bb3b7a68c2e19e121395318297d2dccd4a8bf6a..e368730c0226c74c02708ed876a3be0ec7c3f230 100644 (file)
@@ -17,7 +17,7 @@ OBJS = factory.o \
 ifeq ($(targetos),Darwin)
 CFLAGS += -ObjC
 LDFLAGS += -lobjc -framework Foundation
-else ifeq ($(targetos), Linux|FreeBSD)
+else ifneq ($(targetos), MinGW)
 LDFLAGS += -lX11
 endif
 
@@ -37,11 +37,6 @@ OBJS += consumer_sdl_osx.o
 SRCS += consumer_sdl_osx.m consumer_sdl_osx.h
 endif
 
-ifeq ($(targetos), MinGW)
-OBJS += ../../win32/win32.o
-SRCS += ../../win32/win32.c
-endif
-
 all:   $(TARGET)
 
 $(TARGET): $(OBJS)
@@ -57,7 +52,9 @@ clean:
                rm -f $(OBJS) $(TARGET)
 
 install: all
-       install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt"
+       install -m 755 $(TARGET) "$(DESTDIR)$(moduledir)"
+       install -d "$(DESTDIR)$(mltdatadir)/sdl"
+       install -m 644 *.yml "$(DESTDIR)$(mltdatadir)/sdl"
 
 ifneq ($(wildcard .depend),)
 include .depend