1 ###############################################################################
2 # vlc (VideoLAN Client) mpeg module Makefile
4 ###############################################################################
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)
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)
25 include ../../Makefile.modules
31 ../../lib/es.so: $(PLUGIN_ES)
32 $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)
34 ../../lib/es.a: $(BUILTIN_ES)
38 ../../lib/ps.so: $(PLUGIN_PS)
39 $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)
41 ../../lib/ps.a: $(BUILTIN_PS)
45 ../../lib/ts.so: $(PLUGIN_TS)
46 $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) $(LIB_TS)
48 ../../lib/ts.a: $(BUILTIN_TS)