gnome-builder.mk 10.1 KB
Newer Older
Christian Hergert's avatar
Christian Hergert committed
1
bin_PROGRAMS += gnome-builder
2
noinst_LTLIBRARIES += libgnome-builder.la
Christian Hergert's avatar
Christian Hergert committed
3

4
5
libgnome_builder_la_SOURCES = \
	$(gnome_builder_built_sources) \
Christian Hergert's avatar
Christian Hergert committed
6
7
8
9
10
11
	src/animation/gb-animation.c \
	src/animation/gb-animation.h \
	src/animation/gb-frame-source.c \
	src/animation/gb-frame-source.h \
	src/app/gb-application.c \
	src/app/gb-application.h \
12
13
14
15
	src/auto-indent/gb-source-auto-indenter.c \
	src/auto-indent/gb-source-auto-indenter.h \
	src/auto-indent/gb-source-auto-indenter-c.c \
	src/auto-indent/gb-source-auto-indenter-c.h \
16
17
	src/auto-indent/gb-source-auto-indenter-python.c \
	src/auto-indent/gb-source-auto-indenter-python.h \
18
19
	src/auto-indent/gb-source-auto-indenter-xml.c \
	src/auto-indent/gb-source-auto-indenter-xml.h \
20
21
22
23
	src/code-assistant/gb-source-code-assistant.h \
	src/code-assistant/gb-source-code-assistant.c \
	src/code-assistant/gb-source-code-assistant-renderer.c \
	src/code-assistant/gb-source-code-assistant-renderer.h \
24
25
	src/commands/gb-command.c \
	src/commands/gb-command.h \
26
27
28
29
	src/commands/gb-command-bar.c \
	src/commands/gb-command-bar.h \
	src/commands/gb-command-bar-item.c \
	src/commands/gb-command-bar-item.h \
30
31
	src/commands/gb-command-gaction.c \
	src/commands/gb-command-gaction.h \
32
33
	src/commands/gb-command-gaction-provider.c \
	src/commands/gb-command-gaction-provider.h \
34
35
	src/commands/gb-command-manager.c \
	src/commands/gb-command-manager.h \
36
37
	src/commands/gb-command-provider.c \
	src/commands/gb-command-provider.h \
38
39
	src/commands/gb-command-result.c \
	src/commands/gb-command-result.h \
40
41
42
43
	src/commands/gb-command-vim-provider.c \
	src/commands/gb-command-vim-provider.h \
	src/commands/gb-command-vim.c \
	src/commands/gb-command-vim.h \
Christian Hergert's avatar
Christian Hergert committed
44
45
	src/credits/gb-credits-widget.c \
	src/credits/gb-credits-widget.h \
46
47
48
49
	src/devhelp/gb-devhelp-document.c \
	src/devhelp/gb-devhelp-document.h \
	src/devhelp/gb-devhelp-view.c \
	src/devhelp/gb-devhelp-view.h \
50
51
	src/dialogs/gb-close-confirmation-dialog.c \
	src/dialogs/gb-close-confirmation-dialog.h \
52
53
	src/documents/gb-document.c \
	src/documents/gb-document.h \
54
55
	src/documents/gb-document-grid.c \
	src/documents/gb-document-grid.h \
56
57
	src/documents/gb-document-manager.c \
	src/documents/gb-document-manager.h \
58
59
60
61
62
63
64
65
	src/documents/gb-document-menu-button.c \
	src/documents/gb-document-menu-button.h \
	src/documents/gb-document-split.c \
	src/documents/gb-document-split.h \
	src/documents/gb-document-stack.c \
	src/documents/gb-document-stack.h \
	src/documents/gb-document-view.c \
	src/documents/gb-document-view.h \
66
67
	src/editor/c-parse-helper.c \
	src/editor/c-parse-helper.h \
Christian Hergert's avatar
Christian Hergert committed
68
69
	src/editor/gb-editor-document.c \
	src/editor/gb-editor-document.h \
70
71
72
73
	src/editor/gb-editor-file-mark.c \
	src/editor/gb-editor-file-mark.h \
	src/editor/gb-editor-file-marks.c \
	src/editor/gb-editor-file-marks.h \
74
75
76
	src/editor/gb-editor-frame.c \
	src/editor/gb-editor-frame.h \
	src/editor/gb-editor-frame-private.h \
