diff Makefile @ 16935:60bd6aeed405

make it optionally possible to compile MPlayer with libcdio instead of libcdparanoia patch by Erik Lunchpail <erik_27can at yahoo.com> base on patch by Rocky Bernstein <rocky at panix.com> minor modification by myself
author faust3
date Sun, 06 Nov 2005 17:42:20 +0000
parents 6b1d1e4adaea
children 4beb036cd4fc
line wrap: on
line diff
--- a/Makefile	Sun Nov 06 16:17:17 2005 +0000
+++ b/Makefile	Sun Nov 06 17:42:20 2005 +0000
@@ -26,6 +26,10 @@
 SUBDIRS += libdha vidix
 DO_MAKE = @ for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done
 endif
+ifeq ($(HAVE_LIBCDIO),yes)
+CFLAGS += $(LIBCDIO_INC) 
+COMMON_LIBS += $(LIBCDIO_LIB)
+endif
 
 SRCS_COMMON = asxparser.c \
               codec-cfg.c \