Statistics
| Branch: | Revision:

ffmpeg / libavformat / Makefile @ 42225a30

History | View | Annotate | Download (1.93 KB)

1 19720f15 Fabrice Bellard
#
2
# libavformat Makefile
3 165f74ff Fabrice Bellard
# (c) 2000-2003 Fabrice Bellard
4 19720f15 Fabrice Bellard
#
5 980fc7b8 Fabrice Bellard
include ../config.mak
6 f57a4535 Fabrice Bellard
7 c11c2bc2 Alexander Strasser
CFLAGS=$(OPTFLAGS) -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavutil -I$(SRC_PATH)/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
8 85f07f22 Fabrice Bellard
9 f71869a4 Fabrice Bellard
OBJS= utils.o cutils.o os_support.o allformats.o
10 8b2121e3 Måns Rullgård
CPPOBJS=
11
12
HEADERS = avformat.h avio.h rtp.h rtsp.h rtspcodes.h
13 c9a65ca8 Fabrice Bellard
14 04f46ced Gildas Bazin
# demuxers
15 03cfe134 Michael Niedermayer
OBJS+=mpeg.o mpegts.o mpegtsenc.o ffm.o crc.o img.o img2.o raw.o rm.o \
16 93a23627 Vidar Madsen
      avienc.o avidec.o wav.o mmf.o swf.o au.o gif.o mov.o mpjpeg.o dv.o \
17 04f46ced Gildas Bazin
      yuv4mpeg.o 4xm.o flvdec.o psxstr.o idroq.o ipmovie.o \
18 a7eb3c8d Mike Melanson
      nut.o wc3movie.o mp3.o westwood.o segafilm.o idcin.o flic.o \
19 04f46ced Gildas Bazin
      sierravmd.o matroska.o sol.o electronicarts.o nsvdec.o asf.o \
20 ea395e8c Aurelien Jacobs
      ogg2.o oggparsevorbis.o oggparsetheora.o oggparseflac.o daud.o aiff.o \
21 e1203ac0 Måns Rullgård
      voc.o tta.o mm.o avs.o smacker.o nuv.o oggparseogm.o
22 04f46ced Gildas Bazin
23
# muxers
24
ifeq ($(CONFIG_MUXERS),yes)
25 a283db39 Måns Rullgård
OBJS+= flvenc.o movenc.o asf-enc.o adtsenc.o
26 04f46ced Gildas Bazin
endif
27
28
29 60827a1a Diego Biurrun
ifeq ($(AMR),yes)
30
OBJS+= amr.o
31 485bc05d Alex Beregszaszi
endif
32 bc634f6f Zdenek Kabelac
33 87a0a681 Fabrice Bellard
# image formats
34 6a91ec51 Mike Melanson
OBJS+= pnm.o yuv.o png.o jpeg.o gifdec.o sgi.o
35 115329f1 Diego Biurrun
OBJS+= framehook.o
36 8be1c656 Fabrice Bellard
37 19720f15 Fabrice Bellard
ifeq ($(CONFIG_VIDEO4LINUX),yes)
38
OBJS+= grab.o
39 8be1c656 Fabrice Bellard
endif
40 85f07f22 Fabrice Bellard
41 0a7b514f Luca Abeni
ifeq ($(CONFIG_VIDEO4LINUX2),yes)
42
OBJS+= v4l2.o
43
endif
44
45 6beefa40 Michael Niedermayer
ifeq ($(CONFIG_BKTR),yes)
46
OBJS+= grab_bktr.o
47
endif
48
49 8aa3ee32 Max Krasnyansky
ifeq ($(CONFIG_DV1394),yes)
50
OBJS+= dv1394.o
51
endif
52
53 f02be79d Roman Shaposhnik
ifeq ($(CONFIG_DC1394),yes)
54
OBJS+= dc1394.o
55
endif
56
57 19720f15 Fabrice Bellard
ifeq ($(CONFIG_AUDIO_OSS),yes)
58 115329f1 Diego Biurrun
OBJS+= audio.o
59 19720f15 Fabrice Bellard
endif
60
61 2cf30841 Diego Biurrun
EXTRALIBS := -L../libavutil -lavutil$(BUILDSUF) -lavcodec$(BUILDSUF) -L../libavcodec $(EXTRALIBS)
62 dbbcfd6b Alexander Strasser
63 dfdfa47c François Revol
ifeq ($(CONFIG_AUDIO_BEOS),yes)
64 8b2121e3 Måns Rullgård
CPPOBJS+= beosaudio.o
65 dfdfa47c François Revol
endif
66
67 04f46ced Gildas Bazin
# protocols I/O
68
OBJS+= avio.o aviobuf.o
69
70
ifeq ($(CONFIG_PROTOCOLS),yes)
71
OBJS+= file.o
72 19720f15 Fabrice Bellard
ifeq ($(CONFIG_NETWORK),yes)
73 bdd7d518 Fabrice Bellard
OBJS+= udp.o tcp.o http.o rtsp.o rtp.o rtpproto.o
74 cc0799e5 François Revol
# BeOS and Darwin network stuff
75 4baca069 Philip Gladstone
ifeq ($(NEED_INET_ATON),yes)
76 9ddd71fc François Revol
OBJS+= barpainet.o
77
endif
78 a74127c0 Fabrice Bellard
endif
79 04f46ced Gildas Bazin
endif
80 a74127c0 Fabrice Bellard
81 5c5dea3f Nilesh Bansal
ifeq ($(CONFIG_LIBOGG),yes)
82 81e0d0b4 Mark Hills
OBJS+= ogg.o
83
endif
84
85 4bdd05e7 Diego Biurrun
NAME=avformat
86 6bc114b2 Tim Allen
ifeq ($(BUILD_SHARED),yes)
87 f3b60109 Diego Biurrun
LIBVERSION=$(LAVFVERSION)
88
LIBMAJOR=$(LAVFMAJOR)
89 6bc114b2 Tim Allen
endif
90
91 8b2121e3 Måns Rullgård
include $(SRC_PATH)/common.mak