Mercurial > mplayer.hg
annotate libmpdemux/Makefile @ 16095:4d6bd248f7b9
formatting fixes galore
author | diego |
---|---|
date | Tue, 26 Jul 2005 01:06:10 +0000 |
parents | 087142ef3a2d |
children | a9f7eff9e437 |
rev | line source |
---|---|
2311 | 1 |
2 LIBNAME = libmpdemux.a | |
3 | |
4 include ../config.mak | |
5 | |
15772 | 6 # Headers and header-dumpers |
7 SRCS = mp3_hdr.c \ | |
8 mpeg_hdr.c \ | |
9 asfheader.c \ | |
10 aviheader.c \ | |
11 aviprint.c \ | |
12 | |
13 # Core | |
14 SRCS += cache2.c \ | |
15 extension.c \ | |
16 mf.c \ | |
17 open.c \ | |
18 url.c \ | |
19 video.c \ | |
20 | |
21 # Miscellaneous | |
22 SRCS += cdda.c \ | |
23 cddb.c \ | |
24 cdinfo.c \ | |
25 cue_read.c \ | |
26 dvdnav_stream.c \ | |
27 parse_es.c \ | |
28 parse_mp4.c \ | |
29 yuv4mpeg.c \ | |
30 yuv4mpeg_ratio.c \ | |
31 | |
32 # Stream readers/writers | |
33 SRCS += stream.c \ | |
34 stream_dvd.c \ | |
35 stream_file.c \ | |
36 stream_ftp.c \ | |
37 stream_livedotcom.c \ | |
38 stream_netstream.c \ | |
39 stream_null.c \ | |
40 stream_smb.c \ | |
41 stream_vcd.c \ | |
42 stream_vstream.c \ | |
43 | |
44 # TV in | |
45 SRCS += tv.c \ | |
46 frequencies.c \ | |
47 tvi_bsdbt848.c \ | |
48 tvi_dummy.c \ | |
49 tvi_v4l2.c \ | |
50 tvi_v4l.c \ | |
51 | |
52 # Audio in | |
53 SRCS += audio_in.c \ | |
54 ai_alsa1x.c \ | |
55 ai_alsa.c \ | |
56 ai_oss.c \ | |
57 | |
58 # Demuxers | |
59 SRCS += demuxer.c \ | |
60 demux_aac.c \ | |
61 demux_asf.c \ | |
62 demux_audio.c \ | |
63 demux_avi.c \ | |
64 demux_demuxers.c \ | |
65 demux_film.c \ | |
66 demux_fli.c \ | |
67 demux_gif.c \ | |
68 demux_lavf.c \ | |
69 demux_lmlm4.c \ | |
70 demux_mf.c \ | |
71 demux_mov.c \ | |
15958
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15772
diff
changeset
|
72 demux_mpc.c \ |
15772 | 73 demux_mpg.c \ |
74 demux_nsv.c \ | |
75 demux_nuv.c \ | |
76 demux_ogg.c \ | |
77 demux_pva.c \ | |
78 demux_rawaudio.c \ | |
79 demux_rawdv.c \ | |
80 demux_rawvideo.c \ | |
81 demux_realaud.c \ | |
82 demux_real.c \ | |
83 demux_roq.c \ | |
84 demux_smjpeg.c \ | |
85 demux_ts.c \ | |
86 demux_ty.c \ | |
87 demux_ty_osd.c \ | |
88 demux_viv.c \ | |
89 demux_vqf.c \ | |
90 demux_y4m.c \ | |
91 | |
8528 | 92 ifeq ($(XMMS_PLUGINS),yes) |
93 SRCS += demux_xmms.c | |
94 endif | |
15772 | 95 ifneq ($(W32_LIB),) |
96 SRCS += demux_avs.c | |
97 endif | |
98 ifeq ($(MATROSKA),yes) | |
99 SRCS += demux_mkv.c ebml.c | |
100 endif | |
101 | |
102 # Muxers | |
103 SRCS += muxer.c \ | |
104 muxer_avi.c \ | |
105 muxer_mpeg.c \ | |
106 muxer_rawaudio.c \ | |
107 muxer_rawvideo.c \ | |
108 | |
109 ifeq ($(CONFIG_LIBAVFORMAT),yes) | |
110 LIBAV_INC = -I../libavcodec -I../libavformat | |
111 SRCS += muxer_lavf.c | |
112 endif | |
113 | |
10121
d42177a0da2a
Changed the STREAMING defines to MPLAYER_NETWORK to avoid name definition clash.
bertrand
parents:
10057
diff
changeset
|
114 ifeq ($(MPLAYER_NETWORK),yes) |
15772 | 115 SRCS += asf_streaming.c \ |
116 http.c \ | |
117 network.c \ | |
118 cookies.c \ | |
119 asf_mmst_streaming.c \ | |
120 pnm.c \ | |
121 rtp.c \ | |
122 | |
123 SRCS += realrtsp/asmrp.c \ | |
124 realrtsp/real.c \ | |
125 realrtsp/rmff.c \ | |
126 realrtsp/rtsp.c \ | |
127 realrtsp/rtsp_session.c \ | |
128 realrtsp/sdpplin.c \ | |
129 realrtsp/xbuffer.c \ | |
130 | |
6910
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
6474
diff
changeset
|
131 ifeq ($(STREAMING_LIVE_DOT_COM),yes) |
9250 | 132 CPLUSPLUSSRCS = demux_rtp.cpp demux_rtp_codec.cpp |
13997 | 133 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
|
134 endif |
2311 | 135 endif |
136 | |
9610 | 137 ifeq ($(DVBIN),yes) |
138 SRCS += dvbin.c | |
139 SRCS += dvb_tune.c | |
140 endif | |
141 | |
2311 | 142 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
|
143 OBJS += $(CPLUSPLUSSRCS:.cpp=.o) |
13787
e047e70a9767
Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
diego
parents:
12958
diff
changeset
|
144 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
|
145 CFLAGS = $(OPTFLAGS) $(INCLUDE) $(XMMS_CFLAGS) $(CDPARANOIA_INC) $(DVB_INC) |
6910
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
6474
diff
changeset
|
146 CPLUSPLUSFLAGS = $(CFLAGS) $(CPLUSPLUSINCLUDE) |
7168
cb1428dd4d79
assume $(CC) can compile c++ - fixes compile with non-default compiler
arpi
parents:
7148
diff
changeset
|
147 CPLUSPLUS = $(CC) |
2311 | 148 |
6910
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
6474
diff
changeset
|
149 .SUFFIXES: .c .cpp .o |
2311 | 150 |
151 # .PHONY: all clean | |
152 | |
153 all: $(LIBNAME) | |
154 | |
155 .c.o: | |
156 $(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
|
157 .cpp.o: |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
6474
diff
changeset
|
158 $(CPLUSPLUS) -c $(CPLUSPLUSFLAGS) -o $@ $< |
2311 | 159 |
160 $(LIBNAME): $(OBJS) | |
161 $(AR) r $(LIBNAME) $(OBJS) | |
12632 | 162 $(RANLIB) $(LIBNAME) |
2311 | 163 |
164 test: $(LIBNAME) test.c | |
9754 | 165 $(CC) $(CFLAGS) test.c ../mp_msg.c ../osdep/shmem.c -o test ./libmpdemux.a ../libmpdvdkit2/libmpdvdkit.a ../libvo/aclib.o ../libmpcodecs/img_format.o ../libao2/afmt.o ../sub_cc.o ../m_option.o ../subreader.o $(ALSA_LIB) $(VORBIS_LIB) $(CDPARANOIA_LIB) -lz -lpthread |
2311 | 166 |
167 clean: | |
10057
d1f55b76ef2c
Made sure to clean out the "realrtsp" subdirectory when doing a "make clean"
rsf
parents:
10033
diff
changeset
|
168 rm -f *.o *.a *~ realrtsp/*.o realrtsp/*.a realrtsp/*~ |
2311 | 169 |
170 distclean: | |
10057
d1f55b76ef2c
Made sure to clean out the "realrtsp" subdirectory when doing a "make clean"
rsf
parents:
10033
diff
changeset
|
171 rm -f test Makefile.bak *.o *.a *~ realrtsp/*.o realrtsp/*.a realrtsp/*~ .depend |
2311 | 172 |
173 dep: depend | |
174 | |
175 depend: | |
176 $(CC) -MM $(CFLAGS) test.c $(SRCS) 1>.depend | |
177 | |
178 # | |
179 # include dependency files if they exist | |
180 # | |
181 ifneq ($(wildcard .depend),) | |
182 include .depend | |
183 endif |