blob: f025b4d6369393fa15b63b866a0bdb97eeeb1f00 (
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
|
SUBDIRS = resources
@CODE_COVERAGE_RULES@
AM_CPPFLAGS = \
-DDATADIR=\""$(datadir)"\" \
-DG_LOG_DOMAIN=\"gspell\" \
-DGSPELL_COMPILATION \
-I$(top_builddir) \
-I$(top_srcdir) \
$(WARN_CFLAGS) \
$(CODE_COVERAGE_CPPFLAGS) \
$(DEP_CFLAGS) \
$(GTK_MAC_CFLAGS)
BUILT_SOURCES = \
gspell-resources.c
gspell_public_headers = \
gspell.h \
gspell-checker.h \
gspell-checker-dialog.h \
gspell-language.h \
gspell-language-chooser.h \
gspell-language-chooser-button.h \
gspell-language-chooser-dialog.h \
gspell-navigator.h \
gspell-navigator-text-view.h \
gspell-text-buffer.h \
gspell-text-view.h
gspell_public_c_files = \
gspell-checker.c \
gspell-checker-dialog.c \
gspell-language.c \
gspell-language-chooser.c \
gspell-language-chooser-button.c \
gspell-language-chooser-dialog.c \
gspell-navigator.c \
gspell-navigator-text-view.c \
gspell-text-buffer.c \
gspell-text-view.c
gspell_private_headers = \
gconstructor.h \
gspell-inline-checker-text-buffer.h \
gspell-text-iter.h \
gspell-text-region.h \
gspell-utils.h
gspell_private_c_files = \
gspell-init.c \
gspell-inline-checker-text-buffer.c \
gspell-text-iter.c \
gspell-text-region.c \
gspell-utils.c
# Helper Libtool library, so that the private functions can be used in unit
# tests.
noinst_LTLIBRARIES = libgspell-core.la
libgspell_core_la_SOURCES = \
$(gspell_private_c_files) \
$(gspell_private_headers) \
$(gspell_public_c_files) \
$(gspell_public_headers)
# Do not distribute generated files.
nodist_libgspell_core_la_SOURCES = \
$(BUILT_SOURCES)
libgspell_core_la_CFLAGS = \
$(CODE_COVERAGE_CFLAGS)
libgspell_core_la_LDFLAGS = \
-no-undefined \
$(WARN_LDFLAGS) \
$(CODE_COVERAGE_LDFLAGS)
# The real library.
lib_LTLIBRARIES = libgspell-@GSPELL_API_VERSION@.la
libgspell_@GSPELL_API_VERSION@_la_SOURCES =
libgspell_@GSPELL_API_VERSION@_la_LIBADD = \
libgspell-core.la \
$(DEP_LIBS) \
$(GTK_MAC_LIBS)
libgspell_@GSPELL_API_VERSION@_la_CFLAGS = \
$(CODE_COVERAGE_CFLAGS)
libgspell_@GSPELL_API_VERSION@_la_LDFLAGS = \
-version-info $(GSPELL_LT_VERSION) \
-no-undefined \
-export-symbols-regex "^gspell_.*" \
$(WARN_LDFLAGS) \
$(CODE_COVERAGE_LDFLAGS)
libgspell_includedir = $(includedir)/gspell-@GSPELL_API_VERSION@/gspell
libgspell_include_HEADERS = $(gspell_public_headers)
xml_res = $(srcdir)/resources/gspell.gresource.xml
gspell-resources.c: $(xml_res) $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir)/resources --generate-dependencies $(xml_res))
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir)/resources --generate-source $(xml_res)
CLEANFILES = $(BUILT_SOURCES)
if OS_OSX
libgspell_@GSPELL_API_VERSION@_la_LDFLAGS += \
-framework Cocoa
libgspell_@GSPELL_API_VERSION@_la_CFLAGS += \
-xobjective-c
gspell_private_headers += \
gspell-osx.h
gspell_private_c_files += \
gspell-osx.c
endif # OS_OSX
if HAVE_INTROSPECTION
-include $(INTROSPECTION_MAKEFILE)
INTROSPECTION_GIRS = Gspell-@GSPELL_API_VERSION@.gir
INTROSPECTION_SCANNER_ENV = CC="$(CC)"
Gspell-@GSPELL_API_VERSION@.gir: libgspell-@GSPELL_API_VERSION@.la $(BUILT_SOURCES)
INTROSPECTION_SCANNER_ARGS = \
-I$(top_srcdir) \
-I$(top_builddir) \
--c-include=gspell/gspell.h \
--warn-all
Gspell_@GSPELL_API_VERSION@_gir_NAMESPACE = Gspell
Gspell_@GSPELL_API_VERSION@_gir_VERSION = @GSPELL_API_VERSION@
Gspell_@GSPELL_API_VERSION@_gir_CFLAGS = $(DEP_CFLAGS)
Gspell_@GSPELL_API_VERSION@_gir_SCANNERFLAGS = $(WARN_SCANNERFLAGS)
Gspell_@GSPELL_API_VERSION@_gir_LIBS = libgspell-@GSPELL_API_VERSION@.la
Gspell_@GSPELL_API_VERSION@_gir_FILES = \
$(gspell_public_headers) \
$(gspell_public_c_files) \
$(BUILT_SOURCES)
Gspell_@GSPELL_API_VERSION@_gir_INCLUDES = Gtk-3.0
Gspell_@GSPELL_API_VERSION@_gir_PACKAGES = gtk+-3.0
Gspell_@GSPELL_API_VERSION@_gir_EXPORT_PACKAGES = gspell-@GSPELL_API_VERSION@
girdir = $(datadir)/gir-1.0
gir_DATA = Gspell-@GSPELL_API_VERSION@.gir
typelibdir = $(libdir)/girepository-1.0
typelib_DATA = Gspell-@GSPELL_API_VERSION@.typelib
CLEANFILES += \
$(gir_DATA) \
$(typelib_DATA)
endif # HAVE_INTROSPECTION
if ENABLE_VAPIGEN
-include $(VAPIGEN_MAKEFILE)
gspell-@GSPELL_API_VERSION@.vapi: Gspell-@GSPELL_API_VERSION@.gir
VAPIGEN_VAPIS = gspell-@GSPELL_API_VERSION@.vapi
gspell_@GSPELL_API_VERSION@_vapi_DEPS = gtk+-3.0
gspell-@GSPELL_API_VERSION@.deps:
$(AM_V_GEN) for pkg in $(gspell_@GSPELL_API_VERSION@_vapi_DEPS); do \
echo $$pkg >> $@; \
done
gspell_@GSPELL_API_VERSION@_vapi_METADATADIRS = $(srcdir)
gspell_@GSPELL_API_VERSION@_vapi_FILES = Gspell-@GSPELL_API_VERSION@.gir
vapidir = $(datadir)/vala/vapi
vapi_DATA = \
gspell-@GSPELL_API_VERSION@.vapi \
gspell-@GSPELL_API_VERSION@.deps
CLEANFILES += $(vapi_DATA)
endif # ENABLE_VAPIGEN
-include $(top_srcdir)/git.mk
|