Makefile.am 1.31 KB
Newer Older
1 2
keystoredir = $(pluginsdir)/keystore

3 4
libmemory_keystore_plugin_la_SOURCES = keystore/memory.c \
	keystore/list_util.c keystore/list_util.h
5
keystore_LTLIBRARIES = libmemory_keystore_plugin.la
6

7
libfile_keystore_plugin_la_SOURCES = keystore/file.c \
8
	keystore/file_crypt.h \
9
	keystore/list_util.c keystore/list_util.h
10 11 12
if HAVE_ANDROID
libfile_keystore_plugin_la_SOURCES += keystore/file_crypt_android.c
endif
13 14
keystore_LTLIBRARIES += libfile_keystore_plugin.la

15 16 17 18 19
libsecret_plugin_la_SOURCES = keystore/secret.c
libsecret_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(SECRET_CFLAGS)
libsecret_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(keystoredir)'
libsecret_plugin_la_LIBADD = $(SECRET_LIBS)

20 21
libkwallet_plugin_la_SOURCES = keystore/kwallet.c
libkwallet_plugin_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
22
libkwallet_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(keystoredir)'
23 24
libkwallet_plugin_la_LIBADD = $(DBUS_LIBS) $(LIBM)

25 26 27 28
libkeychain_plugin_la_SOURCES = keystore/keychain.m
libkeychain_plugin_la_OBJCFLAGS = $(AM_CFLAGS) -fobjc-arc
libkeychain_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(keystoredir)' -Wl,-framework,Foundation -Wl,-framework,Security

29
if HAVE_OSX
30 31 32
keystore_LTLIBRARIES += libkeychain_plugin.la
endif

33
keystore_LTLIBRARIES += \
34 35
	$(LTLIBsecret) \
	$(LTLIBkwallet)
36 37

EXTRA_LTLIBRARIES += \
38 39
	libsecret_plugin.la \
	libkwallet_plugin.la