[MPlayer-cvslog] CVS: main configure, 1.1154, 1.1155 Makefile, 1.358, 1.359
Richard Felker CVS
syncmail at mplayerhq.hu
Sun Apr 2 05:14:56 CEST 2006
CVS change done by Richard Felker CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv1961
Modified Files:
configure Makefile
Log Message:
first stage of build system cleanup:
- remove .developer nonsense
- correct version.h dependencies
- remove some old shared dvdkit cruft that was not used
who's going to buy me the cola if this breaks?? :)
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.1154
retrieving revision 1.1155
diff -u -r1.1154 -r1.1155
--- configure 30 Mar 2006 23:47:03 -0000 1.1154
+++ configure 2 Apr 2006 03:14:53 -0000 1.1155
@@ -6979,14 +6979,6 @@
_stripbinaries=no
elif test -z "$CFLAGS" ; then
CFLAGS="-O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer"
- # always compile with '-g' if .developer:
- if test -f ".developer" ; then
- CFLAGS="-g $CFLAGS"
- if test "$_crash_debug" = auto && not mingw32 ; then
- _crash_debug=yes
- fi
- _stripbinaries=no
- fi
else
_warn_CFLAGS=yes
fi
@@ -7328,7 +7320,6 @@
DVDREAD_LIB = $_ld_dvdread
DVDKIT = $_dvdkit
DVDKIT2 = $_dvdkit2
-DVDKIT_SHARED = no
SDL_INC = $_inc_sdl
W32_DEP = $_dep_win32
W32_LIB = $_ld_win32
Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/Makefile,v
retrieving revision 1.358
retrieving revision 1.359
diff -u -r1.358 -r1.359
--- Makefile 30 Mar 2006 22:14:44 -0000 1.358
+++ Makefile 2 Apr 2006 03:14:54 -0000 1.359
@@ -254,12 +254,8 @@
COMMON_DEPS += libfame/libfame.a
endif
ifeq ($(DVDKIT2),yes)
-ifeq ($(DVDKIT_SHARED),yes)
-COMMON_DEPS += libmpdvdkit2/libmpdvdkit.so
-else
COMMON_DEPS += libmpdvdkit2/libmpdvdkit.a
endif
-endif
ifeq ($(GUI),yes)
COMMON_DEPS += Gui/libgui.a
@@ -270,7 +266,7 @@
#.PHONY: $(COMMON_DEPS)
-all: version.h $(ALL_PRG)
+all: $(ALL_PRG)
.c.o:
$(CC) -c $(CFLAGS) -o $@ $<
@@ -281,9 +277,6 @@
libmpdvdkit2/libmpdvdkit.a:
$(MAKE) -C libmpdvdkit2
-libmpdvdkit2/libmpdvdkit.so:
- $(MAKE) -C libmpdvdkit2 libmpdvdkit.so
-
loader/libloader.a:
$(MAKE) -C loader
@@ -447,15 +440,6 @@
codecs2html: mp_msg.o
$(CC) -DCODECS2HTML codec-cfg.c mp_msg.o -o $@
-# Every mplayer dependency depends on version.h, to force building version.h
-# first (in serial mode) before any other of the dependencies for a parallel make
-# run. This is necessary, because the make rule for version.h removes objects
-# in a recursive "make distclean" and we must wait for this "make distclean" to
-# finish before we can start building new object files.
-# help_mp.h is also required by a lot of files, so force generating it early.
-$(MPLAYER_DEP): version.h help_mp.h
-$(MENCODER_DEP): version.h help_mp.h
-
$(PRG_CFG): version.h codec-cfg.c codec-cfg.h help_mp.h
$(HOST_CC) $(HOST_CFLAGS) -I. codec-cfg.c -o $(PRG_CFG) \
-DCODECS2HTML $(EXTRA_LIB) $(EXTRA_INC)
@@ -506,17 +490,6 @@
endif
@$(INSTALL) -d $(CONFDIR)
@if test -f $(CONFDIR)/codecs.conf ; then mv -f $(CONFDIR)/codecs.conf $(CONFDIR)/codecs.conf.old ; fi
-ifeq ($(DVDKIT_SHARED),yes)
-ifeq ($(DVDKIT2),yes)
- $(INSTALL) -d $(LIBDIR)
- $(INSTALL) -m 755 $(INSTALLSTRIP) libmpdvdkit2/libmpdvdkit.so $(LIBDIR)/libmpdvdkit.so
-else
-ifeq ($(DVDKIT),yes)
- $(INSTALL) -d $(LIBDIR)
- $(INSTALL) -m 755 $(INSTALLSTRIP) libmpdvdkit/libmpdvdkit.so $(LIBDIR)/libmpdvdkit.so
-endif
-endif
-endif
uninstall:
-rm -f $(BINDIR)/$(PRG) $(BINDIR)/gmplayer $(MANDIR)/man1/mplayer.1
@@ -560,19 +533,12 @@
@echo "############################################################"
@echo "####### Please run ./configure again - it's changed! #######"
@echo "############################################################"
-ifeq ($(wildcard .developer),)
- @exit 1
-endif
# do not rebuild after cvs commits if .developer file is present!
# rebuild at every config.h/config.mak change:
version.h:
./version.sh `$(CC) -dumpversion`
-ifeq ($(wildcard .developer),)
- $(MAKE) distclean
-endif
- $(MAKE) depend
doxygen:
doxygen DOCS/tech/Doxyfile
@@ -596,12 +562,10 @@
endif
# rebuild at every CVS update or config/makefile change:
-ifeq ($(wildcard .developer),)
-ifneq ($(wildcard CVS/Entries),)
-version.h: CVS/Entries
-endif
+#ifneq ($(wildcard CVS/Entries),)
+#version.h: CVS/Entries
+#endif
version.h: config.h config.mak Makefile
-endif
#
# include dependencies to get make to recurse into lib dirs,
More information about the MPlayer-cvslog
mailing list