]> git.sesse.net Git - vlc/blob - plugins/mpeg/Makefile
* Mandatory step for video output IV and the audio output quality
[vlc] / plugins / mpeg / Makefile
1 ###############################################################################
2 # vlc (VideoLAN Client) mpeg module Makefile
3 # (c)2001 VideoLAN
4 ###############################################################################
5
6 #
7 # Objects
8 #
9
10 PLUGIN_ES = es.o input_es.o
11 PLUGIN_PS = ps.o input_ps.o
12 PLUGIN_TS = ts.o input_ts.o
13 BUILTIN_ES = $(PLUGIN_ES:%.o=BUILTIN_%.o)
14 BUILTIN_PS = $(PLUGIN_PS:%.o=BUILTIN_%.o)
15 BUILTIN_TS = $(PLUGIN_TS:%.o=BUILTIN_%.o)
16
17 PLUGIN_C = $(PLUGIN_ES) $(PLUGIN_PS) $(PLUGIN_TS)
18 BUILTIN_C = $(BUILTIN_ES) $(BUILTIN_PS) $(BUILTIN_TS)
19 ALL_OBJ = $(PLUGIN_C) $(BUILTIN_C)
20
21 #
22 # Virtual targets
23 #
24
25 include ../../Makefile.modules
26
27 #
28 # Real targets
29 #
30
31 ../../lib/es.so: $(PLUGIN_ES)
32         $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) 
33
34 ../../lib/es.a: $(BUILTIN_ES)
35         ar r $@ $^
36         $(RANLIB) $@
37
38 ../../lib/ps.so: $(PLUGIN_PS)
39         $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) 
40
41 ../../lib/ps.a: $(BUILTIN_PS)
42         ar r $@ $^
43         $(RANLIB) $@
44
45 ../../lib/ts.so: $(PLUGIN_TS)
46         $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) $(LIB_TS)
47
48 ../../lib/ts.a: $(BUILTIN_TS)
49         ar r $@ $^
50         $(RANLIB) $@
51