Mercurial > libavformat.hg
annotate Makefile @ 3402:c30e9e11baf9 libavformat
ENOMEM is better, yes ...
author | michael |
---|---|
date | Thu, 29 May 2008 15:40:16 +0000 |
parents | 4d492fccf79b |
children | 9e77f940abc4 |
rev | line source |
---|---|
0 | 1 # |
2 # libavformat Makefile | |
251 | 3 # (c) 2000-2003 Fabrice Bellard |
0 | 4 # |
3206 | 5 include $(SUBDIR)../config.mak |
0 | 6 |
3123
87d84e9dfeba
cosmetics: Consistently move NAME and FFLIBS to the top of each Makefile.
diego
parents:
3121
diff
changeset
|
7 NAME = avformat |
87d84e9dfeba
cosmetics: Consistently move NAME and FFLIBS to the top of each Makefile.
diego
parents:
3121
diff
changeset
|
8 FFLIBS = avcodec avutil |
87d84e9dfeba
cosmetics: Consistently move NAME and FFLIBS to the top of each Makefile.
diego
parents:
3121
diff
changeset
|
9 |
2414 | 10 OBJS = allformats.o cutils.o os_support.o sdp.o utils.o |
918 | 11 |
2925
3e44e9eb92ec
Do not install rtp.h (which should have never been part of the public API)
lucabe
parents:
2924
diff
changeset
|
12 HEADERS = avformat.h avio.h rtsp.h rtspcodes.h |
0 | 13 |
1169 | 14 # muxers/demuxers |
2068 | 15 OBJS-$(CONFIG_AAC_DEMUXER) += raw.o |
16 OBJS-$(CONFIG_AC3_DEMUXER) += raw.o | |
17 OBJS-$(CONFIG_AC3_MUXER) += raw.o | |
1169 | 18 OBJS-$(CONFIG_ADTS_MUXER) += adtsenc.o |
2255
618b55cda0d6
All those demuxers use pcm_read_seek() and thus depend on raw.o.
aurel
parents:
2254
diff
changeset
|
19 OBJS-$(CONFIG_AIFF_DEMUXER) += aiff.o riff.o raw.o |
1172
6a5e58d2114b
move common stuff from avienc.c and wav.c to new file riff.c
mru
parents:
1169
diff
changeset
|
20 OBJS-$(CONFIG_AIFF_MUXER) += aiff.o riff.o |
1169 | 21 OBJS-$(CONFIG_AMR_DEMUXER) += amr.o |
22 OBJS-$(CONFIG_AMR_MUXER) += amr.o | |
1990 | 23 OBJS-$(CONFIG_APC_DEMUXER) += apc.o |
2548 | 24 OBJS-$(CONFIG_APE_DEMUXER) += ape.o |
2652 | 25 OBJS-$(CONFIG_ASF_DEMUXER) += asf.o asfcrypt.o riff.o |
1172
6a5e58d2114b
move common stuff from avienc.c and wav.c to new file riff.c
mru
parents:
1169
diff
changeset
|
26 OBJS-$(CONFIG_ASF_MUXER) += asf-enc.o riff.o |
6a5e58d2114b
move common stuff from avienc.c and wav.c to new file riff.c
mru
parents:
1169
diff
changeset
|
27 OBJS-$(CONFIG_ASF_STREAM_MUXER) += asf-enc.o riff.o |
2256 | 28 OBJS-$(CONFIG_AU_DEMUXER) += au.o raw.o |
29 OBJS-$(CONFIG_AU_MUXER) += au.o | |
1172
6a5e58d2114b
move common stuff from avienc.c and wav.c to new file riff.c
mru
parents:
1169
diff
changeset
|
30 OBJS-$(CONFIG_AVI_DEMUXER) += avidec.o riff.o |
6a5e58d2114b
move common stuff from avienc.c and wav.c to new file riff.c
mru
parents:
1169
diff
changeset
|
31 OBJS-$(CONFIG_AVI_MUXER) += avienc.o riff.o |
1282
faf64f0d3445
AVISynth support, patch by Steve Lhomme % slhomme A divxcorp P com %
gpoirier
parents:
1254
diff
changeset
|
32 OBJS-$(CONFIG_AVISYNTH) += avisynth.o |
3302 | 33 OBJS-$(CONFIG_AVM2_MUXER) += swfenc.o |
2256 | 34 OBJS-$(CONFIG_AVS_DEMUXER) += avs.o vocdec.o voc.o |
1989 | 35 OBJS-$(CONFIG_BETHSOFTVID_DEMUXER) += bethsoftvid.o |
3213 | 36 OBJS-$(CONFIG_BFI_DEMUXER) += bfi.o |
2254 | 37 OBJS-$(CONFIG_C93_DEMUXER) += c93.o vocdec.o voc.o |
2680 | 38 OBJS-$(CONFIG_CRC_MUXER) += crcenc.o |
1169 | 39 OBJS-$(CONFIG_DAUD_DEMUXER) += daud.o |
1378
a32812bb5bcf
support for Delphine Software .cin files demuxing / audio and video decoding, by Gregory Montoir %cyx A users P sourceforge P net%
bcoudurier
parents:
1373
diff
changeset
|
40 OBJS-$(CONFIG_DSICIN_DEMUXER) += dsicin.o |
2068 | 41 OBJS-$(CONFIG_DTS_DEMUXER) += raw.o |
1169 | 42 OBJS-$(CONFIG_DV_DEMUXER) += dv.o |
1317
132206560fe6
Split the DV demuxer and muxer into separate files (as suggested by Diego
takis
parents:
1302
diff
changeset
|
43 OBJS-$(CONFIG_DV_MUXER) += dvenc.o |
2258 | 44 OBJS-$(CONFIG_DXA_DEMUXER) += dxa.o riff.o |
2701
25028505671c
add support for demuxing Electronic Arts .cdata files
aurel
parents:
2680
diff
changeset
|
45 OBJS-$(CONFIG_EA_CDATA_DEMUXER) += eacdata.o |
1169 | 46 OBJS-$(CONFIG_EA_DEMUXER) += electronicarts.o |
3348 | 47 OBJS-$(CONFIG_FFM_DEMUXER) += ffmdec.o |
48 OBJS-$(CONFIG_FFM_MUXER) += ffmenc.o | |
2068 | 49 OBJS-$(CONFIG_FLAC_DEMUXER) += raw.o |
50 OBJS-$(CONFIG_FLAC_MUXER) += raw.o | |
1169 | 51 OBJS-$(CONFIG_FLIC_DEMUXER) += flic.o |
52 OBJS-$(CONFIG_FLV_DEMUXER) += flvdec.o | |
53 OBJS-$(CONFIG_FLV_MUXER) += flvenc.o | |
2068 | 54 OBJS-$(CONFIG_FOURXM_DEMUXER) += 4xm.o |
2679 | 55 OBJS-$(CONFIG_FRAMECRC_MUXER) += framecrcenc.o |
1169 | 56 OBJS-$(CONFIG_GIF_MUXER) += gif.o |
57 OBJS-$(CONFIG_GIF_DEMUXER) += gifdec.o | |
58 OBJS-$(CONFIG_GXF_DEMUXER) += gxf.o | |
1692 | 59 OBJS-$(CONFIG_GXF_MUXER) += gxfenc.o |
2068 | 60 OBJS-$(CONFIG_H261_DEMUXER) += raw.o |
61 OBJS-$(CONFIG_H261_MUXER) += raw.o | |
62 OBJS-$(CONFIG_H263_DEMUXER) += raw.o | |
63 OBJS-$(CONFIG_H263_MUXER) += raw.o | |
64 OBJS-$(CONFIG_H264_DEMUXER) += raw.o | |
65 OBJS-$(CONFIG_H264_MUXER) += raw.o | |
1169 | 66 OBJS-$(CONFIG_IDCIN_DEMUXER) += idcin.o |
3189 | 67 OBJS-$(CONFIG_IFF_DEMUXER) += iff.o |
1169 | 68 OBJS-$(CONFIG_IMAGE2_DEMUXER) += img2.o |
2068 | 69 OBJS-$(CONFIG_IMAGE2_MUXER) += img2.o |
1169 | 70 OBJS-$(CONFIG_IMAGE2PIPE_DEMUXER) += img2.o |
71 OBJS-$(CONFIG_IMAGE2PIPE_MUXER) += img2.o | |
2068 | 72 OBJS-$(CONFIG_INGENIENT_DEMUXER) += raw.o |
1169 | 73 OBJS-$(CONFIG_IPMOVIE_DEMUXER) += ipmovie.o |
3144 | 74 OBJS-$(CONFIG_IPOD_MUXER) += movenc.o riff.o isom.o avc.o |
2911 | 75 OBJS-$(CONFIG_LMLM4_DEMUXER) += lmlm4.o |
2068 | 76 OBJS-$(CONFIG_M4V_DEMUXER) += raw.o |
77 OBJS-$(CONFIG_M4V_MUXER) += raw.o | |
2924 | 78 OBJS-$(CONFIG_MATROSKA_AUDIO_MUXER) += matroskaenc.o matroska.o riff.o avc.o |
2142
3aa1f0f698de
split some common code from the mkv demuxer that will be useful to the muxer
aurel
parents:
2103
diff
changeset
|
79 OBJS-$(CONFIG_MATROSKA_DEMUXER) += matroskadec.o matroska.o riff.o |
2924 | 80 OBJS-$(CONFIG_MATROSKA_MUXER) += matroskaenc.o matroska.o riff.o avc.o |
2068 | 81 OBJS-$(CONFIG_MJPEG_DEMUXER) += raw.o |
82 OBJS-$(CONFIG_MJPEG_MUXER) += raw.o | |
1169 | 83 OBJS-$(CONFIG_MM_DEMUXER) += mm.o |
2256 | 84 OBJS-$(CONFIG_MMF_DEMUXER) += mmf.o raw.o |
1172
6a5e58d2114b
move common stuff from avienc.c and wav.c to new file riff.c
mru
parents:
1169
diff
changeset
|
85 OBJS-$(CONFIG_MMF_MUXER) += mmf.o riff.o |
1216
fec0a3d5408f
move common code from mov.c and movenc.c to isom.c
bcoudurier
parents:
1186
diff
changeset
|
86 OBJS-$(CONFIG_MOV_DEMUXER) += mov.o riff.o isom.o |
2922
dcd599833abc
Move isom_write_avcc() and related functions into a separate file.
aurel
parents:
2911
diff
changeset
|
87 OBJS-$(CONFIG_MOV_MUXER) += movenc.o riff.o isom.o avc.o |
2068 | 88 OBJS-$(CONFIG_MP2_MUXER) += mp3.o |
89 OBJS-$(CONFIG_MP3_DEMUXER) += mp3.o | |
90 OBJS-$(CONFIG_MP3_MUXER) += mp3.o | |
2922
dcd599833abc
Move isom_write_avcc() and related functions into a separate file.
aurel
parents:
2911
diff
changeset
|
91 OBJS-$(CONFIG_MP4_MUXER) += movenc.o riff.o isom.o avc.o |
1602 | 92 OBJS-$(CONFIG_MPC_DEMUXER) += mpc.o |
2709 | 93 OBJS-$(CONFIG_MPC8_DEMUXER) += mpc8.o |
2176
50322a49fa2b
split mpeg ps and variants muxer and demuxer, I'll clean more in a few minutes, lpcm freq tab is left static const in mpeg.h for now until we have more code in common
bcoudurier
parents:
2142
diff
changeset
|
94 OBJS-$(CONFIG_MPEG1SYSTEM_MUXER) += mpegenc.o |
50322a49fa2b
split mpeg ps and variants muxer and demuxer, I'll clean more in a few minutes, lpcm freq tab is left static const in mpeg.h for now until we have more code in common
bcoudurier
parents:
2142
diff
changeset
|
95 OBJS-$(CONFIG_MPEG1VCD_MUXER) += mpegenc.o |
50322a49fa2b
split mpeg ps and variants muxer and demuxer, I'll clean more in a few minutes, lpcm freq tab is left static const in mpeg.h for now until we have more code in common
bcoudurier
parents:
2142
diff
changeset
|
96 OBJS-$(CONFIG_MPEG2DVD_MUXER) += mpegenc.o |
50322a49fa2b
split mpeg ps and variants muxer and demuxer, I'll clean more in a few minutes, lpcm freq tab is left static const in mpeg.h for now until we have more code in common
bcoudurier
parents:
2142
diff
changeset
|
97 OBJS-$(CONFIG_MPEG2VOB_MUXER) += mpegenc.o |
50322a49fa2b
split mpeg ps and variants muxer and demuxer, I'll clean more in a few minutes, lpcm freq tab is left static const in mpeg.h for now until we have more code in common
bcoudurier
parents:
2142
diff
changeset
|
98 OBJS-$(CONFIG_MPEG2SVCD_MUXER) += mpegenc.o |
2068 | 99 OBJS-$(CONFIG_MPEG1VIDEO_MUXER) += raw.o |
100 OBJS-$(CONFIG_MPEG2VIDEO_MUXER) += raw.o | |
1169 | 101 OBJS-$(CONFIG_MPEGPS_DEMUXER) += mpeg.o |
102 OBJS-$(CONFIG_MPEGTS_DEMUXER) += mpegts.o | |
2259 | 103 OBJS-$(CONFIG_MPEGTSRAW_DEMUXER) += mpegts.o |
1169 | 104 OBJS-$(CONFIG_MPEGTS_MUXER) += mpegtsenc.o |
2068 | 105 OBJS-$(CONFIG_MPEGVIDEO_DEMUXER) += raw.o |
1169 | 106 OBJS-$(CONFIG_MPJPEG_MUXER) += mpjpeg.o |
3148 | 107 OBJS-$(CONFIG_MSNWC_TCP_DEMUXER) += msnwc_tcp.o |
1735 | 108 OBJS-$(CONFIG_MTV_DEMUXER) += mtv.o |
1186 | 109 OBJS-$(CONFIG_MXF_DEMUXER) += mxf.o |
2256 | 110 OBJS-$(CONFIG_NSV_DEMUXER) += nsvdec.o |
2068 | 111 OBJS-$(CONFIG_NULL_MUXER) += raw.o |
2335
5b5e1edd462e
move syncpoint timestamp resetting code to a common file
michael
parents:
2284
diff
changeset
|
112 OBJS-$(CONFIG_NUT_DEMUXER) += nutdec.o nut.o riff.o |
2354 | 113 OBJS-$(CONFIG_NUT_MUXER) += nutenc.o nut.o riff.o |
1172
6a5e58d2114b
move common stuff from avienc.c and wav.c to new file riff.c
mru
parents:
1169
diff
changeset
|
114 OBJS-$(CONFIG_NUV_DEMUXER) += nuv.o riff.o |
2714 | 115 OBJS-$(CONFIG_OGG_DEMUXER) += oggdec.o \ |
1169 | 116 oggparseflac.o \ |
1172
6a5e58d2114b
move common stuff from avienc.c and wav.c to new file riff.c
mru
parents:
1169
diff
changeset
|
117 oggparseogm.o \ |
3023 | 118 oggparsespeex.o \ |
2879 | 119 oggparsetheora.o \ |
120 oggparsevorbis.o \ | |
1172
6a5e58d2114b
move common stuff from avienc.c and wav.c to new file riff.c
mru
parents:
1169
diff
changeset
|
121 riff.o |
2731 | 122 OBJS-$(CONFIG_OGG_MUXER) += oggenc.o |
2957 | 123 OBJS-$(CONFIG_PCM_ALAW_DEMUXER) += raw.o |
124 OBJS-$(CONFIG_PCM_ALAW_MUXER) += raw.o | |
125 OBJS-$(CONFIG_PCM_MULAW_DEMUXER) += raw.o | |
126 OBJS-$(CONFIG_PCM_MULAW_MUXER) += raw.o | |
127 OBJS-$(CONFIG_PCM_S16BE_DEMUXER) += raw.o | |
128 OBJS-$(CONFIG_PCM_S16BE_MUXER) += raw.o | |
129 OBJS-$(CONFIG_PCM_S16LE_DEMUXER) += raw.o | |
130 OBJS-$(CONFIG_PCM_S16LE_MUXER) += raw.o | |
131 OBJS-$(CONFIG_PCM_S8_DEMUXER) += raw.o | |
132 OBJS-$(CONFIG_PCM_S8_MUXER) += raw.o | |
133 OBJS-$(CONFIG_PCM_U16BE_DEMUXER) += raw.o | |
134 OBJS-$(CONFIG_PCM_U16BE_MUXER) += raw.o | |
135 OBJS-$(CONFIG_PCM_U16LE_DEMUXER) += raw.o | |
136 OBJS-$(CONFIG_PCM_U16LE_MUXER) += raw.o | |
137 OBJS-$(CONFIG_PCM_U8_DEMUXER) += raw.o | |
138 OBJS-$(CONFIG_PCM_U8_MUXER) += raw.o | |
2922
dcd599833abc
Move isom_write_avcc() and related functions into a separate file.
aurel
parents:
2911
diff
changeset
|
139 OBJS-$(CONFIG_PSP_MUXER) += movenc.o riff.o isom.o avc.o |
2880 | 140 OBJS-$(CONFIG_PVA_DEMUXER) += pva.o |
1169 | 141 OBJS-$(CONFIG_RAWVIDEO_DEMUXER) += raw.o |
142 OBJS-$(CONFIG_RAWVIDEO_MUXER) += raw.o | |
2055
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
143 OBJS-$(CONFIG_REDIR_DEMUXER) += rtsp.o |
3172 | 144 OBJS-$(CONFIG_RL2_DEMUXER) += rl2.o |
2103 | 145 OBJS-$(CONFIG_RM_DEMUXER) += rmdec.o |
146 OBJS-$(CONFIG_RM_MUXER) += rmenc.o | |
2068 | 147 OBJS-$(CONFIG_ROQ_DEMUXER) += idroq.o |
2076 | 148 OBJS-$(CONFIG_ROQ_MUXER) += raw.o |
3197 | 149 OBJS-$(CONFIG_RPL_DEMUXER) += rpl.o |
2960 | 150 OBJS-$(CONFIG_RTP_MUXER) += rtp.o \ |
151 rtpenc.o \ | |
152 rtp_mpv.o \ | |
153 rtp_aac.o \ | |
154 rtpenc_h264.o \ | |
155 avc.o | |
2055
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
156 OBJS-$(CONFIG_RTSP_DEMUXER) += rtsp.o |
2892
0d82fdf4fa94
Split the RTP muxer out of rtp.c, to simplify the RTSP demuxer's dependencies
lucabe
parents:
2891
diff
changeset
|
157 OBJS-$(CONFIG_SDP_DEMUXER) += rtsp.o rtp.o rtpdec.o rtp_h264.o |
1169 | 158 OBJS-$(CONFIG_SEGAFILM_DEMUXER) += segafilm.o |
2068 | 159 OBJS-$(CONFIG_SHORTEN_DEMUXER) += raw.o |
2659 | 160 OBJS-$(CONFIG_SIFF_DEMUXER) += siff.o |
1169 | 161 OBJS-$(CONFIG_SMACKER_DEMUXER) += smacker.o |
2255
618b55cda0d6
All those demuxers use pcm_read_seek() and thus depend on raw.o.
aurel
parents:
2254
diff
changeset
|
162 OBJS-$(CONFIG_SOL_DEMUXER) += sol.o raw.o |
2068 | 163 OBJS-$(CONFIG_STR_DEMUXER) += psxstr.o |
3302 | 164 OBJS-$(CONFIG_SWF_DEMUXER) += swfdec.o |
165 OBJS-$(CONFIG_SWF_MUXER) += swfenc.o | |
2922
dcd599833abc
Move isom_write_avcc() and related functions into a separate file.
aurel
parents:
2911
diff
changeset
|
166 OBJS-$(CONFIG_TG2_MUXER) += movenc.o riff.o isom.o avc.o |
dcd599833abc
Move isom_write_avcc() and related functions into a separate file.
aurel
parents:
2911
diff
changeset
|
167 OBJS-$(CONFIG_TGP_MUXER) += movenc.o riff.o isom.o avc.o |
1974
51c5fe603dba
support for the THP game format by Marco Gerards, mgerards xs4all nl
diego
parents:
1918
diff
changeset
|
168 OBJS-$(CONFIG_THP_DEMUXER) += thp.o |
1436 | 169 OBJS-$(CONFIG_TIERTEXSEQ_DEMUXER) += tiertexseq.o |
1169 | 170 OBJS-$(CONFIG_TTA_DEMUXER) += tta.o |
2072 | 171 OBJS-$(CONFIG_TXD_DEMUXER) += txd.o |
2260 | 172 OBJS-$(CONFIG_VC1_DEMUXER) += raw.o |
2984 | 173 OBJS-$(CONFIG_VC1T_DEMUXER) += vc1test.o |
2068 | 174 OBJS-$(CONFIG_VMD_DEMUXER) += sierravmd.o |
2256 | 175 OBJS-$(CONFIG_VOC_DEMUXER) += vocdec.o voc.o |
176 OBJS-$(CONFIG_VOC_MUXER) += vocenc.o voc.o | |
2255
618b55cda0d6
All those demuxers use pcm_read_seek() and thus depend on raw.o.
aurel
parents:
2254
diff
changeset
|
177 OBJS-$(CONFIG_WAV_DEMUXER) += wav.o riff.o raw.o |
1172
6a5e58d2114b
move common stuff from avienc.c and wav.c to new file riff.c
mru
parents:
1169
diff
changeset
|
178 OBJS-$(CONFIG_WAV_MUXER) += wav.o riff.o |
1169 | 179 OBJS-$(CONFIG_WC3_DEMUXER) += wc3movie.o |
180 OBJS-$(CONFIG_WSAUD_DEMUXER) += westwood.o | |
181 OBJS-$(CONFIG_WSVQA_DEMUXER) += westwood.o | |
1324 | 182 OBJS-$(CONFIG_WV_DEMUXER) += wv.o |
3220 | 183 OBJS-$(CONFIG_XA_DEMUXER) += xa.o |
1169 | 184 OBJS-$(CONFIG_YUV4MPEGPIPE_MUXER) += yuv4mpeg.o |
185 OBJS-$(CONFIG_YUV4MPEGPIPE_DEMUXER) += yuv4mpeg.o | |
146 | 186 |
1770 | 187 # external libraries |
188 OBJS-$(CONFIG_LIBNUT_DEMUXER) += libnut.o riff.o | |
189 OBJS-$(CONFIG_LIBNUT_MUXER) += libnut.o riff.o | |
190 | |
2272
8963d9ed1859
Make video hook infrastructure conditional on video hooks being enabled.
diego
parents:
2260
diff
changeset
|
191 OBJS-$(CONFIG_VHOOK) += framehook.o |
0 | 192 |
905
dbc0145bbf11
Add --disable-protocols option to configure to disable I/O protocol from
diego
parents:
900
diff
changeset
|
193 # protocols I/O |
dbc0145bbf11
Add --disable-protocols option to configure to disable I/O protocol from
diego
parents:
900
diff
changeset
|
194 OBJS+= avio.o aviobuf.o |
dbc0145bbf11
Add --disable-protocols option to configure to disable I/O protocol from
diego
parents:
900
diff
changeset
|
195 |
2055
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
196 OBJS-$(CONFIG_FILE_PROTOCOL) += file.o |
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
197 OBJS-$(CONFIG_HTTP_PROTOCOL) += http.o |
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
198 OBJS-$(CONFIG_PIPE_PROTOCOL) += file.o |
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
199 OBJS-$(CONFIG_RTP_PROTOCOL) += rtpproto.o |
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
200 OBJS-$(CONFIG_TCP_PROTOCOL) += tcp.o |
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
201 OBJS-$(CONFIG_UDP_PROTOCOL) += udp.o |
0 | 202 |
3206 | 203 include $(SUBDIR)../subdir.mak |