X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fcore%2FMakefile;h=0c1b49afe095bbc55d643d7cbd30b48a237bb8f3;hb=34c7916b96a65dbfb6d9414aca781d6292474f98;hp=5ef6eb2dfa0b280b4216c0a8cee44a175fcfb778;hpb=4ed2712bbdac2182c7c0d6477ac77c9f92aaf02a;p=melted diff --git a/src/modules/core/Makefile b/src/modules/core/Makefile index 5ef6eb2..0c1b49a 100644 --- a/src/modules/core/Makefile +++ b/src/modules/core/Makefile @@ -1,20 +1,46 @@ +include ../../../config.mak -TARGET = ../libmltcore.so +TARGET = ../libmltcore$(LIBSUF) OBJS = factory.o \ + producer_colour.o \ + producer_noise.o \ producer_ppm.o \ - filter_deinterlace.o \ + filter_brightness.o \ + filter_channelcopy.o \ + filter_data_feed.o \ + filter_data_show.o \ + filter_gamma.o \ filter_greyscale.o \ - transition_composite.o - -CFLAGS = -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread + filter_luma.o \ + filter_mirror.o \ + filter_obscure.o \ + filter_region.o \ + filter_rescale.o \ + filter_resize.o \ + filter_transition.o \ + filter_watermark.o \ + transition_composite.o \ + transition_luma.o \ + transition_mix.o \ + transition_region.o \ + consumer_null.o + +ASM_OBJS = + +CFLAGS += -I../.. + +LDFLAGS+=-L../../framework -lmlt SRCS := $(OBJS:.o=.c) all: $(TARGET) -$(TARGET): $(OBJS) - $(CC) -shared -o $@ $(OBJS) $(LDFLAGS) +$(TARGET): $(OBJS) $(ASM_OBJS) + $(CC) $(SHFLAGS) -o $@ $(OBJS) $(ASM_OBJS) $(LDFLAGS) + +composite_line_yuv_mmx.o: composite_line_yuv_mmx.S + $(CC) -o $@ -c composite_line_yuv_mmx.S depend: $(SRCS) $(CC) -MM $(CFLAGS) $^ 1>.depend @@ -23,7 +49,11 @@ dist-clean: clean rm -f .depend clean: - rm -f $(OBJS) $(TARGET) + rm -f $(OBJS) $(ASM_OBJS) $(TARGET) + +install: all + install -m 755 $(TARGET) "$(DESTDIR)$(prefix)/share/mlt/modules" + install -m 644 ../data_fx.properties "$(DESTDIR)$(prefix)/share/mlt/modules" ifneq ($(wildcard .depend),) include .depend