summaryrefslogtreecommitdiffstats
path: root/stream/Makefile
blob: be3f6a4361c88d8346977d0e4133785da03f7377 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124

LIBNAME = stream.a

include ../config.mak

SRCS += open.c \
        stream.c \
        stream_cue.c \
        stream_file.c \
        stream_mf.c \
        stream_null.c \
        url.c \

ifeq ($(STREAM_CACHE),yes)
SRCS += cache2.c
endif
ifeq ($(CDDA),yes)
SRCS += stream_cdda.c cdinfo.c
  ifeq ($(MPLAYER_NETWORK),yes)
  SRCS += stream_cddb.c
  endif
endif
ifeq ($(DVDREAD),yes)
SRCS += stream_dvd.c
endif
ifeq ($(DVDNAV),yes)
SRCS += stream_dvdnav.c
endif
ifeq ($(VCD),yes)
SRCS += stream_vcd.c
endif
ifeq ($(FTP),yes)
SRCS += stream_ftp.c
endif
ifeq ($(LIBSMBCLIENT),yes)
SRCS += stream_smb.c
endif
ifeq ($(MPLAYER_NETWORK),yes)
SRCS += stream_netstream.c
endif
ifeq ($(STREAMING_LIVE555),yes)
SRCS += stream_livedotcom.c
endif
ifeq ($(VSTREAM),yes)
SRCS += stream_vstream.c
endif
ifeq ($(TV),yes)
SRCS += stream_tv.c tv.c frequencies.c tvi_dummy.c
endif
ifeq ($(TV_BSDBT848),yes)
SRCS += tvi_bsdbt848.c
endif
ifeq ($(TV_V4L2),yes)
SRCS += tvi_v4l2.c audio_in.c
endif
ifeq ($(PVR),yes)
SRCS += stream_pvr.c
endif
ifeq ($(TV_V4L1),yes)
SRCS += tvi_v4l.c audio_in.c
endif
ifeq ($(TV_V4L),yes)
  ifeq ($(ALSA1X),yes)
  SRCS += ai_alsa1x.c
  endif
  ifeq ($(ALSA9),yes)
  SRCS += ai_alsa.c
  endif
  ifeq ($(OSS),yes)
  SRCS += ai_oss.c
  endif
endif
ifeq ($(RADIO),yes)
SRCS += stream_radio.c
endif
ifeq ($(RADIO_CAPTURE),yes)
SRCS += audio_in.c
  ifeq ($(ALSA1X),yes)
  SRCS += ai_alsa1x.c
  endif
  ifeq ($(ALSA9),yes)
  SRCS += ai_alsa.c
  endif
  ifeq ($(OSS),yes)
  SRCS += ai_oss.c
  endif
endif
ifeq ($(MPLAYER_NETWORK),yes)
SRCS += asf_mmst_streaming.c \
        asf_streaming.c \
        cookies.c \
        http.c \
        network.c \
        pnm.c \
        rtp.c \
        udp.c \
        tcp.c \
        stream_rtsp.c \
        stream_rtp.c \
        stream_udp.c \
        freesdp/common.c \
        freesdp/errorlist.c \
        freesdp/parser.c \
        librtsp/rtsp.c \
        librtsp/rtsp_rtp.c \
        librtsp/rtsp_session.c \
        realrtsp/asmrp.c \
        realrtsp/real.c \
        realrtsp/rmff.c \
        realrtsp/sdpplin.c \
        realrtsp/xbuffer.c \
endif
ifeq ($(DVBIN),yes)
SRCS += dvb_tune.c stream_dvb.c
endif

CFLAGS = -I../loader

include ../mpcommon.mak

clean::
	rm -f realrtsp/*.o realrtsp/*.a realrtsp/*~ \
	librtsp/*.o librtsp/*.a librtsp/*~ \
	freesdp/*.o freesdp/*.a freesdp/*~