diff --git a/.cproject b/.cproject
index 3ab1fad71..63cf57632 100644
--- a/.cproject
+++ b/.cproject
@@ -22,7 +22,7 @@
-
+
@@ -35,221 +35,167 @@
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- make
- all
- true
- true
- true
-
-
- make
- CFLAGS="-g"
- install
- true
- true
- true
-
-
- make
- CFLAGS="-g"
- install
- true
- true
- true
-
-
- make
- all
- true
- true
- true
-
-
- make
- all
- true
- true
- true
-
-
-
+
+
+
+
+
+
+ make
+ all
+ true
+ true
+ true
+
+
+ make
+ CFLAGS="-g"
+ install
+ true
+ true
+ true
+
+
+ make
+ CFLAGS="-g"
+ install
+ true
+ true
+ true
+
+
+ make
+ all
+ true
+ true
+ true
+
+
+ make
+ all
+ true
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.project b/.project
index 2fbbd2688..dcc5fd75c 100644
--- a/.project
+++ b/.project
@@ -23,7 +23,7 @@
org.eclipse.cdt.make.core.buildArguments
- CFLAGS="-g -Werror -Wall"
+ CFLAGS="-g -Werror -Wall" CXXFLAGS="-g"
org.eclipse.cdt.make.core.buildCommand
diff --git a/Makefile.am b/Makefile.am
index 5be271da4..6faebc4fc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -229,4 +229,7 @@ clean-local:
rm -rf $(BUNDLEDIR)
discovery:
touch specs.cpp
- $(CC) $(CFLAGS) $(MEDIASTREAMER2_CFLAGS) $(ORTP_CFLAGS) -E -P -v -dD specs.cpp
+ $(CC) --include $(top_builddir)/config.h \
+ --include $(top_builddir)/mediastreamer2/mediastreamer-config.h \
+ --include $(top_builddir)/oRTP/ortp-config.h \
+ $(TUNNEL_CFLAGS) $(CFLAGS) $(MEDIASTREAMER2_CFLAGS) $(ORTP_CFLAGS) -E -P -v -dD specs.cpp