annotate stream/Makefile @ 19300:0c7ad1c632cc

mf.[hc] belong to libmpdemux
author ben
date Thu, 03 Aug 2006 19:31:36 +0000
parents bbce98bb6d05
children 097e5bc71210
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19271
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
1
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
2 LIBNAME = stream.a
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
3
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
4 include ../config.mak
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
5
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
6 # Core
19300
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents: 19298
diff changeset
7 SRCS += open.c \
19271
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
8 url.c \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
9
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
10 ifeq ($(STREAM_CACHE),yes)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
11 SRCS += cache2.c
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
12 endif
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
13
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
14 ifeq ($(CDDA),yes)
19287
b2f48e71bb53 Move conditional compilation of cdinfo.c to the build system.
diego
parents: 19276
diff changeset
15 SRCS += stream_cdda.c cdinfo.c
19271
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
16 ifeq ($(MPLAYER_NETWORK),yes)
19272
e53b30cd047f renamed cddX stream interface to stream_cddX for consistency
ben
parents: 19271
diff changeset
17 SRCS += stream_cddb.c
19271
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
18 endif
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
19 endif
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
20
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
21 # Stream readers/writers
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
22 SRCS += stream.c \
19298
bbce98bb6d05 renamed cue_read.c to stream_cue.c for consistency
ben
parents: 19296
diff changeset
23 stream_cue.c \
19271
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
24 stream_file.c \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
25 stream_null.c \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
26
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
27 ifeq ($(HAVE_DVD),yes)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
28 SRCS += stream_dvd.c
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
29 endif
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
30 ifeq ($(DVDNAV),yes)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
31 SRCS += dvdnav_stream.c
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
32 endif
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
33 ifeq ($(VCD),yes)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
34 SRCS += stream_vcd.c
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
35 endif
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
36 ifeq ($(FTP),yes)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
37 SRCS += stream_ftp.c
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
38 endif
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
39 ifeq ($(LIBSMBCLIENT),yes)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
40 SRCS += stream_smb.c
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
41 endif
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
42 ifeq ($(MPLAYER_NETWORK),yes)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
43 SRCS += stream_netstream.c
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
44 ifeq ($(STREAMING_LIVE555),yes)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
45 SRCS += stream_livedotcom.c
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
46 endif
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
47 endif
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
48 ifeq ($(VSTREAM),yes)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
49 SRCS += stream_vstream.c
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
50 endif
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
51
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
52 # TV in
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
53 ifeq ($(TV),yes)
19273
11ec1cb3a7ea add an explicit tv stream input instead of the previous hack in stream_null
ben
parents: 19272
diff changeset
54 SRCS += stream_tv.c tv.c frequencies.c tvi_dummy.c
19271
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
55 ifeq ($(TV_BSDBT848),yes)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
56 SRCS += tvi_bsdbt848.c
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
57 endif
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
58 ifeq ($(TV_V4L2),yes)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
59 SRCS += tvi_v4l2.c audio_in.c
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
60 ifeq ($(PVR),yes)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
61 SRCS += stream_pvr.c
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
62 endif
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
63 endif
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
64 ifeq ($(TV_V4L1),yes)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
65 SRCS += tvi_v4l.c audio_in.c
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
66 endif
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
67 ifeq ($(TV_V4L),yes)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
68 ifeq ($(ALSA1X),yes)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
69 SRCS += ai_alsa1x.c
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
70 endif
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
71 ifeq ($(ALSA9),yes)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
72 SRCS += ai_alsa.c
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
73 endif
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
74 ifeq ($(OSS),yes)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
75 SRCS += ai_oss.c
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
76 endif
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
77 endif
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
78 endif
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
79
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
80 ifeq ($(MPLAYER_NETWORK),yes)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
81 SRCS += asf_streaming.c \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
82 http.c \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
83 network.c \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
84 cookies.c \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
85 asf_mmst_streaming.c \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
86 pnm.c \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
87 rtp.c \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
88 stream_rtsp.c \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
89
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
90 SRCS += realrtsp/asmrp.c \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
91 realrtsp/real.c \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
92 realrtsp/rmff.c \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
93 realrtsp/sdpplin.c \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
94 realrtsp/xbuffer.c \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
95
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
96 SRCS += librtsp/rtsp.c \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
97 librtsp/rtsp_rtp.c \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
98 librtsp/rtsp_session.c \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
99
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
100 SRCS += freesdp/common.c \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
101 freesdp/errorlist.c \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
102 freesdp/parser.c \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
103
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
104 endif
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
105
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
106 ifeq ($(DVBIN),yes)
19296
3583e8ff4da4 renamed dvbin.c to stream_dvb.c for consistency
ben
parents: 19287
diff changeset
107 SRCS += stream_dvb.c
19271
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
108 SRCS += dvb_tune.c
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
109 endif
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
110
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
111 OBJS = $(SRCS:.c=.o)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
112 INCLUDE = -I.. -I../libmpdemux -I../loader $(LIBAV_INC)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
113 CFLAGS = $(OPTFLAGS) $(INCLUDE) $(XMMS_CFLAGS)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
114
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
115 .SUFFIXES: .c .o
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
116
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
117 # .PHONY: all clean
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
118
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
119 all: $(LIBNAME)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
120
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
121 .c.o:
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
122 $(CC) -c $(CFLAGS) -o $@ $<
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
123
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
124 $(LIBNAME): $(OBJS)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
125 $(AR) r $(LIBNAME) $(OBJS)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
126 $(RANLIB) $(LIBNAME)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
127
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
128 clean:
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
129 rm -f *.o *.a *~ \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
130 realrtsp/*.o realrtsp/*.a realrtsp/*~ \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
131 librtsp/*.o librtsp/*.a librtsp/*~ \
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
132 freesdp/*.o freesdp/*.a freesdp/*~
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
133
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
134 distclean: clean
19276
6fae24d40138 removed deprecated test.c file from libmpdemux
ben
parents: 19273
diff changeset
135 rm -f .depend
19271
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
136
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
137 dep: depend
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
138
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
139 depend:
19276
6fae24d40138 removed deprecated test.c file from libmpdemux
ben
parents: 19273
diff changeset
140 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
19271
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
141
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
142 #
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
143 # include dependency files if they exist
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
144 #
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
145 ifneq ($(wildcard .depend),)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
146 include .depend
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff changeset
147 endif