annotate libmpdemux/Makefile @ 11836:33351e4ce3de

mkv.cpp -> mkv_old.cpp, to avoid dependency name collision with mkv.c
author arpi
date Fri, 23 Jan 2004 21:34:28 +0000
parents 9a81d7b4c0b6
children b962aaad2940
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
1
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
2 LIBNAME = libmpdemux.a
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
3
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
4 include ../config.mak
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
5
11775
66e491c35dc8 ALSA 1.x audio out driver
henry
parents: 11592
diff changeset
6 SRCS = mp3_hdr.c video.c mpeg_hdr.c cache2.c asfheader.c aviheader.c aviprint.c muxer.c muxer_avi.c muxer_mpeg.c demux_asf.c demux_avi.c demux_mov.c parse_mp4.c demux_mpg.c demux_ty.c demux_ty_osd.c demux_pva.c demux_viv.c demuxer.c dvdnav_stream.c open.c parse_es.c stream.c stream_file.c stream_netstream.c stream_vcd.c stream_null.c stream_ftp.c tv.c tvi_dummy.c tvi_v4l.c tvi_v4l2.c tvi_bsdbt848.c frequencies.c demux_fli.c demux_real.c demux_y4m.c yuv4mpeg.c yuv4mpeg_ratio.c demux_nuv.c demux_film.c demux_roq.c mf.c demux_mf.c demux_audio.c demux_demuxers.c demux_ogg.c demux_bmp.c cdda.c demux_rawaudio.c demux_rawvideo.c cddb.c cdinfo.c demux_rawdv.c ai_alsa.c ai_alsa1x.c ai_oss.c audio_in.c demux_smjpeg.c demux_lmlm4.c cue_read.c extension.c demux_gif.c demux_ts.c demux_realaud.c url.c
8528
9d143176d95f XMMS Input plugin support
arpi
parents: 7874
diff changeset
7 ifeq ($(XMMS_PLUGINS),yes)
9d143176d95f XMMS Input plugin support
arpi
parents: 7874
diff changeset
8 SRCS += demux_xmms.c
9d143176d95f XMMS Input plugin support
arpi
parents: 7874
diff changeset
9 endif
10121
d42177a0da2a Changed the STREAMING defines to MPLAYER_NETWORK to avoid name definition clash.
bertrand
parents: 10057
diff changeset
10 ifeq ($(MPLAYER_NETWORK),yes)
11583
2af52902e7dc Send HTTP Cookies (reading from mozilla/netscape files) support by Dave Lambley <mplayer-dev-eng@dlambley.freeserve.co.uk>. Disabled by default.
alex
parents: 10651
diff changeset
11 SRCS += asf_streaming.c http.c network.c cookies.c asf_mmst_streaming.c pnm.c
9930
6e50b9573cfa 10l, noted by Sascha Sommer
rtognimp
parents: 9922
diff changeset
12 SRCS += realrtsp/asmrp.c realrtsp/real.c realrtsp/rmff.c realrtsp/rtsp.c realrtsp/rtsp_session.c realrtsp/sdpplin.c realrtsp/xbuffer.c
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
13 ifeq ($(STREAMING_LIVE_DOT_COM),yes)
9250
bb490ffeebf5 Restruct by Ross Finlayson <finlayson@live.com>
bertrand
parents: 9129
diff changeset
14 CPLUSPLUSSRCS = demux_rtp.cpp demux_rtp_codec.cpp
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
15 CPLUSPLUSINCLUDE = -I$(LIVE_LIB_DIR)/liveMedia/include
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
16 CPLUSPLUSINCLUDE += -I$(LIVE_LIB_DIR)/UsageEnvironment/include
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
17 CPLUSPLUSINCLUDE += -I$(LIVE_LIB_DIR)/BasicUsageEnvironment/include
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
18 CPLUSPLUSINCLUDE += -I$(LIVE_LIB_DIR)/groupsock/include
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
19 else
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
20 SRCS += rtp.c
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
21 endif
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
22 endif
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
23
9610
76c6d8f1ebf5 this is a combo patch that:
arpi
parents: 9250
diff changeset
24 ifeq ($(DVBIN),yes)
76c6d8f1ebf5 this is a combo patch that:
arpi
parents: 9250
diff changeset
25 SRCS += dvbin.c
76c6d8f1ebf5 this is a combo patch that:
arpi
parents: 9250
diff changeset
26 SRCS += dvb_tune.c
76c6d8f1ebf5 this is a combo patch that:
arpi
parents: 9250
diff changeset
27 endif
76c6d8f1ebf5 this is a combo patch that:
arpi
parents: 9250
diff changeset
28
11807
9a81d7b4c0b6 Added the new C based Matroska demuxer by Aurelien Jacobs.
mosu
parents: 11775
diff changeset
29 ifeq ($(MATROSKA_INTERNAL),yes)
9a81d7b4c0b6 Added the new C based Matroska demuxer by Aurelien Jacobs.
mosu
parents: 11775
diff changeset
30 SRCS += demux_mkv.c ebml.c
9a81d7b4c0b6 Added the new C based Matroska demuxer by Aurelien Jacobs.
mosu
parents: 11775
diff changeset
31 endif
9a81d7b4c0b6 Added the new C based Matroska demuxer by Aurelien Jacobs.
mosu
parents: 11775
diff changeset
32 ifeq ($(MATROSKA_EXTERNAL),yes)
11836
33351e4ce3de mkv.cpp -> mkv_old.cpp, to avoid dependency name collision with mkv.c
arpi
parents: 11807
diff changeset
33 CPLUSPLUSSRCS += demux_mkv_old.cpp
10024
c6fab860ab18 Added Matroska demuxing support.
mosu
parents: 9930
diff changeset
34 endif
9610
76c6d8f1ebf5 this is a combo patch that:
arpi
parents: 9250
diff changeset
35
76c6d8f1ebf5 this is a combo patch that:
arpi
parents: 9250
diff changeset
36
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
37 OBJS = $(SRCS:.c=.o)
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
38 OBJS += $(CPLUSPLUSSRCS:.cpp=.o)
2466
451426046a14 CSS_INC include flags are now needed in libmpdemux, to compile dvdauth.c
jkeil
parents: 2322
diff changeset
39 INCLUDE = -I../loader $(CSS_INC) $(EXTRA_INC)
10651
efb6dcac967d --dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents: 10634
diff changeset
40 CFLAGS = $(OPTFLAGS) $(INCLUDE) $(XMMS_CFLAGS) $(CDPARANOIA_INC) $(DVB_INC)
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
41 CPLUSPLUSFLAGS = $(CFLAGS) $(CPLUSPLUSINCLUDE)
7168
cb1428dd4d79 assume $(CC) can compile c++ - fixes compile with non-default compiler
arpi
parents: 7148
diff changeset
42 CPLUSPLUS = $(CC)
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
43
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
44 .SUFFIXES: .c .cpp .o
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
45
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
46 # .PHONY: all clean
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
47
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
48 all: $(LIBNAME)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
49
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
50 .c.o:
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
51 $(CC) -c $(CFLAGS) -o $@ $<
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
52 .cpp.o:
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
53 $(CPLUSPLUS) -c $(CPLUSPLUSFLAGS) -o $@ $<
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
54
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
55 $(LIBNAME): $(OBJS)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
56 $(AR) r $(LIBNAME) $(OBJS)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
57
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
58 test: $(LIBNAME) test.c
9754
9a88e80e6314 Fix test compilation
albeu
parents: 9615
diff changeset
59 $(CC) $(CFLAGS) test.c ../mp_msg.c ../osdep/shmem.c -o test ./libmpdemux.a ../libmpdvdkit2/libmpdvdkit.a ../libvo/aclib.o ../libmpcodecs/img_format.o ../libao2/afmt.o ../sub_cc.o ../m_option.o ../subreader.o $(ALSA_LIB) $(VORBIS_LIB) $(CDPARANOIA_LIB) -lz -lpthread
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
60
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
61 clean:
10057
d1f55b76ef2c Made sure to clean out the "realrtsp" subdirectory when doing a "make clean"
rsf
parents: 10033
diff changeset
62 rm -f *.o *.a *~ realrtsp/*.o realrtsp/*.a realrtsp/*~
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
63
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
64 distclean:
10057
d1f55b76ef2c Made sure to clean out the "realrtsp" subdirectory when doing a "make clean"
rsf
parents: 10033
diff changeset
65 rm -f test Makefile.bak *.o *.a *~ realrtsp/*.o realrtsp/*.a realrtsp/*~ .depend
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
66
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
67 dep: depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
68
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
69 depend:
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
70 $(CC) -MM $(CFLAGS) test.c $(SRCS) 1>.depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
71
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
72 #
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
73 # include dependency files if they exist
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
74 #
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
75 ifneq ($(wildcard .depend),)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
76 include .depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
77 endif