Mercurial > mplayer.hg
changeset 26496:99320e745ef3
Merge dvdread/Makefile into top-level Makefile.
author | diego |
---|---|
date | Fri, 25 Apr 2008 08:25:17 +0000 |
parents | 8fab1036b73f |
children | 90533188c926 |
files | Makefile dvdread/Makefile |
diffstat | 2 files changed, 18 insertions(+), 25 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Fri Apr 25 00:01:56 2008 +0000 +++ b/Makefile Fri Apr 25 08:25:17 2008 +0000 @@ -219,6 +219,16 @@ SRCS_COMMON-$(DVDNAV) += stream/stream_dvdnav.c SRCS_COMMON-$(DVDREAD) += stream/stream_dvd.c \ stream/stream_dvd_common.c +SRCS_COMMON-$(DVDREAD_INTERNAL) += dvdread/cmd_print.c \ + dvdread/dvd_input.c \ + dvdread/dvd_reader.c \ + dvdread/dvd_udf.c \ + dvdread/ifo_print.c \ + dvdread/ifo_read.c \ + dvdread/md5.c \ + dvdread/nav_print.c \ + dvdread/nav_read.c \ + SRCS_COMMON-$(FAAD) += libmpcodecs/ad_faad.c SRCS_COMMON-$(FREETYPE) += libvo/font_load_ft.c SRCS_COMMON-$(FTP) += stream/stream_ftp.c @@ -527,7 +537,6 @@ COMMON_LIBS-$(MP3LIB) += mp3lib/mp3lib.a COMMON_LIBS-$(LIBA52) += liba52/liba52.a COMMON_LIBS-$(LIBMPEG2) += libmpeg2/libmpeg2.a -COMMON_LIBS-$(DVDREAD_INTERNAL) += dvdread/dvdread.a LIBS_MPLAYER-$(VIDIX) += vidix/vidix.a @@ -547,8 +556,7 @@ INSTALL_TARGETS-$(GUI) += install-gui INSTALL_TARGETS += $(INSTALL_TARGETS-yes) -PARTS = dvdread \ - liba52 \ +PARTS = liba52 \ libavcodec \ libavformat \ libavutil \ @@ -562,7 +570,8 @@ PARTS += loader endif -DIRS = gui \ +DIRS = dvdread \ + gui \ gui/mplayer \ gui/mplayer/gtk \ gui/skin \ @@ -634,6 +643,10 @@ osdep/mplayer-rc.o: osdep/mplayer.rc version.h $(WINDRES) -o $@ $< +dvdread/%.o dvdread/%.d: CFLAGS += -D__USE_UNIX98 -D_GNU_SOURCE +ifeq ($(LIBDVDCSS_INTERNAL),yes) +dvdread/%.o dvdread/%.d: CFLAGS += -Ilibdvdcss -DHAVE_DVDCSS_DVDCSS_H +endif libdvdcss/%.o libdvdcss/%.d: CFLAGS += -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.9\" libfaad2/%.o libfaad2/%.d: CFLAGS += -Ilibfaad2 -D_GNU_SOURCE @@ -801,8 +814,7 @@ # FIXME: netstream linking is a mess that should be fixed properly some day. # It does not work with either GUI, LIVE555, libavformat, cdparanoia enabled. -NETSTREAM_DEPS = dvdread/libdvdread.a \ - libavutil/libavutil.a \ +NETSTREAM_DEPS = libavutil/libavutil.a \ m_option.o \ m_struct.o \ $(TOOLS_COMMON_LIBS)
--- a/dvdread/Makefile Fri Apr 25 00:01:56 2008 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -include ../config.mak - -LIBNAME_COMMON = dvdread.a - -SRCS_COMMON = cmd_print.c \ - dvd_input.c \ - dvd_reader.c \ - dvd_udf.c \ - ifo_print.c \ - ifo_read.c \ - md5.c \ - nav_print.c \ - nav_read.c \ - -CFLAGS = -D__USE_UNIX98 -D_GNU_SOURCE - -CFLAGS-$(LIBDVDCSS_INTERNAL) += -I../libdvdcss -DHAVE_DVDCSS_DVDCSS_H - -include ../mpcommon.mak