X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2FMakefile;h=2f3e1e3919955c8a0ec97a8bcdaba11e4614b1fe;hb=95f429b56026f5897ebad9060608b6631dcf7515;hp=b9f2c7086732a52a5129ef374f201c5a0eac345d;hpb=a0a988c50fce047427b445d5e21d7354862e8e23;p=melted diff --git a/src/framework/Makefile b/src/framework/Makefile index b9f2c70..2f3e1e3 100644 --- a/src/framework/Makefile +++ b/src/framework/Makefile @@ -6,6 +6,7 @@ OBJS = mlt_frame.o \ mlt_deque.o \ mlt_property.o \ mlt_properties.o \ + mlt_events.o \ mlt_service.o \ mlt_producer.o \ mlt_multitrack.o \ @@ -17,18 +18,35 @@ OBJS = mlt_frame.o \ mlt_tractor.o \ mlt_factory.o \ mlt_repository.o \ - mlt_pool.o + mlt_pool.o \ + mlt_tokeniser.o -SRCS := $(OBJS:.o=.c) +INCS = mlt_consumer.h \ + mlt_factory.h \ + mlt_filter.h \ + mlt.h \ + mlt_multitrack.h \ + mlt_pool.h \ + mlt_properties.h \ + mlt_events.h \ + mlt_repository.h \ + mlt_tractor.h \ + mlt_types.h \ + mlt_deque.h \ + mlt_field.h \ + mlt_frame.h \ + mlt_playlist.h \ + mlt_producer.h \ + mlt_property.h \ + mlt_service.h \ + mlt_transition.h \ + mlt_tokeniser.h -CFLAGS = -g -O3 -Wall -D_FILE_OFFSET_BITS=64 -pthread -DPREFIX="\"$(prefix)\"" +SRCS := $(OBJS:.o=.c) -LDFLAGS = -lm -ldl -lpthread +CFLAGS += -rdynamic -DPREFIX="\"$(prefix)\"" -ifeq ($(MLT_GPROF),true) -CFLAGS+=-p -LDFLAGS+=-p -endif +LDFLAGS += -lm $(LIBDL) -lpthread all: $(TARGET) @@ -46,26 +64,8 @@ clean: install: install -m 755 $(TARGET) $(prefix)/lib/libmlt.so - mkdir -p "$(prefix)/include/mlt/framework" - install -m 644 mlt_consumer.h \ - mlt_factory.h \ - mlt_filter.h \ - mlt.h \ - mlt_multitrack.h \ - mlt_pool.h \ - mlt_properties.h \ - mlt_repository.h \ - mlt_tractor.h \ - mlt_types.h \ - mlt_deque.h \ - mlt_field.h \ - mlt_frame.h \ - mlt_playlist.h \ - mlt_producer.h \ - mlt_property.h \ - mlt_service.h \ - mlt_transition.h \ - "$(prefix)/include/mlt/framework" + install -d "$(prefix)/include/mlt/framework" + install -m 644 $(INCS) "$(prefix)/include/mlt/framework" ifneq ($(wildcard .depend),) include .depend