]> git.sesse.net Git - vlc/blobdiff - plugins/text/Makefile
Some heavy changes today:
[vlc] / plugins / text / Makefile
index ea58661848c70d8b443dea6a7b86a974c64a4337..e4af72a3c134ac21b0fea8d6befdb903e3288d03 100644 (file)
@@ -1,42 +1,2 @@
-###############################################################################
-# vlc (VideoLAN Client) text module Makefile
-# (c)2001 VideoLAN
-###############################################################################
-
-#
-# Objects
-#
-
-PLUGIN_NCURSES = ncurses.o intf_ncurses.o
-PLUGIN_RC = rc.o intf_rc.o
-BUILTIN_NCURSES = $(PLUGIN_NCURSES:%.o=BUILTIN_%.o)
-BUILTIN_RC = $(PLUGIN_RC:%.o=BUILTIN_%.o)
-
-PLUGIN_C = $(PLUGIN_NCURSES) $(PLUGIN_RC)
-BUILTIN_C = $(BUILTIN_NCURSES) $(BUILTIN_RC)
-ALL_OBJ = $(PLUGIN_C) $(BUILTIN_C)
-
-#
-# Virtual targets
-#
-
-include ../../Makefile.modules
-
-#
-# Real targets
-#
-
-../ncurses.so: $(PLUGIN_NCURSES)
-       $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) $(LIB_NCURSES)
-
-../ncurses.a: $(BUILTIN_NCURSES)
-       ar r $@ $^
-       $(RANLIB) $@
-
-../rc.so: $(PLUGIN_RC)
-       $(CC) -o $@ $^ $(PLCFLAGS) $(LIB_RC)
-
-../rc.a: $(BUILTIN_RC)
-       ar r $@ $^
-       $(RANLIB) $@
-
+ncurses_SOURCES = ncurses.c
+rc_SOURCES = rc.c