summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2015-08-01 18:28:04 +0200
committerAlfred E. Heggestad <aeh@db.org>2015-08-01 18:28:04 +0200
commit9bebd147cc384b777e45e6236fa9aa680633e6eb (patch)
tree116dd04e70c6dcc60c129bae5e460976cd87d85e
parentb4021dd382edb30553b0166ea4bfaa4038dada19 (diff)
convert some module to use the new MOD_ prefix for CFLAGS
-rw-r--r--modules/gst/module.mk2
-rw-r--r--modules/gst_video/module.mk2
-rw-r--r--modules/gtk/module.mk3
-rw-r--r--modules/rst/module.mk2
-rw-r--r--modules/speex/module.mk2
-rw-r--r--modules/v4l2/module.mk2
6 files changed, 7 insertions, 6 deletions
diff --git a/modules/gst/module.mk b/modules/gst/module.mk
index 9b95765..64db1bd 100644
--- a/modules/gst/module.mk
+++ b/modules/gst/module.mk
@@ -7,6 +7,6 @@
MOD := gst
$(MOD)_SRCS += gst.c dump.c
$(MOD)_LFLAGS += `pkg-config --libs gstreamer-0.10`
-CFLAGS += `pkg-config --cflags gstreamer-0.10`
+$(MOD)_CFLAGS += `pkg-config --cflags gstreamer-0.10`
include mk/mod.mk
diff --git a/modules/gst_video/module.mk b/modules/gst_video/module.mk
index 64e0bad..8e88f3e 100644
--- a/modules/gst_video/module.mk
+++ b/modules/gst_video/module.mk
@@ -7,6 +7,6 @@
MOD := gst_video
$(MOD)_SRCS += gst_video.c h264.c encode.c sdp.c
$(MOD)_LFLAGS += `pkg-config --libs gstreamer-0.10 gstreamer-app-0.10`
-CFLAGS += `pkg-config --cflags gstreamer-0.10 gstreamer-app-0.10`
+$(MOD)_CFLAGS += `pkg-config --cflags gstreamer-0.10 gstreamer-app-0.10`
include mk/mod.mk
diff --git a/modules/gtk/module.mk b/modules/gtk/module.mk
index 2273d42..aae0145 100644
--- a/modules/gtk/module.mk
+++ b/modules/gtk/module.mk
@@ -9,6 +9,7 @@ MOD := gtk
$(MOD)_SRCS += gtk_mod.c call_window.c dial_dialog.c transfer_dialog.c \
uri_entry.c
$(MOD)_LFLAGS += `pkg-config --libs gtk+-2.0 `
-CFLAGS += `pkg-config --cflags gtk+-2.0 `
+$(MOD)_CFLAGS += `pkg-config --cflags gtk+-2.0 `
+$(MOD)_CFLAGS += -Wno-strict-prototypes
include mk/mod.mk
diff --git a/modules/rst/module.mk b/modules/rst/module.mk
index 6026c22..e7a0012 100644
--- a/modules/rst/module.mk
+++ b/modules/rst/module.mk
@@ -9,6 +9,6 @@ $(MOD)_SRCS += audio.c
$(MOD)_SRCS += rst.c
$(MOD)_SRCS += video.c
$(MOD)_LFLAGS += `pkg-config --libs cairo libmpg123`
-CFLAGS += `pkg-config --cflags cairo libmpg123`
+$(MOD)_CFLAGS += `pkg-config --cflags cairo libmpg123`
include mk/mod.mk
diff --git a/modules/speex/module.mk b/modules/speex/module.mk
index 81c8b18..317f084 100644
--- a/modules/speex/module.mk
+++ b/modules/speex/module.mk
@@ -7,6 +7,6 @@
MOD := speex
$(MOD)_SRCS += speex.c
$(MOD)_LFLAGS += -lspeex
-$(MOD)_CFLAGS += -Wno-strict-prototypes
+#$(MOD)_CFLAGS += -Wno-strict-prototypes
include mk/mod.mk
diff --git a/modules/v4l2/module.mk b/modules/v4l2/module.mk
index 6c24eb6..6fc9178 100644
--- a/modules/v4l2/module.mk
+++ b/modules/v4l2/module.mk
@@ -8,7 +8,7 @@ MOD := v4l2
$(MOD)_SRCS += v4l2.c
ifeq ($(HAVE_LIBV4L2),yes)
$(MOD)_LFLAGS += -lv4l2
-CFLAGS += -DHAVE_LIBV4L2
+$(MOD)_CFLAGS += -DHAVE_LIBV4L2
endif
include mk/mod.mk