comparison stream/Makefile @ 22528:8bcff5c7e387

Give more descriptive names to the source and library variables and split between common, MPlayer-specific and MEncoder-specific parts.
author diego
date Tue, 13 Mar 2007 12:10:57 +0000
parents af809f05ed57
children 090ec2169aee
comparison
equal deleted inserted replaced
22527:5dc92a83d58a 22528:8bcff5c7e387
1
2 LIBNAME = stream.a
3
4 include ../config.mak 1 include ../config.mak
5 2
6 SRCS += open.c \ 3 LIBNAME_COMMON = stream.a
4
5 SRCS_COMMON += open.c \
7 stream.c \ 6 stream.c \
8 stream_cue.c \ 7 stream_cue.c \
9 stream_file.c \ 8 stream_file.c \
10 stream_mf.c \ 9 stream_mf.c \
11 stream_null.c \ 10 stream_null.c \
12 url.c \ 11 url.c \
13 12
14 SRCS-$(CDDA) += stream_cdda.c cdinfo.c 13 SRCS_COMMON-$(CDDA) += stream_cdda.c cdinfo.c
15 SRCS-$(CDDB) += stream_cddb.c 14 SRCS_COMMON-$(CDDB) += stream_cddb.c
16 SRCS-$(DVBIN) += dvb_tune.c stream_dvb.c 15 SRCS_COMMON-$(DVBIN) += dvb_tune.c stream_dvb.c
17 SRCS-$(DVDNAV) += stream_dvdnav.c 16 SRCS_COMMON-$(DVDNAV) += stream_dvdnav.c
18 SRCS-$(DVDREAD) += stream_dvd.c 17 SRCS_COMMON-$(DVDREAD) += stream_dvd.c
19 SRCS-$(FTP) += stream_ftp.c 18 SRCS_COMMON-$(FTP) += stream_ftp.c
20 SRCS-$(LIBSMBCLIENT) += stream_smb.c 19 SRCS_COMMON-$(LIBSMBCLIENT) += stream_smb.c
21 SRCS-$(MPLAYER_NETWORK) += stream_netstream.c \ 20 SRCS_COMMON-$(MPLAYER_NETWORK) += stream_netstream.c \
22 asf_mmst_streaming.c \ 21 asf_mmst_streaming.c \
23 asf_streaming.c \ 22 asf_streaming.c \
24 cookies.c \ 23 cookies.c \
25 http.c \ 24 http.c \
26 network.c \ 25 network.c \
41 realrtsp/real.c \ 40 realrtsp/real.c \
42 realrtsp/rmff.c \ 41 realrtsp/rmff.c \
43 realrtsp/sdpplin.c \ 42 realrtsp/sdpplin.c \
44 realrtsp/xbuffer.c \ 43 realrtsp/xbuffer.c \
45 44
46 SRCS-$(PVR) += stream_pvr.c 45 SRCS_COMMON-$(PVR) += stream_pvr.c
47 SRCS-$(RADIO) += stream_radio.c 46 SRCS_COMMON-$(RADIO) += stream_radio.c
48 SRCS-$(RADIO_CAPTURE) += audio_in.c 47 SRCS_COMMON-$(RADIO_CAPTURE) += audio_in.c
49 SRCS-$(STREAM_CACHE) += cache2.c 48 SRCS_COMMON-$(STREAM_CACHE) += cache2.c
50 SRCS-$(STREAMING_LIVE555) += stream_livedotcom.c 49 SRCS_COMMON-$(STREAMING_LIVE555) += stream_livedotcom.c
51 SRCS-$(TV) += stream_tv.c tv.c frequencies.c tvi_dummy.c 50 SRCS_COMMON-$(TV) += stream_tv.c tv.c frequencies.c tvi_dummy.c
52 SRCS-$(TV_BSDBT848) += tvi_bsdbt848.c 51 SRCS_COMMON-$(TV_BSDBT848) += tvi_bsdbt848.c
53 SRCS-$(TV_V4L1) += tvi_v4l.c audio_in.c 52 SRCS_COMMON-$(TV_V4L1) += tvi_v4l.c audio_in.c
54 SRCS-$(TV_V4L2) += tvi_v4l2.c audio_in.c 53 SRCS_COMMON-$(TV_V4L2) += tvi_v4l2.c audio_in.c
55 SRCS-$(VCD) += stream_vcd.c 54 SRCS_COMMON-$(VCD) += stream_vcd.c
56 SRCS-$(VSTREAM) += stream_vstream.c 55 SRCS_COMMON-$(VSTREAM) += stream_vstream.c
57 56
58 #FIXME: These should have variables assigned in configure. 57 #FIXME: These should have variables assigned in configure.
59 ifeq ($(TV_V4L),yes) 58 ifeq ($(TV_V4L),yes)
60 SRCS-$(ALSA1X) += ai_alsa1x.c 59 SRCS_COMMON-$(ALSA1X) += ai_alsa1x.c
61 SRCS-$(ALSA9) += ai_alsa.c 60 SRCS_COMMON-$(ALSA9) += ai_alsa.c
62 SRCS-$(OSS) += ai_oss.c 61 SRCS_COMMON-$(OSS) += ai_oss.c
63 endif 62 endif
64 ifeq ($(RADIO_CAPTURE),yes) 63 ifeq ($(RADIO_CAPTURE),yes)
65 SRCS-$(ALSA1X) += ai_alsa1x.c 64 SRCS_COMMON-$(ALSA1X) += ai_alsa1x.c
66 SRCS-$(ALSA9) += ai_alsa.c 65 SRCS_COMMON-$(ALSA9) += ai_alsa.c
67 SRCS-$(OSS) += ai_oss.c 66 SRCS_COMMON-$(OSS) += ai_oss.c
68 endif 67 endif
69 68
70 CFLAGS = -I../loader 69 CFLAGS = -I../loader
71 70
72 include ../mpcommon.mak 71 include ../mpcommon.mak