Mercurial > mplayer.hg
annotate libmpdemux/Makefile @ 21162:05e3e2311b09
Get rid of _ld_vorbis.
author | diego |
---|---|
date | Wed, 22 Nov 2006 19:26:52 +0000 |
parents | b437b582250d |
children | 68df3b19a160 |
rev | line source |
---|---|
2311 | 1 |
2 LIBNAME = libmpdemux.a | |
3 | |
4 include ../config.mak | |
5 | |
15772 | 6 # Headers and header-dumpers |
7 SRCS = mp3_hdr.c \ | |
8 mpeg_hdr.c \ | |
9 asfheader.c \ | |
10 aviheader.c \ | |
11 aviprint.c \ | |
12 | |
13 # Core | |
18922
d2d9d011203f
Move conditional compilation into the build system.
diego
parents:
18921
diff
changeset
|
14 SRCS += extension.c \ |
15772 | 15 video.c \ |
16 | |
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 | 19 parse_mp4.c \ |
19141 | 20 mpeg_packetizer.c \ |
15772 | 21 yuv4mpeg.c \ |
22 yuv4mpeg_ratio.c \ | |
19300 | 23 mf.c \ |
15772 | 24 |
25 # Demuxers | |
26 SRCS += demuxer.c \ | |
27 demux_aac.c \ | |
28 demux_asf.c \ | |
29 demux_audio.c \ | |
30 demux_avi.c \ | |
31 demux_demuxers.c \ | |
32 demux_film.c \ | |
33 demux_fli.c \ | |
34 demux_lmlm4.c \ | |
35 demux_mf.c \ | |
36 demux_mov.c \ | |
15958
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15772
diff
changeset
|
37 demux_mpc.c \ |
15772 | 38 demux_mpg.c \ |
39 demux_nsv.c \ | |
40 demux_nuv.c \ | |
41 demux_pva.c \ | |
42 demux_rawaudio.c \ | |
43 demux_rawvideo.c \ | |
44 demux_realaud.c \ | |
45 demux_real.c \ | |
46 demux_roq.c \ | |
47 demux_smjpeg.c \ | |
48 demux_ts.c \ | |
49 demux_ty.c \ | |
50 demux_ty_osd.c \ | |
51 demux_viv.c \ | |
52 demux_vqf.c \ | |
53 demux_y4m.c \ | |
18404 | 54 demux_mkv.c ebml.c \ |
15772 | 55 |
19861 | 56 ifeq ($(LIBNUT),yes) |
57 SRCS += demux_nut.c | |
58 endif | |
18922
d2d9d011203f
Move conditional compilation into the build system.
diego
parents:
18921
diff
changeset
|
59 ifeq ($(LIBVORBIS),yes) |
d2d9d011203f
Move conditional compilation into the build system.
diego
parents:
18921
diff
changeset
|
60 SRCS += demux_ogg.c |
d2d9d011203f
Move conditional compilation into the build system.
diego
parents:
18921
diff
changeset
|
61 endif |
d2d9d011203f
Move conditional compilation into the build system.
diego
parents:
18921
diff
changeset
|
62 ifeq ($(LIBDV),yes) |
d2d9d011203f
Move conditional compilation into the build system.
diego
parents:
18921
diff
changeset
|
63 SRCS += demux_rawdv.c |
d2d9d011203f
Move conditional compilation into the build system.
diego
parents:
18921
diff
changeset
|
64 endif |
d2d9d011203f
Move conditional compilation into the build system.
diego
parents:
18921
diff
changeset
|
65 ifeq ($(GIF),yes) |
d2d9d011203f
Move conditional compilation into the build system.
diego
parents:
18921
diff
changeset
|
66 SRCS += demux_gif.c |
d2d9d011203f
Move conditional compilation into the build system.
diego
parents:
18921
diff
changeset
|
67 endif |
8528 | 68 ifeq ($(XMMS_PLUGINS),yes) |
69 SRCS += demux_xmms.c | |
18921 | 70 endif |
19494
cbf4b6aa9d2a
demux_avs compilation should depend on WIN32DLL support, not a linker flag.
diego
parents:
19420
diff
changeset
|
71 ifeq ($(WIN32DLL),yes) |
15772 | 72 SRCS += demux_avs.c |
73 endif | |
74 | |
75 # Muxers | |
17538 | 76 MUXERS = muxer.c \ |
15772 | 77 muxer_avi.c \ |
78 muxer_mpeg.c \ | |
79 muxer_rawaudio.c \ | |
80 muxer_rawvideo.c \ | |
81 | |
16165 | 82 ifeq ($(CONFIG_LIBAVUTIL),yes) |
83 LIBAV_INC += -I../libavutil | |
84 endif | |
85 ifeq ($(CONFIG_LIBAVCODEC),yes) | |
86 LIBAV_INC += -I../libavcodec | |
87 endif | |
15772 | 88 ifeq ($(CONFIG_LIBAVFORMAT),yes) |
16165 | 89 LIBAV_INC += -I../libavformat |
17538 | 90 SRCS += demux_lavf.c |
91 MUXERS += muxer_lavf.c | |
17354 | 92 endif |
93 ifeq ($(CONFIG_LIBAVFORMAT_SO),yes) | |
17538 | 94 SRCS += demux_lavf.c |
95 MUXERS += muxer_lavf.c | |
15772 | 96 endif |
97 | |
19271
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
19190
diff
changeset
|
98 ifeq ($(MENCODER),yes) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
19190
diff
changeset
|
99 SRCS += $(MUXERS) |
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
19190
diff
changeset
|
100 endif |
18823
ef667dd373e2
new imported library in libmpdemux: freesdp (will be used by native rtsp demuxer)
ben
parents:
18799
diff
changeset
|
101 |
16572
56a5f69e9b35
"LIVE.COM Streaming Media" is now called "LIVE555 Streaming Media".
rsf
parents:
16165
diff
changeset
|
102 ifeq ($(STREAMING_LIVE555),yes) |
9250 | 103 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
|
104 endif |
17538 | 105 |
2311 | 106 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
|
107 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
|
108 INCLUDE = -I.. -I../stream -I../loader $(LIBAV_INC) |
19552
b4e2c17c2bdf
Remove XMMS_CFLAGS from CFLAGS, the variable is never set.
diego
parents:
19494
diff
changeset
|
109 CFLAGS = $(INCLUDE) $(OPTFLAGS) |
19303
d9e836da5093
Forgotten part of the LIVE555 configure test simplification.
diego
parents:
19300
diff
changeset
|
110 CPLUSPLUSFLAGS = $(CFLAGS) -D__STDC_LIMIT_MACROS |
7168
cb1428dd4d79
assume $(CC) can compile c++ - fixes compile with non-default compiler
arpi
parents:
7148
diff
changeset
|
111 CPLUSPLUS = $(CC) |
2311 | 112 |
6910
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
6474
diff
changeset
|
113 .SUFFIXES: .c .cpp .o |
2311 | 114 |
115 # .PHONY: all clean | |
116 | |
117 all: $(LIBNAME) | |
118 | |
119 .c.o: | |
120 $(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
|
121 .cpp.o: |
1a747aee653b
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents:
6474
diff
changeset
|
122 $(CPLUSPLUS) -c $(CPLUSPLUSFLAGS) -o $@ $< |
2311 | 123 |
124 $(LIBNAME): $(OBJS) | |
125 $(AR) r $(LIBNAME) $(OBJS) | |
12632 | 126 $(RANLIB) $(LIBNAME) |
2311 | 127 |
128 clean: | |
19271
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
19190
diff
changeset
|
129 rm -f *.o *.a *~ |
2311 | 130 |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
17354
diff
changeset
|
131 distclean: clean |
19276 | 132 rm -f .depend |
2311 | 133 |
21080 | 134 dep depend: |
19276 | 135 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
2311 | 136 |
137 # | |
138 # include dependency files if they exist | |
139 # | |
140 ifneq ($(wildcard .depend),) | |
141 include .depend | |
142 endif |