[MPlayer-cvslog] r26524 - in trunk: Makefile libdvdcss libdvdcss/Makefile

diego subversion at mplayerhq.hu
Fri Apr 25 00:27:01 CEST 2008


Author: diego
Date: Fri Apr 25 00:27:01 2008
New Revision: 26524

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


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

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	(original)
+++ trunk/Makefile	Fri Apr 25 00:27:01 2008
@@ -261,6 +261,13 @@ SRCS_COMMON-$(LIBDCA)                += 
 SRCS_COMMON-$(LIBDV)                 += libmpcodecs/ad_libdv.c \
                                         libmpcodecs/vd_libdv.c \
                                         libmpdemux/demux_rawdv.c
+SRCS_COMMON-$(DVDCSS_INTERNAL)       += libdvdcss/css.c \
+                                        libdvdcss/device.c \
+                                        libdvdcss/error.c \
+                                        libdvdcss/ioctl.c \
+                                        libdvdcss/libdvdcss.c \
+                                        #libdvdcss/bsdi_ioctl \
+
 SRCS_COMMON-$(LIBMAD)                += libmpcodecs/ad_libmad.c
 SRCS_COMMON-$(LIBMPEG2)              += libmpcodecs/vd_libmpeg2.c
 SRCS_COMMON-$(LIBNEMESI)             += libmpdemux/demux_nemesi.c \
@@ -483,7 +490,6 @@ COMMON_LIBS-$(LIBA52)             += lib
 COMMON_LIBS-$(LIBMPEG2)           += libmpeg2/libmpeg2.a
 COMMON_LIBS-$(FAAD_INTERNAL)      += libfaad2/libfaad2.a
 COMMON_LIBS-$(DVDREAD_INTERNAL)   += dvdread/dvdread.a
-COMMON_LIBS-$(DVDCSS_INTERNAL)    += libdvdcss/libdvdcss.a
 
 LIBS_MPLAYER-$(VIDIX)             += vidix/vidix.a
 
@@ -508,7 +514,6 @@ PARTS = dvdread \
         libavcodec \
         libavformat \
         libavutil \
-        libdvdcss \
         libfaad2 \
         libmpeg2 \
         libpostproc \
@@ -530,6 +535,7 @@ DIRS =  gui \
         libaf \
         libao2 \
         libass \
+        libdvdcss \
         libmenu \
         libmpcodecs \
         libmpcodecs/native \
@@ -590,6 +596,8 @@ codec-cfg-test$(EXESUF): codecs.conf.h c
 osdep/mplayer-rc.o: osdep/mplayer.rc version.h
 	$(WINDRES) -o $@ $<
 
+libdvdcss/%.o libdvdcss/%.d: CFLAGS += -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.9\"
+
 libmpdemux/demux_lavf.o libmpdemux/demux_lavf.d libmpdemux/mp_taglists.o libmpdemux/mp_taglists.d: CFLAGS += -Ilibavcodec
 
 install: install-dirs $(INSTALL_TARGETS)
@@ -755,7 +763,6 @@ 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 \
-                 libdvdcss/libdvdcss.a \
                  libavutil/libavutil.a \
                  m_option.o \
                  m_struct.o \



More information about the MPlayer-cvslog mailing list