1 include interfaces/Makefile.am.gir
3 SUBDIRS = interfaces . tests
13 -DDATADIR="\"$(datadir)\"" \
14 -DPACKAGE_PIXMAPS_DIR="\"$(datadir)/pixmaps/$(PACKAGE)\"" \
15 -DPACKAGE_DATA_DIR="\"$(datadir)/$(PACKAGE)\"" \
16 -DPACKAGE_HELP_DIR="\"$(datadir)/gnome/help/$(PACKAGE)\"" \
17 -DPACKAGE_DOC_DIR="\"$(docdir)\"" \
18 -DG_LOG_DOMAIN=\"libanjuta\"
20 lib_LTLIBRARIES = libanjuta-3.la
21 libanjuta_3_la_LDFLAGS = $(ANJUTA_LDFLAGS)
22 libanjuta_3_la_LIBADD = \
23 interfaces/libanjuta-interfaces.la \
28 libanjuta_3_la_SOURCES= \
41 anjuta-preferences-dialog.c \
42 anjuta-preferences-dialog.h \
43 anjuta-preferences.c \
44 anjuta-preferences.h \
47 anjuta-plugin-handle.h \
48 anjuta-plugin-handle.c \
49 anjuta-plugin-description.c \
50 anjuta-plugin-description.h \
51 anjuta-plugin-manager.c \
52 anjuta-plugin-manager.h \
55 anjuta-profile-manager.c \
56 anjuta-profile-manager.h \
59 anjuta-language-provider.c \
60 anjuta-language-provider.h \
68 anjuta-save-prompt.c \
69 anjuta-save-prompt.h \
74 anjuta-c-plugin-factory.c \
75 anjuta-c-plugin-factory.h \
78 anjuta-cell-renderer-captioned-image.c \
79 anjuta-cell-renderer-captioned-image.h \
83 anjuta-vcs-status-tree-view.c \
84 anjuta-vcs-status-tree-view.h \
87 anjuta-async-command.c \
88 anjuta-async-command.h \
89 anjuta-sync-command.c \
90 anjuta-sync-command.h \
91 anjuta-async-notify.h \
92 anjuta-async-notify.c \
94 anjuta-command-queue.c \
95 anjuta-command-queue.h \
100 anjuta-token-file.h \
101 anjuta-token-file.c \
102 anjuta-token-stream.c \
103 anjuta-token-stream.h \
106 anjuta-drop-entry.c \
107 anjuta-drop-entry.h \
110 anjuta-command-bar.c \
111 anjuta-command-bar.h \
118 anjuta-pkg-config-chooser.h \
119 anjuta-pkg-config-chooser.c \
120 anjuta-pkg-config.h \
121 anjuta-pkg-config.c \
122 anjuta-pkg-scanner.h \
123 anjuta-pkg-scanner.c \
124 anjuta-column-text-view.h \
125 anjuta-column-text-view.c \
126 anjuta-file-drop-entry.h \
127 anjuta-file-drop-entry.c \
130 anjuta-environment-editor.h \
131 anjuta-environment-editor.c \
132 anjuta-tree-combo.h \
133 anjuta-tree-combo.c \
136 anjuta-completion.h \
137 anjuta-completion.c \
138 anjuta-close-button.c \
139 anjuta-close-button.h \
142 anjuta-cell-renderer-diff.c \
143 anjuta-cell-renderer-diff.h
146 if ENABLE_GLADE_CATALOG
148 gladeanjutadir = @GLADE_PLUGINS_PATH@
150 gladeanjuta_LTLIBRARIES = libgladeanjuta.la
151 libgladeanjuta_la_SOURCES = anjuta-glade-catalog.c
152 libgladeanjuta_la_LDFLAGS = $(ANJUTA_LDFLAGS) -module -avoid-version
153 libgladeanjuta_la_LIBADD = \
157 catalogdir = @GLADE_CATALOG_PATH@
159 dist_catalog_DATA = anjuta-glade.xml
165 libanjutaincludedir=$(includedir)/libanjuta-3.0/libanjuta
167 libanjuta_include = \
175 anjuta-plugin-description.h \
176 anjuta-plugin-manager.h \
177 anjuta-plugin-handle.h \
179 anjuta-profile-manager.h \
181 anjuta-preferences-dialog.h \
182 anjuta-preferences.h \
186 anjuta-save-prompt.h \
187 anjuta-serializer.h \
189 anjuta-vcs-status-tree-view.h \
190 anjuta-vcs-status.h \
192 anjuta-async-command.h \
193 anjuta-async-notify.h \
194 anjuta-sync-command.h \
197 anjuta-command-queue.h \
198 anjuta-drop-entry.h \
200 anjuta-command-bar.h \
204 anjuta-pkg-config-chooser.h \
205 anjuta-pkg-config.h \
206 anjuta-pkg-scanner.h \
207 anjuta-column-text-view.h \
208 anjuta-file-drop-entry.h \
212 anjuta-cell-renderer-captioned-image.h \
213 anjuta-completion.h \
214 anjuta-environment-editor.h \
215 anjuta-language-provider.h \
216 anjuta-token-file.h \
217 anjuta-token-list.h \
218 anjuta-token-stream.h \
219 anjuta-tree-combo.h \
220 anjuta-close-button.h \
223 libanjutainclude_HEADERS = \
224 $(libanjuta_include) \
225 anjuta-enum-types.h \
228 BUILT_SOURCES = anjuta-marshal.c anjuta-marshal.h anjuta-enum-types.h anjuta-enum-types.c
230 anjuta-marshal.h: anjuta-marshal.list
231 $(AM_V_GEN)@GLIB_GENMARSHAL@ \
232 --prefix=anjuta_cclosure_marshal $(srcdir)/anjuta-marshal.list --header > xgen-gmc \
233 && cp xgen-gmc $(@F) \
236 anjuta-marshal.c: anjuta-marshal.h anjuta-marshal.list
237 $(AM_V_GEN)echo "#include \"anjuta-marshal.h\"" > xgenc-gmc \
238 && @GLIB_GENMARSHAL@ \
239 --prefix=anjuta_cclosure_marshal $(srcdir)/anjuta-marshal.list --body >> xgenc-gmc \
240 && cp xgenc-gmc $(@F) \
243 anjuta-enum-types.h: stamp-anjuta-enum-types.h $(libanjuta_include)
245 stamp-anjuta-enum-types.h: Makefile $(libanjuta_include) anjuta-enum-types.c
246 $(AM_V_GEN)( cd $(srcdir) && $(GLIB_MKENUMS) \
247 --fhead "#ifndef __ANJUTA_ENUM_TYPES_H__\n#define __ANJUTA_ENUM_TYPES_H__\n\n#include <libanjuta/libanjuta.h>\n\nG_BEGIN_DECLS\n" \
248 --fprod "/* enumerations from \"@filename@\" */\n" \
249 --vhead "GType @enum_name@_get_type (void) G_GNUC_CONST;\n#define ANJUTA_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
250 --ftail "G_END_DECLS\n\n#endif /* __ANJUTA_ENUM_TYPES_H__ */" \
251 $(libanjuta_include) ) >> xgen-geth \
252 && (cmp -s xgen-geth anjuta-enum-types.h || cp xgen-geth anjuta-enum-types.h ) \
254 && echo timestamp > $(@F)
256 anjuta-enum-types.c: Makefile
257 $(AM_V_GEN)( cd $(srcdir) && $(GLIB_MKENUMS) \
258 --fhead "#include \"anjuta-enum-types.h\"\n" \
259 --fprod "\n/* enumerations from \"@filename@\" */" \
260 --ftail "\n#define __ANJUTA_ENUM_TYPES_C__\n" \
261 --vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \
262 --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
263 --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (g_intern_static_string (\"@EnumName@\"), values);\n }\n return etype;\n}\n" \
264 $(libanjuta_include) ) > xgen-getc \
265 && cp xgen-getc anjuta-enum-types.c \
269 pkgconfigdir = $(libdir)/pkgconfig
270 pkgconfig_DATA = libanjuta-3.0.pc
273 libanjuta-3.0.pc.in \
277 anjuta-enum-types.h \
278 anjuta-enum-types.c \
279 stamp-anjuta-enum-types.h
281 -include $(INTROSPECTION_MAKEFILE)
283 INTROSPECTION_SCANNER_ARGS = --add-include-path=$(builddir) -I $(top_builddir) --warn-all
284 INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
286 if HAVE_INTROSPECTION
287 anjuta_introspection_sources = $(libanjuta_3_la_SOURCES)
288 ianjuta_introspection_sources = $(libanjuta_source_files) $(libanjuta_header_files)
290 Anjuta-3.0.gir: libanjuta-3.la
291 Anjuta_3_0_gir_INCLUDES = GObject-2.0 Gtk-3.0 Gdl-3
292 Anjuta_3_0_gir_CFLAGS = $(ANJUTA_CFLAGS) $(XML_CFLAGS) $(GDL_CFLAGS) -I$(top_srcdir)
293 Anjuta_3_0_gir_LIBS = libanjuta-3.la
294 Anjuta_3_0_gir_FILES = $(anjuta_introspection_sources)
295 Anjuta_3_0_gir_SCANNERFLAGS = --c-include=libanjuta/libanjuta.h
296 INTROSPECTION_GIRS += Anjuta-3.0.gir
298 IAnjuta-3.0.gir: interfaces/libanjuta-interfaces.la libanjuta-3.la Anjuta-3.0.gir
299 IAnjuta_3_0_gir_INCLUDES = GObject-2.0 Gtk-3.0 Anjuta-3.0
300 IAnjuta_3_0_gir_CFLAGS = $(ANJUTA_CFLAGS) $(XML_CFLAGS) -I$(top_srcdir)
301 IAnjuta_3_0_gir_LIBS = interfaces/libanjuta-interfaces.la libanjuta-3.la
302 IAnjuta_3_0_gir_FILES = $(ianjuta_introspection_sources)
303 IAnjuta_3_0_gir_SCANNERFLAGS = --add-include-path=$(top_srcdir)/libanjuta/ --symbol-prefix=ianjuta --c-include=libanjuta/interfaces/libanjuta-interfaces.h
304 INTROSPECTION_GIRS += IAnjuta-3.0.gir
306 girdir = $(datadir)/gir-1.0
307 gir_DATA = $(INTROSPECTION_GIRS)
309 typelibdir = $(libdir)/girepository-1.0
310 typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
312 CLEANFILES = $(gir_DATA) $(typelib_DATA)
316 -include $(top_srcdir)/git.mk