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 \
140 # For now install in our own prefix
141 # gladeanjutadir = @GLADE_PLUGINS_PATH@
143 gladeanjutadir = $(libdir)/glade/modules
145 gladeanjuta_LTLIBRARIES = libgladeanjuta.la
146 libgladeanjuta_la_SOURCES = anjuta-glade-catalog.c
147 libgladeanjuta_la_LDFLAGS = $(ANJUTA_LDFLAGS) -module -avoid-version
148 libgladeanjuta_la_LIBADD = \
152 # For now install in our own prefix
153 # catalogdir = @GLADE_CATALOG_PATH@
155 catalogdir = $(datadir)/glade/catalogs
156 catalog_DATA = anjuta-glade.xml
162 libanjutaincludedir=$(includedir)/libanjuta-3.0/libanjuta
164 libanjuta_include = \
172 anjuta-plugin-description.h \
173 anjuta-plugin-manager.h \
174 anjuta-plugin-handle.h \
176 anjuta-profile-manager.h \
178 anjuta-preferences-dialog.h \
179 anjuta-preferences.h \
183 anjuta-save-prompt.h \
184 anjuta-serializer.h \
186 anjuta-vcs-status-tree-view.h \
187 anjuta-vcs-status.h \
189 anjuta-async-command.h \
190 anjuta-async-notify.h \
191 anjuta-sync-command.h \
194 anjuta-command-queue.h \
195 anjuta-drop-entry.h \
197 anjuta-command-bar.h \
201 anjuta-pkg-config-chooser.h \
202 anjuta-pkg-config.h \
203 anjuta-pkg-scanner.h \
204 anjuta-column-text-view.h \
205 anjuta-file-drop-entry.h \
208 anjuta-pkg-config-chooser.h
210 libanjutainclude_HEADERS = \
211 $(libanjuta_include) \
212 anjuta-enum-types.h \
215 BUILT_SOURCES = anjuta-marshal.c anjuta-marshal.h anjuta-enum-types.h anjuta-enum-types.c
217 anjuta-marshal.h: anjuta-marshal.list
218 $(AM_V_GEN)@GLIB_GENMARSHAL@ \
219 --prefix=anjuta_cclosure_marshal $(srcdir)/anjuta-marshal.list --header > xgen-gmc \
220 && cp xgen-gmc $(@F) \
223 anjuta-marshal.c: anjuta-marshal.h anjuta-marshal.list
224 $(AM_V_GEN)echo "#include \"anjuta-marshal.h\"" > xgenc-gmc \
225 && @GLIB_GENMARSHAL@ \
226 --prefix=anjuta_cclosure_marshal $(srcdir)/anjuta-marshal.list --body >> xgenc-gmc \
227 && cp xgenc-gmc $(@F) \
230 anjuta-enum-types.h: stamp-anjuta-enum-types.h $(libanjuta_include)
232 stamp-anjuta-enum-types.h: Makefile $(libanjuta_include) anjuta-enum-types.c
233 $(AM_V_GEN)( cd $(srcdir) && $(GLIB_MKENUMS) \
234 --fhead "#ifndef __ANJUTA_ENUM_TYPES_H__\n#define __ANJUTA_ENUM_TYPES_H__\n\n#include <libanjuta/libanjuta.h>\n\nG_BEGIN_DECLS\n" \
235 --fprod "/* enumerations from \"@filename@\" */\n" \
236 --vhead "GType @enum_name@_get_type (void) G_GNUC_CONST;\n#define ANJUTA_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
237 --ftail "G_END_DECLS\n\n#endif /* __ANJUTA_ENUM_TYPES_H__ */" \
238 $(libanjuta_include) ) >> xgen-geth \
239 && (cmp -s xgen-geth anjuta-enum-types.h || cp xgen-geth anjuta-enum-types.h ) \
241 && echo timestamp > $(@F)
243 anjuta-enum-types.c: Makefile
244 $(AM_V_GEN)( cd $(srcdir) && $(GLIB_MKENUMS) \
245 --fhead "#include \"anjuta-enum-types.h\"\n" \
246 --fprod "\n/* enumerations from \"@filename@\" */" \
247 --ftail "\n#define __ANJUTA_ENUM_TYPES_C__\n" \
248 --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[] = {" \
249 --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
250 --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (g_intern_static_string (\"@EnumName@\"), values);\n }\n return etype;\n}\n" \
251 $(libanjuta_include) ) > xgen-getc \
252 && cp xgen-getc anjuta-enum-types.c \
256 pkgconfigdir = $(libdir)/pkgconfig
257 pkgconfig_DATA = libanjuta-3.0.pc
260 $(libanjutainclude_HEADERS) \
261 libanjuta-3.0.pc.in \
262 anjuta-marshal.list \
266 anjuta-enum-types.h \
267 anjuta-enum-types.c \
268 stamp-anjuta-enum-types.h
270 -include $(INTROSPECTION_MAKEFILE)
272 INTROSPECTION_SCANNER_ARGS = --add-include-path=$(builddir) -I $(top_builddir) --warn-all
273 INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
275 if HAVE_INTROSPECTION
276 anjuta_introspection_sources = $(libanjuta_3_la_SOURCES)
277 ianjuta_introspection_sources = $(libanjuta_source_files) $(libanjuta_header_files)
279 Anjuta-3.0.gir: libanjuta-3.la
280 Anjuta_3_0_gir_INCLUDES = GObject-2.0 Gtk-3.0
281 Anjuta_3_0_gir_CFLAGS = $(ANJUTA_CFLAGS) $(XML_CFLAGS) $(GDL_CFLAGS) -I$(top_srcdir)
282 Anjuta_3_0_gir_LIBS = libanjuta-3.la
283 Anjuta_3_0_gir_FILES = $(anjuta_introspection_sources)
284 Anjuta_3_0_gir_SCANNERFLAGS = --c-include=libanjuta/libanjuta.h
285 INTROSPECTION_GIRS += Anjuta-3.0.gir
287 IAnjuta-3.0.gir: interfaces/libanjuta-interfaces.la libanjuta-3.la Anjuta-3.0.gir
288 IAnjuta_3_0_gir_INCLUDES = GObject-2.0 Gtk-3.0 Anjuta-3.0
289 IAnjuta_3_0_gir_CFLAGS = $(ANJUTA_CFLAGS) $(XML_CFLAGS) -I$(top_srcdir)
290 IAnjuta_3_0_gir_LIBS = interfaces/libanjuta-interfaces.la libanjuta-3.la
291 IAnjuta_3_0_gir_FILES = $(ianjuta_introspection_sources)
292 IAnjuta_3_0_gir_SCANNERFLAGS = --add-include-path=$(top_srcdir)/libanjuta/ --symbol-prefix=ianjuta --c-include=libanjuta/interfaces/libanjuta-interfaces.h
293 INTROSPECTION_GIRS += IAnjuta-3.0.gir
295 girdir = $(datadir)/gir-1.0
296 gir_DATA = $(INTROSPECTION_GIRS)
298 typelibdir = $(libdir)/girepository-1.0
299 typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
301 CLEANFILES = $(gir_DATA) $(typelib_DATA)
305 -include $(top_srcdir)/git.mk