|
@@ -0,0 +1,33 @@
|
|
1
|
+--- a/plugins/input_uvc/Makefile
|
|
2
|
++++ b/plugins/input_uvc/Makefile
|
|
3
|
+@@ -13,7 +13,7 @@ OTHER_HEADERS = ../../mjpg_streamer.h ..
|
|
4
|
+
|
|
5
|
+ CFLAGS += -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC
|
|
6
|
+
|
|
7
|
+-CFLAGS += -g -DDEBUG
|
|
8
|
++#CFLAGS += -g -DDEBUG
|
|
9
|
+
|
|
10
|
+ ifeq ($(USE_LIBV4L2),true)
|
|
11
|
+ LFLAGS += -lv4l2
|
|
12
|
+--- a/plugins/output_file/Makefile
|
|
13
|
++++ b/plugins/output_file/Makefile
|
|
14
|
+@@ -12,7 +12,7 @@ CC = gcc
|
|
15
|
+ OTHER_HEADERS = ../../mjpg_streamer.h ../../utils.h ../output.h ../input.h
|
|
16
|
+
|
|
17
|
+ CFLAGS += -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC
|
|
18
|
+-CFLAGS += -DDEBUG -g
|
|
19
|
++#CFLAGS += -DDEBUG -g
|
|
20
|
+ LFLAGS += -lpthread -ldl
|
|
21
|
+
|
|
22
|
+ all: output_file.so
|
|
23
|
+--- a/plugins/output_udp/Makefile
|
|
24
|
++++ b/plugins/output_udp/Makefile
|
|
25
|
+@@ -14,7 +14,7 @@ CC = gcc
|
|
26
|
+ OTHER_HEADERS = ../../mjpg_streamer.h ../../utils.h ../output.h ../input.h
|
|
27
|
+
|
|
28
|
+ CFLAGS += -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC
|
|
29
|
+-CFLAGS += -DDEBUG
|
|
30
|
++#CFLAGS += -DDEBUG
|
|
31
|
+ LFLAGS += -lpthread -ldl
|
|
32
|
+
|
|
33
|
+ all: output_udp.so
|