forked from mltframework/mlt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (34 loc) · 836 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
include config.mak
SUBDIRS = src/framework \
src/modules \
src/inigo \
src/valerie \
src/miracle \
src/humperdink \
src/albino
all clean depend:
list='$(SUBDIRS)'; \
for subdir in $$list; do \
$(MAKE) -C $$subdir $@; \
done
dist-clean:
rm mlt-config packages.dat; \
list='$(SUBDIRS)'; \
for subdir in $$list; do \
$(MAKE) -C $$subdir $@; \
done; \
rm config.mak;
install:
install -d "$(prefix)/bin"
install -d "$(prefix)/include"
install -d "$(prefix)/lib"
install -d "$(prefix)/lib/pkgconfig"
install -d "$(prefix)/share/mlt/modules"
install -c -m 755 mlt-config "$(bindir)"
install -c -m 644 *.pc "$(prefix)/lib/pkgconfig"
install -m 644 packages.dat "$(prefix)/share/mlt/"
list='$(SUBDIRS)'; \
for subdir in $$list; do \
$(MAKE) -C $$subdir $@; \
done; \
/sbin/ldconfig || true