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.

44 lines
717B

  1. #
  2. # libavformat Makefile
  3. # (c) 2000, 2001, 2002 Fabrice Bellard
  4. #
  5. include ../config.mak
  6. VPATH=$(SRC_PATH)/libav
  7. CFLAGS= $(OPTFLAGS) -Wall -g -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -DHAVE_AV_CONFIG_H
  8. OBJS= utils.o
  9. # mux and demuxes
  10. OBJS+=mpeg.o mpegts.o ffm.o crc.o img.o raw.o rm.o asf.o \
  11. avienc.o avidec.o wav.o swf.o au.o gif.o mov.o jpeg.o
  12. # file I/O
  13. OBJS+= avio.o aviobuf.o file.o
  14. ifeq ($(CONFIG_VIDEO4LINUX),yes)
  15. OBJS+= grab.o
  16. endif
  17. ifeq ($(CONFIG_AUDIO_OSS),yes)
  18. OBJS+= audio.o
  19. endif
  20. ifeq ($(CONFIG_NETWORK),yes)
  21. OBJS+= udp.o http.o
  22. endif
  23. LIB= libavformat.a
  24. all: $(LIB)
  25. $(LIB): $(OBJS)
  26. rm -f $@
  27. $(AR) rcs $@ $(OBJS)
  28. %.o: %.c
  29. $(CC) $(CFLAGS) -c -o $@ $<
  30. clean:
  31. rm -f *.o *~ *.a