[MPlayer-cvslog] r22553 - in trunk: dvdread/Makefile libfaad2/Makefile

diego subversion at mplayerhq.hu
Tue Mar 13 23:17:48 CET 2007


Author: diego
Date: Tue Mar 13 23:17:48 2007
New Revision: 22553

Modified:
   trunk/dvdread/Makefile
   trunk/libfaad2/Makefile

Log:
Simplify CFLAGS handling.


Modified: trunk/dvdread/Makefile
==============================================================================
--- trunk/dvdread/Makefile	(original)
+++ trunk/dvdread/Makefile	Tue Mar 13 23:17:48 2007
@@ -14,8 +14,6 @@ SRCS_COMMON = dvd_input.c \
 CFLAGS= -D__USE_UNIX98 -D_GNU_SOURCE -DSTDC_HEADERS \
 	-DHAVE_LIMITS_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
 
-ifeq ($(DVDCSS_INTERNAL),yes)
-CFLAGS += -I../libdvdcss -DHAVE_DVDCSS_DVDCSS_H
-endif
+CFLAGS-$(DVDCSS_INTERNAL) += -I../libdvdcss -DHAVE_DVDCSS_DVDCSS_H
 
 include ../mpcommon.mak

Modified: trunk/libfaad2/Makefile
==============================================================================
--- trunk/libfaad2/Makefile	(original)
+++ trunk/libfaad2/Makefile	Tue Mar 13 23:17:48 2007
@@ -45,8 +45,6 @@ CFLAGS  = -D_GNU_SOURCE
 
 # The FIXED_POINT implementation of FAAD2 improves performance
 # on some platforms, especially for SBR files.
-ifeq ($(FAAD_FIXED),yes)
-CFLAGS  += -DFIXED_POINT
-endif
+CFLAGS-$(FAAD_FIXED)  += -DFIXED_POINT
 
 include ../mpcommon.mak



More information about the MPlayer-cvslog mailing list