view Gui/Makefile @ 22151:db9f2e48c710

Fix libnut build failure. Use CONFIG_LIBNUT like ffmpeg's configure, instead of LIBNUT. Patch by Clemens Ladisch % cladisch A fastmail P net %
author gpoirier
date Wed, 07 Feb 2007 09:00:11 +0000
parents ddc54f850d53
children 8bcff5c7e387
line wrap: on
line source

include ../config.mak

LIBNAME = libgui.a

CFLAGS = -I../loader -I./wm -I./skin
#CFLAGS += -DDEBUG

CFLAGS-$(CONFIG_LIBAVUTIL)   += -I../libavutil

ifeq ($(TARGET_WIN32),yes)
SRCS = 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 = wm/ws.c \
       wm/wsxdnd.c \
       app.c \
       interface.c \
       cfg.c \
       bitmap.c \
       skin/skin.c \
       skin/font.c \
       skin/cut.c \
       mplayer/widgets.c \
       mplayer/play.c \
       mplayer/mw.c \
       mplayer/sw.c \
       mplayer/menu.c \
       mplayer/pb.c \
       mplayer/common.c \
       mplayer/gtk/menu.c \
       mplayer/gtk/mb.c \
       mplayer/gtk/about.c \
       mplayer/gtk/pl.c \
       mplayer/gtk/sb.c \
       mplayer/gtk/fs.c \
       mplayer/gtk/opts.c \
       mplayer/gtk/url.c \
       mplayer/gtk/eq.c \
       mplayer/gtk/common.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/*~ \