blob: 84cc3b5a940e0c0ad8c76c54a39fc2d61c2bbed3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
--- Makefile.orig 2013-10-07 03:52:05.000000000 +0900
+++ Makefile 2013-10-20 14:37:46.000000000 +0900
@@ -1,9 +1,9 @@
VERSION=v2.4
-prefix=/usr/local
+prefix=${PREFIX}
-CC=$(CROSS_COMPILE)gcc
-LD=$(CROSS_COMPILE)ld
+#CC=$(CROSS_COMPILE)gcc
+#LD=$(CROSS_COMPILE)ld
SYS=posix
#SYS=mingw
@@ -21,8 +21,9 @@
DEF=-DRTMPDUMP_VERSION=\"$(VERSION)\" $(CRYPTO_DEF) $(XDEF)
OPT=-O2
-CFLAGS=-Wall $(XCFLAGS) $(INC) $(DEF) $(OPT)
-LDFLAGS=-Wall $(XLDFLAGS)
+#CFLAGS=-Wall $(XCFLAGS) $(INC) $(DEF) $(OPT)
+CFLAGS+=$(DEF)
+#LDFLAGS=-Wall $(XLDFLAGS)
bindir=$(prefix)/bin
sbindir=$(prefix)/sbin
@@ -41,7 +42,7 @@
THREADLIB_posix=-lpthread
THREADLIB_darwin=-lpthread
THREADLIB_mingw=
-THREADLIB=$(THREADLIB_$(SYS))
+THREADLIB?=$(THREADLIB_$(SYS))
SLIBS=$(THREADLIB) $(LIBS)
LIBRTMP=librtmp/librtmp.a
|