SUFFIXES =
# -DBUILDING_LIBINTL: Change expansion of LIBINTL_SHLIB_EXPORTED macro.
-# -DBUILDING_DLL: Change expansion of SHLIB_EXPORTED macro. We're compiling
-# a library. Exporting the relevant symbols is desired.
+# -DBUILDING_LIBRARY: Change expansion of SHLIB_EXPORTED macro. We're compiling
+# a library. Exporting the relevant symbols is desired.
AM_CPPFLAGS = \
-Ignulib-lib -I$(srcdir)/gnulib-lib \
-DLOCALEDIR=$(localedir_c_make) \
- -DLIBDIR=\"$(libdir)\" -DBUILDING_LIBINTL -DBUILDING_DLL
+ -DLIBDIR=\"$(libdir)\" -DBUILDING_LIBINTL -DBUILDING_LIBRARY
if WOE32
# On mingw, disable the declarations of *printf functions as aliases to the
/* When building a shared library, we must export some functions.
Note that because this is a .c file, not a .h file, we don't need to use
__declspec(dllimport) in any case. */
-#if HAVE_VISIBILITY && BUILDING_DLL
+#if HAVE_VISIBILITY && BUILDING_LIBRARY
# define SHLIB_EXPORTED __attribute__((__visibility__("default")))
-#elif defined _MSC_VER && BUILDING_DLL
+#elif defined _MSC_VER && BUILDING_LIBRARY
/* When building with MSVC, exporting a symbol means that the object file
contains a "linker directive" of the form /EXPORT:symbol. This can be
inspected through the "objdump -s --section=.drectve FILE" or
/* When building a shared library, we must export some functions.
Note that because this is a .c file, not a .h file, we don't need to use
__declspec(dllimport) in any case. */
-#if HAVE_VISIBILITY && BUILDING_DLL
+#if HAVE_VISIBILITY && BUILDING_LIBRARY
# define SHLIB_EXPORTED __attribute__((__visibility__("default")))
-#elif defined _MSC_VER && BUILDING_DLL
+#elif defined _MSC_VER && BUILDING_LIBRARY
/* When building with MSVC, exporting a symbol means that the object file
contains a "linker directive" of the form /EXPORT:symbol. This can be
inspected through the "objdump -s --section=.drectve FILE" or
/* When building a shared library, we must export some functions.
Note that because this is a .c file, not a .h file, we don't need to use
__declspec(dllimport) in any case. */
-#if HAVE_VISIBILITY && BUILDING_DLL
+#if HAVE_VISIBILITY && BUILDING_LIBRARY
# define SHLIB_EXPORTED __attribute__((__visibility__("default")))
-#elif defined _MSC_VER && BUILDING_DLL
+#elif defined _MSC_VER && BUILDING_LIBRARY
/* When building with MSVC, exporting a symbol means that the object file
contains a "linker directive" of the form /EXPORT:symbol. This can be
inspected through the "objdump -s --section=.drectve FILE" or