blob: 7662157b7c0a5752416ba05491c0dd759a657a8a (
plain)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
|
diff -urN libmpeg3.orig/Makefile libmpeg3/Makefile
--- libmpeg3.orig/Makefile Wed Dec 26 07:40:52 2001
+++ libmpeg3/Makefile Mon Apr 15 13:54:22 2002
@@ -105,6 +105,29 @@
$(OBJDIR)/video/vlc.o \
$(OBJDIR)/workarounds.o
+INSTALL_HEADERS = \
+ bitstream.h \
+ libmpeg3.h \
+ mpeg3atrack.h \
+ mpeg3css.h \
+ mpeg3demux.h \
+ mpeg3io.h \
+ mpeg3private.h \
+ mpeg3private.inc \
+ mpeg3title.h \
+ mpeg3vtrack.h \
+ timecode.h \
+
+INSTALL_AHEADERS = \
+ audio/ac3.h \
+ audio/mpeg3audio.h \
+
+INSTALL_VHEADERS = \
+ video/idct.h \
+ video/slice.h \
+ video/mpeg3video.h
+
+
OUTPUT = $(OBJDIR)/libmpeg3.a
SHAREDOUTPUT = $(OBJDIR)/libmpeg3.so
UTILS = $(OBJDIR)/mpeg3dump $(OBJDIR)/mpeg3cat $(OBJDIR)/mpeg3toc $(OBJDIR)/mpeg3split
@@ -148,7 +171,17 @@
util: $(UTILS)
install:
- cp $(UTILS) /usr/bin
+ install -d $(DESTDIR)/bin
+ install -d $(DESTDIR)/include/libmpeg3
+ install -d $(DESTDIR)/include/libmpeg3/audio
+ install -d $(DESTDIR)/include/libmpeg3/video
+ install -d $(DESTDIR)/lib
+ install $(UTILS) $(DESTDIR)/bin
+ install -m 644 $(INSTALL_HEADERS) $(DESTDIR)/include/libmpeg3
+ install -m 644 $(INSTALL_AHEADERS) $(DESTDIR)/include/libmpeg3/audio
+ install -m 644 $(INSTALL_VHEADERS) $(DESTDIR)/include/libmpeg3/video
+ install -m 644 $(OUTPUT) $(DESTDIR)/lib
+ install -m 644 $(SHAREDOUTPUT) $(DESTDIR)/lib
clean:
rm -rf $(OBJDIR)
|