aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-14 23:49:05 +0000
committerGravatar albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-14 23:49:05 +0000
commit7868d11065d32a2552fc639bc32457cd4b8ad50f (patch)
treec74ebbfc2cbf0ec167f8d7cab062b194858112fc /Makefile
parentc83ebc0b7df94135390661a0d7a1a7b9bda57462 (diff)
Experimantal OSD menu
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8199 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7c48de0c33..243d7942df 100644
--- a/Makefile
+++ b/Makefile
@@ -64,6 +64,9 @@ endif
ifneq ($(W32_LIB),)
PARTS += loader loader/dshow
endif
+ifeq ($(LIBMENU),yes)
+PARTS += libmenu
+endif
ALL_PRG = $(PRG)
ifeq ($(MENCODER),yes)
@@ -175,7 +178,19 @@ postproc/libpostproc.so:
input/libinput.a:
$(MAKE) -C input
+libmenu/libmenu.a:
+ $(MAKE) -C libmenu
+
MPLAYER_DEP = $(OBJS_MPLAYER) $(COMMON_DEPS)
+
+ifeq ($(LIBMENU),yes)
+MPLAYER_DEP += libmenu/libmenu.a
+MENU_LIBS = libmenu/libmenu.a
+PARTS += libmenu
+else
+MENU_LIBS =
+endif
+
MENCODER_DEP = $(OBJS_MENCODER) $(COMMON_DEPS)
ifeq ($(VIDIX),yes)
@@ -186,7 +201,7 @@ endif
$(PRG): $(MPLAYER_DEP)
./darwinfixlib.sh $(MPLAYER_DEP)
- $(CC) $(CFLAGS) -o $(PRG) $(OBJS_MPLAYER) libvo/libvo.a libao2/libao2.a $(VIDIX_LIBS) $(GUI_LIBS) $(COMMON_LIBS) $(GTK_LIBS) $(VO_LIBS) $(AO_LIBS) $(EXTRA_LIB) $(LIRC_LIB) $(STATIC_LIB) $(ARCH_LIB) -lm
+ $(CC) $(CFLAGS) -o $(PRG) $(OBJS_MPLAYER) libvo/libvo.a libao2/libao2.a $(MENU_LIBS) $(VIDIX_LIBS) $(GUI_LIBS) $(COMMON_LIBS) $(GTK_LIBS) $(VO_LIBS) $(AO_LIBS) $(EXTRA_LIB) $(LIRC_LIB) $(STATIC_LIB) $(ARCH_LIB) -lm
mplayer.exe.spec.c: libmpcodecs/libmpcodecs.a
winebuild -fPIC -o mplayer.exe.spec.c -exe mplayer.exe -mcui \