77
78
	src/editor/gb-editor-navigation-item.c \
	src/editor/gb-editor-navigation-item.h \
79
80
	src/editor/gb-editor-settings-widget.c \
	src/editor/gb-editor-settings-widget.h \
81
82
	src/editor/gb-editor-tweak-widget.c \
	src/editor/gb-editor-tweak-widget.h \
83
84
	src/editor/gb-editor-view.c \
	src/editor/gb-editor-view.h \
Christian Hergert's avatar
Christian Hergert committed
85
86
	src/editor/gb-editor-workspace.c \
	src/editor/gb-editor-workspace.h \
87
88
	src/editor/gb-source-change-monitor.c \
	src/editor/gb-source-change-monitor.h \
Christian Hergert's avatar
Christian Hergert committed
89
90
	src/editor/gb-source-formatter.c \
	src/editor/gb-source-formatter.h \
91
92
	src/editor/gb-source-change-gutter-renderer.c \
	src/editor/gb-source-change-gutter-renderer.h \
93
94
	src/editor/gb-source-highlight-menu.c \
	src/editor/gb-source-highlight-menu.h \
Christian Hergert's avatar
Christian Hergert committed
95
96
	src/editor/gb-source-search-highlighter.h \
	src/editor/gb-source-search-highlighter.c \
97
98
99
100
	src/editor/gb-source-style-scheme-button.c \
	src/editor/gb-source-style-scheme-button.h \
	src/editor/gb-source-style-scheme-widget.c \
	src/editor/gb-source-style-scheme-widget.h \
101
102
	src/fuzzy/fuzzy.c \
	src/fuzzy/fuzzy.h \
103
104
	src/gca/gca-diagnostics.c \
	src/gca/gca-diagnostics.h \
Christian Hergert's avatar
Christian Hergert committed
105
106
	src/gca/gca-service.c \
	src/gca/gca-service.h \
107
108
	src/gca/gca-structs.c \
	src/gca/gca-structs.h \
109
110
	src/git/gb-git-search-provider.c \
	src/git/gb-git-search-provider.h \
111
112
	src/git/gb-git-search-result.c \
	src/git/gb-git-search-result.h \
113
114
115
116
	src/html/gb-html-document.c \
	src/html/gb-html-document.h \
	src/html/gb-html-view.c \
	src/html/gb-html-view.h \
117
118
	src/markdown/gs-markdown.c \
	src/markdown/gs-markdown.h \
119
120
121
122
	src/navigation/gb-navigation-list.h \
	src/navigation/gb-navigation-list.c \
	src/navigation/gb-navigation-item.h \
	src/navigation/gb-navigation-item.c \
123
124
	src/preferences/gb-preferences-window.c \
	src/preferences/gb-preferences-window.h \
125
126
127
128
	src/preferences/gb-preferences-page.c \
	src/preferences/gb-preferences-page.h \
	src/preferences/gb-preferences-page-editor.c \
	src/preferences/gb-preferences-page-editor.h \
129
130
	src/preferences/gb-preferences-page-git.c \
	src/preferences/gb-preferences-page-git.h \
131
132
	src/preferences/gb-preferences-page-language.c \
	src/preferences/gb-preferences-page-language.h \
133
134
	src/scrolledwindow/gb-scrolled-window.c \
	src/scrolledwindow/gb-scrolled-window.h \
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
	src/snippets/gb-source-snippet-chunk.c \
	src/snippets/gb-source-snippet-chunk.h \
	src/snippets/gb-source-snippet-completion-item.c \
	src/snippets/gb-source-snippet-completion-item.h \
	src/snippets/gb-source-snippet-completion-provider.c \
	src/snippets/gb-source-snippet-completion-provider.h \
	src/snippets/gb-source-snippet-context.c \
	src/snippets/gb-source-snippet-context.h \
	src/snippets/gb-source-snippet.c \
	src/snippets/gb-source-snippet.h \
	src/snippets/gb-source-snippet-parser.c \
	src/snippets/gb-source-snippet-parser.h \
	src/snippets/gb-source-snippet-private.h \
	src/snippets/gb-source-snippets.c \
	src/snippets/gb-source-snippets.h \
	src/snippets/gb-source-snippets-manager.c \
	src/snippets/gb-source-snippets-manager.h \
