changeset 26354:8a43b830b4f5

Add a config.mak variable to control compilation of the Win32 GUI.
author diego
date Fri, 11 Apr 2008 07:28:32 +0000
parents bc7b79ed5cbd
children a8fbc0224b81
files configure gui/Makefile
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Apr 11 07:17:40 2008 +0000
+++ b/configure	Fri Apr 11 07:28:32 2008 +0000
@@ -7395,6 +7395,7 @@
 fi
 
 else #if ! win32
+  _gui_win32=yes
   _libs_mplayer="$_libs_mplayer -lcomdlg32 -lcomctl32 -lshell32 -lkernel32"
   _def_gui='#define HAVE_NEW_GUI 1'
   _def_gtk2_gui='#undef HAVE_GTK2_GUI'
@@ -7840,6 +7841,7 @@
 
 # --- GUI stuff ---
 GUI = $_gui
+GUI_WIN32 = $_gui_win32
 
 # --- libvo stuff ---
 VO_SRCS = $_vosrc
--- a/gui/Makefile	Fri Apr 11 07:17:40 2008 +0000
+++ b/gui/Makefile	Fri Apr 11 07:28:32 2008 +0000
@@ -4,7 +4,7 @@
 
 #CFLAGS += -DDEBUG
 
-ifeq ($(TARGET_WIN32),yes)
+ifeq ($(GUI_WIN32),yes)
 SRCS_MPLAYER = bitmap.c \
                win32/dialogs.c \
                win32/gui.c \