view gui/Makefile @ 26110:69790f7caffa

configure: Set CONFIG_ENCODERS=yes in config.mak unconditionally config.h already had "#define CONFIG_ENCODERS 1" unconditionally, but the config.mak value depended on whether MEncoder was enabled. Encoders need to be enabled as some encoder code is used by MPlayer too. The inconsistent values broke compilation with --disable-mencoder after libavcodec Makefile made compilation of i386/dsputilenc_mmx.o depend on the config.mak value.
author uau
date Mon, 03 Mar 2008 03:02:36 +0000
parents 01754b23193e
children 02a08fffb1dc
line wrap: on
line source

include ../config.mak

LIBNAME_MPLAYER = libgui.a

#CFLAGS += -DDEBUG

ifeq ($(TARGET_WIN32),yes)
SRCS_MPLAYER = bitmap.c \
               win32/dialogs.c \
               win32/gui.c \
               win32/interface.c \
               win32/playlist.c \
               win32/preferences.c \
               win32/skinload.c \
               win32/widgetrender.c \
               win32/wincfg.c \

else
SRCS_MPLAYER = app.c \
               bitmap.c \
               cfg.c \
               interface.c \
               mplayer/gui_common.c \
               mplayer/menu.c \
               mplayer/mw.c \
               mplayer/pb.c \
               mplayer/play.c \
               mplayer/sw.c \
               mplayer/widgets.c \
               mplayer/gtk/about.c \
               mplayer/gtk/eq.c \
               mplayer/gtk/fs.c \
               mplayer/gtk/gtk_common.c \
               mplayer/gtk/mb.c \
               mplayer/gtk/menu.c \
               mplayer/gtk/opts.c \
               mplayer/gtk/pl.c \
               mplayer/gtk/sb.c \
               mplayer/gtk/url.c \
               skin/cut.c \
               skin/font.c \
               skin/skin.c \
               wm/ws.c \
               wm/wsxdnd.c \

endif

include ../mpcommon.mak

clean::
	rm -f mplayer/*.o mplayer/*~ mplayer/gtk/*.o mplayer/gtk/*~ \
              skin/*.o skin/*~ \
              wm/*.o wm/*~ \
              win32/*.o win32/*~ \