4 TESTABLE_LIB = libgcr-testable.la
10 SUBDIRS = . $(TESTS_DIR)
12 # ------------------------------------------------------------------
16 uidir = $(datadir)/gcr@GCR_VERSION_SUFFIX@/ui/
19 gcr-import-dialog.ui \
20 gcr-unlock-options-widget.ui
22 # ------------------------------------------------------------------
25 incdir = $(includedir)/gcr@GCR_VERSION_SUFFIX@/gcr
30 gcr-certificate-basics-widget.h \
31 gcr-certificate-chain.h \
32 gcr-certificate-details-widget.h \
33 gcr-certificate-renderer.h \
34 gcr-certificate-widget.h \
36 gcr-collection-model.h \
38 gcr-combo-selector.h \
45 gcr-pkcs11-certificate.h \
47 gcr-simple-certificate.h \
48 gcr-simple-collection.h \
52 gcr-unlock-options.h \
53 gcr-unlock-options-widget.h \
56 # ------------------------------------------------------------------
69 gcr-marshal.c gcr-marshal.h
71 lib_LTLIBRARIES = libgcr@GCR_VERSION_SUFFIX@.la
73 libgcr@GCR_VERSION_SUFFIX@_la_SOURCES = \
74 gcr-certificate.c gcr-certificate.h \
75 gcr-certificate-basics-widget.h gcr-certificate-basics-widget.c \
76 gcr-certificate-chain.c gcr-certificate-chain.h \
77 gcr-certificate-details-widget.h gcr-certificate-details-widget.c \
78 gcr-certificate-renderer.c gcr-certificate-renderer.h \
79 gcr-certificate-exporter.c gcr-certificate-exporter.h \
80 gcr-certificate-widget.c gcr-certificate-widget.h \
81 gcr-collection.c gcr-collection.h \
82 gcr-collection-model.c gcr-collection-model.h \
83 gcr-combo-selector.c gcr-combo-selector.h \
84 gcr-comparable.c gcr-comparable.h \
85 gcr-debug.c gcr-debug.h \
86 gcr-display-scrolled.c gcr-display-scrolled.h \
87 gcr-display-view.c gcr-display-view.h \
88 gcr-gnupg-collection.c gcr-gnupg-collection.h \
89 gcr-gnupg-key.c gcr-gnupg-key.h \
90 gcr-fingerprint.c gcr-fingerprint.h \
91 gcr-icons.c gcr-icons.h \
92 gcr-import-dialog.c gcr-import-dialog.h \
93 gcr-importer.c gcr-importer.h \
95 gcr-key-renderer.c gcr-key-renderer.h \
96 gcr-key-widget.c gcr-key-widget.h \
97 gcr-library.c gcr-library.h \
98 gcr-parser.c gcr-parser.h \
99 gcr-pkcs11-certificate.c gcr-pkcs11-certificate.h \
100 gcr-record.c gcr-record.h \
101 gcr-renderer.c gcr-renderer.h \
102 gcr-simple-certificate.c gcr-simple-certificate.h \
103 gcr-simple-collection.c gcr-simple-collection.h \
104 gcr-tree-selector.c gcr-tree-selector.h \
105 gcr-trust.c gcr-trust.h \
107 gcr-unlock-options.h \
108 gcr-unlock-options-widget.c gcr-unlock-options-widget.h \
109 gcr-util.c gcr-util.h \
110 gcr-viewer.c gcr-viewer.h \
113 libgcr@GCR_VERSION_SUFFIX@_la_CFLAGS = \
114 -DGCK_API_SUBJECT_TO_CHANGE \
115 -DGCR_API_SUBJECT_TO_CHANGE \
117 -DUIDIR=\""$(uidir)"\"
119 libgcr@GCR_VERSION_SUFFIX@_la_LDFLAGS = \
120 -version-info $(GCR_LT_RELEASE) \
122 -export-symbols-regex '^gcr_*'
124 libgcr@GCR_VERSION_SUFFIX@_la_LIBADD = \
125 $(top_builddir)/egg/libegg.la \
126 $(top_builddir)/egg/libegg-entry-buffer.la \
127 $(top_builddir)/gck/libgck.la \
133 noinst_LTLIBRARIES = $(TESTABLE_LIB)
134 libgcr_testable_la_SOURCES =
135 libgcr_testable_la_LIBADD = $(libgcr@GCR_VERSION_SUFFIX@_la_OBJECTS) \
136 $(libgcr@GCR_VERSION_SUFFIX@_la_LIBADD)
137 libgcr_testable_la_DEPENDENCIES = $(libgcr@GCR_VERSION_SUFFIX@_la_OBJECTS)
139 gcr-marshal.h: gcr-marshal.list $(GLIB_GENMARSHAL)
140 $(GLIB_GENMARSHAL) $< --header --prefix=_gcr_marshal > $@
142 gcr-marshal.c: gcr-marshal.list $(GLIB_GENMARSHAL)
143 echo "#include \"gcr-marshal.h\"" > $@ && \
144 $(GLIB_GENMARSHAL) $< --body --prefix=_gcr_marshal >> $@
146 pkgconfigdir = $(libdir)/pkgconfig
147 pkgconfig_DATA = gcr-$(GCR_MAJOR).pc
149 gcr-$(GCR_MAJOR).pc: gcr.pc
150 cp gcr.pc gcr-$(GCR_MAJOR).pc
153 # ----------------------------------------------------------------
155 libgcr.symbols: .libs/libgcr@GCR_VERSION_SUFFIX@.so
156 nm -D .libs/libgcr@GCR_VERSION_SUFFIX@.so | grep -F ' T ' | \
157 cut -d ' ' -f 3 | sort > $@