--- /dev/null
+extensionsdir = $(pkglibdir)/extensions
+pluginsdir = $(pkglibdir)/plugins
typedef struct _GSignondConfigClass GSignondConfigClass;
typedef struct _GSignondConfigPrivate GSignondConfigPrivate;
-
-#ifndef GSIGNOND_PLUGINS_DIR
-# define GSIGNOND_PLUGINS_DIR "/usr/lib/signon"
-#endif
-
-#ifndef GSIGNOND_PLUGIN_PREFIX
-# define GSIGNOND_PLUGIN_PREFIX "lib"
-#endif
-
-#ifndef GSIGNOND_PLUGIN_SUFFIX
-# define GSIGNOND_PLUGIN_SUFFIX "plugin.so"
-#endif
-
-#ifndef GSIGNOND_EXTENSIONS_DIR
-# define GSIGNOND_EXTENSIONS_DIR "/usr/lib"
-#endif
-
struct _GSignondConfig
{
GObject parent;
+include $(top_srcdir)/common.mk
+
SUBDIRS = db
NULL=
-I$(top_srcdir)/src \
-I$(top_srcdir)/include \
$(GSIGNOND_CFLAGS) \
+ -DGSIGNOND_PLUGINS_DIR='"$(pluginsdir)"' \
+ -DGSIGNOND_EXTENSIONS_DIR='"$(extensionsdir)"' \
$(NULL)
libgsignond_common_la_DEPENDENCIES = \
-lib_LTLIBRARIES = libextension-test.la
+include $(top_srcdir)/common.mk
+extensions_LTLIBRARIES = libextension-test.la
libextension_test_la_CPPFLAGS = \
-I$(top_srcdir) \
-lib_LTLIBRARIES = libpasswordplugin.la
+include $(top_srcdir)/common.mk
+plugins_LTLIBRARIES = libpasswordplugin.la
NULL=
libpasswordplugin_la_CPPFLAGS = \