Makefile.am 1.46 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 15 16
if HAVE_WIN32
libfile_keystore_plugin_la_SOURCES += keystore/file_crypt_win32.c
libfile_keystore_plugin_la_LIBADD = -lcrypt32
endif
17 18
keystore_LTLIBRARIES += libfile_keystore_plugin.la

19 20 21 22 23
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)

24 25
libkwallet_plugin_la_SOURCES = keystore/kwallet.c
libkwallet_plugin_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
26
libkwallet_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(keystoredir)'
27 28
libkwallet_plugin_la_LIBADD = $(DBUS_LIBS) $(LIBM)

29
libkeychain_plugin_la_SOURCES = keystore/keychain.m
30
libkeychain_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS) -fobjc-arc
31
libkeychain_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(keystoredir)' -Wl,-framework,Foundation -Wl,-framework,Security -Wl,-framework,Cocoa
32

33
if HAVE_OSX
34 35 36
keystore_LTLIBRARIES += libkeychain_plugin.la
endif

37
keystore_LTLIBRARIES += \
38 39
	$(LTLIBsecret) \
	$(LTLIBkwallet)
40 41

EXTRA_LTLIBRARIES += \
42 43
	libsecret_plugin.la \
	libkwallet_plugin.la