removing esp usage
[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
c11c2bc2 7CFLAGS=$(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
85f07f22 8
f71869a4 9OBJS= utils.o cutils.o os_support.o allformats.o
8b2121e3
MR
10CPPOBJS=
11
12HEADERS = avformat.h avio.h rtp.h rtsp.h rtspcodes.h
c9a65ca8 13
04f46ced 14# demuxers
03cfe134 15OBJS+=mpeg.o mpegts.o mpegtsenc.o ffm.o crc.o img.o img2.o raw.o rm.o \
93a23627 16 avienc.o avidec.o wav.o mmf.o swf.o au.o gif.o mov.o mpjpeg.o dv.o \
04f46ced 17 yuv4mpeg.o 4xm.o flvdec.o psxstr.o idroq.o ipmovie.o \
a7eb3c8d 18 nut.o wc3movie.o mp3.o westwood.o segafilm.o idcin.o flic.o \
04f46ced 19 sierravmd.o matroska.o sol.o electronicarts.o nsvdec.o asf.o \
ea395e8c 20 ogg2.o oggparsevorbis.o oggparsetheora.o oggparseflac.o daud.o aiff.o \
dfca23e3 21 voc.o tta.o mm.o avs.o smacker.o nuv.o
04f46ced
GB
22
23# muxers
24ifeq ($(CONFIG_MUXERS),yes)
a283db39 25OBJS+= flvenc.o movenc.o asf-enc.o adtsenc.o
04f46ced
GB
26endif
27
28
4d4bb927 29AMROBJS=
485bc05d 30ifeq ($(AMR_NB),yes)
4d4bb927 31AMROBJS= amr.o
485bc05d
AB
32endif
33ifeq ($(AMR_NB_FIXED),yes)
4d4bb927 34AMROBJS= amr.o
485bc05d
AB
35endif
36ifeq ($(AMR_WB),yes)
4d4bb927 37AMROBJS= amr.o
bc634f6f 38endif
4d4bb927 39OBJS+= $(AMROBJS)
bc634f6f 40
87a0a681 41# image formats
6a91ec51 42OBJS+= pnm.o yuv.o png.o jpeg.o gifdec.o sgi.o
115329f1 43OBJS+= framehook.o
8be1c656 44
19720f15
FB
45ifeq ($(CONFIG_VIDEO4LINUX),yes)
46OBJS+= grab.o
8be1c656 47endif
85f07f22 48
0a7b514f
LA
49ifeq ($(CONFIG_VIDEO4LINUX2),yes)
50OBJS+= v4l2.o
51endif
52
6beefa40
MN
53ifeq ($(CONFIG_BKTR),yes)
54OBJS+= grab_bktr.o
55endif
56
8aa3ee32
MK
57ifeq ($(CONFIG_DV1394),yes)
58OBJS+= dv1394.o
59endif
60
f02be79d
RS
61ifeq ($(CONFIG_DC1394),yes)
62OBJS+= dc1394.o
63endif
64
19720f15 65ifeq ($(CONFIG_AUDIO_OSS),yes)
115329f1 66OBJS+= audio.o
19720f15
FB
67endif
68
2cf30841 69EXTRALIBS := -L../libavutil -lavutil$(BUILDSUF) -lavcodec$(BUILDSUF) -L../libavcodec $(EXTRALIBS)
dbbcfd6b 70
dfdfa47c 71ifeq ($(CONFIG_AUDIO_BEOS),yes)
8b2121e3 72CPPOBJS+= beosaudio.o
dfdfa47c
FR
73endif
74
04f46ced
GB
75# protocols I/O
76OBJS+= avio.o aviobuf.o
77
78ifeq ($(CONFIG_PROTOCOLS),yes)
79OBJS+= file.o
19720f15 80ifeq ($(CONFIG_NETWORK),yes)
bdd7d518 81OBJS+= udp.o tcp.o http.o rtsp.o rtp.o rtpproto.o
cc0799e5 82# BeOS and Darwin network stuff
4baca069 83ifeq ($(NEED_INET_ATON),yes)
9ddd71fc
FR
84OBJS+= barpainet.o
85endif
a74127c0 86endif
04f46ced 87endif
a74127c0 88
5c5dea3f 89ifeq ($(CONFIG_LIBOGG),yes)
81e0d0b4
MH
90OBJS+= ogg.o
91endif
92
4bdd05e7 93NAME=avformat
8b2121e3 94SUBDIR=libavformat
6bc114b2 95ifeq ($(BUILD_SHARED),yes)
f3b60109
DB
96LIBVERSION=$(LAVFVERSION)
97LIBMAJOR=$(LAVFMAJOR)
6bc114b2
TA
98endif
99
8b2121e3 100include $(SRC_PATH)/common.mak