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.

38 lines
610B

  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= utils.o
  6. # mux and demuxes
  7. OBJS+=mpeg.o mpegts.o ffm.o crc.o img.o raw.o rm.o asf.o \
  8. avienc.o avidec.o wav.o swf.o au.o gif.o mov.o jpeg.o
  9. # file I/O
  10. OBJS+= avio.o aviobuf.o file.o
  11. ifeq ($(CONFIG_GRAB),yes)
  12. OBJS+= grab.o audio.o
  13. endif
  14. ifneq ($(CONFIG_WIN32),yes)
  15. OBJS+= udp.o http.o
  16. endif
  17. LIB= libav.a
  18. all: $(LIB)
  19. $(LIB): $(OBJS)
  20. rm -f $@
  21. $(AR) rcs $@ $(OBJS)
  22. %.o: %.c
  23. $(CC) $(CFLAGS) -c -o $@ $<
  24. clean:
  25. rm -f *.o *~ *.a