## Process this file with automake to produce Makefile.in

anjuta_gladedir = $(anjuta_glade_dir)
dist_anjuta_glade_DATA = preferences.ui \
	anjuta-menu.ui

anjuta_uidir = $(anjuta_ui_dir)
dist_anjuta_ui_DATA = anjuta.xml

anjuta_layoutdir = $(anjuta_data_dir)
dist_anjuta_layout_DATA = layout.xml

anjuta_pixmapsdir = $(anjuta_image_dir)
dist_anjuta_pixmaps_DATA = \
	anjuta-preferences-general.svg \
	anjuta-preferences-general-48.png

AM_CPPFLAGS = \
	-I$(top_srcdir)\
	-I.. -I. \
	$(LIBANJUTA_CFLAGS) \
	$(SOURCEVIEW_CFLAGS) \
	$(GDL_CFLAGS) \
	$(XML_CFLAGS) \
	-DPACKAGE_BIN_DIR=\"$(bindir)\" \
	-DPACKAGE_DATA_DIR="\"$(datadir)/$(PACKAGE)\"" \
	-DPACKAGE_DOC_DIR=\"$(docdir)\" \
	-DPACKAGE_PIXMAPS_DIR=\"$(datadir)/pixmaps/$(PACKAGE)\" \
	-DPACKAGE_PLUGIN_DIR=\"$(libdir)/$(PACKAGE)\" \
	-DPACKAGE_LOCALE_DIR=\"$(datadir)/locale\" \
	-DG_LOG_DOMAIN=\"Anjuta\"

bin_PROGRAMS = anjuta

anjuta_SOURCES = \
	about.c \
	about.h \
	anjuta-application.c \
	anjuta-application.h \
	anjuta-window.c \
	anjuta-window.h \
	anjuta-actions.h \
	action-callbacks.h \
	action-callbacks.c \
	main.c

anjuta_LDADD =  \
	$(ANJUTA_LIBS) \
	$(SOURCEVIEW_LIBS) \
	$(GDL_LIBS) \
	$(LIBANJUTA_LIBS) \
	$(XML_LIBS)

anjuta_LDFLAGS = $(ANJUTA_LDFLAGS)

gsettings_in_file = org.gnome.anjuta.gschema.xml.in
gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
@INTLTOOL_XML_NOMERGE_RULE@
@GSETTINGS_RULES@

noinst_PROGRAMS =  anjuta-shell

anjuta_shell_SOURCES = shell.c shell.h
anjuta_shell_LDADD =  \
	$(LIBANJUTA_LIBS) \
	$(GDL_LIBS)

EXTRA_DIST = \
	anjuta-shell.ui \
        $(gsettings_in_file)

CLEANFILES = \
        $(gsettings_SCHEMAS)

-include $(top_srcdir)/git.mk
