[MPlayer-cvslog] r19529 - trunk/Makefile

diego subversion at mplayerhq.hu
Fri Aug 25 15:15:50 CEST 2006


Author: diego
Date: Fri Aug 25 15:15:49 2006
New Revision: 19529

Modified:
   trunk/Makefile

Log:
cosmetics: Move some parts to more sensible places.


Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	(original)
+++ trunk/Makefile	Fri Aug 25 15:15:49 2006
@@ -14,6 +14,10 @@
 LIBAV_INC += -I./libavcodec
 endif
 
+CFLAGS = $(OPTFLAGS) -I. $(LIBAV_INC)
+
+#CFLAGS += -Wall
+
 # Do not strip the binaries at installation
 ifeq ($(STRIPBINARIES),yes)
 INSTALLSTRIP = -s
@@ -35,6 +39,10 @@
               subreader.c \
               vobsub.c \
 
+ifeq ($(UNRARLIB),yes)
+SRCS_COMMON += unrarlib.c
+endif
+
 SRCS_MENCODER = mencoder.c \
                 mp_msg-mencoder.c \
                 $(SRCS_COMMON) \
@@ -44,6 +52,10 @@
                 parser-mecmd.c \
                 xvid_vbr.c \
 
+ifeq ($(BITMAP_FONT),yes)
+SRCS_MENCODER += libvo/font_load.c
+endif
+
 SRCS_MPLAYER = mplayer.c \
                m_property.c \
                mp_msg.c \
@@ -52,10 +64,6 @@
                parser-mpcmd.c \
                subopt-helper.c \
 
-ifeq ($(UNRARLIB),yes)
-SRCS_COMMON += unrarlib.c
-endif
-
 OBJS_MENCODER = $(SRCS_MENCODER:.c=.o)
 OBJS_MPLAYER = $(SRCS_MPLAYER:.c=.o)
 
@@ -103,6 +111,19 @@
              $(MUSEPACK_LIB) \
              $(SPEEX_LIB) \
 
+ifeq ($(TOOLAME),yes)
+CFLAGS += $(TOOLAME_EXTRAFLAGS)
+CODEC_LIBS += $(TOOLAME_LIB)
+endif
+
+ifeq ($(TWOLAME),yes)
+CODEC_LIBS += $(TWOLAME_LIB)
+endif
+
+ifeq ($(FAAC),yes)
+CODEC_LIBS += $(FAAC_LIB)
+endif
+
 COMMON_LIBS = libmpcodecs/libmpcodecs.a \
               $(W32_LIB) \
               libaf/libaf.a \
@@ -130,23 +151,6 @@
               $(MATH_LIB) \
               $(LIBC_LIB) \
 
-CFLAGS = $(OPTFLAGS) -I. $(LIBAV_INC)
-
-#CFLAGS += -Wall
-
-ifeq ($(TOOLAME),yes)
-CFLAGS += $(TOOLAME_EXTRAFLAGS) 
-CODEC_LIBS += $(TOOLAME_LIB)
-endif
-
-ifeq ($(TWOLAME),yes)
-CODEC_LIBS += $(TWOLAME_LIB)
-endif
-
-ifeq ($(FAAC),yes)
-CODEC_LIBS += $(FAAC_LIB)
-endif
-
 PARTS = libmpdemux \
         stream \
         libmpcodecs \
@@ -246,9 +250,6 @@
 COMMON_LIBS += libass/libass.a
 PARTS += libass
 endif
-ifeq ($(BITMAP_FONT),yes)
-SRCS_MENCODER += libvo/font_load.c
-endif
 # FontConfig and FreeType need to come after ASS to avoid link failures on MinGW
 COMMON_LIBS += $(FONTCONFIG_LIB)
 ifeq ($(FREETYPE),yes)



More information about the MPlayer-cvslog mailing list