Mercurial > mplayer.hg
annotate libmpdemux/Makefile @ 15119:36e976b24193
Make the -priority warning obey the standard formatting.
author | diego |
---|---|
date | Mon, 11 Apr 2005 08:30:06 +0000 |
parents | 8b9738526dd7 |
children | 9391bf60ccdf |
rev | line source |
---|---|
2311 | 1 |
2 LIBNAME = libmpdemux.a | |
3 | |
4 include ../config.mak | |
5 | |
14836
8b9738526dd7
added a stream module for the vstream client library
joey
parents:
14757
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 stream_vstream.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 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 muxer_rawvideo.c demux_lavf.c demux_nsv.c demux_vqf.c |
8528 | 7 ifeq ($(XMMS_PLUGINS),yes) |
8 SRCS += demux_xmms.c | |
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) |
12799 | 11 SRCS += asf_streaming.c http.c network.c cookies.c asf_mmst_streaming.c pnm.c rtp.c |
9930 | 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 | 14 CPLUSPLUSSRCS = demux_rtp.cpp demux_rtp_codec.cpp |
13997 | 15 CPLUSPLUSINCLUDE = $(LIVE_INCLUDES) |
6910
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
6474
diff
changeset
|
16 endif |
2311 | 17 endif |
18 | |
9610 | 19 ifeq ($(DVBIN),yes) |
20 SRCS += dvbin.c | |
21 SRCS += dvb_tune.c | |
22 endif | |
23 | |
14693
37116118ab6a
avisynth demuxer patch by Gianluigi Tiesi <mplayer at netfarm.it>
faust3
parents:
14276
diff
changeset
|
24 ifneq ($(W32_LIB),) |
37116118ab6a
avisynth demuxer patch by Gianluigi Tiesi <mplayer at netfarm.it>
faust3
parents:
14276
diff
changeset
|
25 SRCS += demux_avs.c |
37116118ab6a
avisynth demuxer patch by Gianluigi Tiesi <mplayer at netfarm.it>
faust3
parents:
14276
diff
changeset
|
26 endif |
37116118ab6a
avisynth demuxer patch by Gianluigi Tiesi <mplayer at netfarm.it>
faust3
parents:
14276
diff
changeset
|
27 |
12958 | 28 ifeq ($(MATROSKA),yes) |
11807
9a81d7b4c0b6
Added the new C based Matroska demuxer by Aurelien Jacobs.
mosu
parents:
11775
diff
changeset
|
29 SRCS += demux_mkv.c ebml.c |
9a81d7b4c0b6
Added the new C based Matroska demuxer by Aurelien Jacobs.
mosu
parents:
11775
diff
changeset
|
30 endif |
9610 | 31 |
12164 | 32 ifeq ($(CONFIG_LIBAVFORMAT),yes) |
33 LIBAV_INC = -I../libavcodec -I../libavformat | |
14757
7a2adc5e8928
initial, extremely experimental, libavformat muxer; don't expect anything to work yet
nicodvb
parents:
14693
diff
changeset
|
34 SRCS += muxer_lavf.c |
12164 | 35 endif |
9610 | 36 |
2311 | 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) |
13787
e047e70a9767
Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
diego
parents:
12958
diff
changeset
|
39 INCLUDE = -I.. -I../loader $(CSS_INC) $(EXTRA_INC) $(LIBAV_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 | 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 | 45 |
46 # .PHONY: all clean | |
47 | |
48 all: $(LIBNAME) | |
49 | |
50 .c.o: | |
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 | 54 |
55 $(LIBNAME): $(OBJS) | |
56 $(AR) r $(LIBNAME) $(OBJS) | |
12632 | 57 $(RANLIB) $(LIBNAME) |
2311 | 58 |
59 test: $(LIBNAME) test.c | |
9754 | 60 $(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 | 61 |
62 clean: | |
10057
d1f55b76ef2c
Made sure to clean out the "realrtsp" subdirectory when doing a "make clean"
rsf
parents:
10033
diff
changeset
|
63 rm -f *.o *.a *~ realrtsp/*.o realrtsp/*.a realrtsp/*~ |
2311 | 64 |
65 distclean: | |
10057
d1f55b76ef2c
Made sure to clean out the "realrtsp" subdirectory when doing a "make clean"
rsf
parents:
10033
diff
changeset
|
66 rm -f test Makefile.bak *.o *.a *~ realrtsp/*.o realrtsp/*.a realrtsp/*~ .depend |
2311 | 67 |
68 dep: depend | |
69 | |
70 depend: | |
71 $(CC) -MM $(CFLAGS) test.c $(SRCS) 1>.depend | |
72 | |
73 # | |
74 # include dependency files if they exist | |
75 # | |
76 ifneq ($(wildcard .depend),) | |
77 include .depend | |
78 endif |