]> git.sesse.net Git - vlc/blob - plugins/mpeg/Makefile
* Added .cvsignore files in the plugins directories.
[vlc] / plugins / mpeg / Makefile
1 ###############################################################################
2 # vlc (VideoLAN Client) mpeg module Makefile
3 # (c)2001 VideoLAN
4 ###############################################################################
5
6 -include ../../Makefile.modules
7
8 #
9 # Objects
10 #
11
12 PLUGIN_PS = ps.o input_ps.o
13 PLUGIN_TS = ts.o input_ts.o
14 BUILTIN_PS = $(PLUGIN_PS:%.o=BUILTIN_%.o)
15 BUILTIN_TS = $(PLUGIN_TS:%.o=BUILTIN_%.o)
16
17 PLUGIN_C = $(PLUGIN_PS) $(PLUGIN_TS)
18 BUILTIN_C = $(BUILTIN_PS) $(BUILTIN_TS)
19 ALL_OBJ = $(PLUGIN_C) $(BUILTIN_C)
20
21 #
22 # Virtual targets
23 #
24
25 include ../../Makefile.common
26
27 #
28 # Real targets
29 #
30
31 ../../lib/ps.so: $(PLUGIN_PS)
32         $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) 
33
34 ../../lib/ps.a: $(BUILTIN_PS)
35         ar r $@ $^
36
37 ../../lib/ts.so: $(PLUGIN_TS)
38         $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) $(LIB_TS)
39
40 ../../lib/ts.a: $(BUILTIN_TS)
41         ar r $@ $^
42