build: move ELM_INTERNAL_API_ARGESFSDFEFC into buildsystem
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Wed, 17 Oct 2018 08:38:50 +0000 (10:38 +0200)
committerYeongjong Lee <yj34.lee@samsung.com>
Thu, 8 Nov 2018 06:40:45 +0000 (15:40 +0900)
the definition is now defined in the buildtools autools / meson. This
reduces the amount of warnings in meson.

Differential Revision: https://phab.enlightenment.org/D7170

15 files changed:
src/Makefile_Elementary.am
src/bin/elementary/elm_prefs_cc.h
src/tests/elementary/elm_code_file_test_load.c
src/tests/elementary/elm_code_file_test_memory.c
src/tests/elementary/elm_code_test_basic.c
src/tests/elementary/elm_code_test_indent.c
src/tests/elementary/elm_code_test_line.c
src/tests/elementary/elm_code_test_parse.c
src/tests/elementary/elm_code_test_text.c
src/tests/elementary/elm_code_test_widget.c
src/tests/elementary/elm_code_test_widget_selection.c
src/tests/elementary/elm_code_test_widget_text.c
src/tests/elementary/elm_code_test_widget_undo.c
src/tests/elementary/elm_test_atspi.c
src/tests/elementary/elm_test_focus_common.h

index 061a8db..22f24a9 100644 (file)
@@ -1155,6 +1155,7 @@ bin/elementary/elm_prefs_cc_handlers.c
 bin_elementary_elm_prefs_cc_LDADD = @USE_ELEMENTARY_LIBS@
 bin_elementary_elm_prefs_cc_DEPENDENCIES = @USE_ELEMENTARY_INTERNAL_LIBS@
 bin_elementary_elm_prefs_cc_CPPFLAGS = \
+-DELM_INTERNAL_API_ARGESFSDFEFC=1 \
 -I$(top_srcdir) \
 -I$(top_srcdir)/src/lib/elementary \
 -I$(top_builddir)/src/lib/elementary \
@@ -1621,6 +1622,7 @@ tests_elementary_elm_suite_SOURCES = \
        tests/elementary/elm_test_focus_sub.c
 
 tests_elementary_elm_suite_CPPFLAGS = \
+-DELM_INTERNAL_API_ARGESFSDFEFC=1 \
 -DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
        -DTESTS_BUILD_DIR=\"${top_builddir}/src/tests/elementary\" \
        -DTESTS_SRC_DIR=\"${top_srcdir}/src/tests/elementary\" \
index ef848ba..645076e 100644 (file)
@@ -3,7 +3,6 @@
 
 #include <Elementary.h>
 
-#define ELM_INTERNAL_API_ARGESFSDFEFC
 #include "elm_priv.h"
 #include "elm_widget_prefs.h"
 
index 4a2aced..80bc941 100644 (file)
@@ -4,8 +4,6 @@
 
 #include <libgen.h>
 
-#define ELM_INTERNAL_API_ARGESFSDFEFC
-
 #include "elm_suite.h"
 #include "Elementary.h"
 
index 4257e9c..142566d 100644 (file)
@@ -2,8 +2,6 @@
 # include "elementary_config.h"
 #endif
 
-#define ELM_INTERNAL_API_ARGESFSDFEFC
-
 #include "elm_suite.h"
 #include "Elementary.h"
 
index 5ae4915..8f2a035 100644 (file)
@@ -2,8 +2,6 @@
 # include "elementary_config.h"
 #endif
 
-#define ELM_INTERNAL_API_ARGESFSDFEFC
-
 #include <stdlib.h>
 
 #include "elm_suite.h"
index b27f1a0..a3a4561 100644 (file)
@@ -2,8 +2,6 @@
 # include "elementary_config.h"
 #endif
 
-#define ELM_INTERNAL_API_ARGESFSDFEFC
-
 #include "elm_suite.h"
 #include "Elementary.h"
 #include "elm_code_indent.h"
index 3f4dea7..c1eec9d 100644 (file)
@@ -2,8 +2,6 @@
 # include "elementary_config.h"
 #endif
 
-#define ELM_INTERNAL_API_ARGESFSDFEFC
-
 #include "elm_suite.h"
 #include "Elementary.h"
 
index 9125228..af06449 100644 (file)
@@ -2,8 +2,6 @@
 # include "elementary_config.h"
 #endif
 
-#define ELM_INTERNAL_API_ARGESFSDFEFC
-
 #include "elm_suite.h"
 #include "Elementary.h"
 #include "elm_code_parse.h"
index 51716ce..c6f6d22 100644 (file)
@@ -2,8 +2,6 @@
 # include "elementary_config.h"
 #endif
 
-#define ELM_INTERNAL_API_ARGESFSDFEFC
-
 #include "elm_suite.h"
 #include "Elementary.h"
 #include "elm_code_text.h"
index e510368..7fbe231 100644 (file)
@@ -1,5 +1,3 @@
-#define ELM_INTERNAL_API_ARGESFSDFEFC
-
 #ifdef HAVE_CONFIG_H
 # include "elementary_config.h"
 #endif
index 8ad7611..ed762f8 100644 (file)
@@ -2,8 +2,6 @@
 # include "elementary_config.h"
 #endif
 
-#define ELM_INTERNAL_API_ARGESFSDFEFC
-
 #include "elm_suite.h"
 #include "Elementary.h"
 #include "elm_code_widget_private.h"
index e9eff3c..c2794b9 100644 (file)
@@ -2,8 +2,6 @@
 # include "elementary_config.h"
 #endif
 
-#define ELM_INTERNAL_API_ARGESFSDFEFC
-
 #include "elm_suite.h"
 #include "Elementary.h"
 
index 9d3e59c..d65a196 100644 (file)
@@ -2,8 +2,6 @@
 # include "elementary_config.h"
 #endif
 
-#define ELM_INTERNAL_API_ARGESFSDFEFC
-
 #include "elm_suite.h"
 #include "Elementary.h"
 #include "elm_code_widget_private.h"
index 0cb3b72..d5a30ae 100644 (file)
@@ -2,7 +2,7 @@
 # include "elementary_config.h"
 #endif
 
-#define ELM_INTERNAL_API_ARGESFSDFEFC
+
 #define EFL_ACCESS_OBJECT_BETA
 #define EFL_ACCESS_OBJECT_PROTECTED
 
index bfce152..3e93bbf 100644 (file)
@@ -6,7 +6,7 @@
 #endif
 
 #define EFL_ACCESS_OBJECT_PROTECTED
-#define ELM_INTERNAL_API_ARGESFSDFEFC
+
 #include <Elementary.h>
 #include "elm_suite.h"
 #include "elm_widget.h"
@@ -26,4 +26,4 @@ void elm_focus_test_setup_cross(Efl_Ui_Focus_Object **middle,
                                 Efl_Ui_Focus_Object **west);
 
 Efl_Ui_Focus_Manager *elm_focus_test_manager_new(Efl_Ui_Focus_Object **middle);
-#endif
\ No newline at end of file
+#endif