]> git.sesse.net Git - mlt/blob - mlt/src/framework/Makefile
Factory implementation
[mlt] / mlt / src / framework / Makefile
1
2 FRAMEWORK_OBJS = mlt_frame.o \
3                                  mlt_property.o \
4                                  mlt_properties.o \
5                                  mlt_service.o \
6                                  mlt_producer.o \
7                                  mlt_multitrack.o \
8                                  mlt_consumer.o \
9                                  mlt_filter.o \
10                                  mlt_transition.o \
11                                  mlt_tractor.o \
12                                  mlt_factory.o \
13                                  mlt_repository.o
14
15 OBJS = $(FRAMEWORK_OBJS)
16
17 SRCS := $(OBJS:.o=.c)
18
19 CFLAGS = -g -Wall -D_FILE_OFFSET_BITS=64 -pthread 
20
21 LDFLAGS = -lm -ldl -lpthread
22
23 all:    libmlt.so
24
25 libmlt.so: $(OBJS)
26                 $(CC) -shared -o $@ $(OBJS) $(LDFLAGS)
27
28 depend: $(SRCS)
29                 $(CC) -MM $(CFLAGS) $^ 1>.depend
30
31 dist-clean:     clean
32                 rm -f .depend
33
34 clean:  
35                 rm -f $(FRAMEWORK_OBJS) libmlt.so
36
37 ifneq ($(wildcard .depend),)
38 include .depend
39 endif