12 -DDATADIR="\"$(datadir)\"" \
13 -DPACKAGE_PIXMAPS_DIR="\"$(datadir)/pixmaps/$(PACKAGE)\"" \
14 -DPACKAGE_DATA_DIR="\"$(datadir)/$(PACKAGE)\"" \
15 -DPACKAGE_HELP_DIR="\"$(datadir)/gnome/help/$(PACKAGE)\"" \
16 -DPACKAGE_DOC_DIR="\"$(datadir)/doc/$(PACKAGE)\"" \
17 -DG_LOG_DOMAIN=\"libanjuta\"
19 lib_LTLIBRARIES=libanjuta.la
20 libanjuta_la_LDFLAGS = $(ANJUTA_LDFLAGS)
21 libanjuta_la_LIBADD = \
22 $(top_builddir)/libanjuta/interfaces/libanjuta-interfaces.la \
26 libanjuta_la_SOURCES= \
34 anjuta-preferences-dialog.c \
35 anjuta-preferences.c \
37 anjuta-plugin-handle.h \
38 anjuta-plugin-handle.c \
39 anjuta-plugin-description.c \
40 anjuta-plugin-manager.c \
42 anjuta-profile-manager.c \
48 anjuta-save-prompt.c \
52 anjuta-c-plugin-factory.c \
53 anjuta-c-plugin-factory.h \
56 cell-renderer-captioned-image.c \
57 cell-renderer-captioned-image.h \
62 anjuta-vcs-status-tree-view.c \
63 anjuta-vcs-status-tree-view.h \
68 anjuta-async-command.c \
69 anjuta-async-command.h \
70 anjuta-sync-command.c \
75 # For now install in our own prefix
76 # gladeanjutadir = @GLADE_PLUGINS_PATH@
78 gladeanjutadir = $(libdir)/glade3/modules
80 gladeanjuta_LTLIBRARIES = libgladeanjuta.la
81 libgladeanjuta_la_DEPENDENCIES = libanjuta.la
82 libgladeanjuta_la_SOURCES = anjuta-glade-catalog.c
83 libgladeanjuta_la_LDFLAGS = $(ANJUTA_LDFLAGS) -module -avoid-version
84 libgladeanjuta_la_LIBADD = $(top_builddir)/libanjuta/libanjuta.la \
87 # For now install in our own prefix
88 # catalogdir = @GLADE_CATALOG_PATH@
90 catalogdir = $(datadir)/glade3/catalogs
91 catalog_DATA = anjuta-glade.xml
95 libanjutaincludedir=$(includedir)/libanjuta-1.0/libanjuta
105 anjuta-plugin-description.h \
106 anjuta-plugin-manager.h \
107 anjuta-plugin-handle.h \
109 anjuta-profile-manager.h \
112 anjuta-preferences-dialog.h \
113 anjuta-preferences.h \
117 anjuta-save-prompt.h \
118 anjuta-serializer.h \
121 anjuta-vcs-status-tree-view.h \
123 anjuta-async-command.h \
124 anjuta-sync-command.h
126 libanjutainclude_HEADERS = \
127 $(libanjuta_include) \
130 BUILT_SOURCES=anjuta-marshal.c anjuta-marshal.h anjuta-enum-types.h anjuta-enum-types.c
132 anjuta-marshal.h: anjuta-marshal.list
134 --prefix=anjuta_cclosure_marshal $(srcdir)/anjuta-marshal.list --header > xgen-gmc \
135 && cp xgen-gmc $(@F) \
138 anjuta-marshal.c: anjuta-marshal.h anjuta-marshal.list
139 echo "#include \"anjuta-marshal.h\"" > xgenc-gmc \
140 && @GLIB_GENMARSHAL@ \
141 --prefix=anjuta_cclosure_marshal $(srcdir)/anjuta-marshal.list --body >> xgenc-gmc \
142 && cp xgenc-gmc $(@F) \
145 anjuta-enum-types.h: stamp-anjuta-enum-types.h
147 stamp-anjuta-enum-types.h: Makefile $(libanjuta_include) anjuta-enum-types.c
148 ( cd $(srcdir) && $(GLIB_MKENUMS) \
149 --fhead "#ifndef __ANJUTA_ENUM_TYPES_H__\n#define __ANJUTA_ENUM_TYPES_H__\n\n#include <libanjuta/libanjuta.h>\n\nG_BEGIN_DECLS\n" \
150 --fprod "/* enumerations from \"@filename@\" */\n" \
151 --vhead "GType @enum_name@_get_type (void) G_GNUC_CONST;\n#define ANJUTA_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
152 --ftail "G_END_DECLS\n\n#endif /* __ANJUTA_ENUM_TYPES_H__ */" \
153 $(libanjuta_include) ) >> xgen-geth \
154 && (cmp -s xgen-geth anjuta-enum-types.h || cp xgen-geth anjuta-enum-types.h ) \
156 && echo timestamp > $(@F)
158 anjuta-enum-types.c: Makefile
159 ( cd $(srcdir) && $(GLIB_MKENUMS) \
160 --fhead "#include \"anjuta-enum-types.h\"\n" \
161 --fprod "\n/* enumerations from \"@filename@\" */" \
162 --ftail "\n#define __ANJUTA_ENUM_TYPES_C__\n" \
163 --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[] = {" \
164 --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
165 --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (g_intern_static_string (\"@EnumName@\"), values);\n }\n return etype;\n}\n" \
166 $(libanjuta_include) ) > xgen-getc \
167 && cp xgen-getc anjuta-enum-types.c \
171 pkgconfigdir = $(libdir)/pkgconfig
172 pkgconfig_DATA = libanjuta-1.0.pc
175 $(libanjutainclude_HEADERS) \
176 libanjuta-1.0.pc.in \
177 anjuta-marshal.list \