blob: 5d6eceb738ad76e4945ce1c4997940fd83ae8201 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
BACKEND_NAME = "libsocialweb"
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/folks \
-include $(CONFIG_HEADER) \
-DPACKAGE_DATADIR=\"$(pkgdatadir)\" \
-DBACKEND_NAME=\"$(BACKEND_NAME)\" \
-DG_LOG_DOMAIN=\"$(BACKEND_NAME)\" \
$(NULL)
VAPIGENFLAGS += \
--vapidir=. \
--vapidir=$(top_srcdir)/folks \
$(NULL)
folks_libsocialwebdir = $(libdir)
folks_libsocialweb_LTLIBRARIES = libfolks-libsocialweb.la
##################################################################
# Support library
##################################################################
pkgconfig_in = folks-libsocialweb.pc.in
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = $(pkgconfig_in:.in=)
libfolks_libsocialweb_la_SOURCES = \
swf-namespace.vala \
swf-persona.vala \
swf-persona-store.vala \
$(NULL)
libfolks_libsocialweb_la_VALAFLAGS = \
$(AM_VALAFLAGS) \
$(ERROR_VALAFLAGS) \
--vapidir=. \
--vapidir=$(top_srcdir)/folks \
--pkg folks \
--pkg folks-internal \
--pkg folks-generics \
--pkg gobject-2.0 \
--pkg gio-2.0 \
--pkg gee-0.8 \
--pkg libsocialweb-client \
--includedir folks \
--gir FolksLibsocialweb-$(API_VERSION_DOT).gir \
--library folks-libsocialweb \
--vapi folks-libsocialweb.vapi \
-H folks/folks-libsocialweb.h \
$(NULL)
libfolks_libsocialweb_la_CFLAGS = \
$(AM_CFLAGS) \
$(ERROR_CFLAGS) \
$(GIO_CFLAGS) \
$(CODE_COVERAGE_CFLAGS) \
$(GLIB_CFLAGS) \
$(GEE_CFLAGS) \
$(SW_CLIENT_CFLAGS) \
$(NULL)
libfolks_libsocialweb_la_LIBADD = \
$(GIO_LIBS) \
$(GLIB_LIBS) \
$(GEE_LIBS) \
$(top_builddir)/folks/libfolks.la \
$(SW_CLIENT_LIBS) \
$(NULL)
libfolks_libsocialweb_la_LDFLAGS = \
$(CODE_COVERAGE_LDFLAGS) \
-version-info "$(LT_CURRENT)":"$(LT_REVISION)":"$(LT_AGE)" \
-export-symbols-regex "^swf_.*" \
$(NULL)
folks_libsocialweb_includedir = $(includedir)/folks
folks_libsocialweb_include_HEADERS = \
folks/folks-libsocialweb.h \
$(NULL)
vapidir = $(datadir)/vala/vapi
dist_vapi_DATA = \
folks-libsocialweb.vapi \
folks-libsocialweb.deps \
$(NULL)
##################################################################
# General
##################################################################
CLEANFILES =
MAINTAINERCLEANFILES =
EXTRA_DIST = \
$(pkgconfig_in) \
$(MAINTAINERCLEANFILES) \
$(NULL)
##################################################################
# Introspection
##################################################################
-include $(INTROSPECTION_MAKEFILE)
INTROSPECTION_SCANNER_ARGS = \
$(ERROR_INTROSPECTION_SCANNER_ARGS) \
--add-include-path=$(srcdir) \
--add-include-path=$(abs_top_builddir)/folks \
--warn-all \
$(NULL)
INTROSPECTION_COMPILER_ARGS = \
--includedir=$(srcdir) \
--includedir=$(abs_top_builddir)/folks \
$(NULL)
if HAVE_INTROSPECTION
FolksLibsocialweb-$(API_VERSION_DOT).gir: libfolks-libsocialweb.la
GIRS = FolksLibsocialweb-$(API_VERSION_DOT).gir
girdir = $(datadir)/gir-1.0
dist_gir_DATA = $(GIRS)
MAINTAINERCLEANFILES += $(dist_gir_DATA)
typelibdir = $(libdir)/girepository-1.0
nodist_typelib_DATA = $(GIRS:.gir=.typelib)
CLEANFILES += $(nodist_typelib_DATA)
endif
##################################################################
# Common
##################################################################
-include $(top_srcdir)/git.mk
|