[MPlayer-cvslog] r26528 - in trunk: Makefile dvdread dvdread/Makefile

diego subversion at mplayerhq.hu
Fri Apr 25 10:25:17 CEST 2008


Author: diego
Date: Fri Apr 25 10:25:17 2008
New Revision: 26528

Log:
Merge dvdread/Makefile into top-level Makefile.


Removed:
   trunk/dvdread/Makefile
Modified:
   trunk/Makefile
   trunk/dvdread/   (props changed)

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	(original)
+++ trunk/Makefile	Fri Apr 25 10:25:17 2008
@@ -219,6 +219,16 @@ SRCS_COMMON-$(DVBIN)                 += 
 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-$(WIN32DLL)           += loa
 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-$(MENCODER) += install-m
 INSTALL_TARGETS-$(GUI)      += install-gui
 INSTALL_TARGETS             += $(INSTALL_TARGETS-yes)
 
-PARTS = dvdread \
-        liba52 \
+PARTS = liba52 \
         libavcodec \
         libavformat \
         libavutil \
@@ -562,7 +570,8 @@ ifdef ARCH_X86
 PARTS += loader
 endif
 
-DIRS =  gui \
+DIRS =  dvdread \
+        gui \
         gui/mplayer \
         gui/mplayer/gtk \
         gui/skin \
@@ -634,6 +643,10 @@ codec-cfg-test$(EXESUF): codecs.conf.h c
 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 @@ fastmemcpybench realcodecs: CFLAGS += -g
 
 # 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)



More information about the MPlayer-cvslog mailing list