2001-02-24 21:28:24 +01:00
|
|
|
|
|
|
|
include config.mak
|
|
|
|
|
|
|
|
LIBNAME = libvo.a
|
|
|
|
|
2001-11-06 12:22:40 +01:00
|
|
|
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
|
2001-05-24 23:09:13 +02:00
|
|
|
OBJS=$(SRCS:.c=.o)
|
2001-02-24 21:28:24 +01:00
|
|
|
|
2001-07-12 17:35:52 +02:00
|
|
|
ifeq ($(TARGET_ARCH_X86),yes)
|
2001-10-17 20:24:50 +02:00
|
|
|
ifeq ($(TARGET_OS),Linux)
|
2001-11-13 18:13:33 +01:00
|
|
|
SRCS += vo_vesa.c vesa_lvo.c
|
2001-10-17 20:24:50 +02:00
|
|
|
endif
|
2001-07-12 17:35:52 +02:00
|
|
|
endif
|
|
|
|
|
2001-11-06 12:22:40 +01:00
|
|
|
CFLAGS = $(OPTFLAGS) -I. -I.. $(SDL_INC) $(X11_INC) $(EXTRA_INC) $(DVB_INC) -DMPG12PLAY #-Wall
|
2001-02-24 21:28:24 +01:00
|
|
|
# -I/usr/X11R6/include/
|
|
|
|
|
|
|
|
.SUFFIXES: .c .o
|
|
|
|
|
|
|
|
# .PHONY: all clean
|
|
|
|
|
|
|
|
.c.o:
|
2001-03-02 22:42:17 +01:00
|
|
|
$(CC) -c $(CFLAGS) -o $@ $<
|
2001-02-24 21:28:24 +01:00
|
|
|
|
2001-06-04 21:33:28 +02:00
|
|
|
$(LIBNAME): $(OBJS)
|
2001-02-24 21:28:24 +01:00
|
|
|
$(AR) r $(LIBNAME) $(OBJS)
|
|
|
|
|
|
|
|
all: $(LIBNAME)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o *.a *~
|
|
|
|
|
|
|
|
distclean:
|
2001-03-02 22:42:17 +01:00
|
|
|
rm -f Makefile.bak *.o *.a *~ .depend
|
2001-02-24 21:28:24 +01:00
|
|
|
|
|
|
|
dep: depend
|
|
|
|
|
2001-06-04 21:33:28 +02:00
|
|
|
depend:
|
2001-05-24 23:09:13 +02:00
|
|
|
$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
|
2001-02-24 21:28:24 +01:00
|
|
|
|
2001-03-02 22:42:17 +01:00
|
|
|
#
|
|
|
|
# include dependency files if they exist
|
|
|
|
#
|
|
|
|
ifneq ($(wildcard .depend),)
|
|
|
|
include .depend
|
|
|
|
endif
|