Remove erroneous -I../.. flag that points outside of the src directory.
[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 \
cc0bc648 21 voc.o tta.o mm.o avs.o smacker.o nuv.o gxf.o oggparseogm.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
60827a1a
DB
29ifeq ($(AMR),yes)
30OBJS+= amr.o
485bc05d 31endif
bc634f6f 32
87a0a681 33# image formats
6a91ec51 34OBJS+= pnm.o yuv.o png.o jpeg.o gifdec.o sgi.o
115329f1 35OBJS+= framehook.o
8be1c656 36
19720f15
FB
37ifeq ($(CONFIG_VIDEO4LINUX),yes)
38OBJS+= grab.o
8be1c656 39endif
85f07f22 40
0a7b514f
LA
41ifeq ($(CONFIG_VIDEO4LINUX2),yes)
42OBJS+= v4l2.o
43endif
44
6beefa40
MN
45ifeq ($(CONFIG_BKTR),yes)
46OBJS+= grab_bktr.o
47endif
48
8aa3ee32
MK
49ifeq ($(CONFIG_DV1394),yes)
50OBJS+= dv1394.o
51endif
52
f02be79d
RS
53ifeq ($(CONFIG_DC1394),yes)
54OBJS+= dc1394.o
55endif
56
19720f15 57ifeq ($(CONFIG_AUDIO_OSS),yes)
115329f1 58OBJS+= audio.o
19720f15
FB
59endif
60
2cf30841 61EXTRALIBS := -L../libavutil -lavutil$(BUILDSUF) -lavcodec$(BUILDSUF) -L../libavcodec $(EXTRALIBS)
dbbcfd6b 62
dfdfa47c 63ifeq ($(CONFIG_AUDIO_BEOS),yes)
8b2121e3 64CPPOBJS+= beosaudio.o
dfdfa47c
FR
65endif
66
04f46ced
GB
67# protocols I/O
68OBJS+= avio.o aviobuf.o
69
70ifeq ($(CONFIG_PROTOCOLS),yes)
71OBJS+= file.o
19720f15 72ifeq ($(CONFIG_NETWORK),yes)
bdd7d518 73OBJS+= udp.o tcp.o http.o rtsp.o rtp.o rtpproto.o
cc0799e5 74# BeOS and Darwin network stuff
4baca069 75ifeq ($(NEED_INET_ATON),yes)
9ddd71fc
FR
76OBJS+= barpainet.o
77endif
a74127c0 78endif
04f46ced 79endif
a74127c0 80
5c5dea3f 81ifeq ($(CONFIG_LIBOGG),yes)
81e0d0b4
MH
82OBJS+= ogg.o
83endif
84
4bdd05e7 85NAME=avformat
6bc114b2 86ifeq ($(BUILD_SHARED),yes)
f3b60109
DB
87LIBVERSION=$(LAVFVERSION)
88LIBMAJOR=$(LAVFMAJOR)
6bc114b2
TA
89endif
90
8b2121e3 91include $(SRC_PATH)/common.mak