[MPlayer-cvslog] r22873 - in trunk/TOOLS: Makefile netstream netstream.c

diego subversion at mplayerhq.hu
Sun Apr 1 11:39:32 CEST 2007


Author: diego
Date: Sun Apr  1 11:39:32 2007
New Revision: 22873

Added:
   trunk/TOOLS/netstream.c
      - copied unchanged from r22870, /trunk/TOOLS/netstream/netstream.c
Removed:
   trunk/TOOLS/netstream/
Modified:
   trunk/TOOLS/Makefile

Log:
Move netstream.c out of its single-file subdirectory.


Modified: trunk/TOOLS/Makefile
==============================================================================
--- trunk/TOOLS/Makefile	(original)
+++ trunk/TOOLS/Makefile	Sun Apr  1 11:39:32 2007
@@ -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



More information about the MPlayer-cvslog mailing list