changeset 26311:a3d7fc4f186e

Build all parts in the libmenu subdirectory nonrecursively.
author diego
date Mon, 07 Apr 2008 08:28:54 +0000
parents 89fcab7f215d
children 43fe46da690b
files Makefile libmenu/Makefile
diffstat 2 files changed, 12 insertions(+), 24 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Mon Apr 07 07:55:05 2008 +0000
+++ b/Makefile	Mon Apr 07 08:28:54 2008 +0000
@@ -44,8 +44,19 @@
                parser-mpcmd.c \
                command.c \
                input/input.c \
+               libmenu/menu.c \
+               libmenu/menu_chapsel.c \
+               libmenu/menu_cmdlist.c  \
+               libmenu/menu_console.c \
+               libmenu/menu_filesel.c \
+               libmenu/menu_list.c  \
+               libmenu/menu_param.c \
+               libmenu/menu_pt.c \
+               libmenu/menu_txt.c \
+               libmenu/vf_menu.c \
 
 SRCS_MPLAYER-$(APPLE_REMOTE) += input/ar.c
+SRCS_MPLAYER-$(DVBIN)        += libmenu/menu_dvbin.c
 SRCS_MPLAYER-$(JOYSTICK)     += input/joystick.c
 SRCS_MPLAYER-$(LIRC)         += input/lirc.c
 
@@ -81,7 +92,6 @@
 
 LIBS_MPLAYER-$(VIDIX)             += vidix/libvidix.a
 LIBS_MPLAYER-$(GUI)               += gui/libgui.a
-LIBS_MPLAYER-$(LIBMENU)           += libmenu/libmenu.a
 
 LIBS_MENCODER = libmpcodecs/libmpencoders.a \
                 libmpdemux/libmpmux.a \
@@ -118,7 +128,6 @@
         libavutil \
         libdvdcss \
         libfaad2 \
-        libmenu \
         libmpcodecs \
         libmpdemux \
         libmpeg2 \
@@ -133,6 +142,7 @@
         vidix \
 
 DIRS =  input \
+        libmenu \
 
 all:	$(ALL_PRG)
 
@@ -221,9 +231,6 @@
 osdep/mplayer-rc.o: version.h
 	$(MAKE) -C osdep mplayer-rc.o
 
-libmenu/libmenu.a:
-	$(MAKE) -C libmenu
-
 mplayer$(EXESUF): $(MPLAYER_DEPS)
 	$(CC) -o $@ $^ $(LDFLAGS_MPLAYER)
 
@@ -384,7 +391,6 @@
 libao2/libao2.a: .norecurse $(wildcard libao2/*.[ch])
 osdep/libosdep.a: .norecurse $(wildcard osdep/*.[ch])
 
-libmenu/libmenu.a: .norecurse $(wildcard libmenu/*.[ch])
 libaf/libaf.a: .norecurse $(wildcard libaf/*.[ch])
 dvdread/libdvdread.a: .norecurse $(wildcard dvdread/*.[ch])
 libdvdcss/libdvdcss.a: .norecurse $(wildcard libdvdcss/*.[ch])
--- a/libmenu/Makefile	Mon Apr 07 07:55:05 2008 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-include ../config.mak
-
-LIBNAME_MPLAYER = libmenu.a
-
-SRCS_MPLAYER = menu.c \
-               vf_menu.c \
-               menu_chapsel.c \
-               menu_cmdlist.c  \
-               menu_pt.c \
-               menu_list.c  \
-               menu_filesel.c \
-               menu_txt.c \
-               menu_console.c \
-               menu_param.c \
-
-SRCS_MPLAYER-$(DVBIN) += menu_dvbin.c
-
-include ../mpcommon.mak