diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-04-23 10:07:50 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-04-23 10:07:50 +0000 |
commit | 4e2837a2e8d66808a84a4db25d7e26d312490022 (patch) | |
tree | 4f0b83dd0567b07122ad3cc524d81295dc529b81 | |
parent | 97851078146177f500266a174b7f559482a0525e (diff) |
Merge libvo/Makefile into top-level Makefile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26509 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | Makefile | 23 | ||||
-rw-r--r-- | libvo/Makefile | 27 | ||||
-rw-r--r-- | mpcommon.mak | 3 |
3 files changed, 19 insertions, 34 deletions
@@ -59,9 +59,14 @@ SRCS_COMMON = asxparser.c \ 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 @@ SRCS_MPLAYER = mplayer.c \ 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) += libmenu/menu.c \ 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 @@ COMMON_LIBS = libmpcodecs/libmpcodecs.a \ 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-$(FAAD_INTERNAL) += libfaad2/libfaad2.a 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 @@ PARTS = dvdread \ libmpeg2 \ libpostproc \ libswscale \ - libvo \ mp3lib \ stream \ vidix \ @@ -250,6 +261,7 @@ DIRS = gui \ libao2 \ libass \ libmenu \ + libvo \ osdep \ tremor \ TOOLS \ @@ -281,9 +293,6 @@ libmpcodecs/libmpencoders.a: libmpdemux/libmpmux.a: $(MAKE) -C libmpdemux libmpmux.a -libvo/libosd.a: - $(MAKE) -C libvo libosd.a - mplayer$(EXESUF): $(MPLAYER_DEPS) $(CC) -o $@ $^ $(LDFLAGS_MPLAYER) diff --git a/libvo/Makefile b/libvo/Makefile deleted file mode 100644 index f2840e9161..0000000000 --- a/libvo/Makefile +++ /dev/null @@ -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 $@ $< diff --git a/mpcommon.mak b/mpcommon.mak index 6845775da9..d200560bf8 100644 --- a/mpcommon.mak +++ b/mpcommon.mak @@ -36,6 +36,9 @@ distclean:: clean %.ho: %.h $(CC) $(CFLAGS) -Wno-unused -c -o $@ -x c $< +%.o: %.m + $(CC) $(CFLAGS) -c -o $@ $< + ALLHEADERS = $(wildcard *.h) checkheaders: $(ALLHEADERS:.h=.ho) |