build: move ELM_INTERNAL_API_ARGESFSDFEFC into buildsystem

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
This commit is contained in:
Marcel Hollerbach 2018-10-17 10:38:50 +02:00
parent 5aaf2cbb5d
commit 2643ce0aad
15 changed files with 5 additions and 26 deletions

View File

@ -1136,6 +1136,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 \
@ -1566,6 +1567,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\" \

View File

@ -3,7 +3,6 @@
#include <Elementary.h>
#define ELM_INTERNAL_API_ARGESFSDFEFC
#include "elm_priv.h"
#include "elm_widget_prefs.h"

View File

@ -4,8 +4,6 @@
#include <libgen.h>
#define ELM_INTERNAL_API_ARGESFSDFEFC
#include "elm_suite.h"
#include "Elementary.h"

View File

@ -2,8 +2,6 @@
# include "elementary_config.h"
#endif
#define ELM_INTERNAL_API_ARGESFSDFEFC
#include "elm_suite.h"
#include "Elementary.h"

View File

@ -2,8 +2,6 @@
# include "elementary_config.h"
#endif
#define ELM_INTERNAL_API_ARGESFSDFEFC
#include <stdlib.h>
#include "elm_suite.h"

View 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"

View File

@ -2,8 +2,6 @@
# include "elementary_config.h"
#endif
#define ELM_INTERNAL_API_ARGESFSDFEFC
#include "elm_suite.h"
#include "Elementary.h"

View 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"

View 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"

View File

@ -1,5 +1,3 @@
#define ELM_INTERNAL_API_ARGESFSDFEFC
#ifdef HAVE_CONFIG_H
# include "elementary_config.h"
#endif

View 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"

View File

@ -2,8 +2,6 @@
# include "elementary_config.h"
#endif
#define ELM_INTERNAL_API_ARGESFSDFEFC
#include "elm_suite.h"
#include "Elementary.h"

View 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"

View 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

View 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
#endif