2011-06-12 20:55:02 +00:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
|
|
|
|
2011-09-25 06:22:36 +00:00
|
|
|
SUBDIRS = . tests
|
2011-06-12 20:55:02 +00:00
|
|
|
|
|
|
|
module_flags = \
|
|
|
|
-export_dynamic \
|
|
|
|
-avoid-version \
|
|
|
|
-module \
|
|
|
|
-no-undefined \
|
|
|
|
-export-symbols-regex '^gsecret_'
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libgsecret.la
|
|
|
|
|
2011-11-05 19:59:00 +00:00
|
|
|
BUILT_SOURCES = \
|
|
|
|
gsecret-dbus-generated.c gsecret-dbus-generated.h
|
|
|
|
|
2011-06-12 20:55:02 +00:00
|
|
|
libgsecret_la_SOURCES = \
|
2012-01-20 14:10:35 +00:00
|
|
|
gsecret-collection.h gsecret-collection.c \
|
2011-09-25 06:22:36 +00:00
|
|
|
gsecret-item.h gsecret-item.c \
|
2012-01-11 06:44:32 +00:00
|
|
|
gsecret-password.h gsecret-password.c \
|
|
|
|
gsecret-prompt.h gsecret-prompt.c \
|
2011-09-25 06:22:36 +00:00
|
|
|
gsecret-service.h gsecret-service.c \
|
|
|
|
gsecret-util.c \
|
2012-01-20 14:10:35 +00:00
|
|
|
gsecret-value.h gsecret-value.c \
|
2011-11-05 19:59:00 +00:00
|
|
|
$(BUILT_SOURCES) \
|
2011-09-25 06:22:36 +00:00
|
|
|
$(NULL)
|
2011-06-12 20:55:02 +00:00
|
|
|
|
2011-09-25 08:03:48 +00:00
|
|
|
libgsecret_la_CFLAGS = \
|
|
|
|
$(LIBGCRYPT_CFLAGS)
|
|
|
|
|
2011-06-12 20:55:02 +00:00
|
|
|
libgsecret_la_LIBADD = \
|
|
|
|
$(top_builddir)/egg/libegg.la \
|
2011-09-25 08:03:48 +00:00
|
|
|
$(LIBGCRYPT_LIBS) \
|
2011-11-05 19:59:00 +00:00
|
|
|
$(LIBS)
|
|
|
|
|
|
|
|
DBUS_XML_DEFINITIONS = \
|
|
|
|
org.freedesktop.Secrets.xml
|
|
|
|
|
|
|
|
gsecret-dbus-generated.c: $(DBUS_XML_DEFINITIONS) Makefile.am
|
|
|
|
$(AM_V_GEN) gdbus-codegen --interface-prefix org.freedesktop.Secret. \
|
|
|
|
--generate-c-code gsecret-dbus-generated --c-namespace GSecretGen \
|
|
|
|
$(DBUS_XML_DEFINITIONS)
|
|
|
|
$(AM_V_GEN) sed -i -e 's/gsecret_gen_/_gsecret_gen_/g' gsecret-dbus-generated.[ch]
|
2012-01-11 18:56:30 +00:00
|
|
|
$(AM_V_GEN) sed -i -e '1i #define GLIB_DISABLE_DEPRECATION_WARNINGS' gsecret-dbus-generated.c
|
2011-11-05 19:59:00 +00:00
|
|
|
gsecret-dbus-generated.h: gsecret-dbus-generated.c
|
2011-11-12 07:08:12 +00:00
|
|
|
|
|
|
|
check-memory:
|
|
|
|
make -C tests check-memory
|