aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-30 13:58:26 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-30 13:58:26 +0000
commitd9c022848862697225f7698db802f1efa64d66db (patch)
tree6e85c4bccf057d9e0dbc2a28f2c9981f3e0d419d /Makefile
parent375be23d2c0f282da93b7235960a4eb4350301de (diff)
cosmetics: Move some variable declarations to better places.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26609 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile29
1 files changed, 13 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index cca1cacfc0..aa46374697 100644
--- a/Makefile
+++ b/Makefile
@@ -582,8 +582,6 @@ SRCS_MPLAYER-$(VIDIX_S3) += vidix/s3_vid.c
SRCS_MPLAYER-$(VIDIX_SIS) += vidix/sis_vid.c vidix/sis_bridge.c
SRCS_MPLAYER-$(VIDIX_UNICHROME) += vidix/unichrome_vid.c
-OBJS_MPLAYER-$(PE_EXECUTABLE) += osdep/mplayer-rc.o
-
SRCS_MENCODER = mencoder.c \
mp_msg-mencoder.c \
parser-mecmd.c \
@@ -611,30 +609,29 @@ SRCS_MENCODER-$(WIN32DLL) += libmpcodecs/ve_vfw.c
SRCS_MENCODER-$(X264) += libmpcodecs/ve_x264.c
SRCS_MENCODER-$(XVID4) += libmpcodecs/ve_xvid4.c
-COMMON_LIBS = libswscale/libswscale.a \
+SRCS_COMMON += $(SRCS_COMMON-yes) $(SRCS_COMMON-yes-yes) $(SRCS_COMMON-yes-yes-yes)
+SRCS_MENCODER += $(SRCS_MENCODER-yes)
+SRCS_MPLAYER += $(SRCS_MPLAYER-yes)
COMMON_LIBS-$(LIBAVFORMAT_A) += libavformat/libavformat.a
COMMON_LIBS-$(LIBAVCODEC_A) += libavcodec/libavcodec.a
COMMON_LIBS-$(LIBAVUTIL_A) += libavutil/libavutil.a
COMMON_LIBS-$(LIBPOSTPROC_A) += libpostproc/libpostproc.a
+COMMON_LIBS = libswscale/libswscale.a
+COMMON_LIBS += $(COMMON_LIBS-yes)
-ALL_PRG-$(MPLAYER) += mplayer$(EXESUF)
-ALL_PRG-$(MENCODER) += mencoder$(EXESUF)
-
-COMMON_LIBS += $(COMMON_LIBS-yes)
-OBJS_MPLAYER += $(OBJS_MPLAYER-yes)
-ALL_PRG += $(ALL_PRG-yes)
+OBJS_COMMON += $(addsuffix .o, $(basename $(SRCS_COMMON)))
+OBJS_MENCODER += $(addsuffix .o, $(basename $(SRCS_MENCODER)))
+OBJS_MPLAYER += $(addsuffix .o, $(basename $(SRCS_MPLAYER)))
+OBJS_MPLAYER-$(PE_EXECUTABLE) += osdep/mplayer-rc.o
+OBJS_MPLAYER += $(OBJS_MPLAYER-yes)
MPLAYER_DEPS = $(OBJS_MPLAYER) $(OBJS_COMMON) $(COMMON_LIBS)
MENCODER_DEPS = $(OBJS_MENCODER) $(OBJS_COMMON) $(COMMON_LIBS)
-SRCS_COMMON += $(SRCS_COMMON-yes) $(SRCS_COMMON-yes-yes) $(SRCS_COMMON-yes-yes-yes)
-SRCS_MENCODER += $(SRCS_MENCODER-yes)
-SRCS_MPLAYER += $(SRCS_MPLAYER-yes)
-
-OBJS_COMMON += $(addsuffix .o, $(basename $(SRCS_COMMON)) )
-OBJS_MENCODER += $(addsuffix .o, $(basename $(SRCS_MENCODER)) )
-OBJS_MPLAYER += $(addsuffix .o, $(basename $(SRCS_MPLAYER)) )
+ALL_PRG-$(MPLAYER) += mplayer$(EXESUF)
+ALL_PRG-$(MENCODER) += mencoder$(EXESUF)
+ALL_PRG += $(ALL_PRG-yes)
INSTALL_TARGETS-$(MPLAYER) += install-mplayer install-mplayer-man
INSTALL_TARGETS-$(MENCODER) += install-mencoder install-mplayer-man