aboutsummaryrefslogtreecommitdiff
path: root/plugins/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Makefile.am')
-rw-r--r--plugins/Makefile.am49
1 files changed, 49 insertions, 0 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
new file mode 100644
index 0000000..8fecd5c
--- /dev/null
+++ b/plugins/Makefile.am
@@ -0,0 +1,49 @@
+NULL =
+
+pkglibdir = $(KA_PLUGINS_DIR)
+
+if ENABLE_PAM_PLUGIN
+ PAM_PLUGIN = libka-plugin-pam.la
+else
+ PAM_PLUGIN =
+endif
+
+pkglib_LTLIBRARIES = \
+ libka-plugin-dummy.la \
+ $(PAM_PLUGIN) \
+ $(NULL)
+
+# Dummy example plugin
+libka_plugin_dummy_la_SOURCES = \
+ ka-plugin-dummy.c \
+ ka-plugin-dummy.h \
+ $(NULL)
+
+libka_plugin_dummy_la_CPPFLAGS = \
+ $(GTK_CFLAGS) \
+ -I$(top_srcdir)/src \
+ $(NULL)
+
+libka_plugin_dummy_la_LDFLAGS = \
+ -module \
+ -avoid-version \
+ $(NULL)
+
+# PAM plugin
+if ENABLE_PAM_PLUGIN
+libka_plugin_pam_la_SOURCES = \
+ ka-plugin-pam.c \
+ ka-plugin-pam.h \
+ $(NULL)
+
+libka_plugin_pam_la_CPPFLAGS = \
+ $(GTK_CFLAGS) \
+ -I$(top_srcdir)/src \
+ $(NULL)
+
+libka_plugin_pam_la_LDFLAGS = \
+ -module \
+ -avoid-version \
+ $(PAM_LIBS) \
+ $(NULL)
+endif
bgstack15