]> git.sesse.net Git - vlc/blob - plugins/text/Makefile
* Mandatory step for video output IV and the audio output quality
[vlc] / plugins / text / Makefile
1 ###############################################################################
2 # vlc (VideoLAN Client) text module Makefile
3 # (c)2001 VideoLAN
4 ###############################################################################
5
6 #
7 # Objects
8 #
9
10 PLUGIN_NCURSES = ncurses.o intf_ncurses.o
11 PLUGIN_RC = rc.o intf_rc.o
12 BUILTIN_NCURSES = $(PLUGIN_NCURSES:%.o=BUILTIN_%.o)
13 BUILTIN_RC = $(PLUGIN_RC:%.o=BUILTIN_%.o)
14
15 PLUGIN_C = $(PLUGIN_NCURSES) $(PLUGIN_RC)
16 BUILTIN_C = $(BUILTIN_NCURSES) $(BUILTIN_RC)
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/ncurses.so: $(PLUGIN_NCURSES)
30         $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) $(LIB_NCURSES)
31
32 ../../lib/ncurses.a: $(BUILTIN_NCURSES)
33         ar r $@ $^
34         $(RANLIB) $@
35
36 ../../lib/rc.so: $(PLUGIN_RC)
37         $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS)
38
39 ../../lib/rc.a: $(BUILTIN_RC)
40         ar r $@ $^
41         $(RANLIB) $@
42