]> git.sesse.net Git - mlt/blob - Makefile
First draft of event handling
[mlt] / 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 $@ || exit 1; \
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 $@ || exit 1; \
22         done; \
23         rm config.mak;
24
25 install:
26         install -d "$(prefix)/bin"
27         install -d "$(prefix)/include"
28         install -d "$(prefix)/lib"
29         install -d "$(prefix)/lib/pkgconfig"
30         install -d "$(prefix)/share/mlt/modules"
31         install -c -m 755 mlt-config "$(bindir)"
32         install -c -m 644 *.pc "$(prefix)/lib/pkgconfig"
33         install -m 644 packages.dat "$(prefix)/share/mlt/"
34         list='$(SUBDIRS)'; \
35         for subdir in $$list; do \
36                 $(MAKE) -C $$subdir $@ || exit 1; \
37         done; \
38         /sbin/ldconfig || true