changeset 26477:8c35fde6cdca

Merge libvo/Makefile into top-level Makefile.
author diego
date Wed, 23 Apr 2008 10:07:50 +0000
parents 3c67e9d90431
children 2531d8e17c1a
files Makefile libvo/Makefile mpcommon.mak
diffstat 3 files changed, 19 insertions(+), 34 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Wed Apr 23 09:42:09 2008 +0000
+++ b/Makefile	Wed Apr 23 10:07:50 2008 +0000
@@ -59,9 +59,14 @@
               libaf/format.c \
               libaf/reorder_ch.c \
               libaf/window.c \
+              libvo/aclib.c \
+              libvo/osd.c \
+              libvo/sub.c \
               osdep/$(GETCH) \
               osdep/$(TIMER) \
 
+SRCS_COMMON-$(BITMAP_FONT)           += libvo/font_load.c
+SRCS_COMMON-$(FREETYPE)              += libvo/font_load_ft.c
 SRCS_COMMON-$(HAVE_SYS_MMAN_H)       += osdep/mmap_anon.c
 SRCS_COMMON-$(HAVE_SYS_MMAN_H)       += libaf/af_export.c
 SRCS_COMMON-$(LADSPA)                += libaf/af_ladspa.c
@@ -116,6 +121,14 @@
                libao2/ao_null.c \
                libao2/ao_pcm.c \
                $(addprefix libao2/,$(AO_SRCS)) \
+               libvo/aspect.c \
+               libvo/geometry.c \
+               libvo/spuenc.c \
+               libvo/video_out.c \
+               libvo/vo_mpegpes.c \
+               libvo/vo_null.c \
+               libvo/vo_yuv4mpeg.c \
+               $(addprefix libvo/,$(VO_SRCS)) \
 
 SRCS_MPLAYER-$(APPLE_REMOTE) += input/ar.c
 SRCS_MPLAYER-$(GUI_GTK)      += gui/app.c \
@@ -170,6 +183,8 @@
 SRCS_MPLAYER-$(LIBMENU_DVBIN) += libmenu/menu_dvbin.c
 SRCS_MPLAYER-$(LIRC)         += input/lirc.c
 
+SRCS_MPLAYER-$(VIDIX)         += libvo/vosub_vidix.c
+
 OBJS_MPLAYER-$(PE_EXECUTABLE) += osdep/mplayer-rc.o
 
 SRCS_MENCODER = mencoder.c \
@@ -181,7 +196,6 @@
               libmpdemux/libmpdemux.a \
               stream/stream.a \
               libswscale/libswscale.a \
-              libvo/libosd.a \
 
 COMMON_LIBS-$(LIBAVFORMAT_A)      += libavformat/libavformat.a
 COMMON_LIBS-$(LIBAVCODEC_A)       += libavcodec/libavcodec.a
@@ -195,8 +209,6 @@
 COMMON_LIBS-$(DVDREAD_INTERNAL)   += dvdread/dvdread.a
 COMMON_LIBS-$(DVDCSS_INTERNAL)    += libdvdcss/libdvdcss.a
 
-LIBS_MPLAYER = libvo/libvo.a \
-
 LIBS_MPLAYER-$(VIDIX)             += vidix/vidix.a
 
 LIBS_MENCODER = libmpcodecs/libmpencoders.a \
@@ -230,7 +242,6 @@
         libmpeg2 \
         libpostproc \
         libswscale \
-        libvo \
         mp3lib \
         stream \
         vidix \
@@ -250,6 +261,7 @@
         libao2 \
         libass \
         libmenu \
+        libvo \
         osdep \
         tremor \
         TOOLS \
@@ -281,9 +293,6 @@
 libmpdemux/libmpmux.a:
 	$(MAKE) -C libmpdemux libmpmux.a
 
-libvo/libosd.a:
-	$(MAKE) -C libvo libosd.a
-
 mplayer$(EXESUF): $(MPLAYER_DEPS)
 	$(CC) -o $@ $^ $(LDFLAGS_MPLAYER)
 
--- a/libvo/Makefile	Wed Apr 23 09:42:09 2008 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-include ../config.mak
-
-LIBNAME_COMMON  = libosd.a
-LIBNAME_MPLAYER = libvo.a
-
-SRCS_MPLAYER = aspect.c \
-               geometry.c \
-               spuenc.c \
-               video_out.c \
-               vo_mpegpes.c \
-               vo_null.c \
-               vo_yuv4mpeg.c \
-               $(VO_SRCS) \
-
-SRCS_MPLAYER-$(VIDIX)          +=  vosub_vidix.c
-
-SRCS_COMMON = aclib.c \
-              osd.c \
-              sub.c \
-
-SRCS_COMMON-$(BITMAP_FONT) +=  font_load.c
-SRCS_COMMON-$(FREETYPE)    +=  font_load_ft.c
-
-include ../mpcommon.mak
-
-%.o: %.m
-	$(CC) $(CFLAGS) -c -o $@ $<
--- a/mpcommon.mak	Wed Apr 23 09:42:09 2008 +0000
+++ b/mpcommon.mak	Wed Apr 23 10:07:50 2008 +0000
@@ -36,6 +36,9 @@
 %.ho: %.h
 	$(CC) $(CFLAGS) -Wno-unused -c -o $@ -x c $<
 
+%.o: %.m
+	$(CC) $(CFLAGS) -c -o $@ $<
+
 ALLHEADERS = $(wildcard *.h)
 checkheaders: $(ALLHEADERS:.h=.ho)