Mercurial > mplayer.hg
annotate stream/Makefile @ 19311:0a4df538c136
moved pnm.h to stream/ (where it belongs)
author | ben |
---|---|
date | Fri, 04 Aug 2006 16:55:48 +0000 |
parents | cc4774869fbc |
children | ab8d6b6deb63 |
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 | 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 | 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 \ |
19301 | 25 stream_mf.c \ |
19271
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
26 stream_null.c \ |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
27 |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
28 ifeq ($(HAVE_DVD),yes) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
29 SRCS += stream_dvd.c |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
30 endif |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
31 ifeq ($(DVDNAV),yes) |
19302
cc4774869fbc
renamed dvdnav_stream to stream_dvdnav for consistency
ben
parents:
19301
diff
changeset
|
32 SRCS += stream_dvdnav.c |
19271
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
33 endif |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
34 ifeq ($(VCD),yes) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
35 SRCS += stream_vcd.c |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
36 endif |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
37 ifeq ($(FTP),yes) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
38 SRCS += stream_ftp.c |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
39 endif |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
40 ifeq ($(LIBSMBCLIENT),yes) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
41 SRCS += stream_smb.c |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
42 endif |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
43 ifeq ($(MPLAYER_NETWORK),yes) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
44 SRCS += stream_netstream.c |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
45 ifeq ($(STREAMING_LIVE555),yes) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
46 SRCS += stream_livedotcom.c |
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 endif |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
49 ifeq ($(VSTREAM),yes) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
50 SRCS += stream_vstream.c |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
51 endif |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
52 |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
53 # TV in |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
54 ifeq ($(TV),yes) |
19273
11ec1cb3a7ea
add an explicit tv stream input instead of the previous hack in stream_null
ben
parents:
19272
diff
changeset
|
55 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
|
56 ifeq ($(TV_BSDBT848),yes) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
57 SRCS += tvi_bsdbt848.c |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
58 endif |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
59 ifeq ($(TV_V4L2),yes) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
60 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
|
61 ifeq ($(PVR),yes) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
62 SRCS += stream_pvr.c |
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 endif |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
65 ifeq ($(TV_V4L1),yes) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
66 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
|
67 endif |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
68 ifeq ($(TV_V4L),yes) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
69 ifeq ($(ALSA1X),yes) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
70 SRCS += ai_alsa1x.c |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
71 endif |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
72 ifeq ($(ALSA9),yes) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
73 SRCS += ai_alsa.c |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
74 endif |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
75 ifeq ($(OSS),yes) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
76 SRCS += ai_oss.c |
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 endif |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
80 |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
81 ifeq ($(MPLAYER_NETWORK),yes) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
82 SRCS += asf_streaming.c \ |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
83 http.c \ |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
84 network.c \ |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
85 cookies.c \ |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
86 asf_mmst_streaming.c \ |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
87 pnm.c \ |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
88 rtp.c \ |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
89 stream_rtsp.c \ |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
90 |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
91 SRCS += realrtsp/asmrp.c \ |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
92 realrtsp/real.c \ |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
93 realrtsp/rmff.c \ |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
94 realrtsp/sdpplin.c \ |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
95 realrtsp/xbuffer.c \ |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
96 |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
97 SRCS += librtsp/rtsp.c \ |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
98 librtsp/rtsp_rtp.c \ |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
99 librtsp/rtsp_session.c \ |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
100 |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
101 SRCS += freesdp/common.c \ |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
102 freesdp/errorlist.c \ |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
103 freesdp/parser.c \ |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
104 |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
105 endif |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
106 |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
107 ifeq ($(DVBIN),yes) |
19296 | 108 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
|
109 SRCS += dvb_tune.c |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
110 endif |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
111 |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
112 OBJS = $(SRCS:.c=.o) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
113 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
|
114 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
|
115 |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
116 .SUFFIXES: .c .o |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
117 |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
118 # .PHONY: all clean |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
119 |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
120 all: $(LIBNAME) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
121 |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
122 .c.o: |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
123 $(CC) -c $(CFLAGS) -o $@ $< |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
124 |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
125 $(LIBNAME): $(OBJS) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
126 $(AR) r $(LIBNAME) $(OBJS) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
127 $(RANLIB) $(LIBNAME) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
128 |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
129 clean: |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
130 rm -f *.o *.a *~ \ |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
131 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
|
132 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
|
133 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
|
134 |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
135 distclean: clean |
19276 | 136 rm -f .depend |
19271
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
137 |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
138 dep: depend |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
139 |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
140 depend: |
19276 | 141 $(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
|
142 |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
143 # |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
144 # 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
|
145 # |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
146 ifneq ($(wildcard .depend),) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
147 include .depend |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
diff
changeset
|
148 endif |