2001-02-24 20:28:24 +00:00
|
|
|
|
2006-07-12 17:28:14 +00:00
|
|
|
include ../config.mak
|
2001-02-24 20:28:24 +00:00
|
|
|
|
|
|
|
LIBNAME = libvo.a
|
2006-11-21 11:49:47 +00:00
|
|
|
LIBNAME2 = libosd.a
|
2001-02-24 20:28:24 +00:00
|
|
|
|
2006-11-25 18:56:00 +00:00
|
|
|
LIBS =$(LIBNAME2)
|
|
|
|
ifeq ($(MPLAYER),yes)
|
|
|
|
LIBS+=$(LIBNAME)
|
|
|
|
endif
|
|
|
|
|
2006-11-21 11:49:47 +00:00
|
|
|
SRCS=aspect.c \
|
2005-06-19 22:52:55 +00:00
|
|
|
geometry.c \
|
|
|
|
spuenc.c \
|
|
|
|
video_out.c \
|
|
|
|
vo_mpegpes.c \
|
|
|
|
vo_null.c \
|
|
|
|
vo_yuv4mpeg.c \
|
2006-07-12 17:28:14 +00:00
|
|
|
$(VO_SRCS) \
|
2005-06-19 22:52:55 +00:00
|
|
|
|
2006-11-21 11:49:47 +00:00
|
|
|
SRCS2 = aclib.c \
|
|
|
|
osd.c \
|
|
|
|
sub.c \
|
|
|
|
|
2005-09-01 10:44:46 +00:00
|
|
|
ifeq ($(CONFIG_LIBAVUTIL),yes)
|
|
|
|
LIBAV_INC += -I../libavutil
|
|
|
|
endif
|
|
|
|
|
2005-04-29 11:41:07 +00:00
|
|
|
OBJS_TEMP=$(basename $(SRCS))
|
|
|
|
OBJS=$(OBJS_TEMP:%=%.o)
|
2001-02-24 20:28:24 +00:00
|
|
|
|
2006-11-21 11:49:47 +00:00
|
|
|
OBJS2=$(SRCS2:.c=.o)
|
|
|
|
|
2006-08-21 23:19:11 +00:00
|
|
|
ifeq ($(BITMAP_FONT),yes)
|
2006-11-21 11:49:47 +00:00
|
|
|
SRCS2 += font_load.c
|
2006-08-21 23:19:11 +00:00
|
|
|
endif
|
2006-06-30 12:41:05 +00:00
|
|
|
ifeq ($(FREETYPE),yes)
|
2006-11-21 11:49:47 +00:00
|
|
|
SRCS2 += font_load_ft.c
|
2006-06-30 12:41:05 +00:00
|
|
|
endif
|
|
|
|
|
2002-01-11 17:20:43 +00:00
|
|
|
ifeq ($(VIDIX),yes)
|
2002-01-15 12:13:53 +00:00
|
|
|
SRCS += vosub_vidix.c
|
2002-01-11 17:20:43 +00:00
|
|
|
endif
|
|
|
|
|
2006-03-28 22:44:16 +00:00
|
|
|
ifeq ($(EXTERNAL_VIDIX),yes)
|
|
|
|
SRCS += vosub_vidix.c
|
|
|
|
endif
|
|
|
|
|
2006-11-26 18:12:36 +00:00
|
|
|
CFLAGS = -I.. -I../osdep $(LIBAV_INC)
|
2005-06-19 22:52:55 +00:00
|
|
|
|
2006-11-26 18:12:36 +00:00
|
|
|
include ../mpcommon.mak
|
2001-02-24 20:28:24 +00:00
|
|
|
|
2005-04-29 11:41:07 +00:00
|
|
|
.m.o:
|
|
|
|
$(CC) -c $(CFLAGS) -o $@ $<
|
|
|
|
|
2006-11-25 18:56:00 +00:00
|
|
|
all: $(LIBS)
|
2006-11-21 11:49:47 +00:00
|
|
|
|
2006-11-25 17:58:43 +00:00
|
|
|
$(LIBNAME2): $(OBJS2)
|
|
|
|
$(AR) r $@ $^
|
|
|
|
$(RANLIB) $@
|