# Copyright 1999-2014 the Claws Mail team.
# This file is part of Claws Mail package, and distributed under the
# terms of the General Public License version 3 (or later).
# See COPYING file for license details.

if BUILD_HOTKEYS
noinst_LTLIBRARIES = libcmnpgtkhotkey.la
endif

AUTOMAKE_OPTIONS = subdir-objects

libcmnpgtkhotkey_la_SOURCES = \
	gtk-hotkey-info.c \
	gtk-hotkey-error.c \
	gtk-hotkey-listener.c \
	gtk-hotkey-marshal.c \
	gtk-hotkey-x11-listener.c \
	x11/tomboykeybinder.c \
	x11/eggaccelerators.c \
	gtk-hotkey-registry.c \
	gtk-hotkey-key-file-registry.c \
	gtk-hotkey-utils.c
	
cmnpgtkhotkeyincludedir = $(includedir)/claws-mail/plugins/@PACKAGE@/gtkhotkey
cmnpgtkhotkeyinclude_HEADERS = \
	gtk-hotkey-error.h \
	gtkhotkey.h \
	gtk-hotkey-info.h \
	gtk-hotkey-key-file-registry.h \
	gtk-hotkey-listener.h \
	gtk-hotkey-registry.h \
	gtk-hotkey-x11-listener.h \
	gtk-hotkey-marshal.h \
	x11/tomboykeybinder.h \
	x11/eggaccelerators.h \
	gtk-hotkey-utils.h

libcmnpgtkhotkey_la_LIBADD = \
	$(GTK_LIBS) \
	$(CM_NP_HOTKEY_LIBS)

libcmnpgtkhotkey_la_CPPFLAGS = \
	-DGTK_HOTKEY_COMPILATION \
	$(GLIB_CFLAGS) \
	$(GTK_CFLAGS) \
	$(CM_NP_HOTKEY_CFLAGS)
