mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 06:03:45 +01:00
Move netstream.c out of its single-file subdirectory.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22873 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8bf84ebd46
commit
c38e260ff8
@ -48,6 +48,26 @@ realcodecs: CFLAGS += -g
|
||||
%.so.6.0: %.o
|
||||
ld -shared -o $@ $< -ldl -lc
|
||||
|
||||
# FIXME: netstream linking is a mess that should be fixed properly some day.
|
||||
# It does not work with either GUI, LIVE555, libavformat, cdparanoia enabled.
|
||||
NETSTREAM_DEPS = ../libmpdemux/libmpdemux.a \
|
||||
../stream/stream.a \
|
||||
../dvdread/libdvdread.a \
|
||||
../libdvdcss/libdvdcss.a \
|
||||
../libavutil/libavutil.a \
|
||||
../m_option.o \
|
||||
../m_struct.o \
|
||||
../mp_msg.o \
|
||||
../osdep/libosdep.a \
|
||||
-ltermcap -lm \
|
||||
|
||||
ifeq ($(TARGET_WIN32),yes)
|
||||
NETSTREAM_DEPS += -lwsock32
|
||||
endif
|
||||
|
||||
netstream: $(NETSTREAM_DEPS)
|
||||
$(CC) -o $@ netstream.o $^
|
||||
|
||||
clean distclean:
|
||||
rm -f $(OBJS)
|
||||
rm -f fastmem-* fastmem2-* fastmemcpybench
|
||||
|
@ -1,33 +0,0 @@
|
||||
|
||||
MPROOT=../..
|
||||
|
||||
include $(MPROOT)/config.mak
|
||||
|
||||
CFLAGS = $(OPTFLAGS) -I$(MPROOT)
|
||||
|
||||
all: netstream
|
||||
|
||||
# FIXME: linking is a mess that should be fixed properly some day
|
||||
# it does not work with either GUI, LIVE555, libavformat, cdparanoia enabled
|
||||
DEPS = $(MPROOT)/libmpdemux/libmpdemux.a \
|
||||
$(MPROOT)/stream/stream.a \
|
||||
$(MPROOT)/dvdread/libdvdread.a \
|
||||
$(MPROOT)/libdvdcss/libdvdcss.a \
|
||||
$(MPROOT)/libavutil/libavutil.a \
|
||||
$(MPROOT)/m_option.o \
|
||||
$(MPROOT)/m_struct.o \
|
||||
$(MPROOT)/mp_msg.o \
|
||||
$(MPROOT)/osdep/libosdep.a \
|
||||
-ltermcap -lm \
|
||||
|
||||
ifeq ($(TARGET_WIN32),yes)
|
||||
DEPS += -lwsock32
|
||||
endif
|
||||
|
||||
netstream: $(DEPS)
|
||||
$(CC) -o $@ netstream.o $^
|
||||
|
||||
clean:
|
||||
rm -f *.o *.a *~
|
||||
|
||||
.PHONY: all clean
|
Loading…
Reference in New Issue
Block a user