diff libvo/Makefile @ 4089:e1c6178de089

Configurable VIDIX usage
author nick
date Fri, 11 Jan 2002 17:20:43 +0000
parents 4435dc3b8bef
children 562b43b604d4
line wrap: on
line diff
--- a/libvo/Makefile	Fri Jan 11 16:06:45 2002 +0000
+++ b/libvo/Makefile	Fri Jan 11 17:20:43 2002 +0000
@@ -3,10 +3,17 @@
 
 LIBNAME = libvo.a
 
-SRCS=aspect.c aclib.c osd.c font_load.c video_out.c vo_null.c vo_pgm.c vo_md5.c vo_mpegpes.c x11_common.c $(OPTIONAL_SRCS) img_format.c vosub_vidix.c sub.c
+SRCS=aspect.c aclib.c osd.c font_load.c video_out.c vo_null.c vo_pgm.c vo_md5.c vo_mpegpes.c x11_common.c $(OPTIONAL_SRCS) img_format.c sub.c
 OBJS=$(SRCS:.c=.o)
 
-CFLAGS  = $(OPTFLAGS) -I. -I.. $(SDL_INC) $(X11_INC) $(EXTRA_INC) $(DVB_INC) -DMPG12PLAY -DVIDIX_PATH='"$(prefix)/lib/mplayer/vidix/"' #-Wall
+ifeq ($(VIDIX),yes)
+SRCS += vosub_vidix.c
+endif
+
+CFLAGS  = $(OPTFLAGS) -I. -I.. $(SDL_INC) $(X11_INC) $(EXTRA_INC) $(DVB_INC) -DMPG12PLAY #-Wall
+ifeq ($(VIDIX),yes)
+CFLAGS += -DVIDIX_PATH='"$(prefix)/lib/mplayer/vidix/"'
+endif
 # -I/usr/X11R6/include/
 
 .SUFFIXES: .c .o