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 \
140 if ENABLE_GLADE_CATALOG
142 gladeanjutadir = @GLADE_PLUGINS_PATH@
144 gladeanjuta_LTLIBRARIES = libgladeanjuta.la
145 libgladeanjuta_la_SOURCES = anjuta-glade-catalog.c
146 libgladeanjuta_la_LDFLAGS = $(ANJUTA_LDFLAGS) -module -avoid-version
147 libgladeanjuta_la_LIBADD = \
151 catalogdir = @GLADE_CATALOG_PATH@
153 catalog_DATA = anjuta-glade.xml
159 libanjutaincludedir=$(includedir)/libanjuta-3.0/libanjuta
161 libanjuta_include = \
169 anjuta-plugin-description.h \
170 anjuta-plugin-manager.h \
171 anjuta-plugin-handle.h \
173 anjuta-profile-manager.h \
175 anjuta-preferences-dialog.h \
176 anjuta-preferences.h \
180 anjuta-save-prompt.h \
181 anjuta-serializer.h \
183 anjuta-vcs-status-tree-view.h \
184 anjuta-vcs-status.h \
186 anjuta-async-command.h \
187 anjuta-async-notify.h \
188 anjuta-sync-command.h \
191 anjuta-command-queue.h \
192 anjuta-drop-entry.h \
194 anjuta-command-bar.h \
198 anjuta-pkg-config-chooser.h \
199 anjuta-pkg-config.h \
200 anjuta-pkg-scanner.h \
201 anjuta-column-text-view.h \
202 anjuta-file-drop-entry.h \
205 anjuta-pkg-config-chooser.h
207 libanjutainclude_HEADERS = \
208 $(libanjuta_include) \
209 anjuta-enum-types.h \
212 BUILT_SOURCES = anjuta-marshal.c anjuta-marshal.h anjuta-enum-types.h anjuta-enum-types.c
214 anjuta-marshal.h: anjuta-marshal.list
215 $(AM_V_GEN)@GLIB_GENMARSHAL@ \
216 --prefix=anjuta_cclosure_marshal $(srcdir)/anjuta-marshal.list --header > xgen-gmc \
217 && cp xgen-gmc $(@F) \
220 anjuta-marshal.c: anjuta-marshal.h anjuta-marshal.list
221 $(AM_V_GEN)echo "#include \"anjuta-marshal.h\"" > xgenc-gmc \
222 && @GLIB_GENMARSHAL@ \
223 --prefix=anjuta_cclosure_marshal $(srcdir)/anjuta-marshal.list --body >> xgenc-gmc \
224 && cp xgenc-gmc $(@F) \
227 anjuta-enum-types.h: stamp-anjuta-enum-types.h $(libanjuta_include)
229 stamp-anjuta-enum-types.h: Makefile $(libanjuta_include) anjuta-enum-types.c
230 $(AM_V_GEN)( cd $(srcdir) && $(GLIB_MKENUMS) \
231 --fhead "#ifndef __ANJUTA_ENUM_TYPES_H__\n#define __ANJUTA_ENUM_TYPES_H__\n\n#include <libanjuta/libanjuta.h>\n\nG_BEGIN_DECLS\n" \
232 --fprod "/* enumerations from \"@filename@\" */\n" \
233 --vhead "GType @enum_name@_get_type (void) G_GNUC_CONST;\n#define ANJUTA_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
234 --ftail "G_END_DECLS\n\n#endif /* __ANJUTA_ENUM_TYPES_H__ */" \
235 $(libanjuta_include) ) >> xgen-geth \
236 && (cmp -s xgen-geth anjuta-enum-types.h || cp xgen-geth anjuta-enum-types.h ) \
238 && echo timestamp > $(@F)
240 anjuta-enum-types.c: Makefile
241 $(AM_V_GEN)( cd $(srcdir) && $(GLIB_MKENUMS) \
242 --fhead "#include \"anjuta-enum-types.h\"\n" \
243 --fprod "\n/* enumerations from \"@filename@\" */" \
244 --ftail "\n#define __ANJUTA_ENUM_TYPES_C__\n" \
245 --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[] = {" \
246 --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
247 --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (g_intern_static_string (\"@EnumName@\"), values);\n }\n return etype;\n}\n" \
248 $(libanjuta_include) ) > xgen-getc \
249 && cp xgen-getc anjuta-enum-types.c \
253 pkgconfigdir = $(libdir)/pkgconfig
254 pkgconfig_DATA = libanjuta-3.0.pc
257 $(libanjutainclude_HEADERS) \
258 libanjuta-3.0.pc.in \
259 anjuta-marshal.list \
263 anjuta-enum-types.h \
264 anjuta-enum-types.c \
265 stamp-anjuta-enum-types.h
267 -include $(INTROSPECTION_MAKEFILE)
269 INTROSPECTION_SCANNER_ARGS = --add-include-path=$(builddir) -I $(top_builddir) --warn-all
270 INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
272 if HAVE_INTROSPECTION
273 anjuta_introspection_sources = $(libanjuta_3_la_SOURCES)
274 ianjuta_introspection_sources = $(libanjuta_source_files) $(libanjuta_header_files)
276 Anjuta-3.0.gir: libanjuta-3.la
277 Anjuta_3_0_gir_INCLUDES = GObject-2.0 Gtk-3.0 Gdl-3
278 Anjuta_3_0_gir_CFLAGS = $(ANJUTA_CFLAGS) $(XML_CFLAGS) $(GDL_CFLAGS) -I$(top_srcdir)
279 Anjuta_3_0_gir_LIBS = libanjuta-3.la
280 Anjuta_3_0_gir_FILES = $(anjuta_introspection_sources)
281 Anjuta_3_0_gir_SCANNERFLAGS = --c-include=libanjuta/libanjuta.h
282 INTROSPECTION_GIRS += Anjuta-3.0.gir
284 IAnjuta-3.0.gir: interfaces/libanjuta-interfaces.la libanjuta-3.la Anjuta-3.0.gir
285 IAnjuta_3_0_gir_INCLUDES = GObject-2.0 Gtk-3.0 Anjuta-3.0
286 IAnjuta_3_0_gir_CFLAGS = $(ANJUTA_CFLAGS) $(XML_CFLAGS) -I$(top_srcdir)
287 IAnjuta_3_0_gir_LIBS = interfaces/libanjuta-interfaces.la libanjuta-3.la
288 IAnjuta_3_0_gir_FILES = $(ianjuta_introspection_sources)
289 IAnjuta_3_0_gir_SCANNERFLAGS = --add-include-path=$(top_srcdir)/libanjuta/ --symbol-prefix=ianjuta --c-include=libanjuta/interfaces/libanjuta-interfaces.h
290 INTROSPECTION_GIRS += IAnjuta-3.0.gir
292 girdir = $(datadir)/gir-1.0
293 gir_DATA = $(INTROSPECTION_GIRS)
295 typelibdir = $(libdir)/girepository-1.0
296 typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
298 CLEANFILES = $(gir_DATA) $(typelib_DATA)
302 -include $(top_srcdir)/git.mk