OBJS = producer_swfdec.o
ifeq ($(targetos), MinGW)
-LDFLAGS += -enable-auto-import -lz
+LDFLAGS += -Wl,enable-auto-import -lz
endif
SRCS := $(OBJS:.o=.c)
rm -f $(OBJS) $(TARGET)
install: all
- install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt"
- install -d "$(DESTDIR)$(datadir)/mlt/swfdec"
- install -m 644 *.yml "$(DESTDIR)$(datadir)/mlt/swfdec"
+ install -m 755 $(TARGET) "$(DESTDIR)$(moduledir)"
+ install -d "$(DESTDIR)$(mltdatadir)/swfdec"
+ install -m 644 *.yml "$(DESTDIR)$(mltdatadir)/swfdec"
ifneq ($(wildcard .depend),)
include .depend