annotate libmpdemux/Makefile @ 19276:6fae24d40138

removed deprecated test.c file from libmpdemux
author ben
date Mon, 31 Jul 2006 20:32:38 +0000
parents 64d82a45a05d
children 0c7ad1c632cc
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
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
6 # Headers and header-dumpers
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
7 SRCS = mp3_hdr.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
8 mpeg_hdr.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
9 asfheader.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
10 aviheader.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
11 aviprint.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
12
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
13 # Core
18922
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
14 SRCS += extension.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
15 video.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
16
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
17 # Miscellaneous
19271
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents: 19190
diff changeset
18 SRCS += parse_es.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
19 parse_mp4.c \
19141
6e6ca469073b moved mpeg_packetizer helpers to libmpdemux
ben
parents: 19050
diff changeset
20 mpeg_packetizer.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
21 yuv4mpeg.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
22 yuv4mpeg_ratio.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
23
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
24 # Demuxers
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
25 SRCS += demuxer.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
26 demux_aac.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
27 demux_asf.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
28 demux_audio.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
29 demux_avi.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
30 demux_demuxers.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
31 demux_film.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
32 demux_fli.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
33 demux_lmlm4.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
34 demux_mf.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
35 demux_mov.c \
15958
087142ef3a2d musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents: 15772
diff changeset
36 demux_mpc.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
37 demux_mpg.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
38 demux_nsv.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
39 demux_nuv.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
40 demux_pva.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
41 demux_rawaudio.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
42 demux_rawvideo.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
43 demux_realaud.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
44 demux_real.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
45 demux_roq.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
46 demux_smjpeg.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
47 demux_ts.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
48 demux_ty.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
49 demux_ty_osd.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
50 demux_viv.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
51 demux_vqf.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
52 demux_y4m.c \
18404
e3379df74bcd Unconditionally compile the Matroska demuxer.
diego
parents: 18137
diff changeset
53 demux_mkv.c ebml.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
54
18922
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
55 ifeq ($(LIBVORBIS),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
56 SRCS += demux_ogg.c
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
57 endif
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
58 ifeq ($(LIBDV),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
59 SRCS += demux_rawdv.c
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
60 endif
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
61 ifeq ($(GIF),yes)
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
62 SRCS += demux_gif.c
d2d9d011203f Move conditional compilation into the build system.
diego
parents: 18921
diff changeset
63 endif
8528
9d143176d95f XMMS Input plugin support
arpi
parents: 7874
diff changeset
64 ifeq ($(XMMS_PLUGINS),yes)
9d143176d95f XMMS Input plugin support
arpi
parents: 7874
diff changeset
65 SRCS += demux_xmms.c
18921
f40eeaf450dd cosmetics
diego
parents: 18829
diff changeset
66 endif
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
67 ifneq ($(W32_LIB),)
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
68 SRCS += demux_avs.c
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
69 endif
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
70
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
71 # Muxers
17538
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
72 MUXERS = muxer.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
73 muxer_avi.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
74 muxer_mpeg.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
75 muxer_rawaudio.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
76 muxer_rawvideo.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
77
16165
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
78 LIBAV_INC =
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
79 ifeq ($(CONFIG_LIBAVUTIL),yes)
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
80 LIBAV_INC += -I../libavutil
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
81 endif
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
82 ifeq ($(CONFIG_LIBAVCODEC),yes)
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
83 LIBAV_INC += -I../libavcodec
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
84 endif
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
85 ifeq ($(CONFIG_LIBAVFORMAT),yes)
16165
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
86 LIBAV_INC += -I../libavformat
17538
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
87 SRCS += demux_lavf.c
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
88 MUXERS += muxer_lavf.c
17354
60189cd9bbc8 added support for external libavformat
nicodvb
parents: 17191
diff changeset
89 endif
60189cd9bbc8 added support for external libavformat
nicodvb
parents: 17191
diff changeset
90 ifeq ($(CONFIG_LIBAVFORMAT_SO),yes)
17538
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
91 SRCS += demux_lavf.c
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
92 MUXERS += muxer_lavf.c
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
93 endif
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
94
19271
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents: 19190
diff changeset
95 ifeq ($(MENCODER),yes)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents: 19190
diff changeset
96 SRCS += $(MUXERS)
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents: 19190
diff changeset
97 endif
18823
ef667dd373e2 new imported library in libmpdemux: freesdp (will be used by native rtsp demuxer)
ben
parents: 18799
diff changeset
98
16572
56a5f69e9b35 "LIVE.COM Streaming Media" is now called "LIVE555 Streaming Media".
rsf
parents: 16165
diff changeset
99 ifeq ($(STREAMING_LIVE555),yes)
9250
bb490ffeebf5 Restruct by Ross Finlayson <finlayson@live.com>
bertrand
parents: 9129
diff changeset
100 CPLUSPLUSSRCS = demux_rtp.cpp demux_rtp_codec.cpp
13997
63023fad13a0 support for debianized LIVE.COM library
henry
parents: 13787
diff changeset
101 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
102 endif
17538
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
103
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
104 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
105 OBJS += $(CPLUSPLUSSRCS:.cpp=.o)
19271
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents: 19190
diff changeset
106 INCLUDE = -I.. -I../stream -I../loader $(LIBAV_INC)
19190
1ea5c31932fd Unify include paths in the build system, part I.
diego
parents: 19189
diff changeset
107 CFLAGS = $(OPTFLAGS) $(INCLUDE) $(XMMS_CFLAGS)
18137
75b56435f053 Make the RTP demuxer work with libdvdread 0.9.5.
diego
parents: 17943
diff changeset
108 CPLUSPLUSFLAGS = $(CFLAGS) $(CPLUSPLUSINCLUDE) -D__STDC_LIMIT_MACROS
7168
cb1428dd4d79 assume $(CC) can compile c++ - fixes compile with non-default compiler
arpi
parents: 7148
diff changeset
109 CPLUSPLUS = $(CC)
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
110
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
111 .SUFFIXES: .c .cpp .o
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
112
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
113 # .PHONY: all clean
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
114
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
115 all: $(LIBNAME)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
116
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
117 .c.o:
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
118 $(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
119 .cpp.o:
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
120 $(CPLUSPLUS) -c $(CPLUSPLUSFLAGS) -o $@ $<
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
121
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
122 $(LIBNAME): $(OBJS)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
123 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 12175
diff changeset
124 $(RANLIB) $(LIBNAME)
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
125
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
126 clean:
19271
64d82a45a05d introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents: 19190
diff changeset
127 rm -f *.o *.a *~
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
128
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 17354
diff changeset
129 distclean: clean
19276
6fae24d40138 removed deprecated test.c file from libmpdemux
ben
parents: 19271
diff changeset
130 rm -f .depend
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
131
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
132 dep: depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
133
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
134 depend:
19276
6fae24d40138 removed deprecated test.c file from libmpdemux
ben
parents: 19271
diff changeset
135 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
136
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
137 #
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
138 # include dependency files if they exist
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
139 #
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
140 ifneq ($(wildcard .depend),)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
141 include .depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
142 endif