bin_PROGRAMS = leafpad

INCLUDES = -DICONDIR=\"$(datadir)/pixmaps\" \
	-Icharset-detector/include

leafpad_SOURCES = \
	leafpad.h main.c \
	window.h window.c \
	menu.h menu.c \
	callback.h callback.c \
	edittextfeatures.h edittextfeatures.c \
	view.h view.c \
	undo.h undo.c \
	font.h font.c \
	linenum.h linenum.c \
	indent.h indent.c \
	hlight.h hlight.c \
	selector.h selector.c \
	file.h file.c \
	encoding.h encoding.c \
	search.h search.c \
	dialog.h dialog.c \
	gtkprint.h gtkprint.c \
	gnomeprint.h gnomeprint.c \
	about.h about.c \
	dnd.h dnd.c \
	utils.h utils.c \
	emacs.h emacs.c \
	gtksourceiter.h gtksourceiter.c \
	i18n.h

leafpad_CFLAGS  = $(GTK_CFLAGS) $(GNOMEPRINT_CFLAGS) $(HILDON_CFLAGS)
leafpad_LDADD   = $(GTK_LIBS) $(INTLLIBS) $(GNOMEPRINT_LIBS) $(HILDON_LIBS) \
	charset-detector/src/libchardetect.a -lstdc++

SUBDIRS = charset-detector
