annotate libmpdemux/Makefile @ 18997:73b8f5ff772d

added new pvr:// input for ivtv based cards
author ben
date Mon, 10 Jul 2006 21:32:19 +0000
parents 8e16d54a788e
children 7a9a9748e045
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
1
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
2 LIBNAME = libmpdemux.a
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
3
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
4 include ../config.mak
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
5
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
6 # Headers and header-dumpers
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
7 SRCS = mp3_hdr.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
8 mpeg_hdr.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
9 asfheader.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
10 aviheader.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
11 aviprint.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
12
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
13 # Core
18922
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
14 SRCS += extension.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
15 mf.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
16 open.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
17 url.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
18 video.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
19
18922
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
20 ifeq ($(STREAM_CACHE),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
21 SRCS += cache2.c
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
22 endif
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
23
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
24 # Miscellaneous
18922
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
25 SRCS += cdinfo.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
26 cue_read.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
27 parse_es.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
28 parse_mp4.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
29 yuv4mpeg.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
30 yuv4mpeg_ratio.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
31
18922
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
32 ifeq ($(CDDA),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
33 SRCS += cdda.c
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
34 ifeq ($(MPLAYER_NETWORK),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
35 SRCS += cddb.c
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
36 endif
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
37 endif
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
38
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
39 # Stream readers/writers
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
40 SRCS += stream.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
41 stream_file.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
42 stream_null.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
43
18921
f40eeaf450dd cosmetics
diego
parents: 18829
diff changeset
44 ifeq ($(HAVE_DVD),yes)
f40eeaf450dd cosmetics
diego
parents: 18829
diff changeset
45 SRCS += stream_dvd.c
f40eeaf450dd cosmetics
diego
parents: 18829
diff changeset
46 endif
18922
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
47 ifeq ($(DVDNAV),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
48 SRCS += dvdnav_stream.c
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
49 endif
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
50 ifeq ($(VCD),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
51 SRCS += stream_vcd.c
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
52 endif
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
53 ifeq ($(FTP),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
54 SRCS += stream_ftp.c
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
55 endif
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
56 ifeq ($(LIBSMBCLIENT),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
57 SRCS += stream_smb.c
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
58 endif
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
59 ifeq ($(MPLAYER_NETWORK),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
60 SRCS += stream_netstream.c
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
61 ifeq ($(STREAMING_LIVE555),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
62 SRCS += stream_livedotcom.c
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
63 endif
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
64 endif
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
65 ifeq ($(VSTREAM),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
66 SRCS += stream_vstream.c
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
67 endif
18921
f40eeaf450dd cosmetics
diego
parents: 18829
diff changeset
68
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
69 # TV in
18922
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
70 ifeq ($(TV),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
71 SRCS += tv.c frequencies.c tvi_dummy.c
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
72 ifeq ($(TV_BSDBT848),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
73 SRCS += tvi_bsdbt848.c
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
74 endif
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
75 ifeq ($(TV_V4L2),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
76 SRCS += tvi_v4l2.c audio_in.c
18997
73b8f5ff772d added new pvr:// input for ivtv based cards
ben
parents: 18924
diff changeset
77 ifeq ($(PVR),yes)
73b8f5ff772d added new pvr:// input for ivtv based cards
ben
parents: 18924
diff changeset
78 SRCS += stream_pvr.c
73b8f5ff772d added new pvr:// input for ivtv based cards
ben
parents: 18924
diff changeset
79 endif
18922
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
80 endif
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
81 ifeq ($(TV_V4L),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
82 SRCS += tvi_v4l.c audio_in.c
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
83 endif
18924
8e16d54a788e Fix for case when both V4L and V4L2 are enabled
reimar
parents: 18922
diff changeset
84 ifneq ($(TV_V4L)$(TV_V4L2),)
18922
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
85 ifeq ($(ALSA1X),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
86 SRCS += ai_alsa1x.c
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
87 endif
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
88 ifeq ($(ALSA9),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
89 SRCS += ai_alsa.c
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
90 endif
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
91 ifeq ($(OSS),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
92 SRCS += ai_oss.c
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
93 endif
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
94 endif
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
95 endif
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
96
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
97 # Demuxers
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
98 SRCS += demuxer.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
99 demux_aac.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
100 demux_asf.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
101 demux_audio.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
102 demux_avi.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
103 demux_demuxers.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
104 demux_film.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
105 demux_fli.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
106 demux_lmlm4.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
107 demux_mf.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
108 demux_mov.c \
15958
087142ef3a2d musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents: 15772
diff changeset
109 demux_mpc.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
110 demux_mpg.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
111 demux_nsv.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
112 demux_nuv.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
113 demux_pva.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
114 demux_rawaudio.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
115 demux_rawvideo.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
116 demux_realaud.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
117 demux_real.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
118 demux_roq.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
119 demux_smjpeg.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
120 demux_ts.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
121 demux_ty.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
122 demux_ty_osd.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
123 demux_viv.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
124 demux_vqf.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
125 demux_y4m.c \
18404
e3379df74bcd Unconditionally compile the Matroska demuxer.
diego
parents: 18137
diff changeset
126 demux_mkv.c ebml.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
127
18922
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
128 ifeq ($(LIBVORBIS),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
129 SRCS += demux_ogg.c
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
130 endif
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
131 ifeq ($(LIBDV),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
132 SRCS += demux_rawdv.c
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
133 endif
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
134 ifeq ($(GIF),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
135 SRCS += demux_gif.c
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
136 endif
8528
9d143176d95f XMMS Input plugin support
arpi
parents: 7874
diff changeset
137 ifeq ($(XMMS_PLUGINS),yes)
9d143176d95f XMMS Input plugin support
arpi
parents: 7874
diff changeset
138 SRCS += demux_xmms.c
18921
f40eeaf450dd cosmetics
diego
parents: 18829
diff changeset
139 endif
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
140 ifneq ($(W32_LIB),)
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
141 SRCS += demux_avs.c
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
142 endif
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
143
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
144 # Muxers
17538
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
145 MUXERS = muxer.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
146 muxer_avi.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
147 muxer_mpeg.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
148 muxer_rawaudio.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
149 muxer_rawvideo.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
150
16165
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
151 LIBAV_INC =
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
152 ifeq ($(CONFIG_LIBAVUTIL),yes)
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
153 LIBAV_INC += -I../libavutil
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
154 endif
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
155 ifeq ($(CONFIG_LIBAVCODEC),yes)
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
156 LIBAV_INC += -I../libavcodec
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
157 endif
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
158 ifeq ($(CONFIG_LIBAVFORMAT),yes)
16165
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
159 LIBAV_INC += -I../libavformat
17538
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
160 SRCS += demux_lavf.c
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
161 MUXERS += muxer_lavf.c
17354
60189cd9bbc8 added support for external libavformat
nicodvb
parents: 17191
diff changeset
162 endif
60189cd9bbc8 added support for external libavformat
nicodvb
parents: 17191
diff changeset
163 ifeq ($(CONFIG_LIBAVFORMAT_SO),yes)
17538
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
164 SRCS += demux_lavf.c
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
165 MUXERS += muxer_lavf.c
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
166 endif
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
167
10121
d42177a0da2a Changed the STREAMING defines to MPLAYER_NETWORK to avoid name definition clash.
bertrand
parents: 10057
diff changeset
168 ifeq ($(MPLAYER_NETWORK),yes)
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
169 SRCS += asf_streaming.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
170 http.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
171 network.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
172 cookies.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
173 asf_mmst_streaming.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
174 pnm.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
175 rtp.c \
18794
42001f5086d2 new RTSP demuxer dedicated file, based on old code from realrtsp one but intended to be much more generic
ben
parents: 18404
diff changeset
176 rtsp.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
177
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
178 SRCS += realrtsp/asmrp.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
179 realrtsp/real.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
180 realrtsp/rmff.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
181 realrtsp/sdpplin.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
182 realrtsp/xbuffer.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
183
18799
e16345b97dab moved generic rtsp related files from realrtsp to librtsp
ben
parents: 18794
diff changeset
184 SRCS += librtsp/rtsp.c \
18829
317e0fd394c5 added new native rtsp demuxer code for mpeg-ts over rtp (now both real and non-real servers should be handled)
ben
parents: 18823
diff changeset
185 librtsp/rtsp_rtp.c \
18799
e16345b97dab moved generic rtsp related files from realrtsp to librtsp
ben
parents: 18794
diff changeset
186 librtsp/rtsp_session.c \
e16345b97dab moved generic rtsp related files from realrtsp to librtsp
ben
parents: 18794
diff changeset
187
18823
ef667dd373e2 new imported library in libmpdemux: freesdp (will be used by native rtsp demuxer)
ben
parents: 18799
diff changeset
188 SRCS += freesdp/common.c \
ef667dd373e2 new imported library in libmpdemux: freesdp (will be used by native rtsp demuxer)
ben
parents: 18799
diff changeset
189 freesdp/errorlist.c \
ef667dd373e2 new imported library in libmpdemux: freesdp (will be used by native rtsp demuxer)
ben
parents: 18799
diff changeset
190 freesdp/parser.c \
ef667dd373e2 new imported library in libmpdemux: freesdp (will be used by native rtsp demuxer)
ben
parents: 18799
diff changeset
191
16572
56a5f69e9b35 "LIVE.COM Streaming Media" is now called "LIVE555 Streaming Media".
rsf
parents: 16165
diff changeset
192 ifeq ($(STREAMING_LIVE555),yes)
9250
bb490ffeebf5 Restruct by Ross Finlayson <finlayson@live.com>
bertrand
parents: 9129
diff changeset
193 CPLUSPLUSSRCS = demux_rtp.cpp demux_rtp_codec.cpp
13997
63023fad13a0 support for debianized LIVE.COM library
henry
parents: 13787
diff changeset
194 CPLUSPLUSINCLUDE = $(LIVE_INCLUDES)
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
195 endif
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
196 endif
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
197
9610
76c6d8f1ebf5 this is a combo patch that:
arpi
parents: 9250
diff changeset
198 ifeq ($(DVBIN),yes)
76c6d8f1ebf5 this is a combo patch that:
arpi
parents: 9250
diff changeset
199 SRCS += dvbin.c
76c6d8f1ebf5 this is a combo patch that:
arpi
parents: 9250
diff changeset
200 SRCS += dvb_tune.c
76c6d8f1ebf5 this is a combo patch that:
arpi
parents: 9250
diff changeset
201 endif
76c6d8f1ebf5 this is a combo patch that:
arpi
parents: 9250
diff changeset
202
17538
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
203 ifeq ($(MENCODER),yes)
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
204 SRCS += $(MUXERS)
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
205 endif
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
206
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
207 OBJS = $(SRCS:.c=.o)
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
208 OBJS += $(CPLUSPLUSSRCS:.cpp=.o)
13787
e047e70a9767 Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
diego
parents: 12958
diff changeset
209 INCLUDE = -I.. -I../loader $(CSS_INC) $(EXTRA_INC) $(LIBAV_INC)
10651
efb6dcac967d --dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents: 10634
diff changeset
210 CFLAGS = $(OPTFLAGS) $(INCLUDE) $(XMMS_CFLAGS) $(CDPARANOIA_INC) $(DVB_INC)
18137
75b56435f053 Make the RTP demuxer work with libdvdread 0.9.5.
diego
parents: 17943
diff changeset
211 CPLUSPLUSFLAGS = $(CFLAGS) $(CPLUSPLUSINCLUDE) -D__STDC_LIMIT_MACROS
7168
cb1428dd4d79 assume $(CC) can compile c++ - fixes compile with non-default compiler
arpi
parents: 7148
diff changeset
212 CPLUSPLUS = $(CC)
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
213
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
214 .SUFFIXES: .c .cpp .o
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
215
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
216 # .PHONY: all clean
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
217
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
218 all: $(LIBNAME)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
219
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
220 .c.o:
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
221 $(CC) -c $(CFLAGS) -o $@ $<
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
222 .cpp.o:
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
223 $(CPLUSPLUS) -c $(CPLUSPLUSFLAGS) -o $@ $<
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
224
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
225 $(LIBNAME): $(OBJS)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
226 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 12175
diff changeset
227 $(RANLIB) $(LIBNAME)
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
228
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
229 test: $(LIBNAME) test.c
17943
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17538
diff changeset
230 $(CC) $(CFLAGS) test.c ../mp_msg.c ../osdep/shmem.c -o test \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17538
diff changeset
231 ./libmpdemux.a ../libmpdvdkit2/libmpdvdkit.a ../libvo/aclib.o \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17538
diff changeset
232 ../libmpcodecs/img_format.o ../libao2/afmt.o ../sub_cc.o \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17538
diff changeset
233 ../m_option.o ../subreader.o \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17538
diff changeset
234 $(ALSA_LIB) $(VORBIS_LIB) $(CDPARANOIA_LIB) -lz -lpthread
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
235
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
236 clean:
18799
e16345b97dab moved generic rtsp related files from realrtsp to librtsp
ben
parents: 18794
diff changeset
237 rm -f *.o *.a *~ \
e16345b97dab moved generic rtsp related files from realrtsp to librtsp
ben
parents: 18794
diff changeset
238 realrtsp/*.o realrtsp/*.a realrtsp/*~ \
18823
ef667dd373e2 new imported library in libmpdemux: freesdp (will be used by native rtsp demuxer)
ben
parents: 18799
diff changeset
239 librtsp/*.o librtsp/*.a librtsp/*~ \
ef667dd373e2 new imported library in libmpdemux: freesdp (will be used by native rtsp demuxer)
ben
parents: 18799
diff changeset
240 freesdp/*.o freesdp/*.a freesdp/*~
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
241
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 17354
diff changeset
242 distclean: clean
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 17354
diff changeset
243 rm -f .depend test
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
244
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
245 dep: depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
246
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
247 depend:
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
248 $(CC) -MM $(CFLAGS) test.c $(SRCS) 1>.depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
249
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
250 #
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
251 # include dependency files if they exist
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
252 #
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
253 ifneq ($(wildcard .depend),)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
254 include .depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
255 endif