Mercurial > libavformat.hg
annotate Makefile @ 2518:8d649d879e65 libavformat
Always use AVFormatContext for av_log messages
author | conrad |
---|---|
date | Wed, 05 Sep 2007 00:26:09 +0000 |
parents | 491a751cc58c |
children | 0488036c96ba |
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 |
958 | 11 HEADERS = avformat.h avio.h rtp.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 |
1172
6a5e58d2114b
move common stuff from avienc.c and wav.c to new file riff.c
mru
parents:
1169
diff
changeset
|
23 OBJS-$(CONFIG_ASF_DEMUXER) += asf.o riff.o |
6a5e58d2114b
move common stuff from avienc.c and wav.c to new file riff.c
mru
parents:
1169
diff
changeset
|
24 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
|
25 OBJS-$(CONFIG_ASF_STREAM_MUXER) += asf-enc.o riff.o |
2256 | 26 OBJS-$(CONFIG_AU_DEMUXER) += au.o raw.o |
27 OBJS-$(CONFIG_AU_MUXER) += au.o | |
1978
9beecb275bae
cosmetics: Put audio (de)muxer entries in alphabetical order.
diego
parents:
1977
diff
changeset
|
28 OBJS-$(CONFIG_AUDIO_DEMUXER) += audio.o |
9beecb275bae
cosmetics: Put audio (de)muxer entries in alphabetical order.
diego
parents:
1977
diff
changeset
|
29 OBJS-$(CONFIG_AUDIO_MUXER) += audio.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 |
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 |
1169 | 36 OBJS-$(CONFIG_CRC_MUXER) += crc.o |
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 |
2257 | 42 OBJS-$(CONFIG_DV1394_DEMUXER) += dv1394.o dv.o |
2258 | 43 OBJS-$(CONFIG_DXA_DEMUXER) += dxa.o riff.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 |
53 OBJS-$(CONFIG_FRAMECRC_MUXER) += crc.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 |
2068 | 71 OBJS-$(CONFIG_M4V_DEMUXER) += raw.o |
72 OBJS-$(CONFIG_M4V_MUXER) += raw.o | |
2142
3aa1f0f698de
split some common code from the mkv demuxer that will be useful to the muxer
aurel
parents:
2103
diff
changeset
|
73 OBJS-$(CONFIG_MATROSKA_DEMUXER) += matroskadec.o matroska.o riff.o |
2068 | 74 OBJS-$(CONFIG_MJPEG_DEMUXER) += raw.o |
75 OBJS-$(CONFIG_MJPEG_MUXER) += raw.o | |
1169 | 76 OBJS-$(CONFIG_MM_DEMUXER) += mm.o |
2256 | 77 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
|
78 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
|
79 OBJS-$(CONFIG_MOV_DEMUXER) += mov.o riff.o isom.o |
fec0a3d5408f
move common code from mov.c and movenc.c to isom.c
bcoudurier
parents:
1186
diff
changeset
|
80 OBJS-$(CONFIG_MOV_MUXER) += movenc.o riff.o isom.o |
2068 | 81 OBJS-$(CONFIG_MP2_MUXER) += mp3.o |
82 OBJS-$(CONFIG_MP3_DEMUXER) += mp3.o | |
83 OBJS-$(CONFIG_MP3_MUXER) += mp3.o | |
1216
fec0a3d5408f
move common code from mov.c and movenc.c to isom.c
bcoudurier
parents:
1186
diff
changeset
|
84 OBJS-$(CONFIG_MP4_MUXER) += movenc.o riff.o isom.o |
1602 | 85 OBJS-$(CONFIG_MPC_DEMUXER) += mpc.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
|
86 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
|
87 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
|
88 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
|
89 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
|
90 OBJS-$(CONFIG_MPEG2SVCD_MUXER) += mpegenc.o |
2068 | 91 OBJS-$(CONFIG_MPEG1VIDEO_MUXER) += raw.o |
92 OBJS-$(CONFIG_MPEG2VIDEO_MUXER) += raw.o | |
1169 | 93 OBJS-$(CONFIG_MPEGPS_DEMUXER) += mpeg.o |
94 OBJS-$(CONFIG_MPEGTS_DEMUXER) += mpegts.o | |
2259 | 95 OBJS-$(CONFIG_MPEGTSRAW_DEMUXER) += mpegts.o |
1169 | 96 OBJS-$(CONFIG_MPEGTS_MUXER) += mpegtsenc.o |
2068 | 97 OBJS-$(CONFIG_MPEGVIDEO_DEMUXER) += raw.o |
1169 | 98 OBJS-$(CONFIG_MPJPEG_MUXER) += mpjpeg.o |
1735 | 99 OBJS-$(CONFIG_MTV_DEMUXER) += mtv.o |
1186 | 100 OBJS-$(CONFIG_MXF_DEMUXER) += mxf.o |
2256 | 101 OBJS-$(CONFIG_NSV_DEMUXER) += nsvdec.o |
2068 | 102 OBJS-$(CONFIG_NULL_MUXER) += raw.o |
2335
5b5e1edd462e
move syncpoint timestamp resetting code to a common file
michael
parents:
2284
diff
changeset
|
103 OBJS-$(CONFIG_NUT_DEMUXER) += nutdec.o nut.o riff.o |
2354 | 104 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
|
105 OBJS-$(CONFIG_NUV_DEMUXER) += nuv.o riff.o |
1169 | 106 OBJS-$(CONFIG_OGG_DEMUXER) += ogg2.o \ |
107 oggparsevorbis.o \ | |
108 oggparsetheora.o \ | |
109 oggparseflac.o \ | |
1172
6a5e58d2114b
move common stuff from avienc.c and wav.c to new file riff.c
mru
parents:
1169
diff
changeset
|
110 oggparseogm.o \ |
6a5e58d2114b
move common stuff from avienc.c and wav.c to new file riff.c
mru
parents:
1169
diff
changeset
|
111 riff.o |
1692 | 112 OBJS-$(CONFIG_OGG_MUXER) += ogg.o |
2068 | 113 OBJS-$(CONFIG_PSP_MUXER) += movenc.o riff.o isom.o |
1169 | 114 OBJS-$(CONFIG_RAWVIDEO_DEMUXER) += raw.o |
115 OBJS-$(CONFIG_RAWVIDEO_MUXER) += raw.o | |
2055
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
116 OBJS-$(CONFIG_REDIR_DEMUXER) += rtsp.o |
2103 | 117 OBJS-$(CONFIG_RM_DEMUXER) += rmdec.o |
118 OBJS-$(CONFIG_RM_MUXER) += rmenc.o | |
2068 | 119 OBJS-$(CONFIG_ROQ_DEMUXER) += idroq.o |
2076 | 120 OBJS-$(CONFIG_ROQ_MUXER) += raw.o |
2406
18e94e5989d8
Move the RTP packetization code for MPEG12 video in its own file (rtp_mpv.c)
lucabe
parents:
2354
diff
changeset
|
121 OBJS-$(CONFIG_RTP_MUXER) += rtp.o rtp_h264.o rtp_mpv.o |
2055
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
122 OBJS-$(CONFIG_RTSP_DEMUXER) += rtsp.o |
2068 | 123 OBJS-$(CONFIG_SDP_DEMUXER) += rtsp.o |
1169 | 124 OBJS-$(CONFIG_SEGAFILM_DEMUXER) += segafilm.o |
2068 | 125 OBJS-$(CONFIG_SHORTEN_DEMUXER) += raw.o |
1169 | 126 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
|
127 OBJS-$(CONFIG_SOL_DEMUXER) += sol.o raw.o |
2068 | 128 OBJS-$(CONFIG_STR_DEMUXER) += psxstr.o |
1169 | 129 OBJS-$(CONFIG_SWF_DEMUXER) += swf.o |
130 OBJS-$(CONFIG_SWF_MUXER) += swf.o | |
2068 | 131 OBJS-$(CONFIG_TG2_MUXER) += movenc.o riff.o isom.o |
132 OBJS-$(CONFIG_TGP_MUXER) += movenc.o riff.o isom.o | |
1974
51c5fe603dba
support for the THP game format by Marco Gerards, mgerards xs4all nl
diego
parents:
1918
diff
changeset
|
133 OBJS-$(CONFIG_THP_DEMUXER) += thp.o |
1436 | 134 OBJS-$(CONFIG_TIERTEXSEQ_DEMUXER) += tiertexseq.o |
1169 | 135 OBJS-$(CONFIG_TTA_DEMUXER) += tta.o |
2072 | 136 OBJS-$(CONFIG_TXD_DEMUXER) += txd.o |
1692 | 137 OBJS-$(CONFIG_V4L2_DEMUXER) += v4l2.o |
2260 | 138 OBJS-$(CONFIG_VC1_DEMUXER) += raw.o |
2068 | 139 OBJS-$(CONFIG_VIDEO_GRAB_BKTR_DEMUXER) += grab_bktr.o |
140 OBJS-$(CONFIG_VIDEO_GRAB_V4L_DEMUXER) += grab.o | |
141 OBJS-$(CONFIG_VMD_DEMUXER) += sierravmd.o | |
2256 | 142 OBJS-$(CONFIG_VOC_DEMUXER) += vocdec.o voc.o |
143 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
|
144 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
|
145 OBJS-$(CONFIG_WAV_MUXER) += wav.o riff.o |
1169 | 146 OBJS-$(CONFIG_WC3_DEMUXER) += wc3movie.o |
147 OBJS-$(CONFIG_WSAUD_DEMUXER) += westwood.o | |
148 OBJS-$(CONFIG_WSVQA_DEMUXER) += westwood.o | |
1324 | 149 OBJS-$(CONFIG_WV_DEMUXER) += wv.o |
1692 | 150 OBJS-$(CONFIG_X11_GRAB_DEVICE_DEMUXER) += x11grab.o |
1169 | 151 OBJS-$(CONFIG_YUV4MPEGPIPE_MUXER) += yuv4mpeg.o |
152 OBJS-$(CONFIG_YUV4MPEGPIPE_DEMUXER) += yuv4mpeg.o | |
146 | 153 |
1770 | 154 # external libraries |
2424 | 155 OBJS-$(CONFIG_LIBDC1394_DEMUXER) += dc1394.o |
1770 | 156 OBJS-$(CONFIG_LIBNUT_DEMUXER) += libnut.o riff.o |
157 OBJS-$(CONFIG_LIBNUT_MUXER) += libnut.o riff.o | |
158 | |
2272
8963d9ed1859
Make video hook infrastructure conditional on video hooks being enabled.
diego
parents:
2260
diff
changeset
|
159 OBJS-$(CONFIG_VHOOK) += framehook.o |
0 | 160 |
1392
a35c953d4561
Revert putting EXTRALIBS in common.mak, linking fails on MinGW.
diego
parents:
1390
diff
changeset
|
161 EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) \ |
a35c953d4561
Revert putting EXTRALIBS in common.mak, linking fails on MinGW.
diego
parents:
1390
diff
changeset
|
162 -lavcodec$(BUILDSUF) -L$(BUILD_ROOT)/libavcodec $(EXTRALIBS) |
832 | 163 |
1980 | 164 CPPOBJS-$(CONFIG_AUDIO_BEOS) += beosaudio.o |
0 | 165 |
905
dbc0145bbf11
Add --disable-protocols option to configure to disable I/O protocol from
diego
parents:
900
diff
changeset
|
166 # protocols I/O |
dbc0145bbf11
Add --disable-protocols option to configure to disable I/O protocol from
diego
parents:
900
diff
changeset
|
167 OBJS+= avio.o aviobuf.o |
dbc0145bbf11
Add --disable-protocols option to configure to disable I/O protocol from
diego
parents:
900
diff
changeset
|
168 |
2055
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
169 OBJS-$(CONFIG_FILE_PROTOCOL) += file.o |
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
170 OBJS-$(CONFIG_HTTP_PROTOCOL) += http.o |
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
171 OBJS-$(CONFIG_PIPE_PROTOCOL) += file.o |
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
172 OBJS-$(CONFIG_RTP_PROTOCOL) += rtpproto.o |
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
173 OBJS-$(CONFIG_TCP_PROTOCOL) += tcp.o |
3d553a42427a
Make protocols configure selectable and also cleanup the CONFIG_NETWORK
alex
parents:
2051
diff
changeset
|
174 OBJS-$(CONFIG_UDP_PROTOCOL) += udp.o |
0 | 175 |
898
51a83f9981f2
Move library name generation to configure, simplifies build system a bit more.
diego
parents:
897
diff
changeset
|
176 NAME=avformat |
897
f957dbf08fcf
Create symbolic links for all library sonames and clean up Makefiles.
diego
parents:
895
diff
changeset
|
177 LIBVERSION=$(LAVFVERSION) |
f957dbf08fcf
Create symbolic links for all library sonames and clean up Makefiles.
diego
parents:
895
diff
changeset
|
178 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
|
179 |
1461 | 180 include ../common.mak |