aboutsummaryrefslogtreecommitdiff
path: root/lib/librtmp_win32/Makefile_win32
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librtmp_win32/Makefile_win32')
-rw-r--r--lib/librtmp_win32/Makefile_win3286
1 files changed, 0 insertions, 86 deletions
diff --git a/lib/librtmp_win32/Makefile_win32 b/lib/librtmp_win32/Makefile_win32
deleted file mode 100644
index a6a046d949..0000000000
--- a/lib/librtmp_win32/Makefile_win32
+++ /dev/null
@@ -1,86 +0,0 @@
-VERSION=v2.2f
-
-prefix=/usr/local
-
-CC=$(CROSS_COMPILE)gcc
-LD=$(CROSS_COMPILE)ld
-AR=$(CROSS_COMPILE)ar
-
-CRYPTO=OPENSSL
-#CRYPTO=GNUTLS
-DEF_POLARSSL=-DUSE_POLARSSL
-DEF_OPENSSL=-DUSE_OPENSSL
-DEF_GNUTLS=-DUSE_GNUTLS
-DEF_=-DNO_CRYPTO
-REQ_GNUTLS=gnutls
-REQ_OPENSSL=libssl,libcrypto
-LIB_GNUTLS=-lgnutls -lgcrypt
-LIB_OPENSSL=-lssl -lcrypto
-LIB_POLARSSL=-lpolarssl
-CRYPTO_LIB=$(LIB_$(CRYPTO))
-CRYPTO_REQ=$(REQ_$(CRYPTO))
-CRYPTO_DEF=$(DEF_$(CRYPTO))
-
-SHARED=SO
-SODEF_=
-SODEF_SO=-fPIC
-SOLIB_=
-SOLIB_SO=librtmp.so
-SOINST_=
-SOINST_SO=install_so
-SO_DEF=$(SODEF_$(SHARED))
-SO_LIB=$(SOLIB_$(SHARED))
-SO_INST=$(SOINST_$(SHARED))
-
-DEF=-DRTMPDUMP_VERSION=\"$(VERSION)\" $(CRYPTO_DEF) $(XDEF)
-OPT=-O2
-CFLAGS=-Wall $(XCFLAGS) $(INC) $(DEF) $(OPT) $(SO_DEF)
-
-incdir=$(prefix)/include/librtmp
-libdir=$(prefix)/lib
-mandir=$(prefix)/man
-INCDIR=$(DESTDIR)$(incdir)
-LIBDIR=$(DESTDIR)$(libdir)
-MANDIR=$(DESTDIR)$(mandir)
-
-OBJS=rtmp.o log.o amf.o hashswf.o parseurl.o
-
-all: librtmp.a $(SO_LIB)
-
-clean:
- rm -f *.o *.a *.dll
-
-librtmp.a: $(OBJS)
- $(AR) rs $@ $?
-
-librtmp.dll: $(OBJS)
- $(CC) -shared -Wl,-soname,$@ $(LDFLAGS) -o $@ $^ $> $(CRYPTO_LIB) -lws2_32 -lwinmm -lz
-
-librtmp.so.0: $(OBJS)
- $(CC) -shared -Wl,-soname,$@ $(LDFLAGS) -o $@ $^ $> $(CRYPTO_LIB)
-
-librtmp.so: librtmp.so.0
- ln -sf $? $@
-
-log.o: log.c log.h Makefile
-rtmp.o: rtmp.c rtmp.h rtmp_sys.h handshake.h dh.h log.h amf.h Makefile
-amf.o: amf.c amf.h bytes.h log.h Makefile
-hashswf.o: hashswf.c http.h rtmp.h rtmp_sys.h Makefile
-parseurl.o: parseurl.c rtmp.h rtmp_sys.h log.h Makefile
-
-librtmp.pc: librtmp.pc.in Makefile
- sed -e "s;@prefix@;$(prefix);" -e "s;@VERSION@;$(VERSION);" \
- -e "s;@CRYPTO_REQ@;$(CRYPTO_REQ);" librtmp.pc.in > $@
-
-install: install_base $(SO_INST)
-
-install_base: librtmp.a librtmp.pc
- -mkdir -p $(INCDIR) $(LIBDIR)/pkgconfig $(MANDIR)/man3
- cp amf.h http.h log.h rtmp.h $(INCDIR)
- cp librtmp.a $(LIBDIR)
- cp librtmp.pc $(LIBDIR)/pkgconfig
- cp librtmp.3 $(MANDIR)/man3
-
-install_so: librtmp.so.0
- cp librtmp.so.0 $(LIBDIR)
- cd $(LIBDIR); ln -sf librtmp.so.0 librtmp.so