Mercurial > libavformat.hg
annotate Makefile @ 3042:55389742397f libavformat
update flags
author | michael |
---|---|
date | Wed, 13 Feb 2008 20:01:09 +0000 |
parents | 61ea9e6ee162 |
children | b1caac2f77ad |
rev | line source |
---|---|
0 | 1 # |
2 # libavformat Makefile | |
251 | 3 # (c) 2000-2003 Fabrice Bellard |
0 | 4 # |
5 include ../config.mak | |
6 | |
2414 | 7 CFLAGS += -I$(SRC_PATH)/libavcodec |
0 | 8 |
2414 | 9 OBJS = allformats.o cutils.o os_support.o sdp.o utils.o |
918 | 10 |
2925
3e44e9eb92ec
Do not install rtp.h (which should have never been part of the public API)
lucabe
parents:
2924
diff
changeset
|
11 HEADERS = avformat.h avio.h rtsp.h rtspcodes.h |
0 | 12 |
1169 | 13 # muxers/demuxers |
2068 | 14 OBJS-$(CONFIG_AAC_DEMUXER) += raw.o |
15 OBJS-$(CONFIG_AC3_DEMUXER) += raw.o | |
16 OBJS-$(CONFIG_AC3_MUXER) += raw.o | |
1169 | 17 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
|
18 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
|
19 OBJS-$(CONFIG_AIFF_MUXER) += aiff.o riff.o |
1169 | 20 OBJS-$(CONFIG_AMR_DEMUXER) += amr.o |
21 OBJS-$(CONFIG_AMR_MUXER) += amr.o | |
1990 | 22 OBJS-$(CONFIG_APC_DEMUXER) += apc.o |
2548 | 23 OBJS-$(CONFIG_APE_DEMUXER) += ape.o |
2652 | 24 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
|
25 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
|
26 OBJS-$(CONFIG_ASF_STREAM_MUXER) += asf-enc.o riff.o |
2256 | 27 OBJS-$(CONFIG_AU_DEMUXER) += au.o raw.o |
28 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
|
29 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
|
30 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
|
31 OBJS-$(CONFIG_AVISYNTH) += avisynth.o |
2955
b2d1cd7ab383
new avm2 (flash 9) muxer, patch by Paul Egan, paulegan at mail dot com
bcoudurier
parents:
2931
diff
changeset
|
32 OBJS-$(CONFIG_AVM2_MUXER) += swf.o |
2256 | 33 OBJS-$(CONFIG_AVS_DEMUXER) += avs.o vocdec.o voc.o |
1989 | 34 OBJS-$(CONFIG_BETHSOFTVID_DEMUXER) += bethsoftvid.o |
2254 | 35 OBJS-$(CONFIG_C93_DEMUXER) += c93.o vocdec.o voc.o |
2680 | 36 OBJS-$(CONFIG_CRC_MUXER) += crcenc.o |
1169 | 37 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
|
38 OBJS-$(CONFIG_DSICIN_DEMUXER) += dsicin.o |
2068 | 39 OBJS-$(CONFIG_DTS_DEMUXER) += raw.o |
1169 | 40 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
|
41 OBJS-$(CONFIG_DV_MUXER) += dvenc.o |
2258 | 42 OBJS-$(CONFIG_DXA_DEMUXER) += dxa.o riff.o |
2701
25028505671c
add support for demuxing Electronic Arts .cdata files
aurel
parents:
2680
diff
changeset
|
43 OBJS-$(CONFIG_EA_CDATA_DEMUXER) += eacdata.o |
1169 | 44 OBJS-$(CONFIG_EA_DEMUXER) += electronicarts.o |
45 OBJS-$(CONFIG_FFM_DEMUXER) += ffm.o | |
46 OBJS-$(CONFIG_FFM_MUXER) += ffm.o | |
2068 | 47 OBJS-$(CONFIG_FLAC_DEMUXER) += raw.o |
48 OBJS-$(CONFIG_FLAC_MUXER) += raw.o | |
1169 | 49 OBJS-$(CONFIG_FLIC_DEMUXER) += flic.o |
50 OBJS-$(CONFIG_FLV_DEMUXER) += flvdec.o | |
51 OBJS-$(CONFIG_FLV_MUXER) += flvenc.o | |
2068 | 52 OBJS-$(CONFIG_FOURXM_DEMUXER) += 4xm.o |
2679 | 53 OBJS-$(CONFIG_FRAMECRC_MUXER) += framecrcenc.o |
1169 | 54 OBJS-$(CONFIG_GIF_MUXER) += gif.o |
55 OBJS-$(CONFIG_GIF_DEMUXER) += gifdec.o | |
56 OBJS-$(CONFIG_GXF_DEMUXER) += gxf.o | |
1692 | 57 OBJS-$(CONFIG_GXF_MUXER) += gxfenc.o |
2068 | 58 OBJS-$(CONFIG_H261_DEMUXER) += raw.o |
59 OBJS-$(CONFIG_H261_MUXER) += raw.o | |
60 OBJS-$(CONFIG_H263_DEMUXER) += raw.o | |
61 OBJS-$(CONFIG_H263_MUXER) += raw.o | |
62 OBJS-$(CONFIG_H264_DEMUXER) += raw.o | |
63 OBJS-$(CONFIG_H264_MUXER) += raw.o | |
1169 | 64 OBJS-$(CONFIG_IDCIN_DEMUXER) += idcin.o |
65 OBJS-$(CONFIG_IMAGE2_DEMUXER) += img2.o | |
2068 | 66 OBJS-$(CONFIG_IMAGE2_MUXER) += img2.o |
1169 | 67 OBJS-$(CONFIG_IMAGE2PIPE_DEMUXER) += img2.o |
68 OBJS-$(CONFIG_IMAGE2PIPE_MUXER) += img2.o | |
2068 | 69 OBJS-$(CONFIG_INGENIENT_DEMUXER) += raw.o |
1169 | 70 OBJS-$(CONFIG_IPMOVIE_DEMUXER) += ipmovie.o |
2911 | 71 OBJS-$(CONFIG_LMLM4_DEMUXER) += lmlm4.o |
2068 | 72 OBJS-$(CONFIG_M4V_DEMUXER) += raw.o |
73 OBJS-$(CONFIG_M4V_MUXER) += raw.o | |
2924 | 74 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
|
75 OBJS-$(CONFIG_MATROSKA_DEMUXER) += matroskadec.o matroska.o riff.o |
2924 | 76 OBJS-$(CONFIG_MATROSKA_MUXER) += matroskaenc.o matroska.o riff.o avc.o |
2068 | 77 OBJS-$(CONFIG_MJPEG_DEMUXER) += raw.o |
78 OBJS-$(CONFIG_MJPEG_MUXER) += raw.o | |
1169 | 79 OBJS-$(CONFIG_MM_DEMUXER) += mm.o |
2256 | 80 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
|
81 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
|
82 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
|
83 OBJS-$(CONFIG_MOV_MUXER) += movenc.o riff.o isom.o avc.o |
2068 | 84 OBJS-$(CONFIG_MP2_MUXER) += mp3.o |
85 OBJS-$(CONFIG_MP3_DEMUXER) += mp3.o | |
86 OBJS-$(CONFIG_MP3_MUXER) += mp3.o | |
2922
dcd599833abc
Move isom_write_avcc() and related functions into a separate file.
aurel
parents:
2911
diff
changeset
|
87 OBJS-$(CONFIG_MP4_MUXER) += movenc.o riff.o isom.o avc.o |
1602 | 88 OBJS-$(CONFIG_MPC_DEMUXER) += mpc.o |
2709 | 89 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
|
90 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
|
91 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
|
92 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
|
93 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
|
94 OBJS-$(CONFIG_MPEG2SVCD_MUXER) += mpegenc.o |
2068 | 95 OBJS-$(CONFIG_MPEG1VIDEO_MUXER) += raw.o |
96 OBJS-$(CONFIG_MPEG2VIDEO_MUXER) += raw.o | |
1169 | 97 OBJS-$(CONFIG_MPEGPS_DEMUXER) += mpeg.o |
98 OBJS-$(CONFIG_MPEGTS_DEMUXER) += mpegts.o | |
2259 | 99 OBJS-$(CONFIG_MPEGTSRAW_DEMUXER) += mpegts.o |
1169 | 100 OBJS-$(CONFIG_MPEGTS_MUXER) += mpegtsenc.o |
2068 | 101 OBJS-$(CONFIG_MPEGVIDEO_DEMUXER) += raw.o |
1169 | 102 OBJS-$(CONFIG_MPJPEG_MUXER) += mpjpeg.o |
1735 | 103 OBJS-$(CONFIG_MTV_DEMUXER) += mtv.o |
1186 | 104 OBJS-$(CONFIG_MXF_DEMUXER) += mxf.o |
2256 | 105 OBJS-$(CONFIG_NSV_DEMUXER) += nsvdec.o |
2068 | 106 OBJS-$(CONFIG_NULL_MUXER) += raw.o |
2335
5b5e1edd462e
move syncpoint timestamp resetting code to a common file
michael
parents:
2284
diff
changeset
|
107 OBJS-$(CONFIG_NUT_DEMUXER) += nutdec.o nut.o riff.o |
2354 | 108 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
|
109 OBJS-$(CONFIG_NUV_DEMUXER) += nuv.o riff.o |
2714 | 110 OBJS-$(CONFIG_OGG_DEMUXER) += oggdec.o \ |
1169 | 111 oggparseflac.o \ |
1172
6a5e58d2114b
move common stuff from avienc.c and wav.c to new file riff.c
mru
parents:
1169
diff
changeset
|
112 oggparseogm.o \ |
3023 | 113 oggparsespeex.o \ |
2879 | 114 oggparsetheora.o \ |
115 oggparsevorbis.o \ | |
1172
6a5e58d2114b
move common stuff from avienc.c and wav.c to new file riff.c
mru
parents:
1169
diff
changeset
|
116 riff.o |
2731 | 117 OBJS-$(CONFIG_OGG_MUXER) += oggenc.o |
2957 | 118 OBJS-$(CONFIG_PCM_ALAW_DEMUXER) += raw.o |
119 OBJS-$(CONFIG_PCM_ALAW_MUXER) += raw.o | |
120 OBJS-$(CONFIG_PCM_MULAW_DEMUXER) += raw.o | |
121 OBJS-$(CONFIG_PCM_MULAW_MUXER) += raw.o | |
122 OBJS-$(CONFIG_PCM_S16BE_DEMUXER) += raw.o | |
123 OBJS-$(CONFIG_PCM_S16BE_MUXER) += raw.o | |
124 OBJS-$(CONFIG_PCM_S16LE_DEMUXER) += raw.o | |
125 OBJS-$(CONFIG_PCM_S16LE_MUXER) += raw.o | |
126 OBJS-$(CONFIG_PCM_S8_DEMUXER) += raw.o | |
127 OBJS-$(CONFIG_PCM_S8_MUXER) += raw.o | |
128 OBJS-$(CONFIG_PCM_U16BE_DEMUXER) += raw.o | |
129 OBJS-$(CONFIG_PCM_U16BE_MUXER) += raw.o | |
130 OBJS-$(CONFIG_PCM_U16LE_DEMUXER) += raw.o | |
131 OBJS-$(CONFIG_PCM_U16LE_MUXER) += raw.o | |
132 OBJS-$(CONFIG_PCM_U8_DEMUXER) += raw.o | |
133 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
|
134 OBJS-$(CONFIG_PSP_MUXER) += movenc.o riff.o isom.o avc.o |
2880 | 135 OBJS-$(CONFIG_PVA_DEMUXER) += pva.o |
1169 | 136 OBJS-$(CONFIG_RAWVIDEO_DEMUXER) += raw.o |
137 OBJS-$(CONFIG_RAWVIDEO_MUXER) += raw.o | |
2055
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
138 OBJS-$(CONFIG_REDIR_DEMUXER) += rtsp.o |
2103 | 139 OBJS-$(CONFIG_RM_DEMUXER) += rmdec.o |
140 OBJS-$(CONFIG_RM_MUXER) += rmenc.o | |
2068 | 141 OBJS-$(CONFIG_ROQ_DEMUXER) += idroq.o |
2076 | 142 OBJS-$(CONFIG_ROQ_MUXER) += raw.o |
2960 | 143 OBJS-$(CONFIG_RTP_MUXER) += rtp.o \ |
144 rtpenc.o \ | |
145 rtp_mpv.o \ | |
146 rtp_aac.o \ | |
147 rtpenc_h264.o \ | |
148 avc.o | |
2055
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
149 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
|
150 OBJS-$(CONFIG_SDP_DEMUXER) += rtsp.o rtp.o rtpdec.o rtp_h264.o |
1169 | 151 OBJS-$(CONFIG_SEGAFILM_DEMUXER) += segafilm.o |
2068 | 152 OBJS-$(CONFIG_SHORTEN_DEMUXER) += raw.o |
2659 | 153 OBJS-$(CONFIG_SIFF_DEMUXER) += siff.o |
1169 | 154 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
|
155 OBJS-$(CONFIG_SOL_DEMUXER) += sol.o raw.o |
2068 | 156 OBJS-$(CONFIG_STR_DEMUXER) += psxstr.o |
1169 | 157 OBJS-$(CONFIG_SWF_DEMUXER) += swf.o |
158 OBJS-$(CONFIG_SWF_MUXER) += swf.o | |
2922
dcd599833abc
Move isom_write_avcc() and related functions into a separate file.
aurel
parents:
2911
diff
changeset
|
159 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
|
160 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
|
161 OBJS-$(CONFIG_THP_DEMUXER) += thp.o |
1436 | 162 OBJS-$(CONFIG_TIERTEXSEQ_DEMUXER) += tiertexseq.o |
1169 | 163 OBJS-$(CONFIG_TTA_DEMUXER) += tta.o |
2072 | 164 OBJS-$(CONFIG_TXD_DEMUXER) += txd.o |
2260 | 165 OBJS-$(CONFIG_VC1_DEMUXER) += raw.o |
2984 | 166 OBJS-$(CONFIG_VC1T_DEMUXER) += vc1test.o |
2068 | 167 OBJS-$(CONFIG_VMD_DEMUXER) += sierravmd.o |
2256 | 168 OBJS-$(CONFIG_VOC_DEMUXER) += vocdec.o voc.o |
169 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
|
170 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
|
171 OBJS-$(CONFIG_WAV_MUXER) += wav.o riff.o |
1169 | 172 OBJS-$(CONFIG_WC3_DEMUXER) += wc3movie.o |
173 OBJS-$(CONFIG_WSAUD_DEMUXER) += westwood.o | |
174 OBJS-$(CONFIG_WSVQA_DEMUXER) += westwood.o | |
1324 | 175 OBJS-$(CONFIG_WV_DEMUXER) += wv.o |
1169 | 176 OBJS-$(CONFIG_YUV4MPEGPIPE_MUXER) += yuv4mpeg.o |
177 OBJS-$(CONFIG_YUV4MPEGPIPE_DEMUXER) += yuv4mpeg.o | |
146 | 178 |
1770 | 179 # external libraries |
180 OBJS-$(CONFIG_LIBNUT_DEMUXER) += libnut.o riff.o | |
181 OBJS-$(CONFIG_LIBNUT_MUXER) += libnut.o riff.o | |
182 | |
2272
8963d9ed1859
Make video hook infrastructure conditional on video hooks being enabled.
diego
parents:
2260
diff
changeset
|
183 OBJS-$(CONFIG_VHOOK) += framehook.o |
0 | 184 |
2930 | 185 EXTRALIBS := -L$(BUILD_ROOT)/libavcodec -lavcodec$(BUILDSUF) \ |
2931 | 186 -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS) |
832 | 187 |
905
dbc0145bbf11
Add --disable-protocols option to configure to disable I/O protocol from
diego
parents:
900
diff
changeset
|
188 # protocols I/O |
dbc0145bbf11
Add --disable-protocols option to configure to disable I/O protocol from
diego
parents:
900
diff
changeset
|
189 OBJS+= avio.o aviobuf.o |
dbc0145bbf11
Add --disable-protocols option to configure to disable I/O protocol from
diego
parents:
900
diff
changeset
|
190 |
2055
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
191 OBJS-$(CONFIG_FILE_PROTOCOL) += file.o |
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
192 OBJS-$(CONFIG_HTTP_PROTOCOL) += http.o |
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
193 OBJS-$(CONFIG_PIPE_PROTOCOL) += file.o |
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
194 OBJS-$(CONFIG_RTP_PROTOCOL) += rtpproto.o |
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
195 OBJS-$(CONFIG_TCP_PROTOCOL) += tcp.o |
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
196 OBJS-$(CONFIG_UDP_PROTOCOL) += udp.o |
0 | 197 |
898
51a83f9981f2
Move library name generation to configure, simplifies build system a bit more.
diego
parents:
897
diff
changeset
|
198 NAME=avformat |
897
f957dbf08fcf
Create symbolic links for all library sonames and clean up Makefiles.
diego
parents:
895
diff
changeset
|
199 LIBVERSION=$(LAVFVERSION) |
f957dbf08fcf
Create symbolic links for all library sonames and clean up Makefiles.
diego
parents:
895
diff
changeset
|
200 LIBMAJOR=$(LAVFMAJOR) |
167
e284cddf0509
Shared library for libavformat support patch by (Tim Allen <tim at proximity dot com dot au>)
michaelni
parents:
164
diff
changeset
|
201 |
1461 | 202 include ../common.mak |