You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
560B

  1. include ../config.mak
  2. VPATH=$(SRC_PATH)/libav
  3. PWD=$(shell pwd)
  4. CFLAGS= $(OPTFLAGS) -Wall -g -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -DHAVE_AV_CONFIG_H
  5. OBJS= rm.o mpeg.o asf.o avienc.o jpeg.o swf.o wav.o raw.o \
  6. avidec.o ffm.o \
  7. avio.o aviobuf.o utils.o \
  8. file.o img.o au.o gif.o mov.o crc.o
  9. ifeq ($(CONFIG_GRAB),yes)
  10. OBJS+= grab.o audio.o
  11. endif
  12. ifneq ($(CONFIG_WIN32),yes)
  13. OBJS+= udp.o http.o
  14. endif
  15. LIB= libav.a
  16. all: $(LIB)
  17. $(LIB): $(OBJS)
  18. rm -f $@
  19. $(AR) rcs $@ $(OBJS)
  20. %.o: %.c
  21. $(CC) $(CFLAGS) -c -o $@ $<
  22. clean:
  23. rm -f *.o *~ *.a