diff options
author | Alejandro Piñeiro <apinheiro@igalia.com> | 2018-04-17 09:28:00 +0200 |
---|---|---|
committer | Alejandro Piñeiro <apinheiro@igalia.com> | 2018-04-24 13:20:25 +0200 |
commit | 173f8530aeea2a68f839c49b905cf35df357f795 (patch) | |
tree | acd7abf7046bc10cf48ef4c002569fd97f988cf5 | |
parent | 586342798f74f726fc684fb224991e685b7f6d36 (diff) | |
download | atk-173f8530aeea2a68f839c49b905cf35df357f795.tar.gz |
build: remove autotools configuration files
Meson is right now in a really good shape, so it doesn't make sense to
keep both.
https://bugzilla.gnome.org/show_bug.cgi?id=795315
-rw-r--r-- | Makefile.am | 28 | ||||
-rw-r--r-- | README | 24 | ||||
-rw-r--r-- | atk/Makefile.am | 252 | ||||
-rwxr-xr-x | autogen.sh | 38 | ||||
-rw-r--r-- | configure.ac | 260 | ||||
-rw-r--r-- | docs/Makefile.am | 46 | ||||
-rw-r--r-- | po/Makevars | 78 | ||||
-rw-r--r-- | tests/Makefile.am | 31 |
8 files changed, 8 insertions, 749 deletions
diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index edc6976..0000000 --- a/Makefile.am +++ /dev/null @@ -1,28 +0,0 @@ -# Process this file with automake to create Makefile.in. -ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} - -SUBDIRS = atk tests docs po win32 - -meson_dist_files = \ - meson_options.txt \ - meson.build \ - atk/meson.build \ - docs/meson.build \ - docs/xml/meson.build \ - docs/xml/gtkdocentities.ent.in \ - po/meson.build \ - tests/meson.build \ - $() - -EXTRA_DIST = \ - MAINTAINERS \ - atk.pc.in \ - config.h.win32 \ - $(meson_dist_files) - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = atk.pc - -DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-introspection - -DISTCLEANFILES = atk.pc @@ -26,28 +26,20 @@ You can also clone the ATK master branch from GNOME repository: Building -------- -To buid ATK from a release tarball you can use Autotools: - - $ ./configure - $ make - # make install - -Alternatively, you can use Meson and Ninja: +You can use Meson and Ninja: $ meson _build . $ ninja -C _build # ninja -C _build install -To build ATK from a Git clone using Autotools, run the autogen.sh script -instead of the configure one; before running autogen.sh or configure, make -sure you have libtool in your path. If you use Meson, no changes are -necessary. +Tarball +------- + +If you want a tarball with the ATK source code, you can also use +Meson: -Note that autogen.sh runs the configure script for you. If you wish to pass -options like --prefix=/usr to configure you can give those options to -autogen.sh and they will be passed on to configure; if you wish to run -autogen.sh without running the configure script, export the NOCONFIGURE -environment variable. + $ meson _build . + $ ninja -C _build dist How to report bugs ------------------ diff --git a/atk/Makefile.am b/atk/Makefile.am deleted file mode 100644 index c8f9419..0000000 --- a/atk/Makefile.am +++ /dev/null @@ -1,252 +0,0 @@ -# We set GPATH here; this gives us semantics for GNU make -# which are more like other make's VPATH. -GPATH = $(srcdir) - -include $(INTROSPECTION_MAKEFILE) -INTROSPECTION_GIRS = -INTROSPECTION_SCANNER_ENV = CC="$(CC)" - -EXTRA_DIST = -CLEANFILES = -DISTCLEANFILES = - -if PLATFORM_WIN32 -no_undefined = -no-undefined -else -no_undefined = -endif - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - -I$(top_builddir) \ - -DGLIB_DISABLE_DEPRECATION_WARNINGS \ - -DATK_DISABLE_DEPRECATIO_WARNINGS \ - -DATK_COMPILATION \ - -DATK_LOCALEDIR="\"$(datadir)/locale\"" \ - $(DEP_CFLAGS) \ - $(ATK_HIDDEN_VISIBILITY_CFLAGS) - -lib_LTLIBRARIES = libatk-1.0.la - -libatk_1_0_la_LDFLAGS = \ - -version-info $(LT_VERSION_INFO) \ - $(no_undefined) -libatk_1_0_la_LIBADD = \ - $(DEP_LIBS) \ - $(INTLLIBS) - -atk_sources = \ - atkaction.c \ - atkcomponent.c \ - atkdocument.c \ - atkeditabletext.c \ - atkgobjectaccessible.c \ - atkhyperlink.c \ - atkhyperlinkimpl.c \ - atkhypertext.c \ - atkimage.c \ - atknoopobject.c \ - atknoopobjectfactory.c \ - atkobject.c \ - atkobjectfactory.c \ - atkplug.c \ - atkprivate.h \ - atkprivate.c \ - atkrange.c \ - atkregistry.c \ - atkrelation.c \ - atkrelationset.c \ - atkselection.c \ - atksocket.c \ - atkstate.c \ - atkstateset.c \ - atkstreamablecontent.c \ - atktable.c \ - atktablecell.c \ - atktext.c \ - atkutil.c \ - atkmisc.c \ - atkvalue.c \ - atkversion.c \ - atkwindow.c - -libatk_1_0_la_SOURCES = \ - $(atk_sources) \ - atkmarshal.c \ - atk-enum-types.c - -libatkincludedir=$(includedir)/atk-1.0/atk - -atk_headers = \ - atkaction.h \ - atkcomponent.h \ - atkdocument.h \ - atkeditabletext.h \ - atkgobjectaccessible.h \ - atkhyperlink.h \ - atkhyperlinkimpl.h \ - atkhypertext.h \ - atknoopobject.h \ - atknoopobjectfactory.h \ - atkobject.h \ - atkobjectfactory.h \ - atkplug.h \ - atkimage.h \ - atkrange.h \ - atkregistry.h \ - atkrelation.h \ - atkrelationtype.h \ - atkrelationset.h \ - atkselection.h \ - atksocket.h \ - atkstate.h \ - atkstateset.h \ - atkstreamablecontent.h \ - atktable.h \ - atktablecell.h \ - atktext.h \ - atkutil.h \ - atkmisc.h \ - atkvalue.h \ - atkwindow.h - -libatkinclude_HEADERS = \ - atk.h \ - $(atk_headers) \ - atkversion.h \ - atk-enum-types.h - - -# ---------- Handle built sources ---------- - -BUILT_SOURCES = atkmarshal.h atkmarshal.c atk-enum-types.h atk-enum-types.c - -atkmarshal.h: stamp-atkmarshal.h - @true -stamp-atkmarshal.h: @REBUILD@ atkmarshal.list - $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=atk_marshal $(srcdir)/atkmarshal.list --header >> xgen-gmh \ - && (cmp -s xgen-gmh atkmarshal.h || cp xgen-gmh atkmarshal.h) \ - && rm -f xgen-gmh xgen-gmh~ \ - && echo timestamp > $(@F) - -atkmarshal.c: stamp-atkmarshal.c - @true -stamp-atkmarshal.c: @REBUILD@ atkmarshal.list - $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=atk_marshal $(srcdir)/atkmarshal.list --body >> xgen-gmc \ - && (cmp -s xgen-gmc atkmarshal.c || cp xgen-gmc atkmarshal.c) \ - && rm -f xgen-gmc xgen-gmc~ \ - && echo timestamp > $(@F) - -EXTRA_DIST += atkmarshal.list -CLEANFILES += stamp-atkmarshal.h stamp-atkmarshal.c -DISTCLEANFILES += atkmarshal.h atkmarshal.c - -atk-enum-types.h: s-enum-types-h - @true -s-enum-types-h: @REBUILD@ $(atk_headers) $(top_srcdir)/atk/atk-enum-types.h.template Makefile - $(AM_V_GEN) $(GLIB_MKENUMS) \ - --template $(top_srcdir)/atk/atk-enum-types.h.template \ - $(addprefix $(srcdir)/, $(atk_headers)) > tmp-atk-enum-types.h \ - && (cmp -s tmp-atk-enum-types.h atk-enum-types.h || cp -f tmp-atk-enum-types.h atk-enum-types.h ) \ - && rm -f tmp-atk-enum-types.h \ - && echo timestamp > $(@F) - -atk-enum-types.c: s-enum-types-c - @true -s-enum-types-c: @REBUILD@ $(atk_headers) $(top_srcdir)/atk/atk-enum-types.c.template Makefile - $(AM_V_GEN) $(GLIB_MKENUMS) \ - --template $(top_srcdir)/atk/atk-enum-types.c.template \ - $(addprefix $(srcdir)/, $(atk_headers)) > tmp-atk-enum-types.c \ - && (cmp -s tmp-atk-enum-types.c atk-enum-types.c || cp tmp-atk-enum-types.c atk-enum-types.c ) \ - && rm -f tmp-atk-enum-types.c \ - && echo timestamp > $(@F) - -EXTRA_DIST += atk-enum-types.h.template atk-enum-types.c.template -CLEANFILES += s-enum-types-h s-enum-types-c -DISTCLEANFILES += atk-enum-types.h atk-enum-types.c - -if HAVE_INTROSPECTION -introspection_sources = \ - $(atk_headers) \ - $(atk_sources) -introspection_generated_sources = \ - atkversion.h \ - atk-enum-types.c \ - atk-enum-types.h - -Atk-1.0.gir: libatk-1.0.la Makefile -Atk_1_0_gir_INCLUDES = GObject-2.0 -Atk_1_0_gir_CFLAGS = $(AM_CPPFLAGS) -Atk_1_0_gir_LIBS = libatk-1.0.la -Atk_1_0_gir_SCANNERFLAGS = --pkg-export=atk --warn-all --c-include="atk/atk.h" -Atk_1_0_gir_FILES = $(introspection_sources) $(introspection_generated_sources) -INTROSPECTION_GIRS += Atk-1.0.gir - -girdir = $(datadir)/gir-1.0 -gir_DATA = $(INTROSPECTION_GIRS) - -typelibsdir = $(libdir)/girepository-1.0 -typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib) - -CLEANFILES += $(gir_DATA) $(typelibs_DATA) -endif - -# ---------- Win32 stuff ---------- -if OS_WIN32 -libatk_1_0_la_LDFLAGS += -no-undefined -Wl,atk-win32-res.o -libatk_1_0_la_DEPENDENCIES = atk-win32-res.o -endif - -atk-win32-res.o: atk.rc - $(WINDRES) $< $@ - -EXTRA_DIST += atk.rc.in atk.rc - -# ---------- MSVC Project Items --------- -MSVCPROJS = atk - -atk_FILES = $(libatk_1_0_la_SOURCES) -atk_EXCLUDES = atkdummy - -atk_HEADERS_DIR = $(libatkincludedir) -atk_HEADERS_INST = $(libatkinclude_HEADERS) atkversion.h -atk_HEADERS_EXCLUDES = $(builddir)/atkversion.h - -include $(top_srcdir)/win32/Makefile.msvcproj - -if HAVE_INTROSPECTION -# Introspection Items for MSVC -MSVC_INTROSPECT_GIRS = Atk-1.0.gir - -INTROSPECTION_INTERMEDIATE_ITEMS = \ - $(top_builddir)/win32/Atk-1.0.gir.msvc.introspect \ - $(top_builddir)/win32/Atk_1_0_gir_list - -Atk_1_0_gir_MSVC_EXPORT_PACKAGES = atk -Atk_1_0_gir_MSVC_INCLUDE_GIRS = $(Atk_1_0_gir_INCLUDES) -Atk_1_0_gir_MSVC_LIBS = atk-1.0 -Atk_1_0_gir_MSVC_FILES = \ - $(introspection_sources) \ - atkversion.h \ - atk-enum-types.c \ - atk-enum-types.h - -Atk_1_0_gir_MSVC_CFLAGS = \ - -I.. \ - -DG_DISABLE_DEPRECATED \ - -DATK_DISABLE_DEPRECATED \ - -DATK_COMPILATION \ - -DATK_LOCALEDIR="\\\"/dummy/share/locale\\\"" - -Atk_1_0_gir_MSVC_SCANNERFLAGS = --warn-all --c-include "atk/atk.h" - -include $(top_srcdir)/win32/Makefile.msvc-introspection - -else -INTROSPECTION_INTERMEDIATE_ITEMS = -endif - -dist-hook: \ - $(top_builddir)/win32/vs9/atk.vcproj \ - $(top_builddir)/win32/vs9/atk.headers \ - $(INTROSPECTION_INTERMEDIATE_ITEMS) diff --git a/autogen.sh b/autogen.sh deleted file mode 100755 index 1dc2281..0000000 --- a/autogen.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh -# Run this to generate all the initial makefiles, etc. -test -n "$srcdir" || srcdir=$(dirname "$0") -test -n "$srcdir" || srcdir=. - -olddir=$(pwd) - -cd $srcdir - -(test -f configure.ac) || { - echo "*** ERROR: Directory '$srcdir' does not look like the top-level project directory ***" - exit 1 -} - -# shellcheck disable=SC2016 -PKG_NAME=$(autoconf --trace 'AC_INIT:$1' configure.ac) - -if [ "$#" = 0 -a "x$NOCONFIGURE" = "x" ]; then - echo "*** WARNING: I am going to run 'configure' with no arguments." >&2 - echo "*** If you wish to pass any to it, please specify them on the" >&2 - echo "*** '$0' command line." >&2 - echo "" >&2 -fi - -aclocal --install || exit 1 -gtkdocize --copy || exit 1 -autoreconf --verbose --force --install || exit 1 - -cd "$olddir" -if [ "$NOCONFIGURE" = "" ]; then - $srcdir/configure "$@" || exit 1 - - if [ "$1" = "--help" ]; then exit 0 else - echo "Now type 'make' to compile $PKG_NAME" || exit 1 -fi -else - echo "Skipping configure process." -fi diff --git a/configure.ac b/configure.ac deleted file mode 100644 index 61e94c8..0000000 --- a/configure.ac +++ /dev/null @@ -1,260 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ([2.63]) - -dnl ========================================================================== -dnl Versioning -dnl ========================================================================== - -dnl Making releases: -dnl ATK_MICRO_VERSION += 1; -dnl ATK_INTERFACE_AGE += 1; -dnl ATK_BINARY_AGE += 1; -dnl if any functions have been added, set ATK_INTERFACE_AGE to 0. -dnl if backwards compatibility has been broken, -dnl set ATK_BINARY_AGE _and_ ATK_INTERFACE_AGE to 0. - -dnl The triplet -m4_define([atk_major_version], [2]) -m4_define([atk_minor_version], [28]) -m4_define([atk_micro_version], [1]) -m4_define([atk_version], - [atk_major_version.atk_minor_version.atk_micro_version]) - -dnl The X.Y in -latk-X.Y line. This is expected to stay 1.0 until Atk 3. -m4_define([atk_api_version], [1.0]) - -dnl Number of releases since we've added interfaces -m4_define([atk_interface_age], [1]) - -dnl binary_age includes major version as ATK 2 is still fully API and ABI compatible -m4_define([atk_binary_age], - [m4_eval(10000 * atk_major_version + 100 * atk_minor_version + 10 + atk_micro_version)]) - -m4_define([lt_current], - [m4_eval(10000 * atk_major_version + 100 * atk_minor_version + 10 + atk_micro_version - atk_interface_age)]) -m4_define([lt_revision], [atk_interface_age]) -m4_define([lt_age], [m4_eval(atk_binary_age - atk_interface_age)]) -m4_define([lt_version_info], [lt_current:lt_revision:lt_age]) -m4_define([lt_current_minus_age], [m4_eval(lt_current - lt_age)]) - -AC_INIT([atk], - [atk_version], - [http://bugzilla.gnome.org/enter_bug.cgi?product=atk], - [atk]) - -AC_CONFIG_HEADERS([config.h]) -AC_CONFIG_SRCDIR([README]) -AC_CONFIG_MACRO_DIR([m4]) - -AM_INIT_AUTOMAKE([1.11 foreign -Wno-portability no-dist-gzip dist-xz tar-ustar]) - -# Support silent build rules, requires at least automake-1.11. Disable -# by either passing --disable-silent-rules to configure or passing V=1 -# to make -m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) - -dnl ========================================================================== -dnl -dnl If you add a version number here, you *must* add an AC_SUBST line for -dnl it too, or it will never make it into the spec file! -dnl -dnl ========================================================================== - -ATK_MAJOR_VERSION=atk_major_version -ATK_MINOR_VERSION=atk_minor_version -ATK_MICRO_VERSION=atk_micro_version -ATK_VERSION=atk_version -ATK_API_VERSION=atk_api_version -ATK_INTERFACE_AGE=atk_interface_age -ATK_BINARY_AGE=atk_binary_age - -AC_SUBST(ATK_MAJOR_VERSION) -AC_SUBST(ATK_MINOR_VERSION) -AC_SUBST(ATK_VERSION) -AC_SUBST(ATK_API_VERSION) -AC_SUBST(ATK_MICRO_VERSION) -AC_SUBST(ATK_INTERFACE_AGE) -AC_SUBST(ATK_BINARY_AGE) - -dnl libtool versioning -LT_VERSION_INFO=lt_version_info -LT_CURRENT_MINUS_AGE=lt_current_minus_age -AC_SUBST(LT_VERSION_INFO) -AC_SUBST(LT_CURRENT_MINUS_AGE) - -dnl ========================================================================== - -# Check for programs -AC_PROG_CC - -# Initialize libtool -LT_PREREQ([2.2]) -LT_INIT([disable-static win32-dll]) - -AC_CHECK_FUNCS(bind_textdomain_codeset) - -AC_MSG_CHECKING([for some Win32 platform]) -case "$host" in - *-*-mingw*|*-*-cygwin*) - platform_win32=yes - ;; - *) - platform_win32=no - ;; -esac -AC_MSG_RESULT([$platform_win32]) -AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = "yes") - -AC_MSG_CHECKING([for native Win32 platform]) -case "$host" in - *-*-mingw*) - atk_native_win32=yes - case "$host" in - x86_64-*-*) - LIB_EXE_MACHINE_FLAG=X64 - ;; - *) - LIB_EXE_MACHINE_FLAG=X86 - ;; - esac - ;; - *) - atk_native_win32=no - ;; -esac -AC_MSG_RESULT([$atk_native_win32]) -AM_CONDITIONAL(OS_WIN32, test "$atk_native_win32" = "yes") - -AC_SUBST(LIB_EXE_MACHINE_FLAG) - -if test "$atk_native_win32" = "yes"; then - AC_CHECK_TOOL(WINDRES, windres, no) - if test "$WINDRES" = no; then - AC_MSG_ERROR([*** Could not find an implementation of windres in your PATH.]) - fi - AC_CHECK_PROG(ms_librarian, lib.exe, yes, no) - -fi -AM_CONDITIONAL(MS_LIB_AVAILABLE, test x$ms_librarian = xyes) - -dnl Cache $ACLOCAL_FLAGS -AC_CACHE_CHECK([for aclocal flags], ac_cv_atk_aclocal_flags,[ - ac_cv_atk_aclocal_flags="$ACLOCAL_FLAGS" -]) -ACLOCAL="$ACLOCAL $ac_cv_atk_aclocal_flags" - -AC_ARG_ENABLE(rebuilds, - [AS_HELP_STRING([--disable-rebuilds], - [disable all source autogeneration rules])],, - [enable_rebuilds=yes]) - -CPPFLAGS="$CPPFLAGS -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES" - -changequote(,)dnl -if test "x$GCC" = "xyes"; then - case " $CFLAGS " in - *[\ \ ]-Wall[\ \ ]*) ;; - *) CFLAGS="$CFLAGS -Wall" ;; - esac -fi -changequote([,])dnl - -GLIB_REQUIRED_VERSION=2.31.2 -AC_SUBST(GLIB_REQUIRED_VERSION) - -PKG_CHECK_MODULES(DEP, [gobject-2.0 >= $GLIB_REQUIRED_VERSION]) -AC_SUBST(DEP_CFLAGS) -AC_SUBST(DEP_LIBS) - -GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` -GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0` -AC_SUBST(GLIB_MKENUMS) -AC_SUBST(GLIB_GENMARSHAL) - -# i18n stuff -AM_GNU_GETTEXT_VERSION([0.19.2]) -AM_GNU_GETTEXT([external]) - -GETTEXT_PACKAGE=atk10 -AC_SUBST(GETTEXT_PACKAGE) -AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], - [Define the gettext package to be used]) - -# Introspection support -GOBJECT_INTROSPECTION_CHECK([1.32.0]) - -# Documentation support -GTK_DOC_CHECK([1.25]) - -# define a MAINT-like variable REBUILD which is set if Perl -# and awk are found, so autogenerated sources can be rebuilt - -AC_PROG_AWK -AC_CHECK_PROGS(PERL, perl5 perl) - -# Check whether MSVC toolset is explicitly set -AM_CONDITIONAL(MSVC_BASE_NO_TOOLSET_SET, [test x$MSVC_BASE_TOOLSET = x]) -AM_CONDITIONAL(MSVC_NO_TOOLSET_SET, [test x$MSVC_TOOLSET = x]) - -REBUILD=\# -if test "x$enable_rebuilds" = "xyes" && \ - test -n "$PERL" && \ - $PERL -e 'exit !($] >= 5.002)' > /dev/null 2>&1 && \ - test -n "$AWK" ; then - REBUILD= -fi -AC_SUBST(REBUILD) - -# Check for the visibility flags -ATK_HIDDEN_VISIBILITY_CFLAGS="" -case "$host" in - *-*-mingw*) - dnl on mingw32 we do -fvisibility=hidden and __declspec(dllexport) - AC_DEFINE([_ATK_EXTERN], [__attribute__((visibility("default"))) __declspec(dllexport) extern], - [defines how to decorate public symbols while building]) - CFLAGS="${CFLAGS} -fvisibility=hidden" - ;; - *) - dnl on other compilers, check if we can do -fvisibility=hidden - SAVED_CFLAGS="${CFLAGS}" - CFLAGS="-fvisibility=hidden" - AC_MSG_CHECKING([for -fvisibility=hidden compiler flag]) - AC_TRY_COMPILE([], [int main (void) { return 0; }], - AC_MSG_RESULT(yes) - enable_fvisibility_hidden=yes, - AC_MSG_RESULT(no) - enable_fvisibility_hidden=no) - CFLAGS="${SAVED_CFLAGS}" - - AS_IF([test "${enable_fvisibility_hidden}" = "yes"], [ - AC_DEFINE([_ATK_EXTERN], [__attribute__((visibility("default"))) extern], - [defines how to decorate public symbols while building]) - ATK_HIDDEN_VISIBILITY_CFLAGS="-fvisibility=hidden" - ]) - ;; -esac -AC_SUBST(ATK_HIDDEN_VISIBILITY_CFLAGS) - -AC_CONFIG_FILES([ -Makefile -po/Makefile.in -atk.pc -atk/Makefile -atk/atk.rc -atk/atkversion.h -tests/Makefile -win32/Makefile -win32/vs9/Makefile -win32/vs9/atk-version-paths.vsprops -win32/vs10/Makefile -win32/vs10/atk-version-paths.props -win32/vs11/Makefile -win32/vs12/Makefile -win32/vs14/Makefile -win32/vs15/Makefile -docs/Makefile -config.h.win32 -]) - -AC_OUTPUT diff --git a/docs/Makefile.am b/docs/Makefile.am deleted file mode 100644 index 21ab956..0000000 --- a/docs/Makefile.am +++ /dev/null @@ -1,46 +0,0 @@ -## Process this file with automake to produce Makefile.in - -# The name of the module. -DOC_MODULE = atk - -# The top-level SGML file. -DOC_MAIN_SGML_FILE = atk-docs.xml - -# Extra options to supply to gtkdoc-scan -SCAN_OPTIONS = --deprecated-guards=ATK_DISABLE_DEPRECATED - -# The directory containing the source code (if it contains documentation). -DOC_SOURCE_DIR = $(top_srcdir)/atk $(top_builddir)/atk - -# Used for dependencies -HFILE_GLOB = $(top_srcdir)/atk/*.h -CFILE_GLOB = $(top_srcdir)/atk/*.c - -# Header files to ignore when scanning -IGNORE_HFILES = \ - atkmarshal.h \ - atkintl.h - -# CFLAGS and LDFLAGS for compiling scan program. Only needed -# if $(DOC_MODULE).types is non-empty. -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - -I$(top_builddir) \ - -DATK_DISABLE_DEPRECATION_WARNINGS \ - $(DEP_CFLAGS) - -GTKDOC_LIBS = \ - $(top_builddir)/atk/libatk-$(ATK_API_VERSION).la \ - $(DEP_LIBS) - -# gtkdoc-mkdb related varaibles -MKDB_OPTIONS = - -content_files = - -HTML_IMAGES = - -include $(top_srcdir)/gtk-doc.make - -# Other files to distribute -#EXTRA_DIST += diff --git a/po/Makevars b/po/Makevars deleted file mode 100644 index 5e55bab..0000000 --- a/po/Makevars +++ /dev/null @@ -1,78 +0,0 @@ -# Makefile variables for PO directory in any package using GNU gettext. - -# Usually the message domain is the same as the package name. -DOMAIN = atk10 - -# These two variables depend on the location of this directory. -subdir = po -top_builddir = .. - -# These options get passed to xgettext. -XGETTEXT_OPTIONS = --from-code=UTF-8 --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2 --keyword=g_dngettext:2,3 --add-comments - -# This is the copyright holder that gets inserted into the header of the -# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding -# package. (Note that the msgstr strings, extracted from the package's -# sources, belong to the copyright holder of the package.) Translators are -# expected to transfer the copyright for their translations to this person -# or entity, or to disclaim their copyright. The empty string stands for -# the public domain; in this case the translators are expected to disclaim -# their copyright. -COPYRIGHT_HOLDER = ATK contributors - -# This tells whether or not to prepend "GNU " prefix to the package -# name that gets inserted into the header of the $(DOMAIN).pot file. -# Possible values are "yes", "no", or empty. If it is empty, try to -# detect it automatically by scanning the files in $(top_srcdir) for -# "GNU packagename" string. -PACKAGE_GNU = no - -# This is the email address or URL to which the translators shall report -# bugs in the untranslated strings: -# - Strings which are not entire sentences, see the maintainer guidelines -# in the GNU gettext documentation, section 'Preparing Strings'. -# - Strings which use unclear terms or require additional context to be -# understood. -# - Strings which make invalid assumptions about notation of date, time or -# money. -# - Pluralisation problems. -# - Incorrect English spelling. -# - Incorrect formatting. -# It can be your email address, or a mailing list address where translators -# can write to without being subscribed, or the URL of a web page through -# which the translators can contact you. -MSGID_BUGS_ADDRESS = https://bugzilla.gnome.org/enter_bug.cgi?product=atk&keywords=I18N+L10N&component=general - -# This is the list of locale categories, beyond LC_MESSAGES, for which the -# message catalogs shall be used. It is usually empty. -EXTRA_LOCALE_CATEGORIES = - -# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt' -# context. Possible values are "yes" and "no". Set this to yes if the -# package uses functions taking also a message context, like pgettext(), or -# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. -USE_MSGCTXT = no - -# These options get passed to msgmerge. -# Useful options are in particular: -# --previous to keep previous msgids of translated messages, -# --quiet to reduce the verbosity. -MSGMERGE_OPTIONS = - -# These options get passed to msginit. -# If you want to disable line wrapping when writing PO files, add -# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and -# MSGINIT_OPTIONS. -MSGINIT_OPTIONS = - -# This tells whether or not to regenerate a PO file when $(DOMAIN).pot -# has changed. Possible values are "yes" and "no". Set this to no if -# the POT file is checked in the repository and the version control -# program ignores timestamps. -PO_DEPENDS_ON_POT = no - -# This tells whether or not to forcibly update $(DOMAIN).pot and -# regenerate PO files on "make dist". Possible values are "yes" and -# "no". Set this to no if the POT file and PO files are maintained -# externally. -DIST_DEPENDS_ON_UPDATE_PO = no diff --git a/tests/Makefile.am b/tests/Makefile.am deleted file mode 100644 index d2bb2fd..0000000 --- a/tests/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ -if PLATFORM_WIN32 -no_undefined = -no-undefined -else -no_undefined = -endif - -libatk = $(top_builddir)/atk/libatk-$(ATK_API_VERSION).la - -AM_CPPFLAGS = -I$(top_srcdir) \ - -DG_DISABLE_DEPRECATED \ - $(DEP_CFLAGS) -DEPS = \ - $(libatk) - -noinst_PROGRAMS = testdocument \ - testrole \ - testrelation \ - teststateset \ - testvalue - -LDADD = $(libatk) $(DEP_LIBS) - -testdocument_SOURCES = testdocument.c -testrole_SOURCES = testrole.c -testrelation_SOURCES = testrelation.c -teststateset_SOURCES = teststateset.c -testvalue_SOURCES = testvalue.c - -EXTRA_DIST = testatk_vc.mak - -DISTCLEANFILES = testatk_vc.mak |