1plugin_LTLIBRARIES = libgda-ui-plugins.la 2plugindir = $(libdir)/libgda-$(GDA_ABI_MAJOR_VERSION).$(GDA_ABI_MINOR_VERSION)/plugins 3 4AM_CPPFLAGS = \ 5 -I$(top_srcdir) -I$(top_srcdir)/libgda -I$(srcdir)/.. \ 6 -I$(top_builddir) \ 7 $(COREDEPS_CFLAGS) \ 8 $(COREDEPS_WFLAGS) \ 9 $(GTK_CFLAGS) \ 10 $(LIBGCRYPT_CFLAGS) \ 11 $(GTKSOURCEVIEW_CFLAGS) \ 12 -DPREFIX=\""$(prefix)"\" \ 13 -DSYSCONFDIR=\""$(sysconfdir)"\" \ 14 -DDATADIR=\""$(datadir)"\" \ 15 -DLIBDIR=\""$(plugindir)"\" 16 17if HAVE_LIBGCRYPT 18gcrypt_headers= gdaui-entry-password.h \ 19 gdaui-data-cell-renderer-password.h 20gcrypt_sources= gdaui-entry-password.c \ 21 gdaui-data-cell-renderer-password.c 22else 23gcrypt_headers= 24gcrypt_sources= 25endif 26 27plugins_headers = \ 28 common-pict.h \ 29 gdaui-data-cell-renderer-pict.h \ 30 gdaui-entry-filesel.h \ 31 gdaui-entry-cidr.h \ 32 gdaui-entry-format.h \ 33 gdaui-entry-text.h \ 34 gdaui-entry-pict.h \ 35 gdaui-entry-rt.h \ 36 $(gcrypt_headers) 37 38libgda_ui_plugins_la_SOURCES = \ 39 $(plugins_headers) \ 40 gdaui-data-cell-renderer-util.c \ 41 gdaui-data-cell-renderer-util.h \ 42 common-pict.c \ 43 custom-marshal.c \ 44 custom-marshal.h \ 45 libmain.c \ 46 gdaui-data-cell-renderer-pict.c \ 47 gdaui-entry-filesel.c \ 48 gdaui-entry-cidr.c \ 49 gdaui-entry-format.c \ 50 gdaui-entry-text.c \ 51 gdaui-entry-pict.c \ 52 gdaui-entry-rt.c \ 53 $(gcrypt_sources) 54 55libgda_ui_plugins_la_LDFLAGS = -export-dynamic -module -avoid-version $(NO_UNDEFINED) 56libgda_ui_plugins_la_LIBADD = \ 57 $(top_builddir)/libgda-ui/libgda-ui-5.0.la \ 58 $(top_builddir)/libgda/libgda-5.0.la \ 59 $(LIBGCRYPT_LIBS) \ 60 $(COREDEPS_LIBS) \ 61 $(GTK_LIBS) \ 62 $(GTKSOURCEVIEW_LIBS) 63 64xmldir = $(libdir)/libgda-$(GDA_ABI_MAJOR_VERSION).$(GDA_ABI_MINOR_VERSION)/plugins 65xml_in_files = \ 66 gdaui-entry-pict-spec.xml.in \ 67 gdaui-entry-pict-spec_string.xml.in \ 68 gdaui-entry-filesel-spec.xml.in \ 69 gdaui-entry-password.xml.in \ 70 gdaui-entry-text-spec.xml.in \ 71 gdaui-entry-format-spec.xml.in 72 73xml_DATA = $(xml_in_files:.xml.in=.xml) 74 75@INTLTOOL_XML_RULE@ 76 77langspecdir=$(datadir)/libgda-$(GDA_ABI_MAJOR_VERSION).$(GDA_ABI_MINOR_VERSION)/language-specs 78langspec_DATA= \ 79 gda-sql.lang 80 81EXTRA_DIST = $(xml_in_files) \ 82 $(langspec_DATA) 83DISTCLEANFILES = $(xml_DATA) 84