Statistics
| Branch: | Revision:

ffmpeg / libavformat / Makefile @ cc0bc648

History | View | Annotate | Download (1.94 KB)

1
#
2
# libavformat Makefile
3
# (c) 2000-2003 Fabrice Bellard
4
#
5
include ../config.mak
6

    
7
CFLAGS=$(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
8

    
9
OBJS= utils.o cutils.o os_support.o allformats.o
10
CPPOBJS=
11

    
12
HEADERS = avformat.h avio.h rtp.h rtsp.h rtspcodes.h
13

    
14
# demuxers
15
OBJS+=mpeg.o mpegts.o mpegtsenc.o ffm.o crc.o img.o img2.o raw.o rm.o \
16
      avienc.o avidec.o wav.o mmf.o swf.o au.o gif.o mov.o mpjpeg.o dv.o \
17
      yuv4mpeg.o 4xm.o flvdec.o psxstr.o idroq.o ipmovie.o \
18
      nut.o wc3movie.o mp3.o westwood.o segafilm.o idcin.o flic.o \
19
      sierravmd.o matroska.o sol.o electronicarts.o nsvdec.o asf.o \
20
      ogg2.o oggparsevorbis.o oggparsetheora.o oggparseflac.o daud.o aiff.o \
21
      voc.o tta.o mm.o avs.o smacker.o nuv.o gxf.o oggparseogm.o
22

    
23
# muxers
24
ifeq ($(CONFIG_MUXERS),yes)
25
OBJS+= flvenc.o movenc.o asf-enc.o adtsenc.o
26
endif
27

    
28

    
29
ifeq ($(AMR),yes)
30
OBJS+= amr.o
31
endif
32

    
33
# image formats
34
OBJS+= pnm.o yuv.o png.o jpeg.o gifdec.o sgi.o
35
OBJS+= framehook.o
36

    
37
ifeq ($(CONFIG_VIDEO4LINUX),yes)
38
OBJS+= grab.o
39
endif
40

    
41
ifeq ($(CONFIG_VIDEO4LINUX2),yes)
42
OBJS+= v4l2.o
43
endif
44

    
45
ifeq ($(CONFIG_BKTR),yes)
46
OBJS+= grab_bktr.o
47
endif
48

    
49
ifeq ($(CONFIG_DV1394),yes)
50
OBJS+= dv1394.o
51
endif
52

    
53
ifeq ($(CONFIG_DC1394),yes)
54
OBJS+= dc1394.o
55
endif
56

    
57
ifeq ($(CONFIG_AUDIO_OSS),yes)
58
OBJS+= audio.o
59
endif
60

    
61
EXTRALIBS := -L../libavutil -lavutil$(BUILDSUF) -lavcodec$(BUILDSUF) -L../libavcodec $(EXTRALIBS)
62

    
63
ifeq ($(CONFIG_AUDIO_BEOS),yes)
64
CPPOBJS+= beosaudio.o
65
endif
66

    
67
# protocols I/O
68
OBJS+= avio.o aviobuf.o
69

    
70
ifeq ($(CONFIG_PROTOCOLS),yes)
71
OBJS+= file.o
72
ifeq ($(CONFIG_NETWORK),yes)
73
OBJS+= udp.o tcp.o http.o rtsp.o rtp.o rtpproto.o
74
# BeOS and Darwin network stuff
75
ifeq ($(NEED_INET_ATON),yes)
76
OBJS+= barpainet.o
77
endif
78
endif
79
endif
80

    
81
ifeq ($(CONFIG_LIBOGG),yes)
82
OBJS+= ogg.o
83
endif
84

    
85
NAME=avformat
86
ifeq ($(BUILD_SHARED),yes)
87
LIBVERSION=$(LAVFVERSION)
88
LIBMAJOR=$(LAVFMAJOR)
89
endif
90

    
91
include $(SRC_PATH)/common.mak