comparison TOOLS/netstream/Makefile @ 15367:bdcd608b0e97

MinGW compilation fix by Erik Lunchpail <erik_27can at yahoo dot com>
author diego
date Sun, 08 May 2005 14:38:35 +0000
parents cdffac8b6555
children 7bae32bc0ed7
comparison
equal deleted inserted replaced
15366:d2180f62e0e8 15367:bdcd608b0e97
14 14
15 .c.o: 15 .c.o:
16 $(CC) -c $(CFLAGS) -o $@ $< 16 $(CC) -c $(CFLAGS) -o $@ $<
17 17
18 18
19 netstream: $(MPROOT)/libmpdemux/libmpdemux.a netstream.o
20 # FIXME: linking is a mess that should be fixed properly some day 19 # FIXME: linking is a mess that should be fixed properly some day
21 # it does not work with either GUI, live.com or libavformat enabled 20 # it does not work with either GUI, live.com or libavformat enabled
22 $(CC) $(CFLAGS) netstream.o -o netstream \ 21 DEPS = $(MPROOT)/libmpdemux/libmpdemux.a \
23 $(MPROOT)/libmpdemux/libmpdemux.a \
24 $(MPROOT)/libmpdvdkit2/libmpdvdkit.a \ 22 $(MPROOT)/libmpdvdkit2/libmpdvdkit.a \
25 $(MPROOT)/libmpcodecs/native/minilzo.o \ 23 $(MPROOT)/libmpcodecs/native/minilzo.o \
26 $(MPROOT)/libvo/aclib.o $(MPROOT)/libmpcodecs/img_format.o \ 24 $(MPROOT)/libvo/aclib.o $(MPROOT)/libmpcodecs/img_format.o \
27 $(MPROOT)/liba52/liba52.a $(MPROOT)/m_option.o \ 25 $(MPROOT)/liba52/liba52.a $(MPROOT)/m_option.o \
28 $(MPROOT)/m_struct.o $(MPROOT)/subreader.o \ 26 $(MPROOT)/m_struct.o $(MPROOT)/subreader.o \
29 $(MPROOT)/mp_msg.o $(MPROOT)/osdep/shmem.o \ 27 $(MPROOT)/mp_msg.o $(MPROOT)/osdep/shmem.o \
30 $(MPROOT)/osdep/timer-*.o $(MPROOT)/osdep/strl.o \ 28 $(MPROOT)/osdep/timer-*.o $(MPROOT)/osdep/strl.o \
31 $(VORBIS_LIB) $(CDPARANOIA_LIB) $(Z_LIB) $(GIF_LIB) \ 29 $(VORBIS_LIB) $(CDPARANOIA_LIB) $(Z_LIB) $(GIF_LIB) \
32 $(SMBSUPPORT_LIB) $(LIVE_LIBS) $(ARCH_LIB) $(COMMON_LIBS) -lm 30 $(SMBSUPPORT_LIB) $(LIVE_LIBS) $(ARCH_LIB) $(COMMON_LIBS) -lm
31
32 ifeq ($(TARGET_WIN32),yes)
33 DEPS += $(MPROOT)/osdep/glob-win.o $(WIN32_LIB) -lwsock32
34 endif
35
36 netstream: $(MPROOT)/libmpdemux/libmpdemux.a netstream.o
37
38 $(CC) $(CFLAGS) netstream.o -o netstream $(DEPS)
33 39
34 clean: 40 clean:
35 rm -f *.o *.a *~ 41 rm -f *.o *.a *~
36 42
37 distclean: 43 distclean: