goa: Add missing linker flag.
[platform/upstream/evolution-data-server.git] / modules / gnome-online-accounts / Makefile.am
1 NULL =
2
3 module_LTLIBRARIES = module-gnome-online-accounts.la
4
5 # These aren't actually backends, but that's all
6 # the installation directory has historically held.
7 ecal_backend_LTLIBRARIES = module-data-cal-factory-goa.la
8 ebook_backend_LTLIBRARIES = module-data-book-factory-goa.la
9
10 module_gnome_online_accounts_la_CPPFLAGS = \
11         $(AM_CPPFLAGS) \
12         -I$(top_srcdir) \
13         -DG_LOG_DOMAIN=\"module-gnome-online-accounts\" \
14         $(E_BACKEND_CFLAGS) \
15         $(CAMEL_CFLAGS) \
16         $(SOUP_CFLAGS) \
17         $(GOA_CFLAGS) \
18         $(NULL)
19
20 module_gnome_online_accounts_la_SOURCES = \
21         module-gnome-online-accounts.c \
22         e-goa-password-based.c \
23         e-goa-password-based.h \
24         goaewsclient.c \
25         goaewsclient.h \
26         $(NULL)
27
28 module_gnome_online_accounts_la_LIBADD = \
29         $(top_builddir)/libebackend/libebackend-1.2.la \
30         $(top_builddir)/libedataserver/libedataserver-1.2.la \
31         $(E_BACKEND_LIBS) \
32         $(CAMEL_LIBS) \
33         $(SOUP_LIBS) \
34         $(GOA_LIBS) \
35         $(NULL)
36
37 module_gnome_online_accounts_la_LDFLAGS = \
38         -module -avoid-version $(NO_UNDEFINED) \
39         $(NULL)
40
41 module_data_factory_goa_CPPFLAGS = \
42         $(AM_CPPFLAGS) \
43         -I$(top_srcdir) \
44         -DG_LOG_DOMAIN=\"module-data-factory-goa\" \
45         $(E_BACKEND_CFLAGS) \
46         $(CAMEL_CFLAGS) \
47         $(SOUP_CFLAGS) \
48         $(GOA_CFLAGS) \
49         $(NULL)
50
51 module_data_factory_goa_SOURCES = \
52         module-data-factory-goa.c \
53         $(NULL)
54
55 module_data_factory_goa_LIBADD = \
56         $(top_builddir)/camel/libcamel-1.2.la \
57         $(top_builddir)/libebackend/libebackend-1.2.la \
58         $(top_builddir)/libedataserver/libedataserver-1.2.la \
59         $(E_BACKEND_LIBS) \
60         $(CAMEL_LIBS) \
61         $(SOUP_LIBS) \
62         $(GOA_LIBS) \
63         $(NULL)
64
65 module_data_factory_goa_LDFLAGS = \
66         -module -avoid-version $(NO_UNDEFINED) \
67         $(NULL)
68
69 # Libtool forces us to build separate modules for the address book
70 # and calendar factories, even though the modules are identical.
71
72 module_data_cal_factory_goa_la_CPPFLAGS = $(module_data_factory_goa_CPPFLAGS)
73 module_data_cal_factory_goa_la_SOURCES = $(module_data_factory_goa_SOURCES)
74 module_data_cal_factory_goa_la_LIBADD = $(module_data_factory_goa_LIBADD)
75 module_data_cal_factory_goa_la_LDFLAGS = $(module_data_factory_goa_LDFLAGS)
76
77 module_data_book_factory_goa_la_CPPFLAGS = $(module_data_factory_goa_CPPFLAGS)
78 module_data_book_factory_goa_la_SOURCES = $(module_data_factory_goa_SOURCES)
79 module_data_book_factory_goa_la_LIBADD = $(module_data_factory_goa_LIBADD)
80 module_data_book_factory_goa_la_LDFLAGS = $(module_data_factory_goa_LDFLAGS)
81
82 -include $(top_srcdir)/git.mk