add support for demuxing Electronic Arts .cdata files
[libav.git] / libavformat / Makefile
CommitLineData
19720f15
FB
1#
2# libavformat Makefile
165f74ff 3# (c) 2000-2003 Fabrice Bellard
19720f15 4#
980fc7b8 5include ../config.mak
f57a4535 6
1e97ce4a 7CFLAGS += -I$(SRC_PATH)/libavcodec
85f07f22 8
1e97ce4a 9OBJS = allformats.o cutils.o os_support.o sdp.o utils.o
8b2121e3
MR
10
11HEADERS = avformat.h avio.h rtp.h rtsp.h rtspcodes.h
c9a65ca8 12
ff70e601 13# muxers/demuxers
a4b120f3
DB
14OBJS-$(CONFIG_AAC_DEMUXER) += raw.o
15OBJS-$(CONFIG_AC3_DEMUXER) += raw.o
16OBJS-$(CONFIG_AC3_MUXER) += raw.o
ff70e601 17OBJS-$(CONFIG_ADTS_MUXER) += adtsenc.o
2115c69f 18OBJS-$(CONFIG_AIFF_DEMUXER) += aiff.o riff.o raw.o
9d9f4119 19OBJS-$(CONFIG_AIFF_MUXER) += aiff.o riff.o
ff70e601
MR
20OBJS-$(CONFIG_AMR_DEMUXER) += amr.o
21OBJS-$(CONFIG_AMR_MUXER) += amr.o
8e952e4d 22OBJS-$(CONFIG_APC_DEMUXER) += apc.o
bf4a1f17 23OBJS-$(CONFIG_APE_DEMUXER) += ape.o
72be7db4 24OBJS-$(CONFIG_ASF_DEMUXER) += asf.o asfcrypt.o riff.o
9d9f4119
MR
25OBJS-$(CONFIG_ASF_MUXER) += asf-enc.o riff.o
26OBJS-$(CONFIG_ASF_STREAM_MUXER) += asf-enc.o riff.o
8f3a44a2
AJ
27OBJS-$(CONFIG_AU_DEMUXER) += au.o raw.o
28OBJS-$(CONFIG_AU_MUXER) += au.o
9d9f4119
MR
29OBJS-$(CONFIG_AVI_DEMUXER) += avidec.o riff.o
30OBJS-$(CONFIG_AVI_MUXER) += avienc.o riff.o
8ac17293 31OBJS-$(CONFIG_AVISYNTH) += avisynth.o
8f3a44a2 32OBJS-$(CONFIG_AVS_DEMUXER) += avs.o vocdec.o voc.o
1e6c6759 33OBJS-$(CONFIG_BETHSOFTVID_DEMUXER) += bethsoftvid.o
7b1b62b2 34OBJS-$(CONFIG_BKTR_DEMUXER) += bktr.o
7f7fdbc8 35OBJS-$(CONFIG_C93_DEMUXER) += c93.o vocdec.o voc.o
39f79f26 36OBJS-$(CONFIG_CRC_MUXER) += crcenc.o
ff70e601 37OBJS-$(CONFIG_DAUD_DEMUXER) += daud.o
72450e50 38OBJS-$(CONFIG_DSICIN_DEMUXER) += dsicin.o
a4b120f3 39OBJS-$(CONFIG_DTS_DEMUXER) += raw.o
ff70e601 40OBJS-$(CONFIG_DV_DEMUXER) += dv.o
d4fc91b4 41OBJS-$(CONFIG_DV_MUXER) += dvenc.o
6d7eee84 42OBJS-$(CONFIG_DV1394_DEMUXER) += dv1394.o dv.o
548fabb9 43OBJS-$(CONFIG_DXA_DEMUXER) += dxa.o riff.o
9abf2433 44OBJS-$(CONFIG_EA_CDATA_DEMUXER) += eacdata.o
ff70e601
MR
45OBJS-$(CONFIG_EA_DEMUXER) += electronicarts.o
46OBJS-$(CONFIG_FFM_DEMUXER) += ffm.o
47OBJS-$(CONFIG_FFM_MUXER) += ffm.o
a4b120f3
DB
48OBJS-$(CONFIG_FLAC_DEMUXER) += raw.o
49OBJS-$(CONFIG_FLAC_MUXER) += raw.o
ff70e601
MR
50OBJS-$(CONFIG_FLIC_DEMUXER) += flic.o
51OBJS-$(CONFIG_FLV_DEMUXER) += flvdec.o
52OBJS-$(CONFIG_FLV_MUXER) += flvenc.o
a4b120f3 53OBJS-$(CONFIG_FOURXM_DEMUXER) += 4xm.o
6b6adf2b 54OBJS-$(CONFIG_FRAMECRC_MUXER) += framecrcenc.o
ff70e601
MR
55OBJS-$(CONFIG_GIF_MUXER) += gif.o
56OBJS-$(CONFIG_GIF_DEMUXER) += gifdec.o
57OBJS-$(CONFIG_GXF_DEMUXER) += gxf.o
621b4c4c 58OBJS-$(CONFIG_GXF_MUXER) += gxfenc.o
a4b120f3
DB
59OBJS-$(CONFIG_H261_DEMUXER) += raw.o
60OBJS-$(CONFIG_H261_MUXER) += raw.o
61OBJS-$(CONFIG_H263_DEMUXER) += raw.o
62OBJS-$(CONFIG_H263_MUXER) += raw.o
63OBJS-$(CONFIG_H264_DEMUXER) += raw.o
64OBJS-$(CONFIG_H264_MUXER) += raw.o
ff70e601 65OBJS-$(CONFIG_IDCIN_DEMUXER) += idcin.o
ff70e601 66OBJS-$(CONFIG_IMAGE2_DEMUXER) += img2.o
ff70e601 67OBJS-$(CONFIG_IMAGE2_MUXER) += img2.o
a4b120f3 68OBJS-$(CONFIG_IMAGE2PIPE_DEMUXER) += img2.o
ff70e601 69OBJS-$(CONFIG_IMAGE2PIPE_MUXER) += img2.o
a4b120f3 70OBJS-$(CONFIG_INGENIENT_DEMUXER) += raw.o
ff70e601 71OBJS-$(CONFIG_IPMOVIE_DEMUXER) += ipmovie.o
a4b120f3
DB
72OBJS-$(CONFIG_M4V_DEMUXER) += raw.o
73OBJS-$(CONFIG_M4V_MUXER) += raw.o
e09f7d61 74OBJS-$(CONFIG_MATROSKA_AUDIO_MUXER) += matroskaenc.o matroska.o riff.o
b061d892 75OBJS-$(CONFIG_MATROSKA_DEMUXER) += matroskadec.o matroska.o riff.o
e09f7d61 76OBJS-$(CONFIG_MATROSKA_MUXER) += matroskaenc.o matroska.o riff.o
a4b120f3
DB
77OBJS-$(CONFIG_MJPEG_DEMUXER) += raw.o
78OBJS-$(CONFIG_MJPEG_MUXER) += raw.o
ff70e601 79OBJS-$(CONFIG_MM_DEMUXER) += mm.o
8f3a44a2 80OBJS-$(CONFIG_MMF_DEMUXER) += mmf.o raw.o
9d9f4119 81OBJS-$(CONFIG_MMF_MUXER) += mmf.o riff.o
e40ee6a2
BC
82OBJS-$(CONFIG_MOV_DEMUXER) += mov.o riff.o isom.o
83OBJS-$(CONFIG_MOV_MUXER) += movenc.o riff.o isom.o
ff70e601 84OBJS-$(CONFIG_MP2_MUXER) += mp3.o
a4b120f3 85OBJS-$(CONFIG_MP3_DEMUXER) += mp3.o
ff70e601 86OBJS-$(CONFIG_MP3_MUXER) += mp3.o
a4b120f3 87OBJS-$(CONFIG_MP4_MUXER) += movenc.o riff.o isom.o
185c7b6b 88OBJS-$(CONFIG_MPC_DEMUXER) += mpc.o
2abe5a01
BC
89OBJS-$(CONFIG_MPEG1SYSTEM_MUXER) += mpegenc.o
90OBJS-$(CONFIG_MPEG1VCD_MUXER) += mpegenc.o
91OBJS-$(CONFIG_MPEG2DVD_MUXER) += mpegenc.o
92OBJS-$(CONFIG_MPEG2VOB_MUXER) += mpegenc.o
93OBJS-$(CONFIG_MPEG2SVCD_MUXER) += mpegenc.o
a4b120f3
DB
94OBJS-$(CONFIG_MPEG1VIDEO_MUXER) += raw.o
95OBJS-$(CONFIG_MPEG2VIDEO_MUXER) += raw.o
ff70e601
MR
96OBJS-$(CONFIG_MPEGPS_DEMUXER) += mpeg.o
97OBJS-$(CONFIG_MPEGTS_DEMUXER) += mpegts.o
95e99a76 98OBJS-$(CONFIG_MPEGTSRAW_DEMUXER) += mpegts.o
ff70e601 99OBJS-$(CONFIG_MPEGTS_MUXER) += mpegtsenc.o
a4b120f3 100OBJS-$(CONFIG_MPEGVIDEO_DEMUXER) += raw.o
ff70e601 101OBJS-$(CONFIG_MPJPEG_MUXER) += mpjpeg.o
bf507033 102OBJS-$(CONFIG_MTV_DEMUXER) += mtv.o
07bf2af8 103OBJS-$(CONFIG_MXF_DEMUXER) += mxf.o
8f3a44a2 104OBJS-$(CONFIG_NSV_DEMUXER) += nsvdec.o
a4b120f3 105OBJS-$(CONFIG_NULL_MUXER) += raw.o
874abace 106OBJS-$(CONFIG_NUT_DEMUXER) += nutdec.o nut.o riff.o
41b7c75d 107OBJS-$(CONFIG_NUT_MUXER) += nutenc.o nut.o riff.o
9d9f4119 108OBJS-$(CONFIG_NUV_DEMUXER) += nuv.o riff.o
ff70e601
MR
109OBJS-$(CONFIG_OGG_DEMUXER) += ogg2.o \
110 oggparsevorbis.o \
111 oggparsetheora.o \
112 oggparseflac.o \
9d9f4119
MR
113 oggparseogm.o \
114 riff.o
621b4c4c 115OBJS-$(CONFIG_OGG_MUXER) += ogg.o
50383e88
RP
116OBJS-$(CONFIG_OSS_DEMUXER) += audio.o
117OBJS-$(CONFIG_OSS_MUXER) += audio.o
a4b120f3 118OBJS-$(CONFIG_PSP_MUXER) += movenc.o riff.o isom.o
ff70e601
MR
119OBJS-$(CONFIG_RAWVIDEO_DEMUXER) += raw.o
120OBJS-$(CONFIG_RAWVIDEO_MUXER) += raw.o
c08fb000 121OBJS-$(CONFIG_REDIR_DEMUXER) += rtsp.o
7b2a2ce5
AJ
122OBJS-$(CONFIG_RM_DEMUXER) += rmdec.o
123OBJS-$(CONFIG_RM_MUXER) += rmenc.o
a4b120f3 124OBJS-$(CONFIG_ROQ_DEMUXER) += idroq.o
13dec857 125OBJS-$(CONFIG_ROQ_MUXER) += raw.o
171dce48 126OBJS-$(CONFIG_RTP_MUXER) += rtp.o rtp_h264.o rtp_mpv.o rtp_aac.o
c08fb000 127OBJS-$(CONFIG_RTSP_DEMUXER) += rtsp.o
c08fb000 128OBJS-$(CONFIG_SDP_DEMUXER) += rtsp.o
a4b120f3
DB
129OBJS-$(CONFIG_SEGAFILM_DEMUXER) += segafilm.o
130OBJS-$(CONFIG_SHORTEN_DEMUXER) += raw.o
66f7679c 131OBJS-$(CONFIG_SIFF_DEMUXER) += siff.o
ff70e601 132OBJS-$(CONFIG_SMACKER_DEMUXER) += smacker.o
2115c69f 133OBJS-$(CONFIG_SOL_DEMUXER) += sol.o raw.o
a4b120f3 134OBJS-$(CONFIG_STR_DEMUXER) += psxstr.o
ff70e601
MR
135OBJS-$(CONFIG_SWF_DEMUXER) += swf.o
136OBJS-$(CONFIG_SWF_MUXER) += swf.o
a4b120f3
DB
137OBJS-$(CONFIG_TG2_MUXER) += movenc.o riff.o isom.o
138OBJS-$(CONFIG_TGP_MUXER) += movenc.o riff.o isom.o
efb0c399 139OBJS-$(CONFIG_THP_DEMUXER) += thp.o
20cd83e2 140OBJS-$(CONFIG_TIERTEXSEQ_DEMUXER) += tiertexseq.o
ff70e601 141OBJS-$(CONFIG_TTA_DEMUXER) += tta.o
cb631737 142OBJS-$(CONFIG_TXD_DEMUXER) += txd.o
621b4c4c 143OBJS-$(CONFIG_V4L2_DEMUXER) += v4l2.o
7b1b62b2 144OBJS-$(CONFIG_V4L_DEMUXER) += v4l.o
c3eaeadb 145OBJS-$(CONFIG_VC1_DEMUXER) += raw.o
a4b120f3 146OBJS-$(CONFIG_VMD_DEMUXER) += sierravmd.o
8f3a44a2
AJ
147OBJS-$(CONFIG_VOC_DEMUXER) += vocdec.o voc.o
148OBJS-$(CONFIG_VOC_MUXER) += vocenc.o voc.o
2115c69f 149OBJS-$(CONFIG_WAV_DEMUXER) += wav.o riff.o raw.o
9d9f4119 150OBJS-$(CONFIG_WAV_MUXER) += wav.o riff.o
ff70e601
MR
151OBJS-$(CONFIG_WC3_DEMUXER) += wc3movie.o
152OBJS-$(CONFIG_WSAUD_DEMUXER) += westwood.o
153OBJS-$(CONFIG_WSVQA_DEMUXER) += westwood.o
730581f3 154OBJS-$(CONFIG_WV_DEMUXER) += wv.o
621b4c4c 155OBJS-$(CONFIG_X11_GRAB_DEVICE_DEMUXER) += x11grab.o
ff70e601
MR
156OBJS-$(CONFIG_YUV4MPEGPIPE_MUXER) += yuv4mpeg.o
157OBJS-$(CONFIG_YUV4MPEGPIPE_DEMUXER) += yuv4mpeg.o
bc634f6f 158
7a7a6486 159# external libraries
4df7c7d8 160OBJS-$(CONFIG_LIBDC1394_DEMUXER) += libdc1394.o
7a7a6486
DB
161OBJS-$(CONFIG_LIBNUT_DEMUXER) += libnut.o riff.o
162OBJS-$(CONFIG_LIBNUT_MUXER) += libnut.o riff.o
163
d0f596b4 164OBJS-$(CONFIG_VHOOK) += framehook.o
8be1c656 165
14f29f79
DB
166EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) \
167 -lavcodec$(BUILDSUF) -L$(BUILD_ROOT)/libavcodec $(EXTRALIBS)
dbbcfd6b 168
50383e88
RP
169CPPOBJS-$(CONFIG_AUDIO_BEOS_DEMUXER) += beosaudio.o
170CPPOBJS-$(CONFIG_AUDIO_BEOS_MUXER) += beosaudio.o
dfdfa47c 171
04f46ced
GB
172# protocols I/O
173OBJS+= avio.o aviobuf.o
174
c08fb000
AB
175OBJS-$(CONFIG_FILE_PROTOCOL) += file.o
176OBJS-$(CONFIG_HTTP_PROTOCOL) += http.o
177OBJS-$(CONFIG_PIPE_PROTOCOL) += file.o
178OBJS-$(CONFIG_RTP_PROTOCOL) += rtpproto.o
179OBJS-$(CONFIG_TCP_PROTOCOL) += tcp.o
180OBJS-$(CONFIG_UDP_PROTOCOL) += udp.o
a74127c0 181
4bdd05e7 182NAME=avformat
f3b60109
DB
183LIBVERSION=$(LAVFVERSION)
184LIBMAJOR=$(LAVFMAJOR)
6bc114b2 185
997baf01 186include ../common.mak