1 ###############################################################################
2 # vlc (VideoLAN Client) text module Makefile
4 ###############################################################################
6 include ../../Makefile.modules
8 ###############################################################################
10 ###############################################################################
11 PLUGIN_NCURSES = ncurses.o vout_ncurses.o
12 BUILTIN_NCURSES = $(PLUGIN_NCURSES:%.o=%-BUILTIN.o)
14 ALL_OBJ = $(PLUGIN_NCURSES) $(BUILTIN_NCURSES)
17 cdependancies := $(objects:%.o=.dep/%.d)
28 rm -f *.o *.moc *.bak *.builtin
33 $(cdependancies): %.d: FORCE
34 @$(MAKE) -s --no-print-directory -f ../../Makefile.dep $@
36 $(ALL_OBJ): %.o: ../../Makefile.dep Makefile
38 $(PLUGIN_NCURSES): %.o: .dep/%.d
39 $(PLUGIN_NCURSES): %.o: %.c
40 $(CC) $(CFLAGS) $(PCFLAGS) -c -o $@ $<
42 $(BUILTIN_NCURSES): %-BUILTIN.o: .dep/%.d
43 $(BUILTIN_NCURSES): %-BUILTIN.o: %.c
44 $(CC) $(CFLAGS) -DBUILTIN -c -o $@ $<
49 ../../lib/ncurses.so: $(PLUGIN_NCURSES)
50 $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) $(LIB_NCURSES)
52 ../../lib/ncurses.a: $(BUILTIN_NCURSES)