summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2022-06-16 21:08:41 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2022-06-16 21:45:54 +0100
commite5c94bc1c405537c71a301af6126a4b3f77b4a7a (patch)
tree26544da6cda6cdb6dfba20f8d0ca3e3f40ce831a
parentb74342ac80f02edecfd63f7a9b6d7cafe3ea01f1 (diff)
downloadgnome-online-accounts-e5c94bc1c405537c71a301af6126a4b3f77b4a7a.tar.gz
Drop the Autotools build
GNOME does not use it any more.
-rw-r--r--HACKING0
-rw-r--r--Makefile.am32
-rwxr-xr-xautogen.sh40
-rw-r--r--configure.ac518
-rw-r--r--data/Makefile.am39
-rw-r--r--data/icons/Makefile.am21
-rw-r--r--data/icons/scalable/Makefile.am20
-rw-r--r--data/icons/symbolic/Makefile.am19
-rw-r--r--doc/Makefile.am107
-rw-r--r--git.mk400
-rw-r--r--src/Makefile.am10
-rw-r--r--src/daemon/Makefile.am53
-rw-r--r--src/examples/Makefile.am46
-rw-r--r--src/goa/Makefile.am173
-rw-r--r--src/goabackend/Makefile.am224
-rw-r--r--src/goaidentity/Makefile.am118
16 files changed, 0 insertions, 1820 deletions
diff --git a/HACKING b/HACKING
deleted file mode 100644
index e69de29..0000000
--- a/HACKING
+++ /dev/null
diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index 6359a07..0000000
--- a/Makefile.am
+++ /dev/null
@@ -1,32 +0,0 @@
-
-NULL =
-
-SUBDIRS = data src
-
-if BUILD_BACKEND
-SUBDIRS += doc
-endif
-
-SUBDIRS += po
-
-ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
-
-DISTCHECK_CONFIGURE_FLAGS = \
- --enable-documentation \
- --enable-gtk-doc \
- --enable-introspection \
- $(NULL)
-
-MAINTAINERCLEANFILES = \
- $(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
- $(srcdir)/INSTALL \
- $(srcdir)/config.h.in \
- $(srcdir)/gtk-doc.make \
- `find "$(srcdir)" -type f -name Makefile.in -print` \
- $(NULL)
-
-GITIGNOREFILES = \
- m4 \
- $(NULL)
-
--include $(top_srcdir)/git.mk
diff --git a/autogen.sh b/autogen.sh
deleted file mode 100755
index e209906..0000000
--- a/autogen.sh
+++ /dev/null
@@ -1,40 +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 62eb6a6..0000000
--- a/configure.ac
+++ /dev/null
@@ -1,518 +0,0 @@
-m4_define([goa_major_version], [3])
-m4_define([goa_minor_version], [45])
-m4_define([goa_micro_version], [1])
-m4_define([goa_nano_version], [0])
-
-m4_define([goa_base_version],
- [goa_major_version.goa_minor_version.goa_micro_version])
-m4_define([goa_version],
- [m4_if(goa_nano_version, 0, [goa_base_version],
- [goa_base_version].[goa_nano_version])])
-
-AC_INIT([GNOME Online Accounts],
- [goa_version],
- [https://gitlab.gnome.org/GNOME/gnome-online-accounts/issues],
- [gnome-online-accounts],
- [https://wiki.gnome.org/Projects/GnomeOnlineAccounts])
-
-AM_INIT_AUTOMAKE([1.9 foreign dist-xz no-dist-gzip tar-ustar])
-AC_CONFIG_MACRO_DIR([m4])
-AC_CONFIG_SRCDIR([src])
-AC_CONFIG_HEADERS([config.h])
-
-AM_MAINTAINER_MODE([enable])
-
-AX_IS_RELEASE([git-directory])
-
-AX_COMPILER_FLAGS([WARN_CFLAGS],
- [WARN_LDFLAGS],
- [$ax_is_release],
- [],
- [-Wno-cast-function-type -Wno-error=cast-function-type])
-
-AC_PROG_CC
-AC_PROG_LIBTOOL
-
-PKG_PROG_PKG_CONFIG(0.16)
-
-m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
-
-GOA_MAJOR_VERSION=goa_major_version
-GOA_MINOR_VERSION=goa_minor_version
-GOA_MICRO_VERSION=goa_micro_version
-
-AC_SUBST(GOA_MAJOR_VERSION)
-AC_SUBST(GOA_MINOR_VERSION)
-AC_SUBST(GOA_MICRO_VERSION)
-
-# Before making a release, the LT_VERSION string should be modified.
-# The string is of the form C:R:A.
-# - If interfaces have been changed or added, but binary compatibility has
-# been preserved, change to C+1:0:A+1
-# - If binary compatibility has been broken (eg removed or changed interfaces)
-# change to C+1:0:0
-# - If the interface is the same as the previous version, change to C:R+1:A
-GOA_LT_VERSION=0:0:0
-GOA_BACKEND_LT_VERSION=1:0:0
-AC_SUBST(GOA_LT_VERSION)
-AC_SUBST(GOA_BACKEND_LT_VERSION)
-
-AC_DEFINE(GOA_MAJOR_VERSION,
- [goa_major_version],
- [Define to the GOA major version])
-AC_DEFINE(GOA_MINOR_VERSION,
- [goa_minor_version],
- [Define to the GOA minor version])
-AC_DEFINE(GOA_MICRO_VERSION,
- [goa_micro_version],
- [Define to the GOA micro version])
-
-# Initialization
-#
-
-AX_REQUIRE_DEFINED([GLIB_GSETTINGS])
-GLIB_GSETTINGS
-
-AC_ARG_ENABLE([documentation],
- AS_HELP_STRING([--enable-documentation], [enable man pages]),
- [], [enable_documentation=no])
-AM_CONDITIONAL(ENABLE_DOCUMENTATION, test x$enable_documentation = xyes)
-if test x$enable_documentation = xyes; then
- AC_PATH_PROG([XSLTPROC], [xsltproc])
- if test -z "$XSLTPROC"; then
- AC_MSG_ERROR([xsltproc is needed])
- fi
-fi
-
-AX_REQUIRE_DEFINED([GTK_DOC_CHECK])
-GTK_DOC_CHECK([1.3])
-
-# Libraries
-#
-
-PKG_CHECK_MODULES(GLIB, [glib-2.0 gio-2.0 gio-unix-2.0 >= 2.67.4])
-AC_SUBST(GLIB_CFLAGS)
-AC_SUBST(GLIB_LIBS)
-
-AX_REQUIRE_DEFINED([GOBJECT_INTROSPECTION_CHECK])
-GOBJECT_INTROSPECTION_CHECK([0.6.2])
-
-VAPIGEN_CHECK()
-
-AC_ARG_ENABLE([backend],
- [AS_HELP_STRING([--enable-backend],
- [Enable goabackend library])],
- [],
- [enable_backend=yes])
-AM_CONDITIONAL(BUILD_BACKEND, [test x$enable_backend != xno])
-
-if test "$enable_backend" != "no"; then
- AC_DEFINE(GOA_BACKEND_ENABLED, 1, [Enable goabackend library])
-
- PKG_CHECK_MODULES(GTK, [gtk+-3.0 >= 3.19.12])
- AC_SUBST(GTK_CFLAGS)
- AC_SUBST(GTK_LIBS)
-
- PKG_CHECK_MODULES(JAVASCRIPT_CORE_GTK, [javascriptcoregtk-4.1 >= 2.33.1])
- AC_SUBST(JAVASCRIPT_CORE_GTK_CFLAGS)
- AC_SUBST(JAVASCRIPT_CORE_GTK_LIBS)
-
- PKG_CHECK_MODULES(WEBKIT_GTK, [webkit2gtk-4.1 >= 2.33.1])
- AC_SUBST(WEBKIT_GTK_CFLAGS)
- AC_SUBST(WEBKIT_GTK_LIBS)
-
- PKG_CHECK_MODULES(LIBSOUP, [libsoup-3.0 >= 2.99.8])
- AC_SUBST(LIBSOUP_CFLAGS)
- AC_SUBST(LIBSOUP_LIBS)
-
- PKG_CHECK_MODULES(JSON_GLIB, [json-glib-1.0])
- AC_SUBST(JSON_GLIB_CFLAGS)
- AC_SUBST(JSON_GLIB_LIBS)
-
- PKG_CHECK_MODULES(REST, [rest-1.0])
- AC_SUBST(REST_CFLAGS)
- AC_SUBST(REST_LIBS)
-
- PKG_CHECK_MODULES(SECRET, [libsecret-1])
- AC_SUBST(SECRET_CFLAGS)
- AC_SUBST(SECRET_LIBS)
-
- PKG_CHECK_MODULES(LIBXML, [libxml-2.0])
- AC_SUBST(LIBXML_CFLAGS)
- AC_SUBST(LIBXML_LIBS)
-fi
-
-AC_ARG_ENABLE([inspector],
- [AS_HELP_STRING([--enable-inspector], [Enable a WebKitWebInspector for the embedded web view])],
- [],
- [enable_inspector=no])
-if test "$enable_inspector" != "no"; then
- AC_DEFINE(GOA_INSPECTOR_ENABLED, 1, [Enable a WebKitWebInspector for the embedded web view])
-fi
-
-AC_ARG_WITH(template-file,
- [AS_HELP_STRING([--with-template-file], [Path to the template file])],
- [],
- [])
-AC_DEFINE_UNQUOTED(GOA_TEMPLATE_FILE, ["$with_template_file"], [Path to the template file])
-
-# service providers
-#
-
-# Microsoft Exchange
-AC_DEFINE(GOA_EXCHANGE_NAME, ["exchange"], [ProviderType and extension point name])
-AC_ARG_ENABLE([exchange],
- [AS_HELP_STRING([--enable-exchange], [Enable Microsoft Exchange provider])],
- [],
- [enable_exchange=yes])
-if test "$enable_exchange" != "no"; then
- AC_DEFINE(GOA_EXCHANGE_ENABLED, 1, [Enable Microsoft Exchange data provider])
-fi
-
-# Fedora
-AC_DEFINE(GOA_FEDORA_NAME, ["fedora"], [ProviderType and extension point name])
-AC_DEFINE(GOA_FEDORA_REALM, ["FEDORAPROJECT.ORG"], [Kerberos realm used by the Fedora Account System])
-AC_ARG_ENABLE([fedora],
- [AS_HELP_STRING([--enable-fedora], [Enable Fedora Account System support])],
- [enable_fedora=$enableval],
- [enable_fedora=auto])
-AC_PATH_PROG([KRB5_CONFIG], krb5-config, none, $PATH:/usr/kerberos/bin)
-
-if test "x$KRB5_CONFIG" != "xnone"; then
- KRB5_LIBS="`${KRB5_CONFIG} --libs krb5`"
- KRB5_CFLAGS="`${KRB5_CONFIG} --cflags krb5`"
- PKG_CHECK_MODULES(GCR, gcr-3, [have_fedora=yes], [have_fedora=no])
-else
- KRB5_LIBS=""
- KRB5_CFLAGS=""
- have_fedora=no
-fi
-AC_SUBST(KRB5_CFLAGS)
-AC_SUBST(KRB5_LIBS)
-
-if test "$enable_fedora" != "no"; then
- if test "$enable_fedora" == "yes" &&
- test "$have_fedora" == "no" ; then
- AC_MSG_ERROR([Fedora Account System support requested, but not available])
- fi
-
- enable_fedora=$have_fedora
-
- if test "$enable_fedora" == "yes"; then
- AC_DEFINE(GCR_API_SUBJECT_TO_CHANGE, 1, [Define to use the GCR API])
- AC_DEFINE(GOA_FEDORA_ENABLED, 1, [Enable Fedora Account System provider])
- fi
-else
- enable_fedora=no
-fi
-AM_CONDITIONAL(BUILD_FEDORA, [test x$enable_fedora != xno])
-
-# Google
-AC_DEFINE(GOA_GOOGLE_NAME, ["google"], [ProviderType and extension point name])
-AC_ARG_ENABLE([google],
- [AS_HELP_STRING([--enable-google], [Enable Google provider])],
- [],
- [enable_google=yes])
-AC_ARG_WITH(google-client-id,
- [AS_HELP_STRING([--with-google-client-id], [Google OAuth 2.0 client id])],
- [],
- [])
-AC_ARG_WITH(google-client-secret,
- [AS_HELP_STRING([--with-google-client-secret], [Google OAuth 2.0 client secret])],
- [],
- [])
-if test "$with_google_client_id" = ""; then
- with_google_client_id=44438659992-7kgjeitenc16ssihbtdjbgguch7ju55s.apps.googleusercontent.com
-fi
-if test "$with_google_client_secret" = ""; then
- with_google_client_secret=-gMLuQyDiI0XrQS_vx_mhuYF
-fi
-AC_DEFINE_UNQUOTED(GOA_GOOGLE_CLIENT_ID, ["$with_google_client_id"], [Google OAuth 2.0 client id])
-AC_DEFINE_UNQUOTED(GOA_GOOGLE_CLIENT_SECRET, ["$with_google_client_secret"], [Google OAuth 2.0 client secret])
-if test "$enable_google" != "no"; then
- AC_DEFINE(GOA_GOOGLE_ENABLED, 1, [Enable Google data provider])
-fi
-
-# IMAP/SMTP
-AC_DEFINE(GOA_IMAP_SMTP_NAME, ["imap_smtp"], [ProviderType and extension point name])
-AC_ARG_ENABLE([imap-smtp],
- [AS_HELP_STRING([--enable-imap-smtp], [Enable IMAP/SMTP provider])],
- [],
- [enable_imap_smtp=yes])
-if test "$enable_imap_smtp" != "no"; then
- AC_DEFINE(GOA_IMAP_SMTP_ENABLED, 1, [Enable IMAP/SMTP data provider])
-fi
-
-# Media Server
-AC_DEFINE(GOA_MEDIA_SERVER_NAME, ["media-server"], [ProviderType and extension point name])
-AC_ARG_ENABLE([media-server],
- [AS_HELP_STRING([--enable-media-server], [Enable Media Server provider])],
- [],
- [enable_media_server=no])
-if test "$enable_media_server" != "no"; then
- AC_DEFINE(GOA_MEDIA_SERVER_ENABLED, 1, [Enable Media Server provider])
-fi
-
-# ownCloud
-AC_DEFINE(GOA_OWNCLOUD_NAME, ["owncloud"], [ProviderType and extension point name])
-AC_ARG_ENABLE([owncloud],
- [AS_HELP_STRING([--enable-owncloud], [Enable ownCloud provider])],
- [],
- [enable_owncloud=yes])
-if test "$enable_owncloud" != "no"; then
- AC_DEFINE(GOA_OWNCLOUD_ENABLED, 1, [Enable ownCloud data provider])
-fi
-
-# Windows Live
-AC_DEFINE(GOA_WINDOWS_LIVE_NAME, ["windows_live"], [ProviderType and extension point name])
-AC_ARG_ENABLE([windows-live],
- [AS_HELP_STRING([--enable-windows-live], [Enable Windows Live provider])],
- [],
- [enable_windows_live=yes])
-AC_ARG_WITH(windows-live-client-id,
- [AS_HELP_STRING([--with-windows-live-client-id], [Windows Live OAuth 2.0 client id])],
- [],
- [])
-if test "$with_windows_live_client_id" = ""; then
- with_windows_live_client_id=0000000044067703
-fi
-AC_DEFINE_UNQUOTED(GOA_WINDOWS_LIVE_CLIENT_ID, ["$with_windows_live_client_id"], [Windows Live OAuth 2.0 client id])
-if test "$enable_windows_live" != "no"; then
- AC_DEFINE(GOA_WINDOWS_LIVE_ENABLED, 1, [Enable Windows Live data provider])
-fi
-
-# Kerberos
-AC_DEFINE(GOA_KERBEROS_NAME, ["kerberos"], [ProviderType and extension point name])
-AC_ARG_ENABLE([kerberos],
- [AS_HELP_STRING([--enable-kerberos], [Enable kerberos support])],
- [enable_kerberos=$enableval],
- [enable_kerberos=auto])
-AC_PATH_PROG([KRB5_CONFIG], krb5-config, none, $PATH:/usr/kerberos/bin)
-
-if test "x$KRB5_CONFIG" != "xnone"; then
- KRB5_LIBS="`${KRB5_CONFIG} --libs krb5`"
- KRB5_CFLAGS="`${KRB5_CONFIG} --cflags krb5`"
- PKG_CHECK_MODULES(GCR, gcr-3, [have_kerberos=yes], [have_kerberos=no])
-else
- KRB5_LIBS=""
- KRB5_CFLAGS=""
- have_kerberos=no
-fi
-AC_SUBST(KRB5_CFLAGS)
-AC_SUBST(KRB5_LIBS)
-
-if test "$enable_kerberos" != "no"; then
- if test "$enable_kerberos" == "yes" &&
- test "$have_kerberos" == "no" ; then
- AC_MSG_ERROR([kerberos support requested, but not available])
- fi
-
- enable_kerberos=$have_kerberos
-
- if test "$enable_kerberos" == "yes"; then
- AC_DEFINE(GCR_API_SUBJECT_TO_CHANGE, 1, [Define to use the GCR API])
- AC_DEFINE(GOA_KERBEROS_ENABLED, 1, [Enable Enterprise Identity data provider])
- fi
-else
- enable_kerberos=no
-fi
-AM_CONDITIONAL(BUILD_KERBEROS, [test x$enable_kerberos != xno])
-
-# Last.fm
-AC_DEFINE(GOA_LASTFM_NAME, ["lastfm"], [ProviderType and extension point name])
-AC_ARG_ENABLE([lastfm],
- [AS_HELP_STRING([--enable-lastfm], [Enable Last.fm provider])],
- [],
- [enable_lastfm=yes])
-AC_ARG_WITH(lastfm-client-id,
- [AS_HELP_STRING([--with-lastfm-client-id], [Last.fm client id])],
- [],
- [])
-AC_ARG_WITH(lastfm-client-secret,
- [AS_HELP_STRING([--with-lastfm-client-secret], [Last.fm client secret])],
- [],
- [])
-if test "$with_lastfm_client_id" = ""; then
- with_lastfm_client_id="7a2461fe34c9c8124fb28ac750ba12fa"
-fi
-if test "$with_lastfm_client_secret" = ""; then
- with_lastfm_client_secret="49ec391644459c417f3afe57ca246c5a"
-fi
-AC_DEFINE_UNQUOTED(GOA_LASTFM_CLIENT_ID, ["$with_lastfm_client_id"], [LastFM client id])
-AC_DEFINE_UNQUOTED(GOA_LASTFM_CLIENT_SECRET, ["$with_lastfm_client_secret"], [LastFM client secret])
-if test "$enable_lastfm" != "no"; then
- AC_DEFINE(GOA_LASTFM_ENABLED, 1, [Enable LastFM data provider])
-fi
-
-# Identity service
-#
-
-AM_CONDITIONAL(BUILD_IDENTITY_SERVICE, [test x$enable_fedora != xno || test x$enable_kerberos != xno])
-
-# Optional timerfd support
-AC_MSG_CHECKING([for timerfd support])
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
-#include <sys/timerfd.h>
-#include <unistd.h>
-],[
-int
-main (void)
-{
- struct itimerspec timer_spec = { 0 };
- timerfd_settime (timerfd_create (CLOCK_MONOTONIC, TFD_CLOEXEC),
- TFD_TIMER_ABSTIME,
- &timer_spec,
- NULL);
-
- return 0;
-}
-])],
-[have_timerfd=yes],
-[have_timerfd=no])
-AC_MSG_RESULT($have_timerfd)
-if test x"$have_timerfd" = x"yes"; then
- AC_DEFINE(HAVE_TIMERFD, 1, [have timerfd support])
-
- dnl libc headers tend to trail kernel support
- dnl so compensate if necessary
- AC_MSG_CHECKING([for timerfd cancel-on-set support])
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
- #include <sys/timerfd.h>
- #include <unistd.h>
- ],[
- int
- main (void)
- {
- struct itimerspec timer_spec = { 0 };
- timerfd_settime (timerfd_create (CLOCK_MONOTONIC, TFD_CLOEXEC),
- TFD_TIMER_ABSTIME | TFD_TIMER_CANCEL_ON_SET,
- &timer_spec,
- NULL);
-
- return 0;
- }
- ])],
- [have_tfd_timer_cancel_on_set=yes],
- [have_tfd_timer_cancel_on_set=no])
- AC_MSG_RESULT($have_tfd_timer_cancel_on_set)
- if test x"$have_tfd_timer_cancel_on_set" = x"no"; then
- AC_DEFINE(TFD_TIMER_CANCEL_ON_SET, [(1 << 1)], [have timerfd support])
- fi
-fi
-
-# Internationalization
-#
-
-GETTEXT_PACKAGE=gnome-online-accounts
-AC_SUBST([GETTEXT_PACKAGE])
-AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[gettext domain])
-
-# FIXME: Remove AM_GNU_GETTEXT_VERSION once autoreconf supports REQUIRE_VERSION
-AX_REQUIRE_DEFINED([AM_GNU_GETTEXT_VERSION])
-AM_GNU_GETTEXT_VERSION([0.19.8])
-
-AX_REQUIRE_DEFINED([AM_GNU_GETTEXT_REQUIRE_VERSION])
-AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8])
-
-AX_REQUIRE_DEFINED([AM_GNU_GETTEXT])
-AM_GNU_GETTEXT([external])
-
-# goaconfig.h
-#
-
-AC_CONFIG_COMMANDS([src/goa/goaconfig.h],
-[
- outfile=src/goa/goaconfig.h-tmp
- cat > $outfile <<\_______EOF
-/* goaconfig.h
- *
- * This is a generated file. Please modify 'configure.ac'
- */
-
-#ifndef __GOA_CONFIG_H__
-#define __GOA_CONFIG_H__
-
-G_BEGIN_DECLS
-
-_______EOF
- echo "#define GOA_MAJOR_VERSION $GOA_MAJOR_VERSION" >> $outfile
- echo "#define GOA_MINOR_VERSION $GOA_MINOR_VERSION" >> $outfile
- echo "#define GOA_MICRO_VERSION $GOA_MICRO_VERSION" >> $outfile
- cat >> $outfile <<\_______EOF
-
-G_END_DECLS
-
-#endif /* __GOA_CONFIG_H__ */
-_______EOF
-
-
- if cmp -s $outfile src/goa/goaconfig.h; then
- AC_MSG_NOTICE([src/goa/goaconfig.h is unchanged])
- rm -f $outfile
- else
- mv $outfile src/goa/goaconfig.h
- fi
-],[
- GOA_MAJOR_VERSION=$GOA_MAJOR_VERSION
- GOA_MINOR_VERSION=$GOA_MINOR_VERSION
- GOA_MICRO_VERSION=$GOA_MICRO_VERSION
-])
-
-# Generate
-#
-
-AC_OUTPUT([
-Makefile
-data/Makefile
-data/icons/Makefile
-data/icons/scalable/Makefile
-data/icons/symbolic/Makefile
-src/Makefile
-src/goa/Makefile
-src/goa/goa-1.0.pc
-src/goabackend/Makefile
-src/goabackend/goa-backend-1.0.pc
-src/goaidentity/Makefile
-src/daemon/Makefile
-src/examples/Makefile
-po/Makefile.in
-doc/Makefile
-doc/version.xml
-])
-
-dnl ==========================================================================
-echo "
- gnome-online-accounts $VERSION
- ===============================
-
- prefix: ${prefix}
- libdir: ${libdir}
- libexecdir: ${libexecdir}
- bindir: ${bindir}
- sbindir: ${sbindir}
- datadir: ${datadir}
- sysconfdir: ${sysconfdir}
- localstatedir: ${localstatedir}
-
- compiler: ${CC}
- cflags: ${CFLAGS}
- cppflags: ${CPPFLAGS}
-
- backend: ${enable_backend}
- inspector: ${enable_inspector}
- introspection: ${found_introspection}
- template file: ${with_template_file}
-
- Fedora Account System provider: ${enable_fedora}
- Google provider: ${enable_google} (OAuth 2.0, id:${with_google_client_id} secret:${with_google_client_secret})
- IMAP/SMTP provider: ${enable_imap_smtp}
- Media Server provider: ${enable_media_server}
- Microsoft Exchange provider: ${enable_exchange}
- ownCloud provider: ${enable_owncloud}
- Kerberos provider: ${enable_kerberos}
- Windows Live provider: ${enable_windows_live} (OAuth 2.0, id:${with_windows_live_client_id})
- Last.fm provider: ${enable_lastfm} (id:${with_lastfm_client_id} secret:${with_lastfm_client_secret})
-
- Maintainer mode: ${USE_MAINTAINER_MODE}
- Building api docs: ${enable_gtk_doc}
-"
diff --git a/data/Makefile.am b/data/Makefile.am
deleted file mode 100644
index e3608a1..0000000
--- a/data/Makefile.am
+++ /dev/null
@@ -1,39 +0,0 @@
-
-NULL =
-
-SUBDIRS = icons
-
-gsettings_schema_files = org.gnome.online-accounts.gschema.xml
-
-if BUILD_BACKEND
-gsettings_SCHEMAS = $(gsettings_schema_files)
-@GSETTINGS_RULES@
-
-servicedir = $(datadir)/dbus-1/services
-service_in_files = org.gnome.OnlineAccounts.service.in
-
-if BUILD_KERBEROS
-service_in_files += org.gnome.Identity.service.in
-endif
-
-service_DATA = $(service_in_files:.service.in=.service)
-%.service: %.service.in Makefile
- @sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
-endif
-
-EXTRA_DIST = \
- $(gsettings_schema_files) \
- dbus-interfaces.xml \
- org.gnome.Identity.service.in \
- org.gnome.OnlineAccounts.service.in \
- $(NULL)
-
-CLEANFILES = \
- org.gnome.OnlineAccounts.service \
- org.gnome.Identity.service \
- $(NULL)
-
-clean-local :
- rm -f *~
-
--include $(top_srcdir)/git.mk
diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am
deleted file mode 100644
index c91e9ae..0000000
--- a/data/icons/Makefile.am
+++ /dev/null
@@ -1,21 +0,0 @@
-
-SUBDIRS = scalable symbolic
-
-gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
-
-update-icon-cache:
- @-if test -z "$(DESTDIR)"; then \
- echo "Updating Gtk icon cache."; \
- $(gtk_update_icon_cache); \
- else \
- echo "*** Icon cache not updated. After install, run this:"; \
- echo "*** $(gtk_update_icon_cache)"; \
- fi
-
-install-data-hook: update-icon-cache
-uninstall-hook: update-icon-cache
-
-clean-local :
- rm -f *~
-
--include $(top_srcdir)/git.mk
diff --git a/data/icons/scalable/Makefile.am b/data/icons/scalable/Makefile.am
deleted file mode 100644
index 99a2c9d..0000000
--- a/data/icons/scalable/Makefile.am
+++ /dev/null
@@ -1,20 +0,0 @@
-NULL =
-
-icondir = $(datadir)/icons/hicolor/scalable/apps
-icon_DATA = \
- goa-account.svg \
- goa-account-exchange.svg \
- goa-account-fedora.svg \
- goa-account-google.svg \
- goa-account-lastfm.svg \
- goa-account-msn.svg \
- goa-account-owncloud.svg \
- $(NULL)
-
-EXTRA_DIST = \
- $(icon_DATA)
-
-clean-local :
- rm -f *~
-
--include $(top_srcdir)/git.mk
diff --git a/data/icons/symbolic/Makefile.am b/data/icons/symbolic/Makefile.am
deleted file mode 100644
index 8ae952d..0000000
--- a/data/icons/symbolic/Makefile.am
+++ /dev/null
@@ -1,19 +0,0 @@
-NULL =
-
-icondir = $(datadir)/icons/hicolor/symbolic/apps
-icon_DATA = \
- goa-account-symbolic.svg \
- goa-account-exchange-symbolic.svg \
- goa-account-google-symbolic.svg \
- goa-account-lastfm-symbolic.svg \
- goa-account-msn-symbolic.svg \
- goa-account-owncloud-symbolic.svg \
- $(NULL)
-
-EXTRA_DIST = \
- $(icon_DATA)
-
-clean-local :
- rm -f *~
-
--include $(top_srcdir)/git.mk
diff --git a/doc/Makefile.am b/doc/Makefile.am
deleted file mode 100644
index 0631321..0000000
--- a/doc/Makefile.am
+++ /dev/null
@@ -1,107 +0,0 @@
-
-NULL =
-
-SUBDIRS =
-
-# The name of the module.
-DOC_MODULE=goa
-
-# The top-level SGML file.
-DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
-
-# Extra options to supply to gtkdoc-scan
-SCAN_OPTIONS=
-
-# The directory containing the source code. Relative to $(srcdir)
-DOC_SOURCE_DIR=$(top_srcdir)/src
-
-HFILE_GLOB=$(top_srcdir)/src/goa/*.h $(top_srcdir)/src/goabackend/*.h
-CFILE_GLOB=$(top_srcdir)/src/goa/*.c $(top_srcdir)/src/goabackend/*.c
-
-# Headers to ignore
-IGNORE_HFILES= \
- config.h \
- $(NULL)
-
-# CFLAGS and LDFLAGS for compiling scan program. Only needed
-# if $(DOC_MODULE).types is non-empty.
-AM_CPPFLAGS = \
- -I$(srcdir) \
- -I$(top_srcdir) \
- -I$(top_builddir) \
- $(GLIB_CFLAGS) \
- $(GIO_CFLAGS) \
- $(NULL)
-
-GTKDOC_LIBS = \
- $(GLIB_LIBS) \
- $(GIO_LIBS) \
- $(top_builddir)/src/goa/libgoa-1.0.la \
- $(top_builddir)/src/goabackend/libgoa-backend-1.0.la \
- $(NULL)
-
-# Extra options to supply to gtkdoc-mkdb
-MKDB_OPTIONS = --output-format=xml --sgml-mode --name-space=goa
-
-# Images to copy into HTML directory
-HTML_IMAGES = \
- $(NULL)
-
-content_files = \
- $(NULL)
-
-expand_content_files = \
- goa-daemon.xml \
- goa-overview.xml \
- $(NULL)
-
-extra_files = \
- $(NULL)
-
-man_MANS =
-
-if ENABLE_DOCUMENTATION
-man_MANS += \
- goa-daemon.8 \
- $(NULL)
-endif
-
-.xml.8:
- $(AM_V_GEN) $(XSLTPROC) \
- --nonet \
- --stringparam man.output.quietly 1 \
- --stringparam funcsynopsis.style ansi \
- http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
-
-if ENABLE_GTK_DOC
-include $(top_srcdir)/gtk-doc.make
-else
-EXTRA_DIST =
-CLEANFILES =
-endif
-
-EXTRA_DIST += \
- goa-daemon.xml \
- goa-overview.xml \
- version.xml.in \
- $(NULL)
-
-CLEANFILES += \
- $(DOC_MODULE)-decl-list.txt \
- $(DOC_MODULE)-decl.txt \
- $(DOC_MODULE)-overrides.txt \
- $(DOC_MODULE)-undeclared.txt \
- $(DOC_MODULE)-undocumented.txt \
- $(DOC_MODULE)-overrides.txt \
- $(DOC_MODULE)-unused.txt \
- $(DOC_MODULE).args \
- $(DOC_MODULE).hierarchy \
- $(DOC_MODULE).interfaces \
- $(DOC_MODULE).prerequisites \
- $(DOC_MODULE).signals \
- *.stamp \
- *.8 \
- -rf xml html tmpl \
- $(NULL)
-
--include $(top_srcdir)/git.mk
diff --git a/git.mk b/git.mk
deleted file mode 100644
index 6e2708f..0000000
--- a/git.mk
+++ /dev/null
@@ -1,400 +0,0 @@
-# git.mk, a small Makefile to autogenerate .gitignore files
-# for autotools-based projects.
-#
-# Copyright 2009, Red Hat, Inc.
-# Copyright 2010,2011,2012,2013 Behdad Esfahbod
-# Written by Behdad Esfahbod
-#
-# Copying and distribution of this file, with or without modification,
-# is permitted in any medium without royalty provided the copyright
-# notice and this notice are preserved.
-#
-# The latest version of this file can be downloaded from:
-GIT_MK_URL = https://raw.githubusercontent.com/behdad/git.mk/master/git.mk
-#
-# Bugs, etc, should be reported upstream at:
-# https://github.com/behdad/git.mk
-#
-# To use in your project, import this file in your git repo's toplevel,
-# then do "make -f git.mk". This modifies all Makefile.am files in
-# your project to -include git.mk. Remember to add that line to new
-# Makefile.am files you create in your project, or just rerun the
-# "make -f git.mk".
-#
-# This enables automatic .gitignore generation. If you need to ignore
-# more files, add them to the GITIGNOREFILES variable in your Makefile.am.
-# But think twice before doing that. If a file has to be in .gitignore,
-# chances are very high that it's a generated file and should be in one
-# of MOSTLYCLEANFILES, CLEANFILES, DISTCLEANFILES, or MAINTAINERCLEANFILES.
-#
-# The only case that you need to manually add a file to GITIGNOREFILES is
-# when remove files in one of mostlyclean-local, clean-local, distclean-local,
-# or maintainer-clean-local make targets.
-#
-# Note that for files like editor backup, etc, there are better places to
-# ignore them. See "man gitignore".
-#
-# If "make maintainer-clean" removes the files but they are not recognized
-# by this script (that is, if "git status" shows untracked files still), send
-# me the output of "git status" as well as your Makefile.am and Makefile for
-# the directories involved and I'll diagnose.
-#
-# For a list of toplevel files that should be in MAINTAINERCLEANFILES, see
-# Makefile.am.sample in the git.mk git repo.
-#
-# Don't EXTRA_DIST this file. It is supposed to only live in git clones,
-# not tarballs. It serves no useful purpose in tarballs and clutters the
-# build dir.
-#
-# This file knows how to handle autoconf, automake, libtool, gtk-doc,
-# gnome-doc-utils, yelp.m4, mallard, intltool, gsettings, dejagnu, appdata,
-# appstream, hotdoc.
-#
-# This makefile provides the following targets:
-#
-# - all: "make all" will build all gitignore files.
-# - gitignore: makes all gitignore files in the current dir and subdirs.
-# - .gitignore: make gitignore file for the current dir.
-# - gitignore-recurse: makes all gitignore files in the subdirs.
-#
-# KNOWN ISSUES:
-#
-# - Recursive configure doesn't work as $(top_srcdir)/git.mk inside the
-# submodule doesn't find us. If you have configure.{in,ac} files in
-# subdirs, add a proxy git.mk file in those dirs that simply does:
-# "include $(top_srcdir)/../git.mk". Add more ..'s to your taste.
-# And add those files to git. See vte/gnome-pty-helper/git.mk for
-# example.
-#
-
-
-
-###############################################################################
-# Variables user modules may want to add to toplevel MAINTAINERCLEANFILES:
-###############################################################################
-
-#
-# Most autotools-using modules should be fine including this variable in their
-# toplevel MAINTAINERCLEANFILES:
-GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL = \
- $(srcdir)/aclocal.m4 \
- $(srcdir)/autoscan.log \
- $(srcdir)/configure.scan \
- `AUX_DIR=$(srcdir)/$$(cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_AUX_DIR:$$1' ./configure.ac); \
- test "x$$AUX_DIR" = "x$(srcdir)/" && AUX_DIR=$(srcdir); \
- for x in \
- ar-lib \
- compile \
- config.guess \
- config.rpath \
- config.sub \
- depcomp \
- install-sh \
- ltmain.sh \
- missing \
- mkinstalldirs \
- test-driver \
- ylwrap \
- ; do echo "$$AUX_DIR/$$x"; done` \
- `cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_HEADERS:$$1' ./configure.ac | \
- head -n 1 | while read f; do echo "$(srcdir)/$$f.in"; done`
-#
-# All modules should also be fine including the following variable, which
-# removes automake-generated Makefile.in files:
-GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN = \
- `cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_FILES:$$1' ./configure.ac | \
- while read f; do \
- case $$f in Makefile|*/Makefile) \
- test -f "$(srcdir)/$$f.am" && echo "$(srcdir)/$$f.in";; esac; \
- done`
-#
-# Modules that use libtool and use AC_CONFIG_MACRO_DIR() may also include this,
-# though it's harmless to include regardless.
-GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL = \
- `MACRO_DIR=$(srcdir)/$$(cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_MACRO_DIR:$$1' ./configure.ac); \
- if test "x$$MACRO_DIR" != "x$(srcdir)/"; then \
- for x in \
- libtool.m4 \
- ltoptions.m4 \
- ltsugar.m4 \
- ltversion.m4 \
- lt~obsolete.m4 \
- ; do echo "$$MACRO_DIR/$$x"; done; \
- fi`
-#
-# Modules that use gettext and use AC_CONFIG_MACRO_DIR() may also include this,
-# though it's harmless to include regardless.
-GITIGNORE_MAINTAINERCLEANFILES_M4_GETTEXT = \
- `MACRO_DIR=$(srcdir)/$$(cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_MACRO_DIR:$$1' ./configure.ac); \
- if test "x$$MACRO_DIR" != "x$(srcdir)/"; then \
- for x in \
- codeset.m4 \
- extern-inline.m4 \
- fcntl-o.m4 \
- gettext.m4 \
- glibc2.m4 \
- glibc21.m4 \
- iconv.m4 \
- intdiv0.m4 \
- intl.m4 \
- intldir.m4 \
- intlmacosx.m4 \
- intmax.m4 \
- inttypes-pri.m4 \
- inttypes_h.m4 \
- lcmessage.m4 \
- lib-ld.m4 \
- lib-link.m4 \
- lib-prefix.m4 \
- lock.m4 \
- longlong.m4 \
- nls.m4 \
- po.m4 \
- printf-posix.m4 \
- progtest.m4 \
- size_max.m4 \
- stdint_h.m4 \
- threadlib.m4 \
- uintmax_t.m4 \
- visibility.m4 \
- wchar_t.m4 \
- wint_t.m4 \
- xsize.m4 \
- ; do echo "$$MACRO_DIR/$$x"; done; \
- fi`
-
-
-
-###############################################################################
-# Default rule is to install ourselves in all Makefile.am files:
-###############################################################################
-
-git-all: git-mk-install
-
-git-mk-install:
- @echo "Installing git makefile"
- @any_failed=; \
- find "`test -z "$(top_srcdir)" && echo . || echo "$(top_srcdir)"`" -name Makefile.am | while read x; do \
- if grep 'include .*/git.mk' $$x >/dev/null; then \
- echo "$$x already includes git.mk"; \
- else \
- failed=; \
- echo "Updating $$x"; \
- { cat $$x; \
- echo ''; \
- echo '-include $$(top_srcdir)/git.mk'; \
- } > $$x.tmp || failed=1; \
- if test x$$failed = x; then \
- mv $$x.tmp $$x || failed=1; \
- fi; \
- if test x$$failed = x; then : else \
- echo "Failed updating $$x"; >&2 \
- any_failed=1; \
- fi; \
- fi; done; test -z "$$any_failed"
-
-git-mk-update:
- wget $(GIT_MK_URL) -O $(top_srcdir)/git.mk
-
-.PHONY: git-all git-mk-install git-mk-update
-
-
-
-###############################################################################
-# Actual .gitignore generation:
-###############################################################################
-
-$(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk
- @echo "git.mk: Generating $@"
- @{ \
- if test "x$(DOC_MODULE)" = x -o "x$(DOC_MAIN_SGML_FILE)" = x; then :; else \
- for x in \
- $(DOC_MODULE)-decl-list.txt \
- $(DOC_MODULE)-decl.txt \
- tmpl/$(DOC_MODULE)-unused.sgml \
- "tmpl/*.bak" \
- $(REPORT_FILES) \
- $(DOC_MODULE).pdf \
- xml html \
- ; do echo "/$$x"; done; \
- FLAVOR=$$(cd $(top_srcdir); $(AUTOCONF) --trace 'GTK_DOC_CHECK:$$2' ./configure.ac); \
- case $$FLAVOR in *no-tmpl*) echo /tmpl;; esac; \
- if echo "$(SCAN_OPTIONS)" | grep -q "\-\-rebuild-types"; then \
- echo "/$(DOC_MODULE).types"; \
- fi; \
- if echo "$(SCAN_OPTIONS)" | grep -q "\-\-rebuild-sections"; then \
- echo "/$(DOC_MODULE)-sections.txt"; \
- fi; \
- if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
- for x in \
- $(SETUP_FILES) \
- $(DOC_MODULE).types \
- ; do echo "/$$x"; done; \
- fi; \
- fi; \
- if test "x$(DOC_MODULE)$(DOC_ID)" = x -o "x$(DOC_LINGUAS)" = x; then :; else \
- for lc in $(DOC_LINGUAS); do \
- for x in \
- $(if $(DOC_MODULE),$(DOC_MODULE).xml) \
- $(DOC_PAGES) \
- $(DOC_INCLUDES) \
- ; do echo "/$$lc/$$x"; done; \
- done; \
- for x in \
- $(_DOC_OMF_ALL) \
- $(_DOC_DSK_ALL) \
- $(_DOC_HTML_ALL) \
- $(_DOC_MOFILES) \
- $(DOC_H_FILE) \
- "*/.xml2po.mo" \
- "*/*.omf.out" \
- ; do echo /$$x; done; \
- fi; \
- if test "x$(HOTDOC)" = x; then :; else \
- $(foreach project, $(HOTDOC_PROJECTS),echo "/$(call HOTDOC_TARGET,$(project))"; \
- echo "/$(shell $(call HOTDOC_PROJECT_COMMAND,$(project)) --get-conf-path output)" ; \
- echo "/$(shell $(call HOTDOC_PROJECT_COMMAND,$(project)) --get-private-folder)" ; \
- ) \
- for x in \
- .hotdoc.d \
- ; do echo "/$$x"; done; \
- fi; \
- if test "x$(HELP_ID)" = x -o "x$(HELP_LINGUAS)" = x; then :; else \
- for lc in $(HELP_LINGUAS); do \
- for x in \
- $(HELP_FILES) \
- "$$lc.stamp" \
- "$$lc.mo" \
- ; do echo "/$$lc/$$x"; done; \
- done; \
- fi; \
- if test "x$(gsettings_SCHEMAS)" = x; then :; else \
- for x in \
- $(gsettings_SCHEMAS:.xml=.valid) \
- $(gsettings__enum_file) \
- ; do echo "/$$x"; done; \
- fi; \
- if test "x$(appdata_XML)" = x; then :; else \
- for x in \
- $(appdata_XML:.xml=.valid) \
- ; do echo "/$$x"; done; \
- fi; \
- if test "x$(appstream_XML)" = x; then :; else \
- for x in \
- $(appstream_XML:.xml=.valid) \
- ; do echo "/$$x"; done; \
- fi; \
- if test -f $(srcdir)/po/Makefile.in.in; then \
- for x in \
- ABOUT-NLS \
- po/Makefile.in.in \
- po/Makefile.in.in~ \
- po/Makefile.in \
- po/Makefile \
- po/Makevars.template \
- po/POTFILES \
- po/Rules-quot \
- po/stamp-it \
- po/stamp-po \
- po/.intltool-merge-cache \
- "po/*.gmo" \
- "po/*.header" \
- "po/*.mo" \
- "po/*.sed" \
- "po/*.sin" \
- po/$(GETTEXT_PACKAGE).pot \
- intltool-extract.in \
- intltool-merge.in \
- intltool-update.in \
- ; do echo "/$$x"; done; \
- fi; \
- if test -f $(srcdir)/configure; then \
- for x in \
- autom4te.cache \
- configure \
- config.h \
- stamp-h1 \
- libtool \
- config.lt \
- ; do echo "/$$x"; done; \
- fi; \
- if test "x$(DEJATOOL)" = x; then :; else \
- for x in \
- $(DEJATOOL) \
- ; do echo "/$$x.sum"; echo "/$$x.log"; done; \
- echo /site.exp; \
- fi; \
- if test "x$(am__dirstamp)" = x; then :; else \
- echo "$(am__dirstamp)"; \
- fi; \
- if test "x$(findstring libtool,$(LTCOMPILE))" = x -a "x$(findstring libtool,$(LTCXXCOMPILE))" = x -a "x$(GTKDOC_RUN)" = x; then :; else \
- for x in \
- "*.lo" \
- ".libs" "_libs" \
- ; do echo "$$x"; done; \
- fi; \
- for x in \
- .gitignore \
- $(GITIGNOREFILES) \
- $(CLEANFILES) \
- $(PROGRAMS) $(check_PROGRAMS) $(EXTRA_PROGRAMS) \
- $(LIBRARIES) $(check_LIBRARIES) $(EXTRA_LIBRARIES) \
- $(LTLIBRARIES) $(check_LTLIBRARIES) $(EXTRA_LTLIBRARIES) \
- so_locations \
- $(MOSTLYCLEANFILES) \
- $(TEST_LOGS) \
- $(TEST_LOGS:.log=.trs) \
- $(TEST_SUITE_LOG) \
- $(TESTS:=.test) \
- "*.gcda" \
- "*.gcno" \
- $(DISTCLEANFILES) \
- $(am__CONFIG_DISTCLEAN_FILES) \
- $(CONFIG_CLEAN_FILES) \
- TAGS ID GTAGS GRTAGS GSYMS GPATH tags \
- "*.tab.c" \
- $(MAINTAINERCLEANFILES) \
- $(BUILT_SOURCES) \
- $(patsubst %.vala,%.c,$(filter %.vala,$(SOURCES))) \
- $(filter %_vala.stamp,$(DIST_COMMON)) \
- $(filter %.vapi,$(DIST_COMMON)) \
- $(filter $(addprefix %,$(notdir $(patsubst %.vapi,%.h,$(filter %.vapi,$(DIST_COMMON))))),$(DIST_COMMON)) \
- Makefile \
- Makefile.in \
- "*.orig" \
- "*.rej" \
- "*.bak" \
- "*~" \
- ".*.sw[nop]" \
- ".dirstamp" \
- ; do echo "/$$x"; done; \
- for x in \
- "*.$(OBJEXT)" \
- $(DEPDIR) \
- ; do echo "$$x"; done; \
- } | \
- sed "s@^/`echo "$(srcdir)" | sed 's/\(.\)/[\1]/g'`/@/@" | \
- sed 's@/[.]/@/@g' | \
- LC_ALL=C sort | uniq > $@.tmp && \
- mv $@.tmp $@;
-
-all: $(srcdir)/.gitignore gitignore-recurse-maybe
-gitignore: $(srcdir)/.gitignore gitignore-recurse
-
-gitignore-recurse-maybe:
- @for subdir in $(DIST_SUBDIRS); do \
- case " $(SUBDIRS) " in \
- *" $$subdir "*) :;; \
- *) test "$$subdir" = . -o -e "$$subdir/.git" || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) gitignore || echo "Skipping $$subdir");; \
- esac; \
- done
-gitignore-recurse:
- @for subdir in $(DIST_SUBDIRS); do \
- test "$$subdir" = . -o -e "$$subdir/.git" || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) gitignore || echo "Skipping $$subdir"); \
- done
-
-maintainer-clean: gitignore-clean
-gitignore-clean:
- -rm -f $(srcdir)/.gitignore
-
-.PHONY: gitignore-clean gitignore gitignore-recurse gitignore-recurse-maybe
diff --git a/src/Makefile.am b/src/Makefile.am
deleted file mode 100644
index 772ce59..0000000
--- a/src/Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
-
-NULL =
-
-SUBDIRS = goa
-
-if BUILD_BACKEND
-SUBDIRS += goaidentity goabackend daemon examples
-endif
-
--include $(top_srcdir)/git.mk
diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am
deleted file mode 100644
index ee6a7c1..0000000
--- a/src/daemon/Makefile.am
+++ /dev/null
@@ -1,53 +0,0 @@
-NULL =
-
-AM_CPPFLAGS = \
- -I$(top_builddir)/src -I$(top_srcdir)/src \
- -I$(top_builddir)/src/goa \
- -I$(top_builddir)/src/goaidentity \
- -I$(top_srcdir)/src/goaidentity \
- -DG_LOG_DOMAIN=\"goa-daemon\" \
- -DGOA_BACKEND_COMPILATION \
- -DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
- -DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
- -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" \
- -DPACKAGE_BIN_DIR=\""$(bindir)"\" \
- -DPACKAGE_LOCALSTATE_DIR=\""$(localstatedir)"\" \
- -DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
- -DPACKAGE_LIB_DIR=\""$(libdir)"\" \
- -DGOA_API_IS_SUBJECT_TO_CHANGE \
- -DGOA_BACKEND_API_IS_SUBJECT_TO_CHANGE \
- $(WARN_CFLAGS) \
- $(NULL)
-
-BUILT_SOURCES = $(NULL)
-EXTRA_DIST = $(NULL)
-
-libexec_PROGRAMS = goa-daemon
-
-goa_daemon_SOURCES = \
- main.c \
- goadaemon.h goadaemon.c \
- $(NULL)
-
-goa_daemon_CFLAGS = \
- $(GLIB_CFLAGS) \
- $(GTK_CFLAGS) \
- $(REST_CFLAGS) \
- $(NULL)
-
-goa_daemon_LDADD = \
- $(GLIB_LIBS) \
- $(top_builddir)/src/goa/libgoa-1.0.la \
- $(top_builddir)/src/goabackend/libgoa-backend-1.0.la \
- $(GTK_LIBS) \
- $(REST_LIBS) \
- $(NULL)
-
-goa_daemon_LDFLAGS = \
- $(WARN_LDFLAGS) \
- $(NULL)
-
-clean-local :
- rm -f *~
-
--include $(top_srcdir)/git.mk
diff --git a/src/examples/Makefile.am b/src/examples/Makefile.am
deleted file mode 100644
index c3237a6..0000000
--- a/src/examples/Makefile.am
+++ /dev/null
@@ -1,46 +0,0 @@
-
-NULL =
-
-AM_CPPFLAGS = \
- -I$(top_builddir)/src -I$(top_srcdir)/src \
- -I$(top_builddir)/src/goa \
- -DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
- -DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
- -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" \
- -DPACKAGE_BIN_DIR=\""$(bindir)"\" \
- -DPACKAGE_LOCALSTATE_DIR=\""$(localstatedir)"\" \
- -DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
- -DPACKAGE_LIB_DIR=\""$(libdir)"\" \
- $(WARN_CFLAGS) \
- $(NULL)
-
-noinst_PROGRAMS = list-accounts lastfm-shout
-
-list_accounts_SOURCES = list-accounts.c
-list_accounts_CFLAGS = $(GLIB_CFLAGS)
-list_accounts_LDADD = $(GLIB_LIBS) ../goa/libgoa-1.0.la
-list_accounts_LDFLAGS = $(WARN_LDFLAGS)
-
-lastfm_shout_SOURCES = lastfm-shout.c
-lastfm_shout_CFLAGS = $(GLIB_CFLAGS) $(REST_CFLAGS)
-lastfm_shout_LDADD = $(GLIB_LIBS) $(REST_LIBS) ../goa/libgoa-1.0.la
-lastfm_shout_LDFLAGS = $(WARN_LDFLAGS)
-
-if BUILD_BACKEND
-noinst_PROGRAMS += introspect-providers list-providers
-
-introspect_providers_SOURCES = introspect-providers.c
-introspect_providers_CFLAGS = $(GLIB_CFLAGS) $(GTK_CFLAGS)
-introspect_providers_LDADD = $(GLIB_LIBS) $(GTK_LIBS) ../goabackend/libgoa-backend-1.0.la ../goa/libgoa-1.0.la
-introspect_providers_LDFLAGS = $(WARN_LDFLAGS)
-
-list_providers_SOURCES = list-providers.c
-list_providers_CFLAGS = $(GLIB_CFLAGS) $(GTK_CFLAGS)
-list_providers_LDADD = $(GLIB_LIBS) $(GTK_LIBS) ../goabackend/libgoa-backend-1.0.la ../goa/libgoa-1.0.la
-list_providers_LDFLAGS = $(WARN_LDFLAGS)
-endif
-
-clean-local :
- rm -f *~
-
--include $(top_srcdir)/git.mk
diff --git a/src/goa/Makefile.am b/src/goa/Makefile.am
deleted file mode 100644
index 3039236..0000000
--- a/src/goa/Makefile.am
+++ /dev/null
@@ -1,173 +0,0 @@
--include $(INTROSPECTION_MAKEFILE)
-
-NULL =
-BUILT_SOURCES =
-CLEANFILES =
-DISTCLEANFILES =
-EXTRA_DIST =
-INTROSPECTION_GIRS =
-
-AM_CPPFLAGS = \
- -I$(top_builddir)/src -I$(top_srcdir)/src \
- -I$(top_builddir)/src/goa \
- -DG_LOG_DOMAIN=\"Goa\" \
- -DGOA_COMPILATION \
- -DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
- -DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
- -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" \
- -DPACKAGE_BIN_DIR=\""$(bindir)"\" \
- -DPACKAGE_LOCALSTATE_DIR=\""$(localstatedir)"\" \
- -DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
- -DPACKAGE_LIB_DIR=\""$(libdir)"\" \
- $(WARN_CFLAGS) \
- $(NULL)
-
-# ----------------------------------------------------------------------------------------------------
-
-DISTCLEANFILES += goaconfig-stamp goaconfig.h
-BUILT_SOURCES += goaconfig-stamp
-configexecincludedir = $(libdir)/goa-1.0/include
-nodist_configexecinclude_HEADERS = goaconfig.h
-goaconfig-stamp: ../../config.status
- $(AM_V_GEN) cd $(top_builddir) && \
- $(SHELL) ./config.status src/goa/goaconfig.h
- @touch goaconfig-stamp
-
-# ----------------------------------------------------------------------------------------------------
-
-dbus_built_sources = goa-generated.c goa-generated.h goa-generated-doc-org.gnome.OnlineAccounts.Account.xml
-BUILT_SOURCES += $(dbus_built_sources)
-
-$(dbus_built_sources) : Makefile.am $(top_srcdir)/data/dbus-interfaces.xml
- $(AM_V_GEN) gdbus-codegen \
- --interface-prefix org.gnome.OnlineAccounts. \
- --c-generate-autocleanup all \
- --c-namespace Goa \
- --c-generate-object-manager \
- --generate-c-code goa-generated \
- --generate-docbook goa-generated-doc \
- $(top_srcdir)/data/dbus-interfaces.xml \
- $(NULL)
-
-# ----------------------------------------------------------------------------------------------------
-
-goaenumtypes.h: goaenums.h goaenumtypes.h.template
- $(AM_V_GEN) ( top_builddir=`cd $(top_builddir) && pwd`; \
- cd $(srcdir) && glib-mkenums --template goaenumtypes.h.template goaenums.h ) > \
- goaenumtypes.h.tmp && mv goaenumtypes.h.tmp goaenumtypes.h
-
-goaenumtypes.c: goaenums.h goaenumtypes.h goaenumtypes.c.template
- $(AM_V_GEN) ( top_builddir=`cd $(top_builddir) && pwd`; \
- cd $(srcdir) && glib-mkenums --template goaenumtypes.c.template goaenums.h ) > \
- goaenumtypes.c.tmp && mv goaenumtypes.c.tmp goaenumtypes.c
-
-enum_built_sources = \
- goaenumtypes.h goaenumtypes.c \
- $(NULL)
-
-EXTRA_DIST += goaenumtypes.h.template goaenumtypes.c.template
-
-# ----------------------------------------------------------------------------------------------------
-
-lib_LTLIBRARIES = libgoa-1.0.la
-
-libgoa_1_0_ladir = $(includedir)/goa-1.0/goa
-
-libgoa_1_0_la_HEADERS = \
- goa.h \
- goaclient.h \
- goaerror.h \
- goaenums.h \
- goaenumtypes.h \
- goaversion.h \
- goa-generated.h \
- $(NULL)
-
-libgoa_1_0_la_SOURCES = \
- goa.h \
- goaclient.h goaclient.c \
- goaerror.h goaerror.c \
- goa-generated.h goa-generated.c \
- goaenums.h \
- goaenumtypes.h goaenumtypes.c \
- goaversion.h goaversion.c \
- $(NULL)
-
-libgoa_1_0_la_CFLAGS = \
- $(GLIB_CFLAGS) \
- $(NULL)
-
-libgoa_1_0_la_LIBADD = \
- $(GLIB_LIBS) \
- $(NULL)
-
-libgoa_1_0_la_LDFLAGS = \
- $(WARN_LDFLAGS) \
- -version-info $(GOA_LT_VERSION) \
- $(NULL)
-
-# ----------------------------------------------------------------------------------------------------
-
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = goa-1.0.pc
-
-# ----------------------------------------------------------------------------------------------------
-
-if HAVE_INTROSPECTION
-Goa-1.0.gir: libgoa-1.0.la
-Goa_1_0_gir_INCLUDES = Gio-2.0
-Goa_1_0_gir_PACKAGES = glib-2.0 gobject-2.0 gio-2.0
-Goa_1_0_gir_EXPORT_PACKAGES = goa-1.0
-Goa_1_0_gir_LIBS = goa-1.0
-Goa_1_0_gir_FILES = $(libgoa_1_0_la_HEADERS) $(libgoa_1_0_la_SOURCES)
-Goa_1_0_gir_CFLAGS = $(AM_CPPFLAGS) $(libgoa_1_0_la_CFLAGS)
-Goa_1_0_gir_SCANNERFLAGS = $(WARN_SCANNERFLAGS) --c-include='goa/goa.h'
-INTROSPECTION_GIRS += Goa-1.0.gir
-
-girdir = $(datadir)/gir-1.0
-gir_DATA = Goa-1.0.gir
-
-typelibsdir = $(libdir)/girepository-1.0
-typelibs_DATA = Goa-1.0.typelib
-
-CLEANFILES += $(gir_DATA) $(typelibs_DATA)
-
-if ENABLE_VAPIGEN
--include $(VAPIGEN_MAKEFILE)
-
-goa-1.0.vapi: Goa-1.0.gir Goa-1.0.metadata goa-1.0.deps
-
-VAPIGEN_VAPIS = goa-1.0.vapi
-
-goa_1_0_vapi_DEPS = gio-2.0
-goa_1_0_vapi_METADATADIRS = $(srcdir)
-goa_1_0_vapi_FILES = Goa-1.0.gir
-
-goa-1.0.deps:
- $(AM_V_GEN) for pkg in $(goa_1_0_vapi_DEPS); do \
- echo $$pkg >> $@; \
- done
-
-vapidir = $(datadir)/vala/vapi
-vapi_DATA = $(VAPIGEN_VAPIS) $(VAPIGEN_VAPIS:.vapi=.deps)
-
-CLEANFILES += $(vapi_DATA)
-
-EXTRA_DIST += Goa-1.0.metadata
-
-endif # ENABLE_VAPIGEN
-
-endif # HAVE_INTROSPECTION
-
-# ----------------------------------------------------------------------------------------------------
-
-CLEANFILES += \
- $(dbus_built_sources) \
- $(enum_built_sources) \
- goa-generated-doc-*.xml \
- $(NULL)
-
-clean-local :
- rm -f *~
-
--include $(top_srcdir)/git.mk
diff --git a/src/goabackend/Makefile.am b/src/goabackend/Makefile.am
deleted file mode 100644
index 59909c5..0000000
--- a/src/goabackend/Makefile.am
+++ /dev/null
@@ -1,224 +0,0 @@
-
-NULL =
-CLEANFILES =
-EXTRA_DIST =
-
-AM_CPPFLAGS = \
- -I$(top_builddir)/src -I$(top_srcdir)/src \
- -I$(top_builddir)/src -I$(top_srcdir)/src \
- -I$(top_builddir)/src/goa \
- -I$(top_srcdir)/src/goaidentity \
- -I$(top_builddir)/src/goaidentity \
- -DG_LOG_DOMAIN=\"GoaBackend\" \
- -DGOA_BACKEND_COMPILATION \
- -DGOA_API_IS_SUBJECT_TO_CHANGE \
- -DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
- -DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
- -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" \
- -DPACKAGE_BIN_DIR=\""$(bindir)"\" \
- -DPACKAGE_LOCALSTATE_DIR=\""$(localstatedir)"\" \
- -DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
- -DPACKAGE_LIB_DIR=\""$(libdir)"\" \
- -DPACKAGE_WEB_EXTENSIONS_DIR=\""$(libdir)/goa-1.0/web-extensions"\" \
- $(WARN_CFLAGS) \
- $(NULL)
-
-# ----------------------------------------------------------------------------------------------------
-
-goabackendenumtypes.h: goabackendenums.h goabackendenumtypes.h.template
- $(AM_V_GEN) ( top_builddir=`cd $(top_builddir) && pwd`; \
- cd $(srcdir) && glib-mkenums --template goabackendenumtypes.h.template goabackendenums.h ) > \
- goabackendenumtypes.h.tmp && mv goabackendenumtypes.h.tmp goabackendenumtypes.h
-
-goabackendenumtypes.c: goabackendenums.h goabackendenumtypes.c.template goabackendenumtypes.h
- $(AM_V_GEN) ( top_builddir=`cd $(top_builddir) && pwd`; \
- cd $(srcdir) && glib-mkenums --template goabackendenumtypes.c.template goabackendenums.h ) > \
- goabackendenumtypes.c.tmp && mv goabackendenumtypes.c.tmp goabackendenumtypes.c
-
-enum_built_sources = \
- goabackendenumtypes.h goabackendenumtypes.c \
- $(NULL)
-
-EXTRA_DIST += goabackendenumtypes.h.template goabackendenumtypes.c.template
-
-# ----------------------------------------------------------------------------------------------------
-
-lib_LTLIBRARIES = libgoa-backend-1.0.la
-
-libgoa_backend_1_0_ladir = $(includedir)/goa-1.0/goabackend
-
-libgoa_backend_1_0_la_HEADERS = \
- goabackend.h \
- goabackendenums.h \
- goabackendenumtypes.h \
- goaprovider.h \
- $(NULL)
-
-libgoa_backend_1_0_la_built_sources = \
- goadleynaservermanager.h goadleynaservermanager.c \
- goadleynaservermediadevice.h goadleynaservermediadevice.c \
- $(NULL)
-
-nodist_libgoa_backend_1_0_la_SOURCES = \
- $(libgoa_backend_1_0_la_built_sources) \
- $(NULL)
-
-libgoa_backend_1_0_la_SOURCES = \
- goabackend.h \
- goabackendenums-priv.h \
- goabackendenumtypes.h goabackendenumtypes.c \
- gconstructor.h goabackendinit.c \
- goadlnaservermanager.h goadlnaservermanager.c \
- goaewsclient.h goaewsclient.c \
- goahttpclient.h goahttpclient.c \
- goaprovider-priv.h goaprovider.c \
- goamailauth.h goamailauth.c \
- goaimapauthlogin.h goaimapauthlogin.c \
- goarestproxy.h goarestproxy.c \
- goasmtpauth.h goasmtpauth.c \
- goasouplogger.h goasouplogger.c \
- goamailclient.h goamailclient.c \
- goaexchangeprovider.h goaexchangeprovider.c \
- goaoauthprovider.h goaoauthprovider.c \
- goaoauth2provider.h goaoauth2provider-priv.h \
- goaoauth2provider-web-extension.h \
- goaoauth2provider-web-view.h \
- goaoauth2provider.c \
- goagoogleprovider.h goagoogleprovider.c \
- goaimapsmtpprovider.h goaimapsmtpprovider.c \
- goamediaserverprovider.h goamediaserverprovider.c \
- goaowncloudprovider.h goaowncloudprovider.c \
- goawindowsliveprovider.h goawindowsliveprovider.c \
- goalastfmprovider.h goalastfmprovider.c \
- goaobjectskeletonutils.h goaobjectskeletonutils.c \
- goautils.h goautils.c \
- goawebview.h goawebview.c \
- nautilus-floating-bar.h nautilus-floating-bar.c \
- $(top_builddir)/src/goaidentity/org.gnome.Identity.c \
- $(top_srcdir)/src/goaidentity/goaidentitymanagererror.c \
- $(NULL)
-
-if BUILD_FEDORA
-libgoa_backend_1_0_la_SOURCES += \
- goafedoraprovider.h goafedoraprovider.c
-endif
-
-if BUILD_KERBEROS
-libgoa_backend_1_0_la_SOURCES += \
- goakerberosprovider.h goakerberosprovider.c
-endif
-
-libgoa_backend_1_0_la_CFLAGS = \
- $(JAVASCRIPT_CORE_GTK_CFLAGS) \
- $(WEBKIT_GTK_CFLAGS) \
- $(JSON_GLIB_CFLAGS) \
- $(GCR_CFLAGS) \
- $(GLIB_CFLAGS) \
- $(GTK_CFLAGS) \
- $(REST_CFLAGS) \
- $(SECRET_CFLAGS) \
- $(LIBSOUP_CFLAGS) \
- $(LIBXML_CFLAGS) \
- $(TP_CFLAGS) \
- $(TPAW_CFLAGS) \
- $(NULL)
-
-libgoa_backend_1_0_la_LIBADD = \
- $(top_builddir)/src/goa/libgoa-1.0.la \
- $(JAVASCRIPT_CORE_GTK_LIBS) \
- $(WEBKIT_GTK_LIBS) \
- $(JSON_GLIB_LIBS) \
- $(GCR_LIBS) \
- $(GLIB_LIBS) \
- $(GTK_LIBS) \
- $(REST_LIBS) \
- $(SECRET_LIBS) \
- $(LIBSOUP_LIBS) \
- $(LIBXML_LIBS) \
- $(TP_LIBS) \
- $(TPAW_LIBS) \
- $(NULL)
-
-libgoa_backend_1_0_la_LDFLAGS = \
- $(WARN_LDFLAGS) \
- -version-info $(GOA_BACKEND_LT_VERSION) \
- $(NULL)
-
-# ----------------------------------------------------------------------------------------------------
-
-webextension_LTLIBRARIES = libgoawebextension.la
-
-webextensiondir = $(libdir)/goa-1.0/web-extensions
-
-libgoawebextension_la_SOURCES = \
- goawebextension.h goawebextension.c \
- goawebextensionmain.c \
- $(NULL)
-
-libgoawebextension_la_CFLAGS = \
- $(REST_CFLAGS) \
- $(WEBKIT_GTK_CFLAGS) \
- $(NULL)
-
-libgoawebextension_la_LIBADD = \
- libgoa-backend-1.0.la \
- $(REST_LIBS) \
- $(WEBKIT_GTK_LIBS) \
- $(NULL)
-
-libgoawebextension_la_LDFLAGS = \
- -avoid-version \
- -module \
- -no-undefined \
- $(NULL)
-
-# Force installation order: libgoa-backend-1.0 must be installed first, othwerwise
-# libtool will incorrectly relink libgoawebextension.la under parallel make install.
-# Requires ugly automake syntax - see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
-
-installwebextensionLTLIBRARIES = install-webextensionLTLIBRARIES
-$(installwebextensionLTLIBRARIES): install-libLTLIBRARIES
-
-# ----------------------------------------------------------------------------------------------------
-
-BUILT_SOURCES = \
- $(libgoa_backend_1_0_la_built_sources) \
- $(NULL)
-
-EXTRA_DIST += \
- goadleynaservermanager.xml \
- goadleynaservermediadevice.xml \
- $(NULL)
-
-goadleynaservermanager.h goadleynaservermanager.c: goadleynaservermanager.xml
- $(AM_V_GEN)gdbus-codegen \
- --c-generate-autocleanup all \
- --c-namespace DleynaServer \
- --generate-c-code goadleynaservermanager \
- --interface-prefix com.intel.dLeynaServer. \
- $<
-
-goadleynaservermediadevice.h goadleynaservermediadevice.c: goadleynaservermediadevice.xml
- $(AM_V_GEN)gdbus-codegen \
- --c-generate-autocleanup all \
- --c-namespace DleynaServer \
- --generate-c-code goadleynaservermediadevice \
- --interface-prefix com.intel.dLeynaServer. \
- $<
-
-# ----------------------------------------------------------------------------------------------------
-
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = goa-backend-1.0.pc
-
-# ----------------------------------------------------------------------------------------------------
-
-CLEANFILES += \
- $(BUILT_SOURCES) \
- $(enum_built_sources) \
- $(NULL)
-
-clean-local :
- rm -f *~
-
--include $(top_srcdir)/git.mk
diff --git a/src/goaidentity/Makefile.am b/src/goaidentity/Makefile.am
deleted file mode 100644
index da09a0e..0000000
--- a/src/goaidentity/Makefile.am
+++ /dev/null
@@ -1,118 +0,0 @@
-NULL =
-BUILT_SOURCES = $(NULL)
-EXTRA_DIST = $(NULL)
-CLEANFILES= $(NULL)
-
-AM_CPPFLAGS = \
- -I$(top_builddir)/src -I$(top_srcdir)/src \
- -I$(top_builddir)/src/goa \
- -I$(top_srcdir)/src/goabackend \
- -DG_LOG_DOMAIN=\"libgoaidentity\" \
- -DGOA_BACKEND_COMPILATION \
- -DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
- -DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
- -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" \
- -DPACKAGE_BIN_DIR=\""$(bindir)"\" \
- -DPACKAGE_LOCALSTATE_DIR=\""$(localstatedir)"\" \
- -DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
- -DPACKAGE_LIB_DIR=\""$(libdir)"\" \
- -DGOA_API_IS_SUBJECT_TO_CHANGE \
- -DGOA_BACKEND_API_IS_SUBJECT_TO_CHANGE \
- $(WARN_CFLAGS) \
- $(NULL)
-
-identity_headers = \
- goaalarm.h \
- goaidentity.h \
- goaidentityinquiry.h \
- goaidentityinquiryprivate.h \
- goaidentityservice.h \
- goaidentitymanagerprivate.h \
- goaidentitymanager.h \
- goaidentitymanagererror.h \
- goaidentityutils.h \
- goakerberosidentity.h \
- goakerberosidentityinquiry.h \
- goakerberosidentitymanager.h \
- $(NULL)
-
-identity_sources = \
- $(identity_headers) \
- goaalarm.c \
- goaidentity.c \
- goaidentityinquiry.c \
- goaidentityservice.c \
- goaidentitymanager.c \
- goaidentitymanagererror.c \
- goaidentityutils.c \
- goakerberosidentity.c \
- goakerberosidentityinquiry.c \
- goakerberosidentitymanager.c \
- main.c \
- $(NULL)
-
-identity_dbus_built_sources = \
- org.gnome.Identity.c org.gnome.Identity.h \
- $(NULL)
-
-$(identity_dbus_built_sources) : Makefile.am org.gnome.Identity.xml
- $(AM_V_GEN) gdbus-codegen \
- --interface-prefix org.gnome.Identity. \
- --c-namespace GoaIdentityService \
- --c-generate-object-manager \
- --generate-c-code org.gnome.Identity \
- $(srcdir)/org.gnome.Identity.xml \
- --annotate "org.gnome.Identity" \
- "org.gtk.GDBus.C.Name" Identity \
- $(NULL)
-BUILT_SOURCES += $(identity_dbus_built_sources)
-EXTRA_DIST += org.gnome.Identity.xml
-
-goaidentityenumtypes.h: goaidentityenumtypes.h.in $(identity_headers)
- $(AM_V_GEN) glib-mkenums --template $^ > $@
-EXTRA_DIST += goaidentityenumtypes.h.in
-BUILT_SOURCES += goaidentityenumtypes.h
-
-goaidentityenumtypes.c: goaidentityenumtypes.c.in $(identity_headers)
- $(AM_V_GEN) glib-mkenums --template $^ > $@
-EXTRA_DIST += goaidentityenumtypes.c.in
-BUILT_SOURCES += goaidentityenumtypes.c
-
-if BUILD_IDENTITY_SERVICE
-libexec_PROGRAMS = goa-identity-service
-
-goa_identity_service_SOURCES = \
- goaidentityenumtypes.h goaidentityenumtypes.c \
- $(identity_dbus_built_sources) \
- $(identity_sources) \
- $(NULL)
-
-goa_identity_service_CFLAGS = \
- $(GLIB_CFLAGS) \
- $(GTK_CFLAGS) \
- $(KRB5_CFLAGS) \
- $(GCR_CFLAGS) \
- $(NULL)
-
-goa_identity_service_LDADD = \
- $(top_builddir)/src/goa/libgoa-1.0.la \
- $(GLIB_LIBS) \
- $(GTK_LIBS) \
- $(KRB5_LIBS) \
- $(GCR_LIBS) \
- $(NULL)
-
-goa_identity_service_LDFLAGS = \
- $(WARN_LDFLAGS) \
- $(NULL)
-
-else
-EXTRA_DIST += $(identity_sources)
-endif
-
-CLEANFILES += $(BUILT_SOURCES)
-
-clean-local :
- rm -f *~
-
--include $(top_srcdir)/git.mk