keystore/plaintext: rename to memory
[vlc.git] / modules / keystore / Makefile.am
1 keystoredir = $(pluginsdir)/keystore
2
3 libmemory_keystore_plugin_la_SOURCES = keystore/memory.c
4 keystore_LTLIBRARIES = libmemory_keystore_plugin.la
5
6 libsecret_plugin_la_SOURCES = keystore/secret.c
7 libsecret_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(SECRET_CFLAGS)
8 libsecret_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(keystoredir)'
9 libsecret_plugin_la_LIBADD = $(SECRET_LIBS)
10
11
12 # Meta-object compilation
13
14 SUFFIXES += .hpp .moc.cpp
15 moc_verbose = $(moc_verbose_$(V))
16 moc_verbose_ = $(moc_verbose__$(AM_DEFAULT_VERBOSITY))
17 moc_verbose_0 = @echo "  MOC   " $@;
18 moc_verbose__0 = $(moc_verbose_0)
19
20 .hpp.moc.cpp:
21         $(moc_verbose)$(MOC) $(MOC_CPPFLAGS) -o $@ $<
22
23 nodist_libkwallet_plugin_la_SOURCES = keystore/kwallet.moc.cpp
24 CLEANFILES += $(nodist_libkwallet_plugin_la_SOURCES)
25 libkwallet_plugin_la_SOURCES = keystore/kwallet.cpp keystore/kwallet.hpp
26 libkwallet_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) $(KWALLET_CXXFLAGS)
27 libkwallet_plugin_la_LIBADD = $(KWALLET_LIBS)
28 if HAVE_KWALLET
29 keystore_LTLIBRARIES += libkwallet_plugin.la
30 endif
31
32 libkeychain_plugin_la_SOURCES = keystore/keychain.m
33 libkeychain_plugin_la_OBJCFLAGS = $(AM_CFLAGS) -fobjc-arc
34 libkeychain_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(keystoredir)' -Wl,-framework,Foundation -Wl,-framework,Security
35
36 if HAVE_DARWIN
37 keystore_LTLIBRARIES += libkeychain_plugin.la
38 endif
39
40 keystore_LTLIBRARIES += \
41         $(LTLIBsecret)
42
43 EXTRA_LTLIBRARIES += \
44         libsecret_plugin.la