2001-10-20 19:04:56 +00:00
|
|
|
|
|
|
|
include ../config.mak
|
|
|
|
|
2006-11-27 14:26:52 +00:00
|
|
|
LIBNAME = libmpdemux.a
|
|
|
|
ifeq ($(MENCODER),yes)
|
|
|
|
LIBNAME2 = libmpmux.a
|
|
|
|
endif
|
|
|
|
|
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-11-26 22:37:03 +00:00
|
|
|
SRCS-$(CONFIG_LIBAVFORMAT) += demux_lavf.c
|
|
|
|
SRCS-$(CONFIG_LIBAVFORMAT_SO) += demux_lavf.c
|
|
|
|
SRCS-$(GIF) += demux_gif.c
|
|
|
|
SRCS-$(LIBDV) += demux_rawdv.c
|
|
|
|
SRCS-$(LIBNUT) += demux_nut.c
|
|
|
|
SRCS-$(LIBVORBIS) += demux_ogg.c
|
|
|
|
SRCS-$(STREAMING_LIVE555) += demux_rtp.cpp demux_rtp_codec.cpp
|
|
|
|
SRCS-$(WIN32DLL) += demux_avs.c
|
|
|
|
SRCS-$(XMMS_PLUGINS) += demux_xmms.c
|
2003-03-16 20:13:28 +00:00
|
|
|
|
2006-11-27 14:26:52 +00:00
|
|
|
SRCS2 = muxer.c \
|
2005-06-19 22:52:55 +00:00
|
|
|
muxer_avi.c \
|
|
|
|
muxer_mpeg.c \
|
|
|
|
muxer_rawaudio.c \
|
|
|
|
muxer_rawvideo.c \
|
|
|
|
|
2006-11-27 14:26:52 +00:00
|
|
|
SRCS2-$(CONFIG_LIBAVFORMAT) += muxer_lavf.c
|
|
|
|
SRCS2-$(CONFIG_LIBAVFORMAT_SO) += muxer_lavf.c
|
2006-11-26 22:37:03 +00:00
|
|
|
|
|
|
|
LIBAV_INC-$(CONFIG_LIBAVUTIL) += -I../libavutil
|
|
|
|
LIBAV_INC-$(CONFIG_LIBAVCODEC) += -I../libavcodec
|
|
|
|
LIBAV_INC-$(CONFIG_LIBAVFORMAT) += -I../libavformat
|
|
|
|
|
|
|
|
CFLAGS = -I.. -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
|