1 include Makefile.am.iface
11 -DDATADIR="\"$(datadir)\"" \
12 -DPACKAGE_PIXMAPS_DIR="\"$(datadir)/pixmaps/$(PACKAGE)\"" \
13 -DPACKAGE_DATA_DIR="\"$(datadir)/$(PACKAGE)\"" \
14 -DPACKAGE_HELP_DIR="\"$(datadir)/gnome/help/$(PACKAGE)\"" \
15 -DPACKAGE_DOC_DIR="\"$(docdir)\"" \
16 -DG_LOG_DOMAIN=\"libanjuta-interfaces\"
19 noinst_LTLIBRARIES = libanjuta-interfaces.la
20 libanjuta_interfaces_la_LIBADD = $(ANJUTA_LIBS) $(XML_LIBS)
22 libanjuta_interfaces_includedir = $(includedir)/libanjuta-3.0/libanjuta/interfaces
23 libanjuta_interfaces_include_HEADERS = $(libanjuta_interfaces_include)
25 BUILT_SOURCES = iface-built.stamp
27 libanjuta-interfaces.h: iface-built.stamp
29 iface-built.stamp: libanjuta.idl anjuta-idl-compiler.pl
31 cd $(srcdir) && perl anjuta-idl-compiler.pl libanjuta && \
32 echo 'GInterface' > hierarchy.txt && grep -e '^[[:space:]|\t]*interface' \
33 libanjuta.idl | sed -e 's/\binterface\b\s*/\t/' | sed -e 's/\t/ /g' \
35 touch iface-built.stamp && \
36 echo "changing to $$savedir" && \
40 files_idl = libanjuta.idl
41 idldir = $(libanjuta_interfaces_includedir)
42 idl_HEADERS = $(files_idl)
44 anjuta-marshal.h: interfaces/anjuta-marshal.list
45 $(AM_V_GEN)@GLIB_GENMARSHAL@ \
46 --prefix=anjuta_cclosure_marshal $(srcdir)/anjuta-marshal.list --header > xgen-gmc \
47 && cp xgen-gmc $(@F) \
50 anjuta-marshal.c: interfaces/anjuta-marshal.h interfaces/anjuta-marshal.list
51 $(AM_V_GEN)echo "#include \"ianjuta-marshal.h\"" > xgenc-gmc \
52 && @GLIB_GENMARSHAL@ \
53 --prefix=anjuta_cclosure_marshal $(srcdir)anjuta-marshal.list --body >> xgenc-gmc \
54 && cp xgenc-gmc $(@F) \
59 $(libanjuta_interfaces_include) \
62 anjuta-idl-compiler.pl
65 CLEANFILES = libanjuta-interfaces.h iface-built.stamp
67 -include $(top_srcdir)/git.mk