view stream/Makefile @ 26360:a48df598c055

Split cfg-common.h into two separate header files. It was being included twice with different definitions set that activated either the lower or the upper half of the header. The effectively simulated using two different header files. It is more straightforward to split the header instead.
author diego
date Fri, 11 Apr 2008 09:48:36 +0000
parents d81eef9beb1b
children 0ad5f1789b54
line wrap: on
line source

include ../config.mak

LIBNAME_COMMON = stream.a

SRCS_COMMON = open.c \
              stream.c \
              stream_cue.c \
              stream_file.c \
              stream_mf.c \
              stream_null.c \
              url.c \

SRCS_COMMON-$(CDDA)              += stream_cdda.c cdinfo.c
SRCS_COMMON-$(CDDB)              += stream_cddb.c
SRCS_COMMON-$(DVBIN)             += dvb_tune.c stream_dvb.c
SRCS_COMMON-$(DVDNAV)            += stream_dvdnav.c
SRCS_COMMON-$(DVDREAD)           += stream_dvd.c stream_dvd_common.c
SRCS_COMMON-$(FTP)               += stream_ftp.c
SRCS_COMMON-$(LIBSMBCLIENT)      += stream_smb.c
SRCS_COMMON-$(MPLAYER_NETWORK)   += stream_netstream.c     \
                                    asf_mmst_streaming.c   \
                                    asf_streaming.c        \
                                    cookies.c              \
                                    http.c                 \
                                    network.c              \
                                    pnm.c                  \
                                    rtp.c                  \
                                    udp.c                  \
                                    tcp.c                  \
                                    stream_rtp.c           \
                                    stream_udp.c           \
                                    realrtsp/asmrp.c       \
                                    realrtsp/real.c        \
                                    realrtsp/rmff.c        \
                                    realrtsp/sdpplin.c     \
                                    realrtsp/xbuffer.c     \

SRCS_COMMON-$(NATIVE_RTSP)       += stream_rtsp.c          \
                                    freesdp/common.c       \
                                    freesdp/errorlist.c    \
                                    freesdp/parser.c       \
                                    librtsp/rtsp.c         \
                                    librtsp/rtsp_rtp.c     \
                                    librtsp/rtsp_session.c \

SRCS_COMMON-$(LIBNEMESI)         += stream_nemesi.c

SRCS_COMMON-$(PVR)               += stream_pvr.c
SRCS_COMMON-$(RADIO)             += stream_radio.c
SRCS_COMMON-$(RADIO_CAPTURE)     += audio_in.c
SRCS_COMMON-$(STREAM_CACHE)      += cache2.c
SRCS_COMMON-$(STREAMING_LIVE555) += stream_livedotcom.c
SRCS_COMMON-$(TV)                += stream_tv.c tv.c frequencies.c tvi_dummy.c
SRCS_COMMON-$(TV_BSDBT848)       += tvi_bsdbt848.c
SRCS_COMMON-$(TV_DSHOW)          += tvi_dshow.c
SRCS_COMMON-$(TV_TELETEXT)       += tvi_vbi.c
SRCS_COMMON-$(TV_V4L1)           += tvi_v4l.c  audio_in.c
SRCS_COMMON-$(TV_V4L2)           += tvi_v4l2.c audio_in.c
SRCS_COMMON-$(VCD)               += stream_vcd.c
SRCS_COMMON-$(VSTREAM)           += stream_vstream.c

ifeq ($(AUDIO_INPUT),yes)
SRCS_COMMON-$(ALSA1X)            += ai_alsa1x.c
SRCS_COMMON-$(ALSA9)             += ai_alsa.c
SRCS_COMMON-$(OSS)               += ai_oss.c
endif

include ../mpcommon.mak

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