]> git.sesse.net Git - vlc/blob - plugins/mpeg/Makefile
* Merged Makefile.common and Makefile.modules.in into Makefile.modules
[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_PS = ps.o input_ps.o
11 PLUGIN_TS = ts.o input_ts.o
12 BUILTIN_PS = $(PLUGIN_PS:%.o=BUILTIN_%.o)
13 BUILTIN_TS = $(PLUGIN_TS:%.o=BUILTIN_%.o)
14
15 PLUGIN_C = $(PLUGIN_PS) $(PLUGIN_TS)
16 BUILTIN_C = $(BUILTIN_PS) $(BUILTIN_TS)
17 ALL_OBJ = $(PLUGIN_C) $(BUILTIN_C)
18
19 #
20 # Virtual targets
21 #
22
23 include ../../Makefile.modules
24
25 #
26 # Real targets
27 #
28
29 ../../lib/ps.so: $(PLUGIN_PS)
30         $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) 
31
32 ../../lib/ps.a: $(BUILTIN_PS)
33         ar r $@ $^
34
35 ../../lib/ts.so: $(PLUGIN_TS)
36         $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) $(LIB_TS)
37
38 ../../lib/ts.a: $(BUILTIN_TS)
39         ar r $@ $^
40