2001-10-20 19:04:56 +00:00
|
|
|
|
|
|
|
LIBNAME = libmpdemux.a
|
|
|
|
|
|
|
|
include ../config.mak
|
|
|
|
|
2005-06-19 22:52:55 +00:00
|
|
|
# Headers and header-dumpers
|
|
|
|
SRCS = mp3_hdr.c \
|
|
|
|
mpeg_hdr.c \
|
|
|
|
asfheader.c \
|
|
|
|
aviheader.c \
|
|
|
|
aviprint.c \
|
|
|
|
|
|
|
|
# Core
|
2006-07-06 13:09:45 +00:00
|
|
|
SRCS += extension.c \
|
2005-06-19 22:52:55 +00:00
|
|
|
video.c \
|
|
|
|
|
|
|
|
# Miscellaneous
|
2006-07-31 17:39:17 +00:00
|
|
|
SRCS += parse_es.c \
|
2005-06-19 22:52:55 +00:00
|
|
|
parse_mp4.c \
|
2006-07-19 22:13:50 +00:00
|
|
|
mpeg_packetizer.c \
|
2005-06-19 22:52:55 +00:00
|
|
|
yuv4mpeg.c \
|
|
|
|
yuv4mpeg_ratio.c \
|
2006-08-03 19:31:36 +00:00
|
|
|
mf.c \
|
2005-06-19 22:52:55 +00:00
|
|
|
|
|
|
|
# Demuxers
|
|
|
|
SRCS += demuxer.c \
|
|
|
|
demux_aac.c \
|
|
|
|
demux_asf.c \
|
|
|
|
demux_audio.c \
|
|
|
|
demux_avi.c \
|
|
|
|
demux_demuxers.c \
|
|
|
|
demux_film.c \
|
|
|
|
demux_fli.c \
|
|
|
|
demux_lmlm4.c \
|
|
|
|
demux_mf.c \
|
|
|
|
demux_mov.c \
|
2005-07-10 17:14:12 +00:00
|
|
|
demux_mpc.c \
|
2005-06-19 22:52:55 +00:00
|
|
|
demux_mpg.c \
|
|
|
|
demux_nsv.c \
|
|
|
|
demux_nuv.c \
|
|
|
|
demux_pva.c \
|
|
|
|
demux_rawaudio.c \
|
|
|
|
demux_rawvideo.c \
|
|
|
|
demux_realaud.c \
|
|
|
|
demux_real.c \
|
|
|
|
demux_roq.c \
|
|
|
|
demux_smjpeg.c \
|
|
|
|
demux_ts.c \
|
|
|
|
demux_ty.c \
|
|
|
|
demux_ty_osd.c \
|
|
|
|
demux_viv.c \
|
|
|
|
demux_vqf.c \
|
|
|
|
demux_y4m.c \
|
2006-05-08 21:41:15 +00:00
|
|
|
demux_mkv.c ebml.c \
|
2005-06-19 22:52:55 +00:00
|
|
|
|
2006-09-17 09:32:28 +00:00
|
|
|
ifeq ($(LIBNUT),yes)
|
|
|
|
SRCS += demux_nut.c
|
|
|
|
endif
|
2006-07-06 13:09:45 +00:00
|
|
|
ifeq ($(LIBVORBIS),yes)
|
|
|
|
SRCS += demux_ogg.c
|
|
|
|
endif
|
|
|
|
ifeq ($(LIBDV),yes)
|
|
|
|
SRCS += demux_rawdv.c
|
|
|
|
endif
|
|
|
|
ifeq ($(GIF),yes)
|
|
|
|
SRCS += demux_gif.c
|
|
|
|
endif
|
2002-12-22 21:01:01 +00:00
|
|
|
ifeq ($(XMMS_PLUGINS),yes)
|
|
|
|
SRCS += demux_xmms.c
|
2006-07-06 13:06:21 +00:00
|
|
|
endif
|
2006-08-22 23:18:58 +00:00
|
|
|
ifeq ($(WIN32DLL),yes)
|
2005-02-13 13:39:19 +00:00
|
|
|
SRCS += demux_avs.c
|
|
|
|
endif
|
2003-03-16 20:13:28 +00:00
|
|
|
|
2005-06-19 22:52:55 +00:00
|
|
|
# Muxers
|
2006-02-06 16:04:17 +00:00
|
|
|
MUXERS = muxer.c \
|
2005-06-19 22:52:55 +00:00
|
|
|
muxer_avi.c \
|
|
|
|
muxer_mpeg.c \
|
|
|
|
muxer_rawaudio.c \
|
|
|
|
muxer_rawvideo.c \
|
|
|
|
|
2005-08-01 20:16:56 +00:00
|
|
|
ifeq ($(CONFIG_LIBAVUTIL),yes)
|
|
|
|
LIBAV_INC += -I../libavutil
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_LIBAVCODEC),yes)
|
|
|
|
LIBAV_INC += -I../libavcodec
|
|
|
|
endif
|
2004-04-11 14:26:04 +00:00
|
|
|
ifeq ($(CONFIG_LIBAVFORMAT),yes)
|
2005-08-01 20:16:56 +00:00
|
|
|
LIBAV_INC += -I../libavformat
|
2006-02-06 16:04:17 +00:00
|
|
|
SRCS += demux_lavf.c
|
|
|
|
MUXERS += muxer_lavf.c
|
2006-01-09 19:35:44 +00:00
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_LIBAVFORMAT_SO),yes)
|
2006-02-06 16:04:17 +00:00
|
|
|
SRCS += demux_lavf.c
|
|
|
|
MUXERS += muxer_lavf.c
|
2004-04-11 14:26:04 +00:00
|
|
|
endif
|
2003-03-16 20:13:28 +00:00
|
|
|
|
2006-07-31 17:39:17 +00:00
|
|
|
ifeq ($(MENCODER),yes)
|
|
|
|
SRCS += $(MUXERS)
|
|
|
|
endif
|
2006-06-26 17:37:55 +00:00
|
|
|
|
2005-09-23 22:35:04 +00:00
|
|
|
ifeq ($(STREAMING_LIVE555),yes)
|
2006-11-26 13:04:14 +00:00
|
|
|
SRCS += demux_rtp.cpp demux_rtp_codec.cpp
|
2005-06-19 22:52:55 +00:00
|
|
|
endif
|
2006-02-06 16:04:17 +00:00
|
|
|
|
2006-11-26 18:12:36 +00:00
|
|
|
CFLAGS = -I../stream -I../loader $(LIBAV_INC)
|
2001-10-20 19:04:56 +00:00
|
|
|
|
2006-11-26 18:12:36 +00:00
|
|
|
CPLUSPLUSFLAGS = $(CFLAGS) -D__STDC_LIMIT_MACROS
|
2001-10-20 19:04:56 +00:00
|
|
|
|
2002-08-05 00:39:07 +00:00
|
|
|
.cpp.o:
|
2006-11-26 13:04:14 +00:00
|
|
|
$(CC) -c $(CPLUSPLUSFLAGS) -o $@ $<
|
2001-10-20 19:04:56 +00:00
|
|
|
|
2006-11-26 18:12:36 +00:00
|
|
|
include ../mpcommon.mak
|