Christian Hergert's avatar
Christian Hergert committed
152
153
154
155
156
157
	src/editor/gb-source-view.c \
	src/editor/gb-source-view.h \
	src/gd/gd-tagged-entry.c \
	src/gd/gd-tagged-entry.h \
	src/gedit/gedit-close-button.c \
	src/gedit/gedit-close-button.h \
158
159
	src/gedit/gedit-menu-stack-switcher.c \
	src/gedit/gedit-menu-stack-switcher.h \
Christian Hergert's avatar
Christian Hergert committed
160
161
162
163
164
165
	src/keybindings/gb-keybindings.c \
	src/keybindings/gb-keybindings.h \
	src/log/gb-log.c \
	src/log/gb-log.h \
	src/nautilus/nautilus-floating-bar.c \
	src/nautilus/nautilus-floating-bar.h \
166
167
	src/search/gb-search-box.c \
	src/search/gb-search-box.h \
168
169
170
171
172
173
174
175
176
177
178
	src/search/gb-search-context.c \
	src/search/gb-search-context.h \
	src/search/gb-search-display.c \
	src/search/gb-search-display.h \
	src/search/gb-search-manager.c \
	src/search/gb-search-manager.h \
	src/search/gb-search-provider.c \
	src/search/gb-search-provider.h \
	src/search/gb-search-result.c \
	src/search/gb-search-result.h \
	src/search/gb-search-types.h \
Christian Hergert's avatar
Christian Hergert committed
179
180
	src/theatrics/gb-box-theatric.c \
	src/theatrics/gb-box-theatric.h \
181
182
183
184
185
186
	src/tree/gb-tree.c \
	src/tree/gb-tree.h \
	src/tree/gb-tree-builder.c \
	src/tree/gb-tree-builder.h \
	src/tree/gb-tree-node.c \
	src/tree/gb-tree-node.h \
Christian Hergert's avatar
Christian Hergert committed
187
188
189
190
	src/trie/trie.c \
	src/trie/trie.h \
	src/util/gb-cairo.c \
	src/util/gb-cairo.h \
191
192
	src/util/gb-doc-seq.c \
	src/util/gb-doc-seq.h \
193
	src/util/gb-glib.h \
194
195
	src/util/gb-gtk.c \
	src/util/gb-gtk.h \
196
197
	src/util/gb-pango.c \
	src/util/gb-pango.h \
Christian Hergert's avatar
Christian Hergert committed
198
199
200
201
202
	src/util/gb-rgba.c \
	src/util/gb-rgba.h \
	src/util/gb-string.h \
	src/util/gb-widget.c \
	src/util/gb-widget.h \
203
204
	src/vim/gb-source-vim.c \
	src/vim/gb-source-vim.h \
Christian Hergert's avatar
Christian Hergert committed
205
206
	src/workbench/gb-workbench.c \
	src/workbench/gb-workbench.h \
207
	src/workbench/gb-workbench-types.h \
Christian Hergert's avatar
Christian Hergert committed
208
	src/workbench/gb-workspace.c \
209
	src/workbench/gb-workspace.h
Christian Hergert's avatar
Christian Hergert committed
210

211
libgnome_builder_la_LIBADD = \
Christian Hergert's avatar
Christian Hergert committed
212
	$(DEVHELP_LIBS) \
213
	$(GGIT_LIBS) \
Christian Hergert's avatar
Christian Hergert committed
214
215
216
217
218
219
	$(GIO_LIBS) \
	$(GTKSOURCEVIEW_LIBS) \
	$(GTK_LIBS) \
	$(WEBKIT_LIBS) \
	-lm

220
libgnome_builder_la_CFLAGS = \
221
	-DPACKAGE_DATADIR="\"$(datadir)\"" \
Christian Hergert's avatar
Christian Hergert committed
222
	$(DEVHELP_CFLAGS) \
223
	$(GGIT_CFLAGS) \
Christian Hergert's avatar
Christian Hergert committed
224
225
226
227
228
	$(GIO_CFLAGS) \
	$(GTKSOURCEVIEW_CFLAGS) \
	$(GTK_CFLAGS) \
	$(MAINTAINER_CFLAGS) \
	$(WEBKIT_CFLAGS) \
229
	-I$(top_builddir)/src/util \
Christian Hergert's avatar
Christian Hergert committed
230
231
	-I$(top_srcdir)/src/animation \
	-I$(top_srcdir)/src/app \
232
	-I$(top_srcdir)/src/auto-indent \
233
	-I$(top_srcdir)/src/commands \
