openbsd-ports/net/rtmpdump/patches/patch-Makefile
sthen e628dbbb60 import rtmpdump, based on a ports@ post from David Cathcart, with BE fixes
and tweaks by myself.

A small dumper for media content streamed over the RTMP protocol.
Supplying an rtmp url will result in a dumped flv file, which can be
played/transcoded using ffmpeg/mplayer, etc.
2009-04-17 17:56:50 +00:00

26 lines
626 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2009/04/17 17:56:50 sthen Exp $
avoid gmake-isms
--- Makefile.orig Fri Apr 17 12:26:58 2009
+++ Makefile Fri Apr 17 12:27:00 2009
@@ -10,13 +10,17 @@ CFLAGS=-Wall
CXXFLAGS=-Wall
LDFLAGS=-Wall
+.SUFFIXES: .cpp
+.cpp.o:
+ $(CXX) $(CXXFLAGS) -c $< -o $@
+
all: rtmpdump
clean:
rm -f rtmpdump rtmpdump.exe *.o
rtmpdump: bytes.o log.o rtmp.o AMFObject.o rtmppacket.o rtmpdump.o parseurl.o
- $(CXX) $(LDFLAGS) $^ -o $@
+ $(CXX) $(LDFLAGS) $> -o $@
win32: bytes.o log.o rtmp.o AMFObject.o rtmppacket.o rtmpdump.o parseurl.o
$(CXX) $(LDFLAGS) $^ -o rtmpdump.exe -lws2_32 -lwinmm