6 # Headers and header-dumpers
32 # Stream readers/writers
91 ifeq ($(HAVE_DVD
),yes
)
94 ifeq ($(XMMS_PLUGINS
),yes
)
109 ifeq ($(CONFIG_LIBAVUTIL
),yes
)
110 LIBAV_INC
+= -I..
/libavutil
112 ifeq ($(CONFIG_LIBAVCODEC
),yes
)
113 LIBAV_INC
+= -I..
/libavcodec
115 ifeq ($(CONFIG_LIBAVFORMAT
),yes
)
116 LIBAV_INC
+= -I..
/libavformat
118 MUXERS
+= muxer_lavf.c
120 ifeq ($(CONFIG_LIBAVFORMAT_SO
),yes
)
122 MUXERS
+= muxer_lavf.c
125 ifeq ($(MPLAYER_NETWORK
),yes
)
126 SRCS
+= asf_streaming.c \
130 asf_mmst_streaming.c \
134 SRCS
+= realrtsp
/asmrp.c \
138 realrtsp
/rtsp_session.c \
142 ifeq ($(STREAMING_LIVE555
),yes
)
143 CPLUSPLUSSRCS
= demux_rtp.
cpp demux_rtp_codec.
cpp
144 CPLUSPLUSINCLUDE
= $(LIVE_INCLUDES
)
153 ifeq ($(MENCODER
),yes
)
158 OBJS
+= $(CPLUSPLUSSRCS
:.
cpp=.o
)
159 INCLUDE
= -I..
-I..
/loader
$(CSS_INC
) $(EXTRA_INC
) $(LIBAV_INC
)
160 CFLAGS
= $(OPTFLAGS
) $(INCLUDE
) $(XMMS_CFLAGS
) $(CDPARANOIA_INC
) $(DVB_INC
)
161 CPLUSPLUSFLAGS
= $(CFLAGS
) $(CPLUSPLUSINCLUDE
) -D__STDC_LIMIT_MACROS
164 .SUFFIXES
: .c .
cpp .o
171 $(CC
) -c
$(CFLAGS
) -o
$@
$<
173 $(CPLUSPLUS
) -c
$(CPLUSPLUSFLAGS
) -o
$@
$<
176 $(AR
) r
$(LIBNAME
) $(OBJS
)
179 test: $(LIBNAME
) test.c
180 $(CC
) $(CFLAGS
) test.c ..
/mp_msg.c ..
/osdep
/shmem.c
-o
test \
181 .
/libmpdemux.a ..
/libmpdvdkit2
/libmpdvdkit.a ..
/libvo
/aclib.o \
182 ..
/libmpcodecs
/img_format.o ..
/libao2
/afmt.o ..
/sub_cc.o \
183 ..
/m_option.o ..
/subreader.o \
184 $(ALSA_LIB
) $(VORBIS_LIB
) $(CDPARANOIA_LIB
) -lz
-lpthread
187 rm -f
*.o
*.a
*~ realrtsp
/*.o realrtsp
/*.a realrtsp
/*~
195 $(CC
) -MM
$(CFLAGS
) test.c
$(SRCS
) 1>.depend
198 # include dependency files if they exist
200 ifneq ($(wildcard .depend
),)