234
	-I$(top_srcdir)/src/code-assistant \
Christian Hergert's avatar
Christian Hergert committed
235
	-I$(top_srcdir)/src/credits \
Christian Hergert's avatar
Christian Hergert committed
236
	-I$(top_srcdir)/src/devhelp \
237
	-I$(top_srcdir)/src/dialogs \
238
	-I$(top_srcdir)/src/documents \
Christian Hergert's avatar
Christian Hergert committed
239
	-I$(top_srcdir)/src/editor \
240
	-I$(top_srcdir)/src/fuzzy \
Christian Hergert's avatar
Christian Hergert committed
241
	-I$(top_srcdir)/src/gca \
Christian Hergert's avatar
Christian Hergert committed
242
243
	-I$(top_srcdir)/src/gd \
	-I$(top_srcdir)/src/gedit \
244
	-I$(top_srcdir)/src/git \
245
	-I$(top_srcdir)/src/html \
Christian Hergert's avatar
Christian Hergert committed
246
247
	-I$(top_srcdir)/src/keybindings \
	-I$(top_srcdir)/src/log \
248
	-I$(top_srcdir)/src/markdown \
Christian Hergert's avatar
Christian Hergert committed
249
	-I$(top_srcdir)/src/nautilus \
250
	-I$(top_srcdir)/src/navigation \
251
	-I$(top_srcdir)/src/preferences \
252
	-I$(top_srcdir)/src/resources \
253
	-I$(top_builddir)/src/resources \
254
	-I$(top_srcdir)/src/scrolledwindow \
255
	-I$(top_srcdir)/src/search \
256
	-I$(top_srcdir)/src/snippets \
257
	-I$(top_srcdir)/src/tree \
Christian Hergert's avatar
Christian Hergert committed
258
259
260
	-I$(top_srcdir)/src/trie \
	-I$(top_srcdir)/src/theatrics \
	-I$(top_srcdir)/src/util \
261
	-I$(top_srcdir)/src/vim \
Christian Hergert's avatar
Christian Hergert committed
262
263
264
	-I$(top_srcdir)/src/workbench

if ENABLE_TRACING
265
libgnome_builder_la_CFLAGS += -DGB_ENABLE_TRACE
Christian Hergert's avatar
Christian Hergert committed
266
267
endif

268
269
270
271
gnome_builder_SOURCES = src/main.c
gnome_builder_CFLAGS = $(libgnome_builder_la_CFLAGS)
gnome_builder_LDADD = libgnome-builder.la

272
273
# XXX: Workaround for now, need to find a more automated way to do this
# in how we build projects inside of Builder.
Christian Hergert's avatar
Christian Hergert committed
274
275
276
277
278
gnome_builder_built_sources = \
	src/resources/gb-resources.c \
	src/resources/gb-resources.h

resource_files = $(shell glib-compile-resources --sourcedir=$(top_srcdir)/src/resources --generate-dependencies $(top_srcdir)/src/resources/gnome-builder.gresource.xml)
279
src/resources/gb-resources.c: src/resources/gnome-builder.gresource.xml $(resource_files)
Christian Hergert's avatar
Christian Hergert committed
280
281
282
283
	$(AM_V_GEN)glib-compile-resources --target=$@ --sourcedir=$(top_srcdir)/src/resources --generate-source --c-name gb $(top_srcdir)/src/resources/gnome-builder.gresource.xml
src/resources/gb-resources.h: src/resources/gnome-builder.gresource.xml $(resource_files)
	$(AM_V_GEN)glib-compile-resources --target=$@ --sourcedir=$(top_srcdir)/src/resources --generate-header --c-name gb $(top_srcdir)/src/resources/gnome-builder.gresource.xml

Christian Hergert's avatar
Christian Hergert committed
284
285
286
287
nodist_gnome_builder_SOURCES = \
	$(gnome_builder_built_sources) \
	$(NULL)

288
289
BUILT_SOURCES += $(gnome_builder_built_sources)

Christian Hergert's avatar
Christian Hergert committed
290
EXTRA_DIST += $(resource_files)
291
EXTRA_DIST += src/resources/gnome-builder.gresource.xml
292
EXTRA_DIST += $(gnome_builder_built_sources)
Christian Hergert's avatar
Christian Hergert committed
293

294
DISTCLEANFILES += $(gnome_builder_built_sources)
295