Mercurial > mplayer.hg
comparison libmpdemux/Makefile @ 19271:64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
author | ben |
---|---|
date | Mon, 31 Jul 2006 17:39:17 +0000 |
parents | 1ea5c31932fd |
children | 6fae24d40138 |
comparison
equal
deleted
inserted
replaced
19270:7d39b911f0bd | 19271:64d82a45a05d |
---|---|
10 aviheader.c \ | 10 aviheader.c \ |
11 aviprint.c \ | 11 aviprint.c \ |
12 | 12 |
13 # Core | 13 # Core |
14 SRCS += extension.c \ | 14 SRCS += extension.c \ |
15 mf.c \ | |
16 open.c \ | |
17 url.c \ | |
18 video.c \ | 15 video.c \ |
19 | 16 |
20 ifeq ($(STREAM_CACHE),yes) | |
21 SRCS += cache2.c | |
22 endif | |
23 | |
24 # Miscellaneous | 17 # Miscellaneous |
25 SRCS += cdinfo.c \ | 18 SRCS += parse_es.c \ |
26 cue_read.c \ | |
27 parse_es.c \ | |
28 parse_mp4.c \ | 19 parse_mp4.c \ |
29 mpeg_packetizer.c \ | 20 mpeg_packetizer.c \ |
30 yuv4mpeg.c \ | 21 yuv4mpeg.c \ |
31 yuv4mpeg_ratio.c \ | 22 yuv4mpeg_ratio.c \ |
32 | |
33 ifeq ($(CDDA),yes) | |
34 SRCS += cdda.c | |
35 ifeq ($(MPLAYER_NETWORK),yes) | |
36 SRCS += cddb.c | |
37 endif | |
38 endif | |
39 | |
40 # Stream readers/writers | |
41 SRCS += stream.c \ | |
42 stream_file.c \ | |
43 stream_null.c \ | |
44 | |
45 ifeq ($(HAVE_DVD),yes) | |
46 SRCS += stream_dvd.c | |
47 endif | |
48 ifeq ($(DVDNAV),yes) | |
49 SRCS += dvdnav_stream.c | |
50 endif | |
51 ifeq ($(VCD),yes) | |
52 SRCS += stream_vcd.c | |
53 endif | |
54 ifeq ($(FTP),yes) | |
55 SRCS += stream_ftp.c | |
56 endif | |
57 ifeq ($(LIBSMBCLIENT),yes) | |
58 SRCS += stream_smb.c | |
59 endif | |
60 ifeq ($(MPLAYER_NETWORK),yes) | |
61 SRCS += stream_netstream.c | |
62 ifeq ($(STREAMING_LIVE555),yes) | |
63 SRCS += stream_livedotcom.c | |
64 endif | |
65 endif | |
66 ifeq ($(VSTREAM),yes) | |
67 SRCS += stream_vstream.c | |
68 endif | |
69 | |
70 # TV in | |
71 ifeq ($(TV),yes) | |
72 SRCS += tv.c frequencies.c tvi_dummy.c | |
73 ifeq ($(TV_BSDBT848),yes) | |
74 SRCS += tvi_bsdbt848.c | |
75 endif | |
76 ifeq ($(TV_V4L2),yes) | |
77 SRCS += tvi_v4l2.c audio_in.c | |
78 ifeq ($(PVR),yes) | |
79 SRCS += stream_pvr.c | |
80 endif | |
81 endif | |
82 ifeq ($(TV_V4L1),yes) | |
83 SRCS += tvi_v4l.c audio_in.c | |
84 endif | |
85 ifeq ($(TV_V4L),yes) | |
86 ifeq ($(ALSA1X),yes) | |
87 SRCS += ai_alsa1x.c | |
88 endif | |
89 ifeq ($(ALSA9),yes) | |
90 SRCS += ai_alsa.c | |
91 endif | |
92 ifeq ($(OSS),yes) | |
93 SRCS += ai_oss.c | |
94 endif | |
95 endif | |
96 endif | |
97 | 23 |
98 # Demuxers | 24 # Demuxers |
99 SRCS += demuxer.c \ | 25 SRCS += demuxer.c \ |
100 demux_aac.c \ | 26 demux_aac.c \ |
101 demux_asf.c \ | 27 demux_asf.c \ |
164 ifeq ($(CONFIG_LIBAVFORMAT_SO),yes) | 90 ifeq ($(CONFIG_LIBAVFORMAT_SO),yes) |
165 SRCS += demux_lavf.c | 91 SRCS += demux_lavf.c |
166 MUXERS += muxer_lavf.c | 92 MUXERS += muxer_lavf.c |
167 endif | 93 endif |
168 | 94 |
169 ifeq ($(MPLAYER_NETWORK),yes) | 95 ifeq ($(MENCODER),yes) |
170 SRCS += asf_streaming.c \ | 96 SRCS += $(MUXERS) |
171 http.c \ | 97 endif |
172 network.c \ | |
173 cookies.c \ | |
174 asf_mmst_streaming.c \ | |
175 pnm.c \ | |
176 rtp.c \ | |
177 stream_rtsp.c \ | |
178 | |
179 SRCS += realrtsp/asmrp.c \ | |
180 realrtsp/real.c \ | |
181 realrtsp/rmff.c \ | |
182 realrtsp/sdpplin.c \ | |
183 realrtsp/xbuffer.c \ | |
184 | |
185 SRCS += librtsp/rtsp.c \ | |
186 librtsp/rtsp_rtp.c \ | |
187 librtsp/rtsp_session.c \ | |
188 | |
189 SRCS += freesdp/common.c \ | |
190 freesdp/errorlist.c \ | |
191 freesdp/parser.c \ | |
192 | 98 |
193 ifeq ($(STREAMING_LIVE555),yes) | 99 ifeq ($(STREAMING_LIVE555),yes) |
194 CPLUSPLUSSRCS = demux_rtp.cpp demux_rtp_codec.cpp | 100 CPLUSPLUSSRCS = demux_rtp.cpp demux_rtp_codec.cpp |
195 CPLUSPLUSINCLUDE = $(LIVE_INCLUDES) | 101 CPLUSPLUSINCLUDE = $(LIVE_INCLUDES) |
196 endif | 102 endif |
197 endif | |
198 | |
199 ifeq ($(DVBIN),yes) | |
200 SRCS += dvbin.c | |
201 SRCS += dvb_tune.c | |
202 endif | |
203 | |
204 ifeq ($(MENCODER),yes) | |
205 SRCS += $(MUXERS) | |
206 endif | |
207 | 103 |
208 OBJS = $(SRCS:.c=.o) | 104 OBJS = $(SRCS:.c=.o) |
209 OBJS += $(CPLUSPLUSSRCS:.cpp=.o) | 105 OBJS += $(CPLUSPLUSSRCS:.cpp=.o) |
210 INCLUDE = -I.. -I../loader $(LIBAV_INC) | 106 INCLUDE = -I.. -I../stream -I../loader $(LIBAV_INC) |
211 CFLAGS = $(OPTFLAGS) $(INCLUDE) $(XMMS_CFLAGS) | 107 CFLAGS = $(OPTFLAGS) $(INCLUDE) $(XMMS_CFLAGS) |
212 CPLUSPLUSFLAGS = $(CFLAGS) $(CPLUSPLUSINCLUDE) -D__STDC_LIMIT_MACROS | 108 CPLUSPLUSFLAGS = $(CFLAGS) $(CPLUSPLUSINCLUDE) -D__STDC_LIMIT_MACROS |
213 CPLUSPLUS = $(CC) | 109 CPLUSPLUS = $(CC) |
214 | 110 |
215 .SUFFIXES: .c .cpp .o | 111 .SUFFIXES: .c .cpp .o |
227 $(AR) r $(LIBNAME) $(OBJS) | 123 $(AR) r $(LIBNAME) $(OBJS) |
228 $(RANLIB) $(LIBNAME) | 124 $(RANLIB) $(LIBNAME) |
229 | 125 |
230 test: $(LIBNAME) test.c | 126 test: $(LIBNAME) test.c |
231 $(CC) $(CFLAGS) test.c ../mp_msg.c ../osdep/shmem.c -o test \ | 127 $(CC) $(CFLAGS) test.c ../mp_msg.c ../osdep/shmem.c -o test \ |
232 ./libmpdemux.a ../libmpdvdkit2/libmpdvdkit.a ../libvo/aclib.o \ | 128 ./libmpdemux.a ../stream/stream.a \ |
129 ../libmpdvdkit2/libmpdvdkit.a ../libvo/aclib.o \ | |
233 ../libmpcodecs/img_format.o ../libao2/afmt.o ../sub_cc.o \ | 130 ../libmpcodecs/img_format.o ../libao2/afmt.o ../sub_cc.o \ |
234 ../m_option.o ../subreader.o \ | 131 ../m_option.o ../subreader.o \ |
235 $(ALSA_LIB) $(VORBIS_LIB) $(CDPARANOIA_LIB) -lz -lpthread | 132 $(ALSA_LIB) $(VORBIS_LIB) $(CDPARANOIA_LIB) -lz -lpthread |
236 | 133 |
237 clean: | 134 clean: |
238 rm -f *.o *.a *~ \ | 135 rm -f *.o *.a *~ |
239 realrtsp/*.o realrtsp/*.a realrtsp/*~ \ | |
240 librtsp/*.o librtsp/*.a librtsp/*~ \ | |
241 freesdp/*.o freesdp/*.a freesdp/*~ | |
242 | 136 |
243 distclean: clean | 137 distclean: clean |
244 rm -f .depend test | 138 rm -f .depend test |
245 | 139 |
246 dep: depend | 140 dep: depend |