changeset 26359:4a9b26db833e

Ahem, libmenu objects should only be compiled when OSD menu is enabled.
author diego
date Fri, 11 Apr 2008 08:18:28 +0000
parents 8379bc410c5d
children a48df598c055
files Makefile
diffstat 1 files changed, 11 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Fri Apr 11 08:13:36 2008 +0000
+++ b/Makefile	Fri Apr 11 08:18:28 2008 +0000
@@ -96,20 +96,21 @@
                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-$(LIBMENU)      += 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-$(LIRC)         += input/lirc.c