1 --- rtmpdump-yle-1.4.2/Makefile 2011-05-26 20:08:49.000000000 +0300
2 +++ rtmpdump-yle-1.4.2-shared/Makefile 2011-06-06 13:49:34.347760599 +0300
10 CC=$(CROSS_COMPILE)gcc
13 DEF=-DRTMPDUMP_VERSION=\"$(VERSION)\" -DYLERTMPDUMP_VERSION=\"$(VERSION_YLE)\" $(CRYPTO_DEF) $(XDEF)
15 CFLAGS=-Wall $(XCFLAGS) $(INC) $(DEF) $(OPT)
16 -LDFLAGS=-Wall $(XLDFLAGS)
17 +LDFLAGS=-Wall $(XLDFLAGS) -L ./librtmp -fPIC
20 sbindir=$(prefix)/sbin
24 LIBS_mingw=-lws2_32 -lwinmm -lgdi32 -liconv
25 -LIBS=librtmp/librtmp.a $(JSON_LIB) $(CRYPTO_LIB) $(LIBS_$(SYS)) $(XLIBS)
26 +LIBS= -lrtmp $(JSON_LIB) $(CRYPTO_LIB) $(LIBS_$(SYS)) $(XLIBS)
28 THREADLIB_posix=-lpthread
29 THREADLIB_darwin=-lpthread
31 THREADLIB=$(THREADLIB_$(SYS))
32 SLIBS=$(THREADLIB) $(LIBS)
34 -LIBRTMP=librtmp/librtmp.a
36 INCRTMP=librtmp/rtmp_sys.h librtmp/rtmp.h librtmp/log.h librtmp/amf.h librtmp/yle.h
43 -PROGS=rtmpdump-yle yle-dl
44 +PROGS=rtmpdump-yle yle-dl rtmpsrv rtmpsuck rtmpgw
46 all: $(LIBRTMP) $(PROGS)
50 install: $(PROGS) check-old-location
52 + -mkdir -p $(BINDIR) $(SBINDIR) $(MANDIR)/man8
53 cp rtmpdump-yle$(EXT) yle-dl $(BINDIR)
54 - chmod a+rx $(BINDIR)/rtmpdump-yle$(EXT) $(BINDIR)/yle-dl
55 + cp rtmpsrv rtmpsuck rtmpgw $(SBINDIR)
56 + cp rtmpgw.8 $(MANDIR)/man8/
57 + chmod a+rx $(BINDIR)/*
58 + chmod a+rx $(SBINDIR)/*
61 rm -f $(BINDIR)/rtmpdump-yle$(EXT) $(BINDIR)/yle-dl
65 --- rtmpdump-yle-1.4.2/librtmp/Makefile 2011-05-26 20:08:49.000000000 +0300
66 +++ rtmpdump-yle-1.4.2-shared/librtmp/Makefile 2011-06-06 13:56:34.511376276 +0300
73 incdir=$(prefix)/include/librtmp
76 LIB_JSON=$(if $(STATIC_JSON),,-ljson)
82 SOLIB_yes=librtmp.$(SO_EXT)