Minor optimisations, consumer avformat experimentation
[melted] / Makefile
1 include config.mak
2
3 SUBDIRS = src/framework \
4 src/modules \
5 src/inigo \
6 src/valerie \
7 src/miracle \
8 src/humperdink \
9 src/albino
10
11 all clean depend:
12 list='$(SUBDIRS)'; \
13 for subdir in $$list; do \
14 $(MAKE) -C $$subdir $@; \
15 done
16
17 dist-clean:
18 rm mlt-config packages.dat; \
19 list='$(SUBDIRS)'; \
20 for subdir in $$list; do \
21 $(MAKE) -C $$subdir $@; \
22 done; \
23 rm config.mak;
24
25
26 install:
27 install -d "$(prefix)/bin"
28 install -d "$(prefix)/include"
29 install -d "$(prefix)/lib"
30 install -d "$(prefix)/lib/pkgconfig"
31 install -d "$(prefix)/share/mlt/modules"
32 install -c -m 755 mlt-config "$(bindir)"
33 install -c -m 644 *.pc "$(prefix)/lib/pkgconfig"
34 install -m 644 packages.dat "$(prefix)/share/mlt/"
35 list='$(SUBDIRS)'; \
36 for subdir in $$list; do \
37 $(MAKE) -C $$subdir $@; \
38 done; \
39 /sbin/ldconfig || true