view libvo/Makefile @ 25978:a8ff60976ccb

FLAT objects cannot have multiple sections, so using the L1 attributes breaks linking. The FDPIC relocs also break for any other format. Thus check the compiler environment and select the appropriate sections/relocs. patch by Mike Frysinger, vapier.adi a gmail d com
author diego
date Sat, 16 Feb 2008 15:17:59 +0000
parents b0454664f1e0
children 03e503db705a
line wrap: on
line source

include ../config.mak

LIBNAME_COMMON  = libosd.a
LIBNAME_MPLAYER = libvo.a

SRCS_MPLAYER = aspect.c \
               geometry.c \
               spuenc.c \
               video_out.c \
               vo_mpegpes.c \
               vo_null.c \
               vo_yuv4mpeg.c \
               $(VO_SRCS) \

SRCS_MPLAYER-$(VIDIX)          +=  vosub_vidix.c

SRCS_COMMON = aclib.c \
              osd.c \
              sub.c \

SRCS_COMMON-$(BITMAP_FONT) +=  font_load.c
SRCS_COMMON-$(FREETYPE)    +=  font_load_ft.c

include ../mpcommon.mak

%.o: %.m
	$(CC) $(CFLAGS) -c -o $@ $<

vo_png.o: CFLAGS := $(filter-out -I../libavcodec,$(CFLAGS))