[MPlayer-cvslog] r19039 - in trunk: DOCS/xml/en/bugreports.xml Gui/Makefile configure libaf/Makefile libao2/Makefile libvo/Makefile
diego
subversion at mplayerhq.hu
Wed Jul 12 19:28:15 CEST 2006
Author: diego
Date: Wed Jul 12 19:28:14 2006
New Revision: 19039
Modified:
trunk/Gui/Makefile
trunk/configure
trunk/libaf/Makefile
trunk/libao2/Makefile
trunk/libvo/Makefile
Changes in other areas also in this revision:
Modified:
trunk/DOCS/xml/en/bugreports.xml
Log:
Use only one global config.mak file.
Modified: trunk/Gui/Makefile
==============================================================================
--- trunk/Gui/Makefile (original)
+++ trunk/Gui/Makefile Wed Jul 12 19:28:14 2006
@@ -1,5 +1,4 @@
include ../config.mak
-include config.mak
LIBNAME = libgui.a
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Wed Jul 12 19:28:14 2006
@@ -17,8 +17,7 @@
#
# configure generates a series of configuration files:
# - config.h contains #defines that are used in the C code.
-# - config.mak libvo/config.mak libao2/config.mak Gui/config.mak
-# and libaf/config.mak are included from the Makefiles.
+# - config.mak is included from the Makefiles.
#
# If you want to add a new check for $feature, here is a simple skeleton:
#
@@ -7128,17 +7127,6 @@
_ld_gui='$(GTKLIB) $(GLIBLIB)'
fi
- echo "Creating Gui/config.mak"
- cat > Gui/config.mak << EOF
-# -------- Generated by configure -----------
-
-GTKINC = $_inc_gtk
-GTKLIBS = $_ld_gtk
-GLIBINC = $_inc_glib
-GLIBLIBS = $_ld_glib
-
-EOF
-
else
_def_gui='#undef HAVE_NEW_GUI'
_def_gtk2_gui='#undef HAVE_GTK2_GUI'
@@ -7647,11 +7635,23 @@
# --- GUI stuff ---
GTKINC = $_inc_gtk
GTKLIB = $_ld_static $_ld_gtk
+GTKLIBS = $_ld_gtk
GLIBLIB = $_ld_static $_ld_glib
+GLIBLIBS = $_ld_glib
+GLIBINC = $_inc_glib
GTK_LIBS = $_ld_static $_ld_gui
GUI = $_gui
DEBUG = -DDEBUG
+# --- libvo stuff ---
+VO_SRCS = $_vosrc
+
+# --- libao2 stuff ---
+AO_SRCS = $_aosrc
+
+# --- libaf stuff ---
+AF_SRCS = $_afsrc
+
EOF
#############################################################################
@@ -8358,36 +8358,6 @@
#############################################################################
-echo "Creating libvo/config.mak"
-_voobj=`echo $_vosrc | sed -e 's/\.c/\.o/g;s/\.m/\.o/g'`
-cat > libvo/config.mak << EOF
-include ../config.mak
-OPTIONAL_SRCS = $_vosrc
-OPTIONAL_OBJS = $_voobj
-EOF
-
-#############################################################################
-
-echo "Creating libao2/config.mak"
-_aoobj=`echo $_aosrc | sed -e 's/\.c/\.o/g'`
-cat > libao2/config.mak << EOF
-include ../config.mak
-OPTIONAL_SRCS = $_aosrc
-OPTIONAL_OBJS = $_aoobj
-EOF
-
-#############################################################################
-
-echo "Creating libaf/config.mak"
-_afobj=`echo $_afsrc | sed -e 's/\.c/\.o/g'`
-cat > libaf/config.mak << EOF
-include ../config.mak
-OPTIONAL_SRCS = $_afsrc
-OPTIONAL_OBJS = $_afobj
-EOF
-
-#############################################################################
-
cat << EOF
Config files successfully generated by ./configure !
Modified: trunk/libaf/Makefile
==============================================================================
--- trunk/libaf/Makefile (original)
+++ trunk/libaf/Makefile Wed Jul 12 19:28:14 2006
@@ -1,4 +1,4 @@
-include config.mak
+include ../config.mak
LIBNAME = libaf.a
@@ -27,7 +27,7 @@
filter.c \
format.c \
window.c \
- $(OPTIONAL_SRCS) \
+ $(AF_SRCS) \
LIBAV_INC =
ifeq ($(CONFIG_LIBAVUTIL),yes)
Modified: trunk/libao2/Makefile
==============================================================================
--- trunk/libao2/Makefile (original)
+++ trunk/libao2/Makefile Wed Jul 12 19:28:14 2006
@@ -1,4 +1,4 @@
-include config.mak
+include ../config.mak
LIBNAME = libao2.a
@@ -6,7 +6,7 @@
ao_mpegpes.c \
ao_null.c \
ao_pcm.c \
- $(OPTIONAL_SRCS) \
+ $(AO_SRCS) \
OBJS=$(SRCS:.c=.o)
Modified: trunk/libvo/Makefile
==============================================================================
--- trunk/libvo/Makefile (original)
+++ trunk/libvo/Makefile Wed Jul 12 19:28:14 2006
@@ -1,5 +1,5 @@
-include config.mak
+include ../config.mak
LIBNAME = libvo.a
@@ -14,7 +14,7 @@
vo_mpegpes.c \
vo_null.c \
vo_yuv4mpeg.c \
- $(OPTIONAL_SRCS) \
+ $(VO_SRCS) \
LIBAV_INC =
ifeq ($(CONFIG_LIBAVUTIL),yes)
More information about the MPlayer-cvslog
mailing list