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 = \
|
2011-09-25 06:22:36 +00:00
|
|
|
gsecret-value.h gsecret-value.c \
|
|
|
|
gsecret-item.h gsecret-item.c \
|
|
|
|
gsecret-service.h gsecret-service.c \
|
|
|
|
gsecret-util.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]
|
|
|
|
|
|
|
|
gsecret-dbus-generated.h: gsecret-dbus-generated.c
|