Loading CMakeLists.txt +6 −8 Original line number Diff line number Diff line Loading @@ -108,18 +108,18 @@ SET(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} -DDBUG_OFF") SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4800 /wd4805") SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4800 /wd4805") IF(CMAKE_GENERATOR MATCHES "Visual Studio 8") # Disable warnings in Visual Studio 8 and above IF(MSVC AND NOT CMAKE_GENERATOR MATCHES "Visual Studio 7") SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /wd4996") SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /wd4996") SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} /wd4996") SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /wd4996") SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /wd4996") SET(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} /wd4996") ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio 8") IF(CMAKE_GENERATOR MATCHES "Visual Studio 7" OR CMAKE_GENERATOR MATCHES "Visual Studio 8") ENDIF(MSVC AND NOT CMAKE_GENERATOR MATCHES "Visual Studio 7") # Settings for Visual Studio 7 and above. IF(MSVC) # replace /MDd with /MTd STRING(REPLACE "/MD" "/MT" CMAKE_C_FLAGS_RELEASE ${CMAKE_C_FLAGS_RELEASE}) STRING(REPLACE "/MD" "/MT" CMAKE_C_FLAGS_RELWITHDEBINFO ${CMAKE_C_FLAGS_RELWITHDEBINFO}) Loading Loading @@ -149,9 +149,7 @@ IF(CMAKE_GENERATOR MATCHES "Visual Studio 7" OR IF(NOT tmp_manifest) SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /MANIFEST:NO") ENDIF(NOT tmp_manifest) ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio 7" OR CMAKE_GENERATOR MATCHES "Visual Studio 8") ENDIF(MSVC) IF(WIN32) ADD_DEFINITIONS("-D_WINDOWS -D__WIN__ -D_CRT_SECURE_NO_DEPRECATE") Loading Makefile.am +78 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,8 @@ dist-hook: --srcdir=$(top_srcdir) storage/myisam/myisamchk --silent --fast $(distdir)/win/data/mysql/*.MYI all-local: @ABI_CHECK@ tags: support-files/build-tags Loading Loading @@ -232,5 +234,81 @@ test-full-qa: test-binlog-statement test-ext test-fast-view \ test-fast-cursor test-unit # # 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. # 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 # # Rules for checking that the abi/api has not changed. # # 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 # generation of preprocessor output for system headers. This # results in messages in stderr saying that these headers # were not found. Redirect the stderr output to /dev/null # to prevent seeing these messages. # 2) sed the output to # 2.1) remove blank lines and lines that begin with "# " # 2.2) When gcc -E is run on the Mac OS and solaris sparc platforms it # introduces a line of output that shows up as a difference between # the .pp and .out files. Remove these OS specific preprocessor text # inserted by the preprocessor. # 3) diff the generated file and the canons (.pp files already in # the repository). # 4) delete the .out file that is generated. # # If the diff fails, the generated file is not removed. This will # be useful for analysis of ABI differences (e.g. using a visual # diff tool). # # A ABI change that causes a build to fail will always be accompanied # by new canons (.out files). The .out files that are not removed will # be replaced as the new .pp files. # # e.g. If include/mysql/plugin.h has an ABI change then this rule would # leave a <build directory>/abi_check.out file. # # A developer with a justified API change will then do a # mv <build directory>/abi_check.out include/mysql/plugin.pp # to replace the old canons with the new ones. # 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 $(abi_headers); do \ @CC@ -E -nostdinc -dI \ -I$(top_srcdir)/include \ -I$(top_srcdir)/include/mysql \ -I$(top_srcdir)/sql \ -I$(top_builddir)/include \ -I$(top_builddir)/include/mysql \ -I$(top_builddir)/sql \ $$file 2>/dev/null | \ @SED@ -e '/^# /d' \ -e '/^[ ]*$$/d' \ -e '/^#pragma GCC set_debug_pwd/d' \ -e '/^#ident/d' > \ $(top_builddir)/abi_check.out; \ @DIFF@ -w $$file.pp $(top_builddir)/abi_check.out; \ @RM@ $(top_builddir)/abi_check.out; \ done # Don't update the files from bitkeeper %::SCCS/s.% configure.in +9 −17 Original line number Diff line number Diff line Loading @@ -419,6 +419,7 @@ AC_PATH_PROG(SED, sed, sed) AC_PATH_PROG(CMP, cmp, cmp) AC_PATH_PROG(CHMOD, chmod, chmod) AC_PATH_PROG(HOSTNAME, hostname, hostname) AC_PATH_PROG(DIFF, diff, diff) # Check for a GNU tar named 'gtar', or 'gnutar' (MacOS X) and # fall back to 'tar' otherwise and hope that it's a GNU tar as well AC_CHECK_PROGS(TAR, gnutar gtar tar) Loading @@ -443,25 +444,16 @@ AC_SUBST(HOSTNAME) AC_SUBST(PERL) AC_SUBST(PERL5) # icheck, used for ABI check AC_PATH_PROG(ICHECK, icheck, no) # "icheck" is also the name of a file system check program on Tru64. # Verify the program found is really the interface checker. if test "x$ICHECK" != "xno" then AC_MSG_CHECKING(if $ICHECK works as expected) echo "int foo;" > conftest.h $ICHECK --canonify -o conftest.ic conftest.h 2>/dev/null if test -f "conftest.ic" # Enable the abi_check rule only if gcc is available if expr "$CC" : ".*gcc.*" then AC_MSG_RESULT(yes) ABI_CHECK="abi_check" else AC_MSG_RESULT(no) ICHECK=no fi rm -f conftest.ic conftest.h ABI_CHECK="" fi AC_SUBST(ICHECK) AC_SUBST(ABI_CHECK) # Lock for PS AC_PATH_PROG(PS, ps, ps) Loading extra/yassl/Makefile.am +1 −2 Original line number Diff line number Diff line SUBDIRS = taocrypt src testsuite EXTRA_DIST = yassl.dsp yassl.dsw yassl.vcproj \ CMakeLists.txt EXTRA_DIST = CMakeLists.txt # Don't update the files from bitkeeper %::SCCS/s.% extra/yassl/taocrypt/Makefile.am +1 −1 Original line number Diff line number Diff line SUBDIRS = src test benchmark EXTRA_DIST = taocrypt.dsw taocrypt.dsp taocrypt.vcproj CMakeLists.txt $(wildcard mySTL/*.hpp) EXTRA_DIST = CMakeLists.txt $(wildcard mySTL/*.hpp) # Don't update the files from bitkeeper %::SCCS/s.% Loading
CMakeLists.txt +6 −8 Original line number Diff line number Diff line Loading @@ -108,18 +108,18 @@ SET(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} -DDBUG_OFF") SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4800 /wd4805") SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4800 /wd4805") IF(CMAKE_GENERATOR MATCHES "Visual Studio 8") # Disable warnings in Visual Studio 8 and above IF(MSVC AND NOT CMAKE_GENERATOR MATCHES "Visual Studio 7") SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /wd4996") SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /wd4996") SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} /wd4996") SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /wd4996") SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /wd4996") SET(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} /wd4996") ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio 8") IF(CMAKE_GENERATOR MATCHES "Visual Studio 7" OR CMAKE_GENERATOR MATCHES "Visual Studio 8") ENDIF(MSVC AND NOT CMAKE_GENERATOR MATCHES "Visual Studio 7") # Settings for Visual Studio 7 and above. IF(MSVC) # replace /MDd with /MTd STRING(REPLACE "/MD" "/MT" CMAKE_C_FLAGS_RELEASE ${CMAKE_C_FLAGS_RELEASE}) STRING(REPLACE "/MD" "/MT" CMAKE_C_FLAGS_RELWITHDEBINFO ${CMAKE_C_FLAGS_RELWITHDEBINFO}) Loading Loading @@ -149,9 +149,7 @@ IF(CMAKE_GENERATOR MATCHES "Visual Studio 7" OR IF(NOT tmp_manifest) SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /MANIFEST:NO") ENDIF(NOT tmp_manifest) ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio 7" OR CMAKE_GENERATOR MATCHES "Visual Studio 8") ENDIF(MSVC) IF(WIN32) ADD_DEFINITIONS("-D_WINDOWS -D__WIN__ -D_CRT_SECURE_NO_DEPRECATE") Loading
Makefile.am +78 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,8 @@ dist-hook: --srcdir=$(top_srcdir) storage/myisam/myisamchk --silent --fast $(distdir)/win/data/mysql/*.MYI all-local: @ABI_CHECK@ tags: support-files/build-tags Loading Loading @@ -232,5 +234,81 @@ test-full-qa: test-binlog-statement test-ext test-fast-view \ test-fast-cursor test-unit # # 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. # 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 # # Rules for checking that the abi/api has not changed. # # 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 # generation of preprocessor output for system headers. This # results in messages in stderr saying that these headers # were not found. Redirect the stderr output to /dev/null # to prevent seeing these messages. # 2) sed the output to # 2.1) remove blank lines and lines that begin with "# " # 2.2) When gcc -E is run on the Mac OS and solaris sparc platforms it # introduces a line of output that shows up as a difference between # the .pp and .out files. Remove these OS specific preprocessor text # inserted by the preprocessor. # 3) diff the generated file and the canons (.pp files already in # the repository). # 4) delete the .out file that is generated. # # If the diff fails, the generated file is not removed. This will # be useful for analysis of ABI differences (e.g. using a visual # diff tool). # # A ABI change that causes a build to fail will always be accompanied # by new canons (.out files). The .out files that are not removed will # be replaced as the new .pp files. # # e.g. If include/mysql/plugin.h has an ABI change then this rule would # leave a <build directory>/abi_check.out file. # # A developer with a justified API change will then do a # mv <build directory>/abi_check.out include/mysql/plugin.pp # to replace the old canons with the new ones. # 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 $(abi_headers); do \ @CC@ -E -nostdinc -dI \ -I$(top_srcdir)/include \ -I$(top_srcdir)/include/mysql \ -I$(top_srcdir)/sql \ -I$(top_builddir)/include \ -I$(top_builddir)/include/mysql \ -I$(top_builddir)/sql \ $$file 2>/dev/null | \ @SED@ -e '/^# /d' \ -e '/^[ ]*$$/d' \ -e '/^#pragma GCC set_debug_pwd/d' \ -e '/^#ident/d' > \ $(top_builddir)/abi_check.out; \ @DIFF@ -w $$file.pp $(top_builddir)/abi_check.out; \ @RM@ $(top_builddir)/abi_check.out; \ done # Don't update the files from bitkeeper %::SCCS/s.%
configure.in +9 −17 Original line number Diff line number Diff line Loading @@ -419,6 +419,7 @@ AC_PATH_PROG(SED, sed, sed) AC_PATH_PROG(CMP, cmp, cmp) AC_PATH_PROG(CHMOD, chmod, chmod) AC_PATH_PROG(HOSTNAME, hostname, hostname) AC_PATH_PROG(DIFF, diff, diff) # Check for a GNU tar named 'gtar', or 'gnutar' (MacOS X) and # fall back to 'tar' otherwise and hope that it's a GNU tar as well AC_CHECK_PROGS(TAR, gnutar gtar tar) Loading @@ -443,25 +444,16 @@ AC_SUBST(HOSTNAME) AC_SUBST(PERL) AC_SUBST(PERL5) # icheck, used for ABI check AC_PATH_PROG(ICHECK, icheck, no) # "icheck" is also the name of a file system check program on Tru64. # Verify the program found is really the interface checker. if test "x$ICHECK" != "xno" then AC_MSG_CHECKING(if $ICHECK works as expected) echo "int foo;" > conftest.h $ICHECK --canonify -o conftest.ic conftest.h 2>/dev/null if test -f "conftest.ic" # Enable the abi_check rule only if gcc is available if expr "$CC" : ".*gcc.*" then AC_MSG_RESULT(yes) ABI_CHECK="abi_check" else AC_MSG_RESULT(no) ICHECK=no fi rm -f conftest.ic conftest.h ABI_CHECK="" fi AC_SUBST(ICHECK) AC_SUBST(ABI_CHECK) # Lock for PS AC_PATH_PROG(PS, ps, ps) Loading
extra/yassl/Makefile.am +1 −2 Original line number Diff line number Diff line SUBDIRS = taocrypt src testsuite EXTRA_DIST = yassl.dsp yassl.dsw yassl.vcproj \ CMakeLists.txt EXTRA_DIST = CMakeLists.txt # Don't update the files from bitkeeper %::SCCS/s.%
extra/yassl/taocrypt/Makefile.am +1 −1 Original line number Diff line number Diff line SUBDIRS = src test benchmark EXTRA_DIST = taocrypt.dsw taocrypt.dsp taocrypt.vcproj CMakeLists.txt $(wildcard mySTL/*.hpp) EXTRA_DIST = CMakeLists.txt $(wildcard mySTL/*.hpp) # Don't update the files from bitkeeper %::SCCS/s.%