Loading Makefile.am +25 −15 Original line number Diff line number Diff line Loading @@ -232,17 +232,22 @@ test-full-qa: test-fast-cursor test-unit # # Headers which need to be checked for abi/api compatibility # Headers which need to be checked for abi/api compatibility. # API_PREPROCESSOR_HEADER will be used until mysql_priv.h stablizes # after which TEST_PREPROCESSOR_HEADER will be used. # PREPROCESSOR_C_HEADER=$(top_srcdir)/include/mysql/plugin.h \ API_PREPROCESSOR_HEADER = $(top_srcdir)/include/mysql/plugin.h \ $(top_srcdir)/include/mysql.h TEST_PREPROCESSOR_HEADER = $(top_srcdir)/include/mysql/plugin.h \ $(top_srcdir)/sql/mysql_priv.h \ $(top_srcdir)/include/mysql.h # # Rule for checking that the abi/api has not changed. # Rules for checking that the abi/api has not changed. # # The following steps are followed in the rule below # The following steps are followed in the do_abi_check rule below # # 1) Generate preprocessor output for the files that need to # be tested for abi/api changes. use -nostdinc to prevent Loading Loading @@ -273,9 +278,15 @@ PREPROCESSOR_C_HEADER=$(top_srcdir)/include/mysql/plugin.h \ # to replace the old canons with the new ones. # abi_check: $(PREPROCESSOR_C_HEADER) abi_check: $(API_PREPROCESSOR_HEADER) $(MAKE) abi_headers="$^" do_abi_check abi_check_all: $(TEST_PREPROCESSOR_HEADER) $(MAKE) abi_headers="$^" do_abi_check do_abi_check: set -ex; \ for file in $(PREPROCESSOR_C_HEADER); do \ for file in $(abi_headers); do \ @CC@ -E -nostdinc -dI \ -I$(top_srcdir)/include \ -I$(top_srcdir)/include/mysql \ Loading @@ -286,7 +297,6 @@ abi_check: $(PREPROCESSOR_C_HEADER) @DIFF@ $$file.pp $$file.out; \ @RM@ $$file.out; \ done touch $@ # Don't update the files from bitkeeper %::SCCS/s.% Loading
Makefile.am +25 −15 Original line number Diff line number Diff line Loading @@ -232,17 +232,22 @@ test-full-qa: test-fast-cursor test-unit # # Headers which need to be checked for abi/api compatibility # Headers which need to be checked for abi/api compatibility. # API_PREPROCESSOR_HEADER will be used until mysql_priv.h stablizes # after which TEST_PREPROCESSOR_HEADER will be used. # PREPROCESSOR_C_HEADER=$(top_srcdir)/include/mysql/plugin.h \ API_PREPROCESSOR_HEADER = $(top_srcdir)/include/mysql/plugin.h \ $(top_srcdir)/include/mysql.h TEST_PREPROCESSOR_HEADER = $(top_srcdir)/include/mysql/plugin.h \ $(top_srcdir)/sql/mysql_priv.h \ $(top_srcdir)/include/mysql.h # # Rule for checking that the abi/api has not changed. # Rules for checking that the abi/api has not changed. # # The following steps are followed in the rule below # The following steps are followed in the do_abi_check rule below # # 1) Generate preprocessor output for the files that need to # be tested for abi/api changes. use -nostdinc to prevent Loading Loading @@ -273,9 +278,15 @@ PREPROCESSOR_C_HEADER=$(top_srcdir)/include/mysql/plugin.h \ # to replace the old canons with the new ones. # abi_check: $(PREPROCESSOR_C_HEADER) abi_check: $(API_PREPROCESSOR_HEADER) $(MAKE) abi_headers="$^" do_abi_check abi_check_all: $(TEST_PREPROCESSOR_HEADER) $(MAKE) abi_headers="$^" do_abi_check do_abi_check: set -ex; \ for file in $(PREPROCESSOR_C_HEADER); do \ for file in $(abi_headers); do \ @CC@ -E -nostdinc -dI \ -I$(top_srcdir)/include \ -I$(top_srcdir)/include/mysql \ Loading @@ -286,7 +297,6 @@ abi_check: $(PREPROCESSOR_C_HEADER) @DIFF@ $$file.pp $$file.out; \ @RM@ $$file.out; \ done touch $@ # Don't update the files from bitkeeper %::SCCS/s.%