Mercurial > mplayer.hg
comparison Makefile @ 26368:92f1c7f009c4
Makefile: Fix compilation on systems with dvb support
libmenu/menu_dvbin.c was added to sources if HAVE_DVBIN was defined,
even if LIBMENU was not defined. This caused a compilation failure on
systems with dvb support unless you ran configure with --enable-menu.
Fix by making compilation of menu_dvbin conditional on both HAVE_DVBIN
and LIBMENU.
author | uau |
---|---|
date | Fri, 11 Apr 2008 23:06:30 +0000 |
parents | cc260b44c154 |
children | de755fff9d74 |
comparison
equal
deleted
inserted
replaced
26367:204178f10efa | 26368:92f1c7f009c4 |
---|---|
96 parser-mpcmd.c \ | 96 parser-mpcmd.c \ |
97 command.c \ | 97 command.c \ |
98 input/input.c \ | 98 input/input.c \ |
99 | 99 |
100 SRCS_MPLAYER-$(APPLE_REMOTE) += input/ar.c | 100 SRCS_MPLAYER-$(APPLE_REMOTE) += input/ar.c |
101 ifeq ($(LIBMENU), yes) | |
101 SRCS_MPLAYER-$(DVBIN) += libmenu/menu_dvbin.c | 102 SRCS_MPLAYER-$(DVBIN) += libmenu/menu_dvbin.c |
103 endif | |
102 SRCS_MPLAYER-$(GUI_GTK) += gui/app.c \ | 104 SRCS_MPLAYER-$(GUI_GTK) += gui/app.c \ |
103 gui/bitmap.c \ | 105 gui/bitmap.c \ |
104 gui/cfg.c \ | 106 gui/cfg.c \ |
105 gui/interface.c \ | 107 gui/interface.c \ |
106 gui/mplayer/gui_common.c \ | 108 gui/mplayer/gui_common.c